aboutsummaryrefslogtreecommitdiff
path: root/softmmu/vl.c
diff options
context:
space:
mode:
authorPaul Durrant <pdurrant@amazon.com>2023-01-24 10:59:49 +0000
committerDavid Woodhouse <dwmw@amazon.co.uk>2023-03-01 08:22:49 +0000
commit7058fa02200e70bfecda10fd58c2555674d802ed (patch)
tree3ebf2a58fc645015edb8c76111b9ba42f92bf4e2 /softmmu/vl.c
parentd40ddd529004709350202114fc1c2fc99127647d (diff)
xen: Permit --xen-domid argument when accel is KVM
Signed-off-by: Paul Durrant <pdurrant@amazon.com> Signed-off-by: David Wooodhouse <dwmw@amazon.co.uk>
Diffstat (limited to 'softmmu/vl.c')
-rw-r--r--softmmu/vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/softmmu/vl.c b/softmmu/vl.c
index cebe8d9452..3340f63c37 100644
--- a/softmmu/vl.c
+++ b/softmmu/vl.c
@@ -3360,7 +3360,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);
}