[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 18/18] qemu-options: Limit the -enable-kvm option to the targets t
From: |
Paolo Bonzini |
Subject: |
[PULL 18/18] qemu-options: Limit the -enable-kvm option to the targets that support it |
Date: |
Thu, 28 Apr 2022 08:53:35 +0200 |
From: Thomas Huth <thuth@redhat.com>
There is no need to present the user with -enable-kvm if there
is no support for KVM on the corresponding target.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220427134906.348118-1-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
qemu-options.hx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index bc196808ae..5f69b94b8e 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -4176,7 +4176,9 @@ SRST
ERST
DEF("enable-kvm", 0, QEMU_OPTION_enable_kvm, \
- "-enable-kvm enable KVM full virtualization support\n", QEMU_ARCH_ALL)
+ "-enable-kvm enable KVM full virtualization support\n",
+ QEMU_ARCH_ARM | QEMU_ARCH_I386 | QEMU_ARCH_MIPS | QEMU_ARCH_PPC |
+ QEMU_ARCH_RISCV | QEMU_ARCH_S390X)
SRST
``-enable-kvm``
Enable KVM full virtualization support. This option is only
--
2.35.1
- [PULL 09/18] configure: gcov should not exclude fortify-source, (continued)
- [PULL 09/18] configure: gcov should not exclude fortify-source, Paolo Bonzini, 2022/04/28
- [PULL 10/18] configure: move --enable/--disable-debug-info to second option parsing pass, Paolo Bonzini, 2022/04/28
- [PULL 02/18] configure: make fortify_source=yes by default, Paolo Bonzini, 2022/04/28
- [PULL 04/18] i386: pcmpestr 64-bit sign extension bug, Paolo Bonzini, 2022/04/28
- [PULL 05/18] meson: show final set of compiler flags, Paolo Bonzini, 2022/04/28
- [PULL 06/18] configure: remove dead code, Paolo Bonzini, 2022/04/28
- [PULL 08/18] configure: pc-bios/qemu-icon.bmp does not exist, Paolo Bonzini, 2022/04/28
- [PULL 14/18] meson, configure: move usbfs test to meson, Paolo Bonzini, 2022/04/28
- [PULL 12/18] meson, configure: move RDMA options to meson, Paolo Bonzini, 2022/04/28
- [PULL 16/18] meson: remove CONFIG_XEN_PCI_PASSTHROUGH from config-target.h, Paolo Bonzini, 2022/04/28
- [PULL 18/18] qemu-options: Limit the -enable-kvm option to the targets that support it,
Paolo Bonzini <=
- [PULL 15/18] meson, configure: move libgio test to meson, Paolo Bonzini, 2022/04/28
- [PULL 17/18] meson, configure: move --enable-module-upgrades to meson, Paolo Bonzini, 2022/04/28
- [PULL 11/18] configure, meson: move OpenGL check to meson, Paolo Bonzini, 2022/04/28
- [PULL 13/18] meson, configure: move keyctl test to meson, Paolo Bonzini, 2022/04/28
- Re: [PULL 00/18] Misc QEMU patches for 2022-04-28, Richard Henderson, 2022/04/28