diff mbox series

[v2,02/18] Kconfig: Introduce CONFIG_XEN

Message ID 20200720110224.28851-3-vicooodin@gmail.com
State Superseded
Delegated to: Tom Rini
Headers show
Series Add new board: Xen guest for ARM64 | expand

Commit Message

Nastya Vicodin July 20, 2020, 11:02 a.m. UTC
From: Peng Fan <peng.fan@nxp.com>

Introduce CONFIG_XEN to make U-Boot could be used as bootloader
for a virtual machine.

Without bootloader, we could successfully boot up android on XEN, but
we need need bootloader to support A/B, dm verify and etc.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Signed-off-by: Anastasiia Lukianenko <anastasiia_lukianenko@epam.com>
---
 Kconfig | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

Comments

Simon Glass July 28, 2020, 6:58 p.m. UTC | #1
Hi Anastasiia,

On Mon, 20 Jul 2020 at 05:02, Anastasiia Lukianenko <vicooodin@gmail.com> wrote:
>
> From: Peng Fan <peng.fan@nxp.com>
>
> Introduce CONFIG_XEN to make U-Boot could be used as bootloader
> for a virtual machine.
>
> Without bootloader, we could successfully boot up android on XEN, but
> we need need bootloader to support A/B, dm verify and etc.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
> Signed-off-by: Anastasiia Lukianenko <anastasiia_lukianenko@epam.com>
> ---
>  Kconfig | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>

This is v2 but I don't see a change log?

Regards,
Simon
Anastasiia Lukianenko July 29, 2020, 8:42 a.m. UTC | #2
Hello Simon,

On Tue, 2020-07-28 at 12:58 -0600, Simon Glass wrote:
> Hi Anastasiia,
> 
> On Mon, 20 Jul 2020 at 05:02, Anastasiia Lukianenko <
> vicooodin@gmail.com> wrote:
> > 
> > From: Peng Fan <peng.fan@nxp.com>
> > 
> > Introduce CONFIG_XEN to make U-Boot could be used as bootloader
> > for a virtual machine.
> > 
> > Without bootloader, we could successfully boot up android on XEN,
> > but
> > we need need bootloader to support A/B, dm verify and etc.
> > 
> > Signed-off-by: Peng Fan <peng.fan@nxp.com>
> > Signed-off-by: Oleksandr Andrushchenko <
> > oleksandr_andrushchenko@epam.com>
> > Signed-off-by: Anastasiia Lukianenko <
> > anastasiia_lukianenko@epam.com>
> > ---
> >  Kconfig | 18 ++++++++++++++++++
> >  1 file changed, 18 insertions(+)
> > 
> 
> This is v2 but I don't see a change log?

I listed main changes in the cover letter attached to this patch
series.
Please find them in "Changes since v1" section in
[PATCH v2 00/18] Add new board: Xen guest for ARM64

> 
> Regards,
> Simon

Regards,
Anastasiia
Simon Glass July 29, 2020, 1:03 p.m. UTC | #3
Hi Anastasiia,

On Wed, 29 Jul 2020 at 02:42, Anastasiia Lukianenko
<Anastasiia_Lukianenko@epam.com> wrote:
>
> Hello Simon,
>
> On Tue, 2020-07-28 at 12:58 -0600, Simon Glass wrote:
> > Hi Anastasiia,
> >
> > On Mon, 20 Jul 2020 at 05:02, Anastasiia Lukianenko <
> > vicooodin@gmail.com> wrote:
> > >
> > > From: Peng Fan <peng.fan@nxp.com>
> > >
> > > Introduce CONFIG_XEN to make U-Boot could be used as bootloader
> > > for a virtual machine.
> > >
> > > Without bootloader, we could successfully boot up android on XEN,
> > > but
> > > we need need bootloader to support A/B, dm verify and etc.
> > >
> > > Signed-off-by: Peng Fan <peng.fan@nxp.com>
> > > Signed-off-by: Oleksandr Andrushchenko <
> > > oleksandr_andrushchenko@epam.com>
> > > Signed-off-by: Anastasiia Lukianenko <
> > > anastasiia_lukianenko@epam.com>
> > > ---
> > >  Kconfig | 18 ++++++++++++++++++
> > >  1 file changed, 18 insertions(+)
> > >
> >
> > This is v2 but I don't see a change log?
>
> I listed main changes in the cover letter attached to this patch
> series.
> Please find them in "Changes since v1" section in
> [PATCH v2 00/18] Add new board: Xen guest for ARM64

