qemu-devel
[Top][All Lists]
Advanced

[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: Christian Borntraeger
Subject: Re: [PULL 13/18] hw/core: implement a guest-loader to support static hypervisor guests
Date: Mon, 15 Mar 2021 17:59:26 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0



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>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]