- xen_dmid: specify the id of QEMU. It will be used to
    retrieve/store information inside XenStore.
    - xen_default_dev (on/off): as default devices need to be create in
    each QEMU (due to code dependency), this option specifies if it will
    register range/PCI of default device via xen hypercall.
    (Root bridge, south bridge, ...).
    - xen_emulate_ide (on/off): enable/disable emulation in QEMU.

Signed-off-by: Julien Grall <julien.gr...@citrix.com>
---
 qemu-config.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/qemu-config.c b/qemu-config.c
index c05ffbc..7740442 100644
--- a/qemu-config.c
+++ b/qemu-config.c
@@ -612,6 +612,18 @@ static QemuOptsList qemu_machine_opts = {
             .name = "dump-guest-core",
             .type = QEMU_OPT_BOOL,
             .help = "Include guest memory in  a core dump",
+        }, {
+            .name = "xen_dmid",
+            .type = QEMU_OPT_NUMBER,
+            .help = "Xen device model id",
+        }, {
+            .name = "xen_default_dev",
+            .type = QEMU_OPT_BOOL,
+            .help = "emulate Xen default device (South Bridge, IDE, ...)"
+        }, {
+            .name = "xen_emulate_ide",
+            .type = QEMU_OPT_BOOL,
+            .help = "emulate IDE with XEN"
         },
         { /* End of list */ }
     },
-- 
Julien Grall


Reply via email to