I think it is much more useful to attach the changes to each patch as
well. Have you tried using patman?

Regards,
Simon
Anastasiia Lukianenko Aug. 7, 2020, 9:22 a.m. UTC | #4
Hi Simon,

On Wed, 2020-07-29 at 07:03 -0600, Simon Glass wrote:
> Hi Anastasiia,
> 
> On Wed, 29 Jul 2020 at 02:42, Anastasiia Lukianenko
> <Anastasiia_Lukianenko@epam.com> wrote:
> > 
> > Hello Simon,
> > 
> > On Tue, 2020-07-28 at 12:58 -0600, Simon Glass wrote:
> > > Hi Anastasiia,
> > > 
> > > On Mon, 20 Jul 2020 at 05:02, Anastasiia Lukianenko <
> > > vicooodin@gmail.com> wrote:
> > > > 
> > > > From: Peng Fan <peng.fan@nxp.com>
> > > > 
> > > > Introduce CONFIG_XEN to make U-Boot could be used as bootloader
> > > > for a virtual machine.
> > > > 
> > > > Without bootloader, we could successfully boot up android on
> > > > XEN,
> > > > but
> > > > we need need bootloader to support A/B, dm verify and etc.
> > > > 
> > > > Signed-off-by: Peng Fan <peng.fan@nxp.com>
> > > > Signed-off-by: Oleksandr Andrushchenko <
> > > > oleksandr_andrushchenko@epam.com>
> > > > Signed-off-by: Anastasiia Lukianenko <
> > > > anastasiia_lukianenko@epam.com>
> > > > ---
> > > >  Kconfig | 18 ++++++++++++++++++
> > > >  1 file changed, 18 insertions(+)
> > > > 
> > > 
> > > This is v2 but I don't see a change log?
> > 
> > I listed main changes in the cover letter attached to this patch
> > series.
> > Please find them in "Changes since v1" section in
> > [PATCH v2 00/18] Add new board: Xen guest for ARM64
> 
> I think it is much more useful to attach the changes to each patch as
> well. Have you tried using patman?
> 
Yes. I agree with you. As the result, I resend the patch series with
the changes attached to each patch.
> Regards,
> Simon
Regards,
Anastasiia
diff mbox series

Patch

diff --git a/Kconfig b/Kconfig
index 566ca72c92..9a33b3814d 100644
--- a/Kconfig
+++ b/Kconfig
@@ -105,6 +105,24 @@  config CC_COVERAGE
 config CC_HAS_ASM_INLINE
 	def_bool $(success,echo 'void foo(void) { asm inline (""); }' | $(CC) -x c - -c -o /dev/null)
 
+config XEN
+	bool "Select U-Boot be run as a bootloader for XEN Virtual Machine"
+	help
+	  Enabling this option will make U-Boot be run as a bootloader
+	  for XEN [1] Virtual Machine.
+
+	  Xen is a virtual machine monitor (VMM) or a type-1 hypervisor with support
+	  for para-virtualization. Xen can organize the safe execution of several
+	  virtual machines on the same physical system with performance close to
+	  native. It is used as the basis for a number of different commercial and
+	  open source applications, such as: server virtualization, Infrastructure
+	  as a Service (IaaS), desktop virtualization, security applications,
+	  embedded and hardware appliances.
+	  Xen has a special VM called Domain-0 that runs the Dom0 kernel and allows
+	  Xen to use the device drivers for the Domain-0 kernel by default.
+
+	  [1] - https://xenproject.org/
+
 config DISTRO_DEFAULTS
 	bool "Select defaults suitable for booting general purpose Linux distributions"
 	select AUTO_COMPLETE