Re: [PULL 13/18] hw/core: implement a guest-loader to support static hypervisor guests

2021-03-15 Thread Alex Bennée
Philippe Mathieu-Daudé writes: > On 3/15/21 5:59 PM, Christian Borntraeger wrote: >> On 15.03.21 17:51, Philippe Mathieu-Daudé wrote: >> >>> diff --git a/hw/core/Kconfig b/hw/core/Kconfig >>> index fdf03514d7d..9397503656d 100644 >>> --- a/hw/core/Kconfig >>> +++ b/hw/core/Kconfig >>> @@

Re: [PULL 13/18] hw/core: implement a guest-loader to support static hypervisor guests

2021-03-15 Thread Philippe Mathieu-Daudé
On 3/15/21 5:59 PM, Christian Borntraeger wrote: > On 15.03.21 17:51, Philippe Mathieu-Daudé wrote: > >> diff --git a/hw/core/Kconfig b/hw/core/Kconfig >> index fdf03514d7d..9397503656d 100644 >> --- a/hw/core/Kconfig >> +++ b/hw/core/Kconfig >> @@ -11,6 +11,11 @@ config GENERIC_LOADER >>  

Re: [PULL 13/18] hw/core: implement a guest-loader to support static hypervisor guests

2021-03-15 Thread Christian Borntraeger
On 15.03.21 17:51, Philippe Mathieu-Daudé wrote: diff --git a/hw/core/Kconfig b/hw/core/Kconfig index fdf03514d7d..9397503656d 100644 --- a/hw/core/Kconfig +++ b/hw/core/Kconfig @@ -11,6 +11,11 @@ config GENERIC_LOADER bool default y +config GUEST_LOADER +bool +default y

Re: [PULL 13/18] hw/core: implement a guest-loader to support static hypervisor guests

2021-03-15 Thread Christian Borntraeger
On 15.03.21 17:44, Philippe Mathieu-Daudé wrote: On 3/15/21 5:16 PM, Christian Borntraeger wrote: On 08.03.21 14:50, Alex Bennée wrote: Hypervisors, especially type-1 ones, need the firmware/bootcode to put their initial guest somewhere in memory and pass the information to it via

Re: [PULL 13/18] hw/core: implement a guest-loader to support static hypervisor guests

2021-03-15 Thread Philippe Mathieu-Daudé
On 3/15/21 5:44 PM, Philippe Mathieu-Daudé wrote: > On 3/15/21 5:16 PM, Christian Borntraeger wrote: >> >> >> On 08.03.21 14:50, Alex Bennée wrote: >>> Hypervisors, especially type-1 ones, need the firmware/bootcode to put >>> their initial guest somewhere in memory and pass the information to it

Re: [PULL 13/18] hw/core: implement a guest-loader to support static hypervisor guests

2021-03-15 Thread Philippe Mathieu-Daudé
On 3/15/21 5:16 PM, Christian Borntraeger wrote: > > > On 08.03.21 14:50, Alex Bennée wrote: >> Hypervisors, especially type-1 ones, need the firmware/bootcode to put >> their initial guest somewhere in memory and pass the information to it >> via platform data. The guest-loader is modelled

Re: [PULL 13/18] hw/core: implement a guest-loader to support static hypervisor guests

2021-03-15 Thread Christian Borntraeger
On 08.03.21 14:50, Alex Bennée wrote: Hypervisors, especially type-1 ones, need the firmware/bootcode to put their initial guest somewhere in memory and pass the information to it via platform data. The guest-loader is modelled after the generic loader for exactly this sort of purpose:

[PULL 13/18] hw/core: implement a guest-loader to support static hypervisor guests

2021-03-08 Thread Alex Bennée
Hypervisors, especially type-1 ones, need the firmware/bootcode to put their initial guest somewhere in memory and pass the information to it via platform data. The guest-loader is modelled after the generic loader for exactly this sort of purpose: $QEMU $ARGS -kernel ~/xen.git/xen/xen \