[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL 13/18] hw/core: implement a guest-loader to support static hyp
From: |
Alex Bennée |
Subject: |
Re: [PULL 13/18] hw/core: implement a guest-loader to support static hypervisor guests |
Date: |
Mon, 15 Mar 2021 18:01:44 +0000 |
User-agent: |
mu4e 1.5.10; emacs 28.0.50 |
Philippe Mathieu-Daudé <philmd@redhat.com> 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
>>> @@ -11,6 +11,11 @@ config GENERIC_LOADER
>>> bool
>>> default y
>>>
>>> +config GUEST_LOADER
>>> + bool
>>> + default y
>>> + depends on TCG
>>> +
>>> config OR_IRQ
>>> bool
>>>
>>> diff --git a/hw/core/meson.build b/hw/core/meson.build
>>> index 9cd72edf513..59f1605bb07 100644
>>> --- a/hw/core/meson.build
>>> +++ b/hw/core/meson.build
>>> @@ -16,6 +16,7 @@
>>> common_ss.add(files('cpu.c'))
>>> common_ss.add(when: 'CONFIG_FITLOADER', if_true: files('loader-fit.c'))
>>> common_ss.add(when: 'CONFIG_GENERIC_LOADER', if_true:
>>> files('generic-loader.c'))
>>> +common_ss.add(when: ['CONFIG_GUEST_LOADER', fdt], if_true:
>>> files('guest-loader.c'))
>>> common_ss.add(when: 'CONFIG_OR_IRQ', if_true: files('or-irq.c'))
>>> common_ss.add(when: 'CONFIG_PLATFORM_BUS', if_true:
>>> files('platform-bus.c'))
>>> common_ss.add(when: 'CONFIG_PTIMER', if_true: files('ptimer.c'))
>>> @@ -37,8 +38,6 @@
>>> 'clock-vmstate.c',
>>> ))
>>>
>>> -softmmu_ss.add(when: 'CONFIG_TCG', if_true: files('guest-loader.c'))
>>> -
>>> specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: files(
>>> 'machine-qmp-cmds.c',
>>> 'numa.c',
>>
>>
>> Also
>> Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
>
> Thanks Christian!
Can you send that to me as a proper patch (unless Christian wants to
take it through the s390 trees)?
--
Alex Bennée
- [PULL 14/18] docs: move generic-loader documentation into the main manual, (continued)
- [PULL 14/18] docs: move generic-loader documentation into the main manual, Alex Bennée, 2021/03/08
- [PULL 08/18] tests/docker: Use --arch-only when building Debian cross image, Alex Bennée, 2021/03/08
- [PULL 09/18] .editorconfig: update the automatic mode setting for Emacs, Alex Bennée, 2021/03/08
- [PULL 10/18] hw/board: promote fdt from ARM VirtMachineState to MachineState, Alex Bennée, 2021/03/08
- [PULL 13/18] hw/core: implement a guest-loader to support static hypervisor guests, Alex Bennée, 2021/03/08
- Re: [PULL 13/18] hw/core: implement a guest-loader to support static hypervisor guests, Christian Borntraeger, 2021/03/15
[PULL 16/18] tests/avocado: add boot_xen tests, Alex Bennée, 2021/03/08
[PULL 12/18] device_tree: add qemu_fdt_setprop_string_array helper, Alex Bennée, 2021/03/08
[PULL 15/18] docs: add some documentation for the guest-loader, Alex Bennée, 2021/03/08
[PULL 17/18] semihosting: Move include/hw/semihosting/ -> include/semihosting/, Alex Bennée, 2021/03/08
[PULL 18/18] semihosting: Move hw/semihosting/ -> semihosting/, Alex Bennée, 2021/03/08
Re: [PULL 00/18] testing, docs, semihosting move and guest-loader, no-reply, 2021/03/08
Re: [PULL 00/18] testing, docs, semihosting move and guest-loader, Peter Maydell, 2021/03/09