From: Paul Durrant Date: Tue, 24 Jan 2023 10:59:49 +0000 (+0000) Subject: xen: Permit --xen-domid argument when accel is KVM X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=6cb700d8c143ef1dc87908f4195e43b612014e4d;p=users%2Fdwmw2%2Fqemu.git xen: Permit --xen-domid argument when accel is KVM Signed-off-by: Paul Durrant Signed-off-by: David Wooodhouse --- diff --git a/softmmu/vl.c b/softmmu/vl.c index 6e526d95bb..d753434fd4 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -3359,7 +3359,7 @@ void qemu_init(int argc, char **argv) has_defaults = 0; break; case QEMU_OPTION_xen_domid: - if (!(accel_find("xen"))) { + if (!(accel_find("xen")) && !(accel_find("kvm"))) { error_report("Option not supported for this target"); exit(1); }