From: Paul Durrant <[email protected]>
Signed-off-by: Paul Durrant <[email protected]>
Signed-off-by: David Wooodhouse <[email protected]>
---
softmmu/vl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/softmmu/vl.c b/softmmu/vl.c
index cebe8d9452d6..3340f63c3764 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);
}
--
2.39.1