[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 4/7] hw/i386/xen: Introduce XEN_FV Kconfig
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v3 4/7] hw/i386/xen: Introduce XEN_FV Kconfig |
Date: |
Mon, 1 Feb 2021 12:29:02 +0100 |
Introduce XEN_FV to differency the machine from the accelerator.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
hw/i386/Kconfig | 2 ++
hw/i386/xen/Kconfig | 5 +++++
hw/i386/xen/meson.build | 2 +-
3 files changed, 8 insertions(+), 1 deletion(-)
create mode 100644 hw/i386/xen/Kconfig
diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig
index 7f91f30877f..b4c8aa5c242 100644
--- a/hw/i386/Kconfig
+++ b/hw/i386/Kconfig
@@ -1,3 +1,5 @@
+source xen/Kconfig
+
config SEV
bool
depends on KVM
diff --git a/hw/i386/xen/Kconfig b/hw/i386/xen/Kconfig
new file mode 100644
index 00000000000..ad9d774b9ea
--- /dev/null
+++ b/hw/i386/xen/Kconfig
@@ -0,0 +1,5 @@
+config XEN_FV
+ bool
+ default y if XEN
+ depends on XEN
+ select I440FX
diff --git a/hw/i386/xen/meson.build b/hw/i386/xen/meson.build
index 2fcc46e6ca1..37716b42673 100644
--- a/hw/i386/xen/meson.build
+++ b/hw/i386/xen/meson.build
@@ -1,4 +1,4 @@
-i386_ss.add(when: 'CONFIG_XEN', if_true: files(
+i386_ss.add(when: 'CONFIG_XEN_FV', if_true: files(
'xen-hvm.c',
'xen_apic.c',
'xen_platform.c',
--
2.26.2
- [PATCH v3 0/7] hw/xen: Introduce XEN_FV/XEN_PV Kconfig, Philippe Mathieu-Daudé, 2021/02/01
- [PATCH v3 1/7] meson: Do not build Xen x86_64-softmmu on Aarch64, Philippe Mathieu-Daudé, 2021/02/01
- [PATCH v3 2/7] hw/xen: Relax dependency on FSDEV_9P, Philippe Mathieu-Daudé, 2021/02/01
- [PATCH v3 3/7] accel/xen: Incorporate xen-mapcache.c, Philippe Mathieu-Daudé, 2021/02/01
- [PATCH v3 4/7] hw/i386/xen: Introduce XEN_FV Kconfig,
Philippe Mathieu-Daudé <=
- [PATCH v3 5/7] hw/xen: Make xen_shutdown_fatal_error() available out of X86 HVM, Philippe Mathieu-Daudé, 2021/02/01
- [PATCH v3 6/7] hw/xen: Make qmp_xen_set_global_dirty_log() available out of X86 HVM, Philippe Mathieu-Daudé, 2021/02/01
- [PATCH v3 7/7] NOTFORMERGE hw/xen/Kconfig: Introduce XEN_PV config, Philippe Mathieu-Daudé, 2021/02/01