[libvirt] [PATCH v2] qemucapstest: replace caps-1.6.50 with updated caps-1.7.0

Pavel Hrdina phrdina at redhat.com
Tue May 24 14:07:44 UTC 2016


The qemu-1.6.50 is a beta before the new minor version, let's replace it with
the release qemu-1.7.0.

Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---
 tests/domaincapsschemadata/qemu_1.6.50.x86_64.xml  |   78 -
 tests/domaincapsschemadata/qemu_1.7.0.x86_64.xml   |   78 +
 tests/domaincapstest.c                             |    2 +-
 .../caps_1.6.50.x86_64.replies                     | 2848 -----------------
 tests/qemucapabilitiesdata/caps_1.6.50.x86_64.xml  |  197 --
 .../qemucapabilitiesdata/caps_1.7.0.x86_64.replies | 3195 ++++++++++++++++++++
 tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml   |  200 ++
 tests/qemucapabilitiestest.c                       |    2 +-
 8 files changed, 3475 insertions(+), 3125 deletions(-)
 delete mode 100644 tests/domaincapsschemadata/qemu_1.6.50.x86_64.xml
 create mode 100644 tests/domaincapsschemadata/qemu_1.7.0.x86_64.xml
 delete mode 100644 tests/qemucapabilitiesdata/caps_1.6.50.x86_64.replies
 delete mode 100644 tests/qemucapabilitiesdata/caps_1.6.50.x86_64.xml
 create mode 100644 tests/qemucapabilitiesdata/caps_1.7.0.x86_64.replies
 create mode 100644 tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml

diff --git a/tests/domaincapsschemadata/qemu_1.6.50.x86_64.xml b/tests/domaincapsschemadata/qemu_1.6.50.x86_64.xml
deleted file mode 100644
index 161d0ab..0000000
--- a/tests/domaincapsschemadata/qemu_1.6.50.x86_64.xml
+++ /dev/null
@@ -1,78 +0,0 @@
-<domainCapabilities>
-  <path>/usr/bin/qemu-system-x86_64</path>
-  <domain>kvm</domain>
-  <machine>pc-i440fx-1.7</machine>
-  <arch>x86_64</arch>
-  <vcpu max='255'/>
-  <os supported='yes'>
-    <loader supported='yes'>
-      <value>/usr/share/AAVMF/AAVMF_CODE.fd</value>
-      <value>/usr/share/OVMF/OVMF_CODE.fd</value>
-      <enum name='type'>
-        <value>rom</value>
-        <value>pflash</value>
-      </enum>
-      <enum name='readonly'>
-        <value>yes</value>
-        <value>no</value>
-      </enum>
-    </loader>
-  </os>
-  <devices>
-    <disk supported='yes'>
-      <enum name='diskDevice'>
-        <value>disk</value>
-        <value>cdrom</value>
-        <value>floppy</value>
-        <value>lun</value>
-      </enum>
-      <enum name='bus'>
-        <value>ide</value>
-        <value>fdc</value>
-        <value>scsi</value>
-        <value>virtio</value>
-        <value>usb</value>
-      </enum>
-    </disk>
-    <graphics supported='yes'>
-      <enum name='type'>
-        <value>sdl</value>
-        <value>vnc</value>
-        <value>spice</value>
-      </enum>
-    </graphics>
-    <video supported='yes'>
-      <enum name='modelType'>
-        <value>vga</value>
-        <value>cirrus</value>
-        <value>vmvga</value>
-        <value>qxl</value>
-      </enum>
-    </video>
-    <hostdev supported='yes'>
-      <enum name='mode'>
-        <value>subsystem</value>
-      </enum>
-      <enum name='startupPolicy'>
-        <value>default</value>
-        <value>mandatory</value>
-        <value>requisite</value>
-        <value>optional</value>
-      </enum>
-      <enum name='subsysType'>
-        <value>usb</value>
-        <value>pci</value>
-        <value>scsi</value>
-      </enum>
-      <enum name='capsType'/>
-      <enum name='pciBackend'>
-        <value>default</value>
-        <value>kvm</value>
-        <value>vfio</value>
-      </enum>
-    </hostdev>
-  </devices>
-  <features>
-    <gic supported='no'/>
-  </features>
-</domainCapabilities>
diff --git a/tests/domaincapsschemadata/qemu_1.7.0.x86_64.xml b/tests/domaincapsschemadata/qemu_1.7.0.x86_64.xml
new file mode 100644
index 0000000..161d0ab
--- /dev/null
+++ b/tests/domaincapsschemadata/qemu_1.7.0.x86_64.xml
@@ -0,0 +1,78 @@
+<domainCapabilities>
+  <path>/usr/bin/qemu-system-x86_64</path>
+  <domain>kvm</domain>
+  <machine>pc-i440fx-1.7</machine>
+  <arch>x86_64</arch>
+  <vcpu max='255'/>
+  <os supported='yes'>
+    <loader supported='yes'>
+      <value>/usr/share/AAVMF/AAVMF_CODE.fd</value>
+      <value>/usr/share/OVMF/OVMF_CODE.fd</value>
+      <enum name='type'>
+        <value>rom</value>
+        <value>pflash</value>
+      </enum>
+      <enum name='readonly'>
+        <value>yes</value>
+        <value>no</value>
+      </enum>
+    </loader>
+  </os>
+  <devices>
+    <disk supported='yes'>
+      <enum name='diskDevice'>
+        <value>disk</value>
+        <value>cdrom</value>
+        <value>floppy</value>
+        <value>lun</value>
+      </enum>
+      <enum name='bus'>
+        <value>ide</value>
+        <value>fdc</value>
+        <value>scsi</value>
+        <value>virtio</value>
+        <value>usb</value>
+      </enum>
+    </disk>
+    <graphics supported='yes'>
+      <enum name='type'>
+        <value>sdl</value>
+        <value>vnc</value>
+        <value>spice</value>
+      </enum>
+    </graphics>
+    <video supported='yes'>
+      <enum name='modelType'>
+        <value>vga</value>
+        <value>cirrus</value>
+        <value>vmvga</value>
+        <value>qxl</value>
+      </enum>
+    </video>
+    <hostdev supported='yes'>
+      <enum name='mode'>
+        <value>subsystem</value>
+      </enum>
+      <enum name='startupPolicy'>
+        <value>default</value>
+        <value>mandatory</value>
+        <value>requisite</value>
+        <value>optional</value>
+      </enum>
+      <enum name='subsysType'>
+        <value>usb</value>
+        <value>pci</value>
+        <value>scsi</value>
+      </enum>
+      <enum name='capsType'/>
+      <enum name='pciBackend'>
+        <value>default</value>
+        <value>kvm</value>
+        <value>vfio</value>
+      </enum>
+    </hostdev>
+  </devices>
+  <features>
+    <gic supported='no'/>
+  </features>
+</domainCapabilities>
diff --git a/tests/domaincapstest.c b/tests/domaincapstest.c
index 3436197..670f4fb 100644
--- a/tests/domaincapstest.c
+++ b/tests/domaincapstest.c
@@ -286,7 +286,7 @@ mymain(void)
 
 #if WITH_QEMU
 
-    DO_TEST_QEMU("1.6.50", "caps_1.6.50",
+    DO_TEST_QEMU("1.7.0", "caps_1.7.0",
                  "/usr/bin/qemu-system-x86_64", NULL,
                  "x86_64", VIR_DOMAIN_VIRT_KVM);
 
diff --git a/tests/qemucapabilitiesdata/caps_1.6.50.x86_64.replies b/tests/qemucapabilitiesdata/caps_1.6.50.x86_64.replies
deleted file mode 100644
index d23249c..0000000
--- a/tests/qemucapabilitiesdata/caps_1.6.50.x86_64.replies
+++ /dev/null
@@ -1,2848 +0,0 @@
-{
-    "QMP": {
-        "version": {
-            "qemu": {
-                "micro": 50,
-                "minor": 6,
-                "major": 1
-            },
-            "package": ""
-        },
-        "capabilities": [
-        ]
-    }
-}
-
-{
-    "return": {
-    },
-    "id": "libvirt-1"
-}
-
-{
-    "return": {
-        "qemu": {
-            "micro": 50,
-            "minor": 6,
-            "major": 1
-        },
-        "package": ""
-    },
-    "id": "libvirt-2"
-}
-
-{
-    "return": {
-        "arch": "x86_64"
-    },
-    "id": "libvirt-3"
-}
-
-{
-    "return": [
-        {
-            "name": "query-rx-filter"
-        },
-        {
-            "name": "chardev-remove"
-        },
-        {
-            "name": "chardev-add"
-        },
-        {
-            "name": "query-tpm-types"
-        },
-        {
-            "name": "query-tpm-models"
-        },
-        {
-            "name": "query-tpm"
-        },
-        {
-            "name": "query-target"
-        },
-        {
-            "name": "query-cpu-definitions"
-        },
-        {
-            "name": "query-machines"
-        },
-        {
-            "name": "device-list-properties"
-        },
-        {
-            "name": "qom-list-types"
-        },
-        {
-            "name": "change-vnc-password"
-        },
-        {
-            "name": "nbd-server-stop"
-        },
-        {
-            "name": "nbd-server-add"
-        },
-        {
-            "name": "nbd-server-start"
-        },
-        {
-            "name": "qom-get"
-        },
-        {
-            "name": "qom-set"
-        },
-        {
-            "name": "qom-list"
-        },
-        {
-            "name": "query-block-jobs"
-        },
-        {
-            "name": "query-balloon"
-        },
-        {
-            "name": "query-migrate-capabilities"
-        },
-        {
-            "name": "migrate-set-capabilities"
-        },
-        {
-            "name": "query-migrate"
-        },
-        {
-            "name": "query-command-line-options"
-        },
-        {
-            "name": "query-uuid"
-        },
-        {
-            "name": "query-name"
-        },
-        {
-            "name": "query-spice"
-        },
-        {
-            "name": "query-vnc"
-        },
-        {
-            "name": "query-mice"
-        },
-        {
-            "name": "query-status"
-        },
-        {
-            "name": "query-kvm"
-        },
-        {
-            "name": "query-pci"
-        },
-        {
-            "name": "query-cpus"
-        },
-        {
-            "name": "query-blockstats"
-        },
-        {
-            "name": "query-block"
-        },
-        {
-            "name": "query-chardev"
-        },
-        {
-            "name": "query-events"
-        },
-        {
-            "name": "query-commands"
-        },
-        {
-            "name": "query-version"
-        },
-        {
-            "name": "human-monitor-command"
-        },
-        {
-            "name": "qmp_capabilities"
-        },
-        {
-            "name": "add_client"
-        },
-        {
-            "name": "expire_password"
-        },
-        {
-            "name": "set_password"
-        },
-        {
-            "name": "block_set_io_throttle"
-        },
-        {
-            "name": "block_passwd"
-        },
-        {
-            "name": "query-fdsets"
-        },
-        {
-            "name": "remove-fd"
-        },
-        {
-            "name": "add-fd"
-        },
-        {
-            "name": "closefd"
-        },
-        {
-            "name": "getfd"
-        },
-        {
-            "name": "set_link"
-        },
-        {
-            "name": "balloon"
-        },
-        {
-            "name": "drive-mirror"
-        },
-        {
-            "name": "blockdev-snapshot-delete-internal-sync"
-        },
-        {
-            "name": "blockdev-snapshot-internal-sync"
-        },
-        {
-            "name": "blockdev-snapshot-sync"
-        },
-        {
-            "name": "transaction"
-        },
-        {
-            "name": "block-job-complete"
-        },
-        {
-            "name": "block-job-resume"
-        },
-        {
-            "name": "block-job-pause"
-        },
-        {
-            "name": "block-job-cancel"
-        },
-        {
-            "name": "block-job-set-speed"
-        },
-        {
-            "name": "drive-backup"
-        },
-        {
-            "name": "block-commit"
-        },
-        {
-            "name": "block-stream"
-        },
-        {
-            "name": "block_resize"
-        },
-        {
-            "name": "netdev_del"
-        },
-        {
-            "name": "netdev_add"
-        },
-        {
-            "name": "dump-guest-memory"
-        },
-        {
-            "name": "client_migrate_info"
-        },
-        {
-            "name": "migrate_set_downtime"
-        },
-        {
-            "name": "migrate_set_speed"
-        },
-        {
-            "name": "query-migrate-cache-size"
-        },
-        {
-            "name": "migrate-set-cache-size"
-        },
-        {
-            "name": "migrate_cancel"
-        },
-        {
-            "name": "migrate"
-        },
-        {
-            "name": "xen-set-global-dirty-log"
-        },
-        {
-            "name": "xen-save-devices-state"
-        },
-        {
-            "name": "ringbuf-read"
-        },
-        {
-            "name": "ringbuf-write"
-        },
-        {
-            "name": "inject-nmi"
-        },
-        {
-            "name": "pmemsave"
-        },
-        {
-            "name": "memsave"
-        },
-        {
-            "name": "cpu-add"
-        },
-        {
-            "name": "cpu"
-        },
-        {
-            "name": "send-key"
-        },
-        {
-            "name": "device_del"
-        },
-        {
-            "name": "device_add"
-        },
-        {
-            "name": "system_powerdown"
-        },
-        {
-            "name": "system_reset"
-        },
-        {
-            "name": "system_wakeup"
-        },
-        {
-            "name": "cont"
-        },
-        {
-            "name": "stop"
-        },
-        {
-            "name": "screendump"
-        },
-        {
-            "name": "change"
-        },
-        {
-            "name": "eject"
-        },
-        {
-            "name": "quit"
-        }
-    ],
-    "id": "libvirt-4"
-}
-
-{
-    "return": {
-        "fd": 10,
-        "fdset-id": 0
-    },
-    "id": "libvirt-5"
-}
-
-{
-    "id": "libvirt-6",
-    "error": {
-        "class": "GenericError",
-        "desc": "Parameter 'top' is missing"
-    }
-}
-
-{
-    "return": [
-        {
-            "name": "BLOCK_IMAGE_CORRUPTED"
-        },
-        {
-            "name": "GUEST_PANICKED"
-        },
-        {
-            "name": "SPICE_MIGRATE_COMPLETED"
-        },
-        {
-            "name": "BALLOON_CHANGE"
-        },
-        {
-            "name": "WAKEUP"
-        },
-        {
-            "name": "SUSPEND_DISK"
-        },
-        {
-            "name": "SUSPEND"
-        },
-        {
-            "name": "NIC_RX_FILTER_CHANGED"
-        },
-        {
-            "name": "DEVICE_TRAY_MOVED"
-        },
-        {
-            "name": "DEVICE_DELETED"
-        },
-        {
-            "name": "BLOCK_JOB_READY"
-        },
-        {
-            "name": "BLOCK_JOB_ERROR"
-        },
-        {
-            "name": "BLOCK_JOB_CANCELLED"
-        },
-        {
-            "name": "BLOCK_JOB_COMPLETED"
-        },
-        {
-            "name": "SPICE_DISCONNECTED"
-        },
-        {
-            "name": "SPICE_INITIALIZED"
-        },
-        {
-            "name": "SPICE_CONNECTED"
-        },
-        {
-            "name": "WATCHDOG"
-        },
-        {
-            "name": "RTC_CHANGE"
-        },
-        {
-            "name": "BLOCK_IO_ERROR"
-        },
-        {
-            "name": "VNC_DISCONNECTED"
-        },
-        {
-            "name": "VNC_INITIALIZED"
-        },
-        {
-            "name": "VNC_CONNECTED"
-        },
-        {
-            "name": "RESUME"
-        },
-        {
-            "name": "STOP"
-        },
-        {
-            "name": "POWERDOWN"
-        },
-        {
-            "name": "RESET"
-        },
-        {
-            "name": "SHUTDOWN"
-        }
-    ],
-    "id": "libvirt-7"
-}
-
-{
-    "return": [
-        {
-            "name": "virtio-blk-device"
-        },
-        {
-            "name": "ib700"
-        },
-        {
-            "name": "ICH9 LPC"
-        },
-        {
-            "name": "port92"
-        },
-        {
-            "name": "i6300esb"
-        },
-        {
-            "name": "kvm-pci-assign"
-        },
-        {
-            "name": "virtio-scsi-device"
-        },
-        {
-            "name": "apic"
-        },
-        {
-            "name": "pc-testdev"
-        },
-        {
-            "name": "fusbh200-ehci-usb"
-        },
-        {
-            "name": "virtio-scsi-pci"
-        },
-        {
-            "name": "usb-ehci"
-        },
-        {
-            "name": "exynos4210-ehci-usb"
-        },
-        {
-            "name": "xlnx,ps7-usb"
-        },
-        {
-            "name": "virtio-balloon-pci"
-        },
-        {
-            "name": "virtio-net-pci"
-        },
-        {
-            "name": "ich9-usb-ehci2"
-        },
-        {
-            "name": "ich9-ahci"
-        },
-        {
-            "name": "ich9-usb-ehci1"
-        },
-        {
-            "name": "isa-ide"
-        },
-        {
-            "name": "ICH9 SMB"
-        },
-        {
-            "name": "piix4-usb-uhci"
-        },
-        {
-            "name": "vt82c686b-usb-uhci"
-        },
-        {
-            "name": "i82558b"
-        },
-        {
-            "name": "i82558a"
-        },
-        {
-            "name": "isa-fdc"
-        },
-        {
-            "name": "isabus-bridge"
-        },
-        {
-            "name": "sb16"
-        },
-        {
-            "name": "i2c-bus"
-        },
-        {
-            "name": "piix3-ide"
-        },
-        {
-            "name": "ioapic"
-        },
-        {
-            "name": "pci-bridge"
-        },
-        {
-            "name": "HDA"
-        },
-        {
-            "name": "am53c974"
-        },
-        {
-            "name": "hpet"
-        },
-        {
-            "name": "vmmouse"
-        },
-        {
-            "name": "i82801b11-bridge"
-        },
-        {
-            "name": "nvme"
-        },
-        {
-            "name": "lsi53c810"
-        },
-        {
-            "name": "vmxnet3"
-        },
-        {
-            "name": "isa-cirrus-vga"
-        },
-        {
-            "name": "dc390"
-        },
-        {
-            "name": "vmware-svga"
-        },
-        {
-            "name": "smbus-eeprom"
-        },
-        {
-            "name": "i82801"
-        },
-        {
-            "name": "ccid-card-passthru"
-        },
-        {
-            "name": "fw_cfg"
-        },
-        {
-            "name": "x86_64-cpu"
-        },
-        {
-            "name": "piix3-usb-uhci"
-        },
-        {
-            "name": "usb-audio"
-        },
-        {
-            "name": "virtio-9p-device"
-        },
-        {
-            "name": "i82557c"
-        },
-        {
-            "name": "i82557b"
-        },
-        {
-            "name": "i82557a"
-        },
-        {
-            "name": "IndustryPack"
-        },
-        {
-            "name": "qxl"
-        },
-        {
-            "name": "pvscsi"
-        },
-        {
-            "name": "rtl8139"
-        },
-        {
-            "name": "isa-applesmc"
-        },
-        {
-            "name": "xen-platform"
-        },
-        {
-            "name": "container"
-        },
-        {
-            "name": "virtio-mmio"
-        },
-        {
-            "name": "vfio-pci"
-        },
-        {
-            "name": "cfi.pflash01"
-        },
-        {
-            "name": "usb-kbd"
-        },
-        {
-            "name": "ich9-usb-uhci5"
-        },
-        {
-            "name": "isa-vga"
-        },
-        {
-            "name": "pci-testdev"
-        },
-        {
-            "name": "usb-tablet"
-        },
-        {
-            "name": "vmport"
-        },
-        {
-            "name": "virtio-rng-pci"
-        },
-        {
-            "name": "kvmvapic"
-        },
-        {
-            "name": "usb-bt-dongle"
-        },
-        {
-            "name": "sysbus-fdc"
-        },
-        {
-            "name": "piix4-ide"
-        },
-        {
-            "name": "xen-pci-passthrough"
-        },
-        {
-            "name": "e1000"
-        },
-        {
-            "name": "AC97"
-        },
-        {
-            "name": "ich9-usb-uhci6"
-        },
-        {
-            "name": "ipoctal232"
-        },
-        {
-            "name": "mch"
-        },
-        {
-            "name": "mc146818rtc"
-        },
-        {
-            "name": "ivshmem"
-        },
-        {
-            "name": "usb-ccid"
-        },
-        {
-            "name": "sysbus-ahci"
-        },
-        {
-            "name": "kvmclock"
-        },
-        {
-            "name": "i82562"
-        },
-        {
-            "name": "hda-output"
-        },
-        {
-            "name": "pci-serial-4x"
-        },
-        {
-            "name": "ccid-bus"
-        },
-        {
-            "name": "i82559er"
-        },
-        {
-            "name": "virtio-balloon-device"
-        },
-        {
-            "name": "megasas"
-        },
-        {
-            "name": "i8042"
-        },
-        {
-            "name": "intel-hda"
-        },
-        {
-            "name": "hda-duplex"
-        },
-        {
-            "name": "virtio-serial-pci"
-        },
-        {
-            "name": "ne2k_pci"
-        },
-        {
-            "name": "ich9-usb-uhci2"
-        },
-        {
-            "name": "ich9-usb-uhci3"
-        },
-        {
-            "name": "virtconsole"
-        },
-        {
-            "name": "ich9-usb-uhci4"
-        },
-        {
-            "name": "isa-parallel"
-        },
-        {
-            "name": "pci-serial"
-        },
-        {
-            "name": "ich9-usb-uhci1"
-        },
-        {
-            "name": "PCI"
-        },
-        {
-            "name": "adlib"
-        },
-        {
-            "name": "SUNW,fdtwo"
-        },
-        {
-            "name": "ide-cd"
-        },
-        {
-            "name": "isa-debugcon"
-        },
-        {
-            "name": "usb-bot"
-        },
-        {
-            "name": "i82551"
-        },
-        {
-            "name": "i82550"
-        },
-        {
-            "name": "isa-serial"
-        },
-        {
-            "name": "PCIE"
-        },
-        {
-            "name": "kvm-ioapic"
-        },
-        {
-            "name": "nec-usb-xhci"
-        },
-        {
-            "name": "System"
-        },
-        {
-            "name": "kvm-apic"
-        },
-        {
-            "name": "ich9-intel-hda"
-        },
-        {
-            "name": "virtio-net-device"
-        },
-        {
-            "name": "q35-pcihost"
-        },
-        {
-            "name": "usb-wacom-tablet"
-        },
-        {
-            "name": "PIIX4_PM"
-        },
-        {
-            "name": "kvm-i8259"
-        },
-        {
-            "name": "xen-apic"
-        },
-        {
-            "name": "scsi-cd"
-        },
-        {
-            "name": "pci-ohci"
-        },
-        {
-            "name": "i440FX"
-        },
-        {
-            "name": "usb-braille"
-        },
-        {
-            "name": "virtserialport"
-        },
-        {
-            "name": "pci-serial-2x"
-        },
-        {
-            "name": "icc-bridge"
-        },
-        {
-            "name": "xio3130-downstream"
-        },
-        {
-            "name": "rng-random"
-        },
-        {
-            "name": "hda-micro"
-        },
-        {
-            "name": "scsi-disk"
-        },
-        {
-            "name": "vhost-scsi"
-        },
-        {
-            "name": "lsi53c895a"
-        },
-        {
-            "name": "SCSI"
-        },
-        {
-            "name": "pcnet"
-        },
-        {
-            "name": "scsi-generic"
-        },
-        {
-            "name": "pvpanic"
-        },
-        {
-            "name": "virtio-serial-device"
-        },
-        {
-            "name": "virtio-serial-bus"
-        },
-        {
-            "name": "vhost-scsi-pci"
-        },
-        {
-            "name": "usb-bus"
-        },
-        {
-            "name": "ne2k_isa"
-        },
-        {
-            "name": "IDE"
-        },
-        {
-            "name": "ccid-card-emulated"
-        },
-        {
-            "name": "tegra2-ehci-usb"
-        },
-        {
-            "name": "usb-net"
-        },
-        {
-            "name": "virtio-mmio-bus"
-        },
-        {
-            "name": "usb-hub"
-        },
-        {
-            "name": "i440FX-pcihost"
-        },
-        {
-            "name": "usb-mouse"
-        },
-        {
-            "name": "ISA"
-        },
-        {
-            "name": "cs4231a"
-        },
-        {
-            "name": "usb-serial"
-        },
-        {
-            "name": "scsi-block"
-        },
-        {
-            "name": "isa-i8259"
-        },
-        {
-            "name": "sga"
-        },
-        {
-            "name": "isa-debug-exit"
-        },
-        {
-            "name": "virtio-rng-device"
-        },
-        {
-            "name": "qemu-console"
-        },
-        {
-            "name": "ioh3420"
-        },
-        {
-            "name": "ES1370"
-        },
-        {
-            "name": "PIIX3"
-        },
-        {
-            "name": "isa-pcspk"
-        },
-        {
-            "name": "ide-hd"
-        },
-        {
-            "name": "rng-egd"
-        },
-        {
-            "name": "cirrus-vga"
-        },
-        {
-            "name": "kvm-pit"
-        },
-        {
-            "name": "virtio-9p-pci"
-        },
-        {
-            "name": "xen-pvdevice"
-        },
-        {
-            "name": "icc-bus"
-        },
-        {
-            "name": "ide-drive"
-        },
-        {
-            "name": "x3130-upstream"
-        },
-        {
-            "name": "virtio-pci-bus"
-        },
-        {
-            "name": "qxl-vga"
-        },
-        {
-            "name": "usb-uas"
-        },
-        {
-            "name": "virtio-blk-pci"
-        },
-        {
-            "name": "sysbus-ohci"
-        },
-        {
-            "name": "esp"
-        },
-        {
-            "name": "piix3-ide-xen"
-        },
-        {
-            "name": "i82559c"
-        },
-        {
-            "name": "i82559b"
-        },
-        {
-            "name": "i82559a"
-        },
-        {
-            "name": "scsi-hd"
-        },
-        {
-            "name": "PIIX3-xen"
-        },
-        {
-            "name": "usb-storage"
-        },
-        {
-            "name": "isa-pit"
-        },
-        {
-            "name": "tpci200"
-        },
-        {
-            "name": "gus"
-        },
-        {
-            "name": "VGA"
-        }
-    ],
-    "id": "libvirt-8"
-}
-
-{
-    "return": [
-        {
-            "name": "command_serr_enable",
-            "type": "on/off"
-        },
-        {
-            "name": "multifunction",
-            "type": "on/off"
-        },
-        {
-            "name": "rombar",
-            "type": "uint32"
-        },
-        {
-            "name": "romfile",
-            "type": "string"
-        },
-        {
-            "name": "addr",
-            "type": "pci-devfn"
-        },
-        {
-            "name": "scsi",
-            "type": "on/off"
-        },
-        {
-            "name": "config-wce",
-            "type": "on/off"
-        },
-        {
-            "name": "serial",
-            "type": "string"
-        },
-        {
-            "name": "secs",
-            "type": "uint32"
-        },
-        {
-            "name": "heads",
-            "type": "uint32"
-        },
-        {
-            "name": "cyls",
-            "type": "uint32"
-        },
-        {
-            "name": "discard_granularity",
-            "type": "uint32"
-        },
-        {
-            "name": "bootindex",
-            "type": "int32"
-        },
-        {
-            "name": "opt_io_size",
-            "type": "uint32"
-        },
-        {
-            "name": "min_io_size",
-            "type": "uint16"
-        },
-        {
-            "name": "physical_block_size",
-            "type": "blocksize"
-        },
-        {
-            "name": "logical_block_size",
-            "type": "blocksize"
-        },
-        {
-            "name": "drive",
-            "type": "drive"
-        },
-        {
-            "name": "event_idx",
-            "type": "on/off"
-        },
-        {
-            "name": "indirect_desc",
-            "type": "on/off"
-        },
-        {
-            "name": "x-data-plane",
-            "type": "on/off"
-        },
-        {
-            "name": "vectors",
-            "type": "uint32"
-        },
-        {
-            "name": "ioeventfd",
-            "type": "on/off"
-        },
-        {
-            "name": "class",
-            "type": "hex32"
-        }
-    ],
-    "id": "libvirt-9"
-}
-
-{
-    "return": [
-        {
-            "name": "command_serr_enable",
-            "type": "on/off"
-        },
-        {
-            "name": "multifunction",
-            "type": "on/off"
-        },
-        {
-            "name": "rombar",
-            "type": "uint32"
-        },
-        {
-            "name": "romfile",
-            "type": "string"
-        },
-        {
-            "name": "addr",
-            "type": "pci-devfn"
-        },
-        {
-            "name": "tx",
-            "type": "string"
-        },
-        {
-            "name": "x-txburst",
-            "type": "int32"
-        },
-        {
-            "name": "x-txtimer",
-            "type": "uint32"
-        },
-        {
-            "name": "bootindex",
-            "type": "int32"
-        },
-        {
-            "name": "netdev",
-            "type": "netdev"
-        },
-        {
-            "name": "vlan",
-            "type": "vlan"
-        },
-        {
-            "name": "mac",
-            "type": "macaddr"
-        },
-        {
-            "name": "mq",
-            "type": "on/off"
-        },
-        {
-            "name": "ctrl_guest_offloads",
-            "type": "on/off"
-        },
-        {
-            "name": "ctrl_mac_addr",
-            "type": "on/off"
-        },
-        {
-            "name": "ctrl_rx_extra",
-            "type": "on/off"
-        },
-        {
-            "name": "ctrl_vlan",
-            "type": "on/off"
-        },
-        {
-            "name": "ctrl_rx",
-            "type": "on/off"
-        },
-        {
-            "name": "ctrl_vq",
-            "type": "on/off"
-        },
-        {
-            "name": "status",
-            "type": "on/off"
-        },
-        {
-            "name": "mrg_rxbuf",
-            "type": "on/off"
-        },
-        {
-            "name": "host_ufo",
-            "type": "on/off"
-        },
-        {
-            "name": "host_ecn",
-            "type": "on/off"
-        },
-        {
-            "name": "host_tso6",
-            "type": "on/off"
-        },
-        {
-            "name": "host_tso4",
-            "type": "on/off"
-        },
-        {
-            "name": "guest_ufo",
-            "type": "on/off"
-        },
-        {
-            "name": "guest_ecn",
-            "type": "on/off"
-        },
-        {
-            "name": "guest_tso6",
-            "type": "on/off"
-        },
-        {
-            "name": "guest_tso4",
-            "type": "on/off"
-        },
-        {
-            "name": "gso",
-            "type": "on/off"
-        },
-        {
-            "name": "guest_csum",
-            "type": "on/off"
-        },
-        {
-            "name": "csum",
-            "type": "on/off"
-        },
-        {
-            "name": "any_layout",
-            "type": "on/off"
-        },
-        {
-            "name": "event_idx",
-            "type": "on/off"
-        },
-        {
-            "name": "indirect_desc",
-            "type": "on/off"
-        },
-        {
-            "name": "vectors",
-            "type": "uint32"
-        },
-        {
-            "name": "ioeventfd",
-            "type": "on/off"
-        }
-    ],
-    "id": "libvirt-10"
-}
-
-{
-    "return": [
-        {
-            "name": "ioeventfd",
-            "type": "on/off"
-        },
-        {
-            "name": "vectors",
-            "type": "uint32"
-        }
-    ],
-    "id": "libvirt-11"
-}
-
-{
-    "id": "libvirt-12",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'virtio-blk-ccw' not found"
-    }
-}
-
-{
-    "id": "libvirt-13",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'virtio-net-ccw' not found"
-    }
-}
-
-{
-    "id": "libvirt-14",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'virtio-scsi-ccw' not found"
-    }
-}
-
-{
-    "id": "libvirt-15",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'virtio-blk-s390' not found"
-    }
-}
-
-{
-    "id": "libvirt-16",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'virtio-net-s390' not found"
-    }
-}
-
-{
-    "id": "libvirt-17",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'pci-assign' not found"
-    }
-}
-
-{
-    "return": [
-        {
-            "name": "command_serr_enable",
-            "type": "on/off"
-        },
-        {
-            "name": "multifunction",
-            "type": "on/off"
-        },
-        {
-            "name": "rombar",
-            "type": "uint32"
-        },
-        {
-            "name": "romfile",
-            "type": "string"
-        },
-        {
-            "name": "addr",
-            "type": "pci-devfn"
-        },
-        {
-            "name": "configfd",
-            "type": "string"
-        },
-        {
-            "name": "bootindex",
-            "type": "int32"
-        },
-        {
-            "name": "share_intx",
-            "type": "on/off"
-        },
-        {
-            "name": "prefer_msi",
-            "type": "on/off"
-        },
-        {
-            "name": "host",
-            "type": "pci-host-devaddr"
-        }
-    ],
-    "id": "libvirt-18"
-}
-
-{
-    "return": [
-        {
-            "name": "command_serr_enable",
-            "type": "on/off"
-        },
-        {
-            "name": "multifunction",
-            "type": "on/off"
-        },
-        {
-            "name": "rombar",
-            "type": "uint32"
-        },
-        {
-            "name": "romfile",
-            "type": "string"
-        },
-        {
-            "name": "addr",
-            "type": "pci-devfn"
-        },
-        {
-            "name": "bootindex",
-            "type": "int32"
-        },
-        {
-            "name": "x-vga",
-            "type": "on/off"
-        },
-        {
-            "name": "x-intx-mmap-timeout-ms",
-            "type": "uint32"
-        },
-        {
-            "name": "host",
-            "type": "pci-host-devaddr"
-        }
-    ],
-    "id": "libvirt-19"
-}
-
-{
-    "return": [
-        {
-            "name": "lun",
-            "type": "uint32"
-        },
-        {
-            "name": "scsi-id",
-            "type": "uint32"
-        },
-        {
-            "name": "channel",
-            "type": "uint32"
-        },
-        {
-            "name": "wwn",
-            "type": "hex64"
-        },
-        {
-            "name": "dpofua",
-            "type": "on/off"
-        },
-        {
-            "name": "removable",
-            "type": "on/off"
-        },
-        {
-            "name": "product",
-            "type": "string"
-        },
-        {
-            "name": "vendor",
-            "type": "string"
-        },
-        {
-            "name": "serial",
-            "type": "string"
-        },
-        {
-            "name": "ver",
-            "type": "string"
-        },
-        {
-            "name": "discard_granularity",
-            "type": "uint32"
-        },
-        {
-            "name": "bootindex",
-            "type": "int32"
-        },
-        {
-            "name": "opt_io_size",
-            "type": "uint32"
-        },
-        {
-            "name": "min_io_size",
-            "type": "uint16"
-        },
-        {
-            "name": "physical_block_size",
-            "type": "blocksize"
-        },
-        {
-            "name": "logical_block_size",
-            "type": "blocksize"
-        },
-        {
-            "name": "drive",
-            "type": "drive"
-        }
-    ],
-    "id": "libvirt-20"
-}
-
-{
-    "return": [
-        {
-            "name": "unit",
-            "type": "uint32"
-        },
-        {
-            "name": "model",
-            "type": "string"
-        },
-        {
-            "name": "serial",
-            "type": "string"
-        },
-        {
-            "name": "wwn",
-            "type": "hex64"
-        },
-        {
-            "name": "ver",
-            "type": "string"
-        },
-        {
-            "name": "discard_granularity",
-            "type": "uint32"
-        },
-        {
-            "name": "bootindex",
-            "type": "int32"
-        },
-        {
-            "name": "opt_io_size",
-            "type": "uint32"
-        },
-        {
-            "name": "min_io_size",
-            "type": "uint16"
-        },
-        {
-            "name": "physical_block_size",
-            "type": "blocksize"
-        },
-        {
-            "name": "logical_block_size",
-            "type": "blocksize"
-        },
-        {
-            "name": "drive",
-            "type": "drive"
-        }
-    ],
-    "id": "libvirt-21"
-}
-
-{
-    "return": [
-        {
-            "name": "command_serr_enable",
-            "type": "on/off"
-        },
-        {
-            "name": "multifunction",
-            "type": "on/off"
-        },
-        {
-            "name": "rombar",
-            "type": "uint32"
-        },
-        {
-            "name": "romfile",
-            "type": "string"
-        },
-        {
-            "name": "addr",
-            "type": "pci-devfn"
-        },
-        {
-            "name": "s4_val",
-            "type": "uint8"
-        },
-        {
-            "name": "disable_s4",
-            "type": "uint8"
-        },
-        {
-            "name": "disable_s3",
-            "type": "uint8"
-        },
-        {
-            "name": "smb_io_base",
-            "type": "uint32"
-        }
-    ],
-    "id": "libvirt-22"
-}
-
-{
-    "id": "libvirt-23",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'usb-redir' not found"
-    }
-}
-
-{
-    "id": "libvirt-24",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'usb-host' not found"
-    }
-}
-
-{
-    "return": [
-        {
-            "name": "lun",
-            "type": "uint32"
-        },
-        {
-            "name": "scsi-id",
-            "type": "uint32"
-        },
-        {
-            "name": "channel",
-            "type": "uint32"
-        },
-        {
-            "name": "bootindex",
-            "type": "int32"
-        },
-        {
-            "name": "drive",
-            "type": "drive"
-        }
-    ],
-    "id": "libvirt-25"
-}
-
-{
-    "return": [
-        {
-            "name": "pci-hole64-size",
-            "type": "size"
-        }
-    ],
-    "id": "libvirt-26"
-}
-
-{
-    "return": [
-        {
-            "name": "pci-hole64-size",
-            "type": "size"
-        },
-        {
-            "name": "MCFG",
-            "type": "uint64"
-        }
-    ],
-    "id": "libvirt-27"
-}
-
-{
-    "return": [
-        {
-            "name": "full-path",
-            "type": "on/off"
-        },
-        {
-            "name": "serial",
-            "type": "string"
-        },
-        {
-            "name": "port",
-            "type": "string"
-        },
-        {
-            "name": "removable",
-            "type": "on/off"
-        },
-        {
-            "name": "discard_granularity",
-            "type": "uint32"
-        },
-        {
-            "name": "bootindex",
-            "type": "int32"
-        },
-        {
-            "name": "opt_io_size",
-            "type": "uint32"
-        },
-        {
-            "name": "min_io_size",
-            "type": "uint16"
-        },
-        {
-            "name": "physical_block_size",
-            "type": "blocksize"
-        },
-        {
-            "name": "logical_block_size",
-            "type": "blocksize"
-        },
-        {
-            "name": "drive",
-            "type": "drive"
-        }
-    ],
-    "id": "libvirt-28"
-}
-
-{
-    "return": [
-        {
-            "name": "lost_tick_policy",
-            "type": "LostTickPolicy"
-        },
-        {
-            "name": "iobase",
-            "type": "hex32"
-        }
-    ],
-    "id": "libvirt-29"
-}
-
-{
-    "return": [
-        {
-            "name": "command_serr_enable",
-            "type": "on/off"
-        },
-        {
-            "name": "multifunction",
-            "type": "on/off"
-        },
-        {
-            "name": "rombar",
-            "type": "uint32"
-        },
-        {
-            "name": "romfile",
-            "type": "string"
-        },
-        {
-            "name": "addr",
-            "type": "pci-devfn"
-        },
-        {
-            "name": "mmio",
-            "type": "on/off"
-        },
-        {
-            "name": "vgamem_mb",
-            "type": "uint32"
-        }
-    ],
-    "id": "libvirt-30"
-}
-
-{
-    "return": [
-        {
-            "name": "command_serr_enable",
-            "type": "on/off"
-        },
-        {
-            "name": "multifunction",
-            "type": "on/off"
-        },
-        {
-            "name": "rombar",
-            "type": "uint32"
-        },
-        {
-            "name": "romfile",
-            "type": "string"
-        },
-        {
-            "name": "addr",
-            "type": "pci-devfn"
-        },
-        {
-            "name": "vgamem_mb",
-            "type": "uint32"
-        }
-    ],
-    "id": "libvirt-31"
-}
-
-{
-    "return": [
-        {
-            "name": "command_serr_enable",
-            "type": "on/off"
-        },
-        {
-            "name": "multifunction",
-            "type": "on/off"
-        },
-        {
-            "name": "rombar",
-            "type": "uint32"
-        },
-        {
-            "name": "romfile",
-            "type": "string"
-        },
-        {
-            "name": "addr",
-            "type": "pci-devfn"
-        },
-        {
-            "name": "surfaces",
-            "type": "int32"
-        },
-        {
-            "name": "vgamem_mb",
-            "type": "uint32"
-        },
-        {
-            "name": "vram64_size_mb",
-            "type": "uint32"
-        },
-        {
-            "name": "vram_size_mb",
-            "type": "uint32"
-        },
-        {
-            "name": "ram_size_mb",
-            "type": "uint32"
-        },
-        {
-            "name": "cmdlog",
-            "type": "uint32"
-        },
-        {
-            "name": "guestdebug",
-            "type": "uint32"
-        },
-        {
-            "name": "debug",
-            "type": "uint32"
-        },
-        {
-            "name": "revision",
-            "type": "uint32"
-        },
-        {
-            "name": "vram_size",
-            "type": "uint32"
-        },
-        {
-            "name": "ram_size",
-            "type": "uint32"
-        }
-    ],
-    "id": "libvirt-32"
-}
-
-{
-    "return": [
-        {
-            "name": "command_serr_enable",
-            "type": "on/off"
-        },
-        {
-            "name": "multifunction",
-            "type": "on/off"
-        },
-        {
-            "name": "rombar",
-            "type": "uint32"
-        },
-        {
-            "name": "romfile",
-            "type": "string"
-        },
-        {
-            "name": "addr",
-            "type": "pci-devfn"
-        },
-        {
-            "name": "surfaces",
-            "type": "int32"
-        },
-        {
-            "name": "vgamem_mb",
-            "type": "uint32"
-        },
-        {
-            "name": "vram64_size_mb",
-            "type": "uint32"
-        },
-        {
-            "name": "vram_size_mb",
-            "type": "uint32"
-        },
-        {
-            "name": "ram_size_mb",
-            "type": "uint32"
-        },
-        {
-            "name": "cmdlog",
-            "type": "uint32"
-        },
-        {
-            "name": "guestdebug",
-            "type": "uint32"
-        },
-        {
-            "name": "debug",
-            "type": "uint32"
-        },
-        {
-            "name": "revision",
-            "type": "uint32"
-        },
-        {
-            "name": "vram_size",
-            "type": "uint32"
-        },
-        {
-            "name": "ram_size",
-            "type": "uint32"
-        }
-    ],
-    "id": "libvirt-33"
-}
-
-{
-    "id": "libvirt-34",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'virtio-gpu-pci' not found"
-    }
-}
-
-{
-    "id": "libvirt-35",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'ICH9-LPC' not found"
-    }
-}
-
-{
-    "return": [
-        {
-             "name": "command_serr_enable",
-             "type": "on/off"
-        },
-        {
-            "name": "multifunction",
-            "type": "on/off"
-        },
-        {
-            "name": "rombar",
-            "type": "uint32"
-        },
-        {
-            "name": "romfile",
-            "type": "string"
-        },
-        {
-            "name": "addr",
-            "type": "pci-devfn"
-        },
-        {
-            "name": "class",
-            "type": "hex32"
-        },
-        {
-            "name": "event_idx",
-            "type": "on/off"
-        },
-        {
-            "name": "indirect_desc",
-            "type": "on/off"
-        }
-    ],
-    "id": "libvirt-36"
-}
-
-{
-    "id": "libvirt-37",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'virtio-balloon-ccw' not found"
-    }
-}
-
-{
-    "return": [
-    ],
-    "id": "libvirt-38"
-}
-
-{
-    "return": [
-        {
-            "name": "msi",
-            "type": "on/off"
-        },
-        {
-            "name": "msix",
-            "type": "on/off"
-        },
-        {
-            "name": "intrs",
-            "type": "uint32"
-        },
-        {
-            "name": "slots",
-            "type": "uint32"
-        },
-        {
-            "name": "2",
-            "type": "uint32"
-        },
-        {
-            "name": "p3",
-            "type": "uint32"
-        }
-    ]
-}
-
-{
-    "return": [
-        {
-            "name": "xenpv",
-            "cpu-max": 1
-        },
-        {
-            "name": "pc-q35-1.4",
-            "cpu-max": 255
-        },
-        {
-            "name": "pc-q35-1.5",
-            "cpu-max": 255
-        },
-        {
-            "name": "pc-q35-1.6",
-            "cpu-max": 255
-        },
-        {
-            "name": "pc-q35-1.7",
-            "cpu-max": 255,
-            "alias": "q35"
-        },
-        {
-            "name": "xenfv",
-            "cpu-max": 128
-        },
-        {
-            "name": "isapc",
-            "cpu-max": 1
-        },
-        {
-            "name": "pc-0.10",
-            "cpu-max": 255
-        },
-        {
-            "name": "pc-0.11",
-            "cpu-max": 255
-        },
-        {
-            "name": "pc-0.12",
-            "cpu-max": 255
-        },
-        {
-            "name": "pc-0.13",
-            "cpu-max": 255
-        },
-        {
-            "name": "pc-0.14",
-            "cpu-max": 255
-        },
-        {
-            "name": "pc-0.15",
-            "cpu-max": 255
-        },
-        {
-            "name": "pc-1.0",
-            "cpu-max": 255
-        },
-        {
-            "name": "pc-1.1",
-            "cpu-max": 255
-        },
-        {
-            "name": "pc-1.2",
-            "cpu-max": 255
-        },
-        {
-            "name": "pc-1.3",
-            "cpu-max": 255
-        },
-        {
-            "name": "pc-i440fx-1.4",
-            "cpu-max": 255
-        },
-        {
-            "name": "pc-i440fx-1.5",
-            "cpu-max": 255
-        },
-        {
-            "name": "pc-i440fx-1.6",
-            "cpu-max": 255
-        },
-        {
-            "name": "pc-i440fx-1.7",
-            "is-default": true,
-            "cpu-max": 255,
-            "alias": "pc"
-        },
-        {
-            "name": "none",
-            "cpu-max": 1
-        }
-    ],
-    "id": "libvirt-39"
-}
-
-{
-    "return": [
-        {
-            "name": "Opteron_G5"
-        },
-        {
-            "name": "Opteron_G4"
-        },
-        {
-            "name": "Opteron_G3"
-        },
-        {
-            "name": "Opteron_G2"
-        },
-        {
-            "name": "Opteron_G1"
-        },
-        {
-            "name": "Haswell"
-        },
-        {
-            "name": "SandyBridge"
-        },
-        {
-            "name": "Westmere"
-        },
-        {
-            "name": "Nehalem"
-        },
-        {
-            "name": "Penryn"
-        },
-        {
-            "name": "Conroe"
-        },
-        {
-            "name": "n270"
-        },
-        {
-            "name": "athlon"
-        },
-        {
-            "name": "pentium3"
-        },
-        {
-            "name": "pentium2"
-        },
-        {
-            "name": "pentium"
-        },
-        {
-            "name": "486"
-        },
-        {
-            "name": "coreduo"
-        },
-        {
-            "name": "kvm32"
-        },
-        {
-            "name": "qemu32"
-        },
-        {
-            "name": "kvm64"
-        },
-        {
-            "name": "core2duo"
-        },
-        {
-            "name": "phenom"
-        },
-        {
-            "name": "qemu64"
-        }
-    ],
-    "id": "libvirt-40"
-}
-
-{
-    "return": {
-        "enabled": false,
-        "present": true
-    },
-    "id": "libvirt-41"
-}
-
-{
-    "return": [
-    ],
-    "id": "libvirt-42"
-}
-
-{
-    "return": [
-    ],
-    "id": "libvirt-43"
-}
-
-{
-    "return": [
-        {
-            "parameters": [
-            ],
-            "option": "smbios"
-        },
-        {
-            "parameters": [
-                {
-                    "name": "seamless-migration",
-                    "type": "boolean"
-                },
-                {
-                    "name": "playback-compression",
-                    "type": "boolean"
-                },
-                {
-                    "name": "agent-mouse",
-                    "type": "boolean"
-                },
-                {
-                    "name": "streaming-video",
-                    "type": "string"
-                },
-                {
-                    "name": "zlib-glz-wan-compression",
-                    "type": "string"
-                },
-                {
-                    "name": "jpeg-wan-compression",
-                    "type": "string"
-                },
-                {
-                    "name": "image-compression",
-                    "type": "string"
-                },
-                {
-                    "name": "plaintext-channel",
-                    "type": "string"
-                },
-                {
-                    "name": "tls-channel",
-                    "type": "string"
-                },
-                {
-                    "name": "tls-ciphers",
-                    "type": "string"
-                },
-                {
-                    "name": "x509-dh-key-file",
-                    "type": "string"
-                },
-                {
-                    "name": "x509-cacert-file",
-                    "type": "string"
-                },
-                {
-                    "name": "x509-cert-file",
-                    "type": "string"
-                },
-                {
-                    "name": "x509-key-password",
-                    "type": "string"
-                },
-                {
-                    "name": "x509-key-file",
-                    "type": "string"
-                },
-                {
-                    "name": "x509-dir",
-                    "type": "string"
-                },
-                {
-                    "name": "sasl",
-                    "type": "boolean"
-                },
-                {
-                    "name": "disable-agent-file-xfer",
-                    "type": "boolean"
-                },
-                {
-                    "name": "disable-copy-paste",
-                    "type": "boolean"
-                },
-                {
-                    "name": "disable-ticketing",
-                    "type": "boolean"
-                },
-                {
-                    "name": "password",
-                    "type": "string"
-                },
-                {
-                    "name": "ipv6",
-                    "type": "boolean"
-                },
-                {
-                    "name": "ipv4",
-                    "type": "boolean"
-                },
-                {
-                    "name": "addr",
-                    "type": "string"
-                },
-                {
-                    "name": "tls-port",
-                    "type": "number"
-                },
-                {
-                    "name": "port",
-                    "type": "number"
-                }
-            ],
-            "option": "spice"
-        },
-        {
-            "parameters": [
-            ],
-            "option": "acpi"
-        },
-        {
-            "parameters": [
-                {
-                    "name": "sock_fd",
-                    "type": "number"
-                },
-                {
-                    "name": "socket",
-                    "type": "string"
-                },
-                {
-                    "name": "readonly",
-                    "type": "boolean"
-                },
-                {
-                    "name": "writeout",
-                    "type": "string"
-                },
-                {
-                    "name": "security_model",
-                    "type": "string"
-                },
-                {
-                    "name": "mount_tag",
-                    "type": "string"
-                },
-                {
-                    "name": "path",
-                    "type": "string"
-                },
-                {
-                    "name": "fsdriver",
-                    "type": "string"
-                }
-            ],
-            "option": "virtfs"
-        },
-        {
-            "parameters": [
-                {
-                    "name": "sock_fd",
-                    "type": "number"
-                },
-                {
-                    "name": "socket",
-                    "type": "string"
-                },
-                {
-                    "name": "readonly",
-                    "type": "boolean"
-                },
-                {
-                    "name": "writeout",
-                    "type": "string"
-                },
-                {
-                    "name": "security_model",
-                    "type": "string"
-                },
-                {
-                    "name": "path",
-                    "type": "string"
-                },
-                {
-                    "name": "fsdriver",
-                    "type": "string"
-                }
-            ],
-            "option": "fsdev"
-        },
-        {
-            "parameters": [
-                {
-                    "name": "timestamp",
-                    "type": "boolean"
-                }
-            ],
-            "option": "msg"
-        },
-        {
-            "parameters": [
-                {
-                    "name": "mlock",
-                    "type": "boolean"
-                }
-            ],
-            "option": "realtime"
-        },
-        {
-            "parameters": [
-            ],
-            "option": "tpmdev"
-        },
-        {
-            "parameters": [
-            ],
-            "option": "object"
-        },
-        {
-            "parameters": [
-                {
-                    "name": "opaque",
-                    "help": "free-form string used to describe fd",
-                    "type": "string"
-                },
-                {
-                    "name": "set",
-                    "help": "ID of the fd set to add fd to",
-                    "type": "number"
-                },
-                {
-                    "name": "fd",
-                    "help": "file descriptor of which a duplicate is added to fd set",
-                    "type": "number"
-                }
-            ],
-            "option": "add-fd"
-        },
-        {
-            "parameters": [
-                {
-                    "name": "enable",
-                    "type": "boolean"
-                }
-            ],
-            "option": "sandbox"
-        },
-        {
-            "parameters": [
-                {
-                    "name": "strict",
-                    "type": "string"
-                },
-                {
-                    "name": "reboot-timeout",
-                    "type": "string"
-                },
-                {
-                    "name": "splash-time",
-                    "type": "string"
-                },
-                {
-                    "name": "splash",
-                    "type": "string"
-                },
-                {
-                    "name": "menu",
-                    "type": "boolean"
-                },
-                {
-                    "name": "once",
-                    "type": "string"
-                },
-                {
-                    "name": "order",
-                    "type": "string"
-                }
-            ],
-            "option": "boot-opts"
-        },
-        {
-            "parameters": [
-                {
-                    "name": "maxcpus",
-                    "type": "number"
-                },
-                {
-                    "name": "threads",
-                    "type": "number"
-                },
-                {
-                    "name": "cores",
-                    "type": "number"
-                },
-                {
-                    "name": "sockets",
-                    "type": "number"
-                },
-                {
-                    "name": "cpus",
-                    "type": "number"
-                }
-            ],
-            "option": "smp-opts"
-        },
-        {
-            "parameters": [
-                {
-                    "name": "usb",
-                    "help": "Set on/off to enable/disable usb",
-                    "type": "boolean"
-                },
-                {
-                    "name": "mem-merge",
-                    "help": "enable/disable memory merge support",
-                    "type": "boolean"
-                },
-                {
-                    "name": "dump-guest-core",
-                    "help": "Include guest memory in  a core dump",
-                    "type": "boolean"
-                },
-                {
-                    "name": "dt_compatible",
-                    "help": "Overrides the \"compatible\" property of the dt root node",
-                    "type": "string"
-                },
-                {
-                    "name": "phandle_start",
-                    "help": "The first phandle ID we may generate dynamically",
-                    "type": "number"
-                },
-                {
-                    "name": "dumpdtb",
-                    "help": "Dump current dtb to a file and quit",
-                    "type": "string"
-                },
-                {
-                    "name": "dtb",
-                    "help": "Linux kernel device tree file",
-                    "type": "string"
-                },
-                {
-                    "name": "append",
-                    "help": "Linux kernel command line",
-                    "type": "string"
-                },
-                {
-                    "name": "initrd",
-                    "help": "Linux initial ramdisk file",
-                    "type": "string"
-                },
-                {
-                    "name": "kernel",
-                    "help": "Linux kernel image file",
-                    "type": "string"
-                },
-                {
-                    "name": "kvm_shadow_mem",
-                    "help": "KVM shadow MMU size",
-                    "type": "size"
-                },
-                {
-                    "name": "kernel_irqchip",
-                    "help": "use KVM in-kernel irqchip",
-                    "type": "boolean"
-                },
-                {
-                    "name": "accel",
-                    "help": "accelerator list",
-                    "type": "string"
-                },
-                {
-                    "name": "type",
-                    "help": "emulated machine",
-                    "type": "string"
-                }
-            ],
-            "option": "machine"
-        },
-        {
-            "parameters": [
-                {
-                    "name": "romfile",
-                    "type": "string"
-                },
-                {
-                    "name": "bootindex",
-                    "type": "number"
-                }
-            ],
-            "option": "option-rom"
-        },
-        {
-            "parameters": [
-                {
-                    "name": "file",
-                    "type": "string"
-                },
-                {
-                    "name": "events",
-                    "type": "string"
-                }
-            ],
-            "option": "trace"
-        },
-        {
-            "parameters": [
-                {
-                    "name": "pretty",
-                    "type": "boolean"
-                },
-                {
-                    "name": "default",
-                    "type": "boolean"
-                },
-                {
-                    "name": "chardev",
-                    "type": "string"
-                },
-                {
-                    "name": "mode",
-                    "type": "string"
-                }
-            ],
-            "option": "mon"
-        },
-        {
-            "parameters": [
-                {
-                    "name": "value",
-                    "type": "string"
-                },
-                {
-                    "name": "property",
-                    "type": "string"
-                },
-                {
-                    "name": "driver",
-                    "type": "string"
-                }
-            ],
-            "option": "global"
-        },
-        {
-            "parameters": [
-                {
-                    "name": "driftfix",
-                    "type": "string"
-                },
-                {
-                    "name": "clock",
-                    "type": "string"
-                },
-                {
-                    "name": "base",
-                    "type": "string"
-                }
-            ],
-            "option": "rtc"
-        },
-        {
-            "parameters": [
-            ],
-            "option": "net"
-        },
-        {
-            "parameters": [
-            ],
-            "option": "netdev"
-        },
-        {
-            "parameters": [
-            ],
-            "option": "numa"
-        },
-        {
-            "parameters": [
-            ],
-            "option": "device"
-        },
-        {
-            "parameters": [
-                {
-                    "name": "chardev",
-                    "type": "string"
-                },
-                {
-                    "name": "size",
-                    "type": "size"
-                },
-                {
-                    "name": "debug",
-                    "type": "number"
-                },
-                {
-                    "name": "name",
-                    "type": "string"
-                },
-                {
-                    "name": "signal",
-                    "type": "boolean"
-                },
-                {
-                    "name": "mux",
-                    "type": "boolean"
-                },
-                {
-                    "name": "rows",
-                    "type": "number"
-                },
-                {
-                    "name": "cols",
-                    "type": "number"
-                },
-                {
-                    "name": "height",
-                    "type": "number"
-                },
-                {
-                    "name": "width",
-                    "type": "number"
-                },
-                {
-                    "name": "telnet",
-                    "type": "boolean"
-                },
-                {
-                    "name": "delay",
-                    "type": "boolean"
-                },
-                {
-                    "name": "server",
-                    "type": "boolean"
-                },
-                {
-                    "name": "wait",
-                    "type": "boolean"
-                },
-                {
-                    "name": "ipv6",
-                    "type": "boolean"
-                },
-                {
-                    "name": "ipv4",
-                    "type": "boolean"
-                },
-                {
-                    "name": "to",
-                    "type": "number"
-                },
-                {
-                    "name": "localport",
-                    "type": "string"
-                },
-                {
-                    "name": "localaddr",
-                    "type": "string"
-                },
-                {
-                    "name": "port",
-                    "type": "string"
-                },
-                {
-                    "name": "host",
-                    "type": "string"
-                },
-                {
-                    "name": "path",
-                    "type": "string"
-                },
-                {
-                    "name": "backend",
-                    "type": "string"
-                }
-            ],
-            "option": "chardev"
-        },
-        {
-            "parameters": [
-            ],
-            "option": "drive"
-        }
-    ],
-    "id": "libvirt-44"
-}
-
-{
-    "return": [
-        {
-            "capability": "xbzrle",
-            "state": false
-        },
-        {
-            "capability": "x-rdma-pin-all",
-            "state": false
-        },
-        {
-            "capability": "auto-converge",
-            "state": false
-        },
-        {
-            "capability": "zero-blocks",
-            "state": false
-        }
-    ],
-    "id": "libvirt-45"
-}
diff --git a/tests/qemucapabilitiesdata/caps_1.6.50.x86_64.xml b/tests/qemucapabilitiesdata/caps_1.6.50.x86_64.xml
deleted file mode 100644
index 296f769..0000000
--- a/tests/qemucapabilitiesdata/caps_1.6.50.x86_64.xml
+++ /dev/null
@@ -1,197 +0,0 @@
-<qemuCaps>
-  <qemuctime>0</qemuctime>
-  <selfctime>0</selfctime>
-  <selfvers>0</selfvers>
-  <usedQMP/>
-  <flag name='mem-path'/>
-  <flag name='drive-serial'/>
-  <flag name='chardev'/>
-  <flag name='enable-kvm'/>
-  <flag name='monitor-json'/>
-  <flag name='sdl'/>
-  <flag name='smp-topology'/>
-  <flag name='netdev'/>
-  <flag name='rtc'/>
-  <flag name='vhost-net'/>
-  <flag name='no-hpet'/>
-  <flag name='no-kvm-pit'/>
-  <flag name='pci-configfd'/>
-  <flag name='nodefconfig'/>
-  <flag name='boot-menu'/>
-  <flag name='fsdev'/>
-  <flag name='name-process'/>
-  <flag name='smbios-type'/>
-  <flag name='vga-qxl'/>
-  <flag name='spice'/>
-  <flag name='vga-none'/>
-  <flag name='boot-index'/>
-  <flag name='hda-duplex'/>
-  <flag name='drive-aio'/>
-  <flag name='pci-multibus'/>
-  <flag name='pci-bootindex'/>
-  <flag name='ccid-emulated'/>
-  <flag name='ccid-passthru'/>
-  <flag name='chardev-spicevmc'/>
-  <flag name='virtio-tx-alg'/>
-  <flag name='device-qxl-vga'/>
-  <flag name='pci-multifunction'/>
-  <flag name='virtio-blk-pci.ioeventfd'/>
-  <flag name='sga'/>
-  <flag name='virtio-blk-pci.event_idx'/>
-  <flag name='virtio-net-pci.event_idx'/>
-  <flag name='cache-directsync'/>
-  <flag name='piix3-usb-uhci'/>
-  <flag name='piix4-usb-uhci'/>
-  <flag name='usb-ehci'/>
-  <flag name='ich9-usb-ehci1'/>
-  <flag name='vt82c686b-usb-uhci'/>
-  <flag name='pci-ohci'/>
-  <flag name='usb-hub'/>
-  <flag name='no-shutdown'/>
-  <flag name='cache-unsafe'/>
-  <flag name='ich9-ahci'/>
-  <flag name='no-acpi'/>
-  <flag name='fsdev-readonly'/>
-  <flag name='virtio-blk-pci.scsi'/>
-  <flag name='drive-copy-on-read'/>
-  <flag name='fsdev-writeout'/>
-  <flag name='drive-iotune'/>
-  <flag name='system_wakeup'/>
-  <flag name='scsi-disk.channel'/>
-  <flag name='scsi-block'/>
-  <flag name='transaction'/>
-  <flag name='block-job-async'/>
-  <flag name='scsi-cd'/>
-  <flag name='ide-cd'/>
-  <flag name='no-user-config'/>
-  <flag name='hda-micro'/>
-  <flag name='dump-guest-memory'/>
-  <flag name='nec-usb-xhci'/>
-  <flag name='balloon-event'/>
-  <flag name='bridge'/>
-  <flag name='lsi'/>
-  <flag name='virtio-scsi-pci'/>
-  <flag name='blockio'/>
-  <flag name='disable-s3'/>
-  <flag name='disable-s4'/>
-  <flag name='ide-drive.wwn'/>
-  <flag name='scsi-disk.wwn'/>
-  <flag name='seccomp-sandbox'/>
-  <flag name='reboot-timeout'/>
-  <flag name='dump-guest-core'/>
-  <flag name='seamless-migration'/>
-  <flag name='block-commit'/>
-  <flag name='vnc'/>
-  <flag name='drive-mirror'/>
-  <flag name='blockdev-snapshot-sync'/>
-  <flag name='qxl'/>
-  <flag name='VGA'/>
-  <flag name='cirrus-vga'/>
-  <flag name='vmware-svga'/>
-  <flag name='device-video-primary'/>
-  <flag name='usb-serial'/>
-  <flag name='usb-net'/>
-  <flag name='add-fd'/>
-  <flag name='nbd-server'/>
-  <flag name='virtio-rng'/>
-  <flag name='rng-random'/>
-  <flag name='rng-egd'/>
-  <flag name='dtb'/>
-  <flag name='megasas'/>
-  <flag name='ipv6-migration'/>
-  <flag name='machine-opt'/>
-  <flag name='machine-usb-opt'/>
-  <flag name='pci-bridge'/>
-  <flag name='vfio-pci'/>
-  <flag name='vfio-pci.bootindex'/>
-  <flag name='scsi-generic'/>
-  <flag name='scsi-generic.bootindex'/>
-  <flag name='mem-merge'/>
-  <flag name='vnc-websocket'/>
-  <flag name='mlock'/>
-  <flag name='vnc-share-policy'/>
-  <flag name='device-del-event'/>
-  <flag name='dmi-to-pci-bridge'/>
-  <flag name='i440fx-pci-hole64-size'/>
-  <flag name='q35-pci-hole64-size'/>
-  <flag name='usb-storage'/>
-  <flag name='usb-storage.removable'/>
-  <flag name='virtio-mmio'/>
-  <flag name='ich9-intel-hda'/>
-  <flag name='kvm-pit-lost-tick-policy'/>
-  <flag name='boot-strict'/>
-  <flag name='pvpanic'/>
-  <flag name='spice-file-xfer-disable'/>
-  <flag name='spiceport'/>
-  <flag name='usb-kbd'/>
-  <flag name='host-pci-multidomain'/>
-  <flag name='msg-timestamp'/>
-  <flag name='numa'/>
-  <flag name='usb-audio'/>
-  <flag name='splash-timeout'/>
-  <flag name='ivshmem'/>
-  <flag name='VGA.vgamem_mb'/>
-  <flag name='vmware-svga.vgamem_mb'/>
-  <flag name='qxl.vgamem_mb'/>
-  <flag name='qxl-vga.vgamem_mb'/>
-  <flag name='pci-serial'/>
-  <flag name='ioh3420'/>
-  <flag name='x3130-upstream'/>
-  <flag name='xio3130-downstream'/>
-  <flag name='rtl8139'/>
-  <flag name='e1000'/>
-  <flag name='virtio-net'/>
-  <flag name='qxl.vram64_size_mb'/>
-  <flag name='qxl-vga.vram64_size_mb'/>
-  <flag name='device-tray-moved-event'/>
-  <flag name='nec-usb-xhci-ports'/>
-  <version>1006050</version>
-  <kvmVersion>0</kvmVersion>
-  <package></package>
-  <arch>x86_64</arch>
-  <cpu name='Opteron_G5'/>
-  <cpu name='Opteron_G4'/>
-  <cpu name='Opteron_G3'/>
-  <cpu name='Opteron_G2'/>
-  <cpu name='Opteron_G1'/>
-  <cpu name='Haswell'/>
-  <cpu name='SandyBridge'/>
-  <cpu name='Westmere'/>
-  <cpu name='Nehalem'/>
-  <cpu name='Penryn'/>
-  <cpu name='Conroe'/>
-  <cpu name='n270'/>
-  <cpu name='athlon'/>
-  <cpu name='pentium3'/>
-  <cpu name='pentium2'/>
-  <cpu name='pentium'/>
-  <cpu name='486'/>
-  <cpu name='coreduo'/>
-  <cpu name='kvm32'/>
-  <cpu name='qemu32'/>
-  <cpu name='kvm64'/>
-  <cpu name='core2duo'/>
-  <cpu name='phenom'/>
-  <cpu name='qemu64'/>
-  <machine name='pc-i440fx-1.7' alias='pc' maxCpus='255'/>
-  <machine name='xenpv' maxCpus='1'/>
-  <machine name='pc-q35-1.4' maxCpus='255'/>
-  <machine name='pc-q35-1.5' maxCpus='255'/>
-  <machine name='pc-q35-1.6' maxCpus='255'/>
-  <machine name='pc-q35-1.7' alias='q35' maxCpus='255'/>
-  <machine name='xenfv' maxCpus='128'/>
-  <machine name='isapc' maxCpus='1'/>
-  <machine name='pc-0.10' maxCpus='255'/>
-  <machine name='pc-0.11' maxCpus='255'/>
-  <machine name='pc-0.12' maxCpus='255'/>
-  <machine name='pc-0.13' maxCpus='255'/>
-  <machine name='pc-0.14' maxCpus='255'/>
-  <machine name='pc-0.15' maxCpus='255'/>
-  <machine name='pc-1.0' maxCpus='255'/>
-  <machine name='pc-1.1' maxCpus='255'/>
-  <machine name='pc-1.2' maxCpus='255'/>
-  <machine name='pc-1.3' maxCpus='255'/>
-  <machine name='pc-i440fx-1.4' maxCpus='255'/>
-  <machine name='pc-i440fx-1.5' maxCpus='255'/>
-  <machine name='pc-i440fx-1.6' maxCpus='255'/>
-</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.replies b/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.replies
new file mode 100644
index 0000000..50e4042
--- /dev/null
+++ b/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.replies
@@ -0,0 +1,3195 @@
+{
+  "QMP": {
+    "version": {
+      "qemu": {
+        "micro": 0,
+        "minor": 7,
+        "major": 1
+      },
+      "package": ""
+    },
+    "capabilities": [
+    ]
+  }
+}
+
+{
+  "return": {
+  },
+  "id": "libvirt-1"
+}
+
+{
+  "return": {
+    "qemu": {
+      "micro": 0,
+      "minor": 7,
+      "major": 1
+    },
+    "package": ""
+  },
+  "id": "libvirt-2"
+}
+
+{
+  "return": {
+    "arch": "x86_64"
+  },
+  "id": "libvirt-3"
+}
+
+{
+  "return": [
+    {
+      "name": "blockdev-add"
+    },
+    {
+      "name": "query-rx-filter"
+    },
+    {
+      "name": "chardev-remove"
+    },
+    {
+      "name": "chardev-add"
+    },
+    {
+      "name": "query-tpm-types"
+    },
+    {
+      "name": "query-tpm-models"
+    },
+    {
+      "name": "query-tpm"
+    },
+    {
+      "name": "query-target"
+    },
+    {
+      "name": "query-cpu-definitions"
+    },
+    {
+      "name": "query-machines"
+    },
+    {
+      "name": "device-list-properties"
+    },
+    {
+      "name": "qom-list-types"
+    },
+    {
+      "name": "change-vnc-password"
+    },
+    {
+      "name": "nbd-server-stop"
+    },
+    {
+      "name": "nbd-server-add"
+    },
+    {
+      "name": "nbd-server-start"
+    },
+    {
+      "name": "qom-get"
+    },
+    {
+      "name": "qom-set"
+    },
+    {
+      "name": "qom-list"
+    },
+    {
+      "name": "query-block-jobs"
+    },
+    {
+      "name": "query-balloon"
+    },
+    {
+      "name": "query-migrate-capabilities"
+    },
+    {
+      "name": "migrate-set-capabilities"
+    },
+    {
+      "name": "query-migrate"
+    },
+    {
+      "name": "query-command-line-options"
+    },
+    {
+      "name": "query-uuid"
+    },
+    {
+      "name": "query-name"
+    },
+    {
+      "name": "query-spice"
+    },
+    {
+      "name": "query-vnc"
+    },
+    {
+      "name": "query-mice"
+    },
+    {
+      "name": "query-status"
+    },
+    {
+      "name": "query-kvm"
+    },
+    {
+      "name": "query-pci"
+    },
+    {
+      "name": "query-cpus"
+    },
+    {
+      "name": "query-blockstats"
+    },
+    {
+      "name": "query-block"
+    },
+    {
+      "name": "query-chardev"
+    },
+    {
+      "name": "query-events"
+    },
+    {
+      "name": "query-commands"
+    },
+    {
+      "name": "query-version"
+    },
+    {
+      "name": "human-monitor-command"
+    },
+    {
+      "name": "qmp_capabilities"
+    },
+    {
+      "name": "add_client"
+    },
+    {
+      "name": "expire_password"
+    },
+    {
+      "name": "set_password"
+    },
+    {
+      "name": "block_set_io_throttle"
+    },
+    {
+      "name": "block_passwd"
+    },
+    {
+      "name": "query-fdsets"
+    },
+    {
+      "name": "remove-fd"
+    },
+    {
+      "name": "add-fd"
+    },
+    {
+      "name": "closefd"
+    },
+    {
+      "name": "getfd"
+    },
+    {
+      "name": "set_link"
+    },
+    {
+      "name": "balloon"
+    },
+    {
+      "name": "drive-mirror"
+    },
+    {
+      "name": "blockdev-snapshot-delete-internal-sync"
+    },
+    {
+      "name": "blockdev-snapshot-internal-sync"
+    },
+    {
+      "name": "blockdev-snapshot-sync"
+    },
+    {
+      "name": "transaction"
+    },
+    {
+      "name": "block-job-complete"
+    },
+    {
+      "name": "block-job-resume"
+    },
+    {
+      "name": "block-job-pause"
+    },
+    {
+      "name": "block-job-cancel"
+    },
+    {
+      "name": "block-job-set-speed"
+    },
+    {
+      "name": "drive-backup"
+    },
+    {
+      "name": "block-commit"
+    },
+    {
+      "name": "block-stream"
+    },
+    {
+      "name": "block_resize"
+    },
+    {
+      "name": "netdev_del"
+    },
+    {
+      "name": "netdev_add"
+    },
+    {
+      "name": "dump-guest-memory"
+    },
+    {
+      "name": "client_migrate_info"
+    },
+    {
+      "name": "migrate_set_downtime"
+    },
+    {
+      "name": "migrate_set_speed"
+    },
+    {
+      "name": "query-migrate-cache-size"
+    },
+    {
+      "name": "migrate-set-cache-size"
+    },
+    {
+      "name": "migrate_cancel"
+    },
+    {
+      "name": "migrate"
+    },
+    {
+      "name": "xen-set-global-dirty-log"
+    },
+    {
+      "name": "xen-save-devices-state"
+    },
+    {
+      "name": "ringbuf-read"
+    },
+    {
+      "name": "ringbuf-write"
+    },
+    {
+      "name": "inject-nmi"
+    },
+    {
+      "name": "pmemsave"
+    },
+    {
+      "name": "memsave"
+    },
+    {
+      "name": "cpu-add"
+    },
+    {
+      "name": "cpu"
+    },
+    {
+      "name": "send-key"
+    },
+    {
+      "name": "device_del"
+    },
+    {
+      "name": "device_add"
+    },
+    {
+      "name": "system_powerdown"
+    },
+    {
+      "name": "system_reset"
+    },
+    {
+      "name": "system_wakeup"
+    },
+    {
+      "name": "cont"
+    },
+    {
+      "name": "stop"
+    },
+    {
+      "name": "screendump"
+    },
+    {
+      "name": "change"
+    },
+    {
+      "name": "eject"
+    },
+    {
+      "name": "quit"
+    }
+  ],
+  "id": "libvirt-4"
+}
+
+{
+  "return": {
+    "fd": 11,
+    "fdset-id": 0
+  },
+  "id": "libvirt-5"
+}
+
+{
+  "id": "libvirt-6",
+  "error": {
+    "class": "GenericError",
+    "desc": "Parameter 'top' is missing"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "BLOCK_IMAGE_CORRUPTED"
+    },
+    {
+      "name": "GUEST_PANICKED"
+    },
+    {
+      "name": "SPICE_MIGRATE_COMPLETED"
+    },
+    {
+      "name": "BALLOON_CHANGE"
+    },
+    {
+      "name": "WAKEUP"
+    },
+    {
+      "name": "SUSPEND_DISK"
+    },
+    {
+      "name": "SUSPEND"
+    },
+    {
+      "name": "NIC_RX_FILTER_CHANGED"
+    },
+    {
+      "name": "DEVICE_TRAY_MOVED"
+    },
+    {
+      "name": "DEVICE_DELETED"
+    },
+    {
+      "name": "BLOCK_JOB_READY"
+    },
+    {
+      "name": "BLOCK_JOB_ERROR"
+    },
+    {
+      "name": "BLOCK_JOB_CANCELLED"
+    },
+    {
+      "name": "BLOCK_JOB_COMPLETED"
+    },
+    {
+      "name": "SPICE_DISCONNECTED"
+    },
+    {
+      "name": "SPICE_INITIALIZED"
+    },
+    {
+      "name": "SPICE_CONNECTED"
+    },
+    {
+      "name": "WATCHDOG"
+    },
+    {
+      "name": "RTC_CHANGE"
+    },
+    {
+      "name": "BLOCK_IO_ERROR"
+    },
+    {
+      "name": "VNC_DISCONNECTED"
+    },
+    {
+      "name": "VNC_INITIALIZED"
+    },
+    {
+      "name": "VNC_CONNECTED"
+    },
+    {
+      "name": "RESUME"
+    },
+    {
+      "name": "STOP"
+    },
+    {
+      "name": "POWERDOWN"
+    },
+    {
+      "name": "RESET"
+    },
+    {
+      "name": "SHUTDOWN"
+    }
+  ],
+  "id": "libvirt-7"
+}
+
+{
+  "return": [
+    {
+      "name": "virtio-blk-device"
+    },
+    {
+      "name": "ib700"
+    },
+    {
+      "name": "ICH9 LPC"
+    },
+    {
+      "name": "port92"
+    },
+    {
+      "name": "i6300esb"
+    },
+    {
+      "name": "kvm-pci-assign"
+    },
+    {
+      "name": "virtio-scsi-device"
+    },
+    {
+      "name": "apic"
+    },
+    {
+      "name": "pc-testdev"
+    },
+    {
+      "name": "fusbh200-ehci-usb"
+    },
+    {
+      "name": "virtio-scsi-pci"
+    },
+    {
+      "name": "usb-ehci"
+    },
+    {
+      "name": "exynos4210-ehci-usb"
+    },
+    {
+      "name": "xlnx,ps7-usb"
+    },
+    {
+      "name": "virtio-balloon-pci"
+    },
+    {
+      "name": "usb-host"
+    },
+    {
+      "name": "ich9-usb-ehci2"
+    },
+    {
+      "name": "ich9-ahci"
+    },
+    {
+      "name": "ich9-usb-ehci1"
+    },
+    {
+      "name": "isa-ide"
+    },
+    {
+      "name": "ICH9 SMB"
+    },
+    {
+      "name": "piix4-usb-uhci"
+    },
+    {
+      "name": "vt82c686b-usb-uhci"
+    },
+    {
+      "name": "i82558b"
+    },
+    {
+      "name": "i82558a"
+    },
+    {
+      "name": "isa-fdc"
+    },
+    {
+      "name": "isabus-bridge"
+    },
+    {
+      "name": "sb16"
+    },
+    {
+      "name": "i2c-bus"
+    },
+    {
+      "name": "piix3-ide"
+    },
+    {
+      "name": "ioapic"
+    },
+    {
+      "name": "pci-bridge"
+    },
+    {
+      "name": "HDA"
+    },
+    {
+      "name": "am53c974"
+    },
+    {
+      "name": "hpet"
+    },
+    {
+      "name": "vmmouse"
+    },
+    {
+      "name": "i82801b11-bridge"
+    },
+    {
+      "name": "nvme"
+    },
+    {
+      "name": "lsi53c810"
+    },
+    {
+      "name": "vmxnet3"
+    },
+    {
+      "name": "isa-cirrus-vga"
+    },
+    {
+      "name": "dc390"
+    },
+    {
+      "name": "vmware-svga"
+    },
+    {
+      "name": "smbus-eeprom"
+    },
+    {
+      "name": "i82801"
+    },
+    {
+      "name": "ccid-card-passthru"
+    },
+    {
+      "name": "fw_cfg"
+    },
+    {
+      "name": "x86_64-cpu"
+    },
+    {
+      "name": "piix3-usb-uhci"
+    },
+    {
+      "name": "usb-audio"
+    },
+    {
+      "name": "virtio-9p-device"
+    },
+    {
+      "name": "i82557c"
+    },
+    {
+      "name": "i82557b"
+    },
+    {
+      "name": "i82557a"
+    },
+    {
+      "name": "IndustryPack"
+    },
+    {
+      "name": "qxl"
+    },
+    {
+      "name": "pvscsi"
+    },
+    {
+      "name": "rtl8139"
+    },
+    {
+      "name": "isa-applesmc"
+    },
+    {
+      "name": "container"
+    },
+    {
+      "name": "virtio-mmio"
+    },
+    {
+      "name": "vfio-pci"
+    },
+    {
+      "name": "cfi.pflash01"
+    },
+    {
+      "name": "usb-kbd"
+    },
+    {
+      "name": "ich9-usb-uhci5"
+    },
+    {
+      "name": "isa-vga"
+    },
+    {
+      "name": "pci-testdev"
+    },
+    {
+      "name": "usb-tablet"
+    },
+    {
+      "name": "vmport"
+    },
+    {
+      "name": "virtio-rng-pci"
+    },
+    {
+      "name": "kvmvapic"
+    },
+    {
+      "name": "usb-bt-dongle"
+    },
+    {
+      "name": "sysbus-fdc"
+    },
+    {
+      "name": "piix4-ide"
+    },
+    {
+      "name": "e1000"
+    },
+    {
+      "name": "kvm-apic"
+    },
+    {
+      "name": "AC97"
+    },
+    {
+      "name": "ich9-usb-uhci6"
+    },
+    {
+      "name": "ipoctal232"
+    },
+    {
+      "name": "mch"
+    },
+    {
+      "name": "mc146818rtc"
+    },
+    {
+      "name": "ivshmem"
+    },
+    {
+      "name": "usb-ccid"
+    },
+    {
+      "name": "sysbus-ahci"
+    },
+    {
+      "name": "kvmclock"
+    },
+    {
+      "name": "i82562"
+    },
+    {
+      "name": "hda-output"
+    },
+    {
+      "name": "pci-serial-4x"
+    },
+    {
+      "name": "ccid-bus"
+    },
+    {
+      "name": "i82559er"
+    },
+    {
+      "name": "virtio-balloon-device"
+    },
+    {
+      "name": "megasas"
+    },
+    {
+      "name": "i8042"
+    },
+    {
+      "name": "intel-hda"
+    },
+    {
+      "name": "hda-duplex"
+    },
+    {
+      "name": "virtio-serial-pci"
+    },
+    {
+      "name": "ne2k_pci"
+    },
+    {
+      "name": "ich9-usb-uhci2"
+    },
+    {
+      "name": "ich9-usb-uhci3"
+    },
+    {
+      "name": "virtconsole"
+    },
+    {
+      "name": "ich9-usb-uhci4"
+    },
+    {
+      "name": "isa-parallel"
+    },
+    {
+      "name": "pci-serial"
+    },
+    {
+      "name": "ich9-usb-uhci1"
+    },
+    {
+      "name": "PCI"
+    },
+    {
+      "name": "adlib"
+    },
+    {
+      "name": "SUNW,fdtwo"
+    },
+    {
+      "name": "ide-cd"
+    },
+    {
+      "name": "isa-debugcon"
+    },
+    {
+      "name": "usb-bot"
+    },
+    {
+      "name": "i82551"
+    },
+    {
+      "name": "i82550"
+    },
+    {
+      "name": "isa-serial"
+    },
+    {
+      "name": "PCIE"
+    },
+    {
+      "name": "kvm-ioapic"
+    },
+    {
+      "name": "nec-usb-xhci"
+    },
+    {
+      "name": "System"
+    },
+    {
+      "name": "qemu-console"
+    },
+    {
+      "name": "ich9-intel-hda"
+    },
+    {
+      "name": "virtio-net-device"
+    },
+    {
+      "name": "q35-pcihost"
+    },
+    {
+      "name": "usb-wacom-tablet"
+    },
+    {
+      "name": "PIIX4_PM"
+    },
+    {
+      "name": "kvm-i8259"
+    },
+    {
+      "name": "usb-redir"
+    },
+    {
+      "name": "scsi-cd"
+    },
+    {
+      "name": "pci-ohci"
+    },
+    {
+      "name": "i440FX"
+    },
+    {
+      "name": "usb-braille"
+    },
+    {
+      "name": "virtserialport"
+    },
+    {
+      "name": "pci-serial-2x"
+    },
+    {
+      "name": "icc-bridge"
+    },
+    {
+      "name": "xio3130-downstream"
+    },
+    {
+      "name": "rng-random"
+    },
+    {
+      "name": "hda-micro"
+    },
+    {
+      "name": "scsi-disk"
+    },
+    {
+      "name": "vhost-scsi"
+    },
+    {
+      "name": "lsi53c895a"
+    },
+    {
+      "name": "SCSI"
+    },
+    {
+      "name": "pcnet"
+    },
+    {
+      "name": "scsi-generic"
+    },
+    {
+      "name": "pvpanic"
+    },
+    {
+      "name": "virtio-serial-device"
+    },
+    {
+      "name": "virtio-serial-bus"
+    },
+    {
+      "name": "vhost-scsi-pci"
+    },
+    {
+      "name": "usb-bus"
+    },
+    {
+      "name": "ne2k_isa"
+    },
+    {
+      "name": "IDE"
+    },
+    {
+      "name": "ccid-card-emulated"
+    },
+    {
+      "name": "tegra2-ehci-usb"
+    },
+    {
+      "name": "usb-net"
+    },
+    {
+      "name": "virtio-mmio-bus"
+    },
+    {
+      "name": "usb-hub"
+    },
+    {
+      "name": "i440FX-pcihost"
+    },
+    {
+      "name": "usb-mouse"
+    },
+    {
+      "name": "ISA"
+    },
+    {
+      "name": "cs4231a"
+    },
+    {
+      "name": "usb-serial"
+    },
+    {
+      "name": "scsi-block"
+    },
+    {
+      "name": "isa-i8259"
+    },
+    {
+      "name": "sga"
+    },
+    {
+      "name": "virtio-net-pci"
+    },
+    {
+      "name": "isa-debug-exit"
+    },
+    {
+      "name": "virtio-rng-device"
+    },
+    {
+      "name": "ioh3420"
+    },
+    {
+      "name": "ES1370"
+    },
+    {
+      "name": "PIIX3"
+    },
+    {
+      "name": "isa-pcspk"
+    },
+    {
+      "name": "ide-hd"
+    },
+    {
+      "name": "rng-egd"
+    },
+    {
+      "name": "cirrus-vga"
+    },
+    {
+      "name": "kvm-pit"
+    },
+    {
+      "name": "virtio-9p-pci"
+    },
+    {
+      "name": "icc-bus"
+    },
+    {
+      "name": "ide-drive"
+    },
+    {
+      "name": "x3130-upstream"
+    },
+    {
+      "name": "virtio-pci-bus"
+    },
+    {
+      "name": "qxl-vga"
+    },
+    {
+      "name": "usb-uas"
+    },
+    {
+      "name": "virtio-blk-pci"
+    },
+    {
+      "name": "sysbus-ohci"
+    },
+    {
+      "name": "esp"
+    },
+    {
+      "name": "piix3-ide-xen"
+    },
+    {
+      "name": "i82559c"
+    },
+    {
+      "name": "i82559b"
+    },
+    {
+      "name": "i82559a"
+    },
+    {
+      "name": "scsi-hd"
+    },
+    {
+      "name": "PIIX3-xen"
+    },
+    {
+      "name": "usb-storage"
+    },
+    {
+      "name": "isa-pit"
+    },
+    {
+      "name": "tpci200"
+    },
+    {
+      "name": "gus"
+    },
+    {
+      "name": "VGA"
+    }
+  ],
+  "id": "libvirt-8"
+}
+
+{
+  "return": [
+    {
+      "name": "command_serr_enable",
+      "type": "on/off"
+    },
+    {
+      "name": "multifunction",
+      "type": "on/off"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "string"
+    },
+    {
+      "name": "addr",
+      "type": "pci-devfn"
+    },
+    {
+      "name": "scsi",
+      "type": "on/off"
+    },
+    {
+      "name": "config-wce",
+      "type": "on/off"
+    },
+    {
+      "name": "serial",
+      "type": "string"
+    },
+    {
+      "name": "secs",
+      "type": "uint32"
+    },
+    {
+      "name": "heads",
+      "type": "uint32"
+    },
+    {
+      "name": "cyls",
+      "type": "uint32"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "physical_block_size",
+      "type": "blocksize"
+    },
+    {
+      "name": "logical_block_size",
+      "type": "blocksize"
+    },
+    {
+      "name": "drive",
+      "type": "drive"
+    },
+    {
+      "name": "event_idx",
+      "type": "on/off"
+    },
+    {
+      "name": "indirect_desc",
+      "type": "on/off"
+    },
+    {
+      "name": "x-data-plane",
+      "type": "on/off"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "ioeventfd",
+      "type": "on/off"
+    },
+    {
+      "name": "class",
+      "type": "hex32"
+    }
+  ],
+  "id": "libvirt-9"
+}
+
+{
+  "return": [
+    {
+      "name": "command_serr_enable",
+      "type": "on/off"
+    },
+    {
+      "name": "multifunction",
+      "type": "on/off"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "string"
+    },
+    {
+      "name": "addr",
+      "type": "pci-devfn"
+    },
+    {
+      "name": "tx",
+      "type": "string"
+    },
+    {
+      "name": "x-txburst",
+      "type": "int32"
+    },
+    {
+      "name": "x-txtimer",
+      "type": "uint32"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "netdev",
+      "type": "netdev"
+    },
+    {
+      "name": "vlan",
+      "type": "vlan"
+    },
+    {
+      "name": "mac",
+      "type": "macaddr"
+    },
+    {
+      "name": "mq",
+      "type": "on/off"
+    },
+    {
+      "name": "ctrl_guest_offloads",
+      "type": "on/off"
+    },
+    {
+      "name": "ctrl_mac_addr",
+      "type": "on/off"
+    },
+    {
+      "name": "ctrl_rx_extra",
+      "type": "on/off"
+    },
+    {
+      "name": "ctrl_vlan",
+      "type": "on/off"
+    },
+    {
+      "name": "ctrl_rx",
+      "type": "on/off"
+    },
+    {
+      "name": "ctrl_vq",
+      "type": "on/off"
+    },
+    {
+      "name": "status",
+      "type": "on/off"
+    },
+    {
+      "name": "mrg_rxbuf",
+      "type": "on/off"
+    },
+    {
+      "name": "host_ufo",
+      "type": "on/off"
+    },
+    {
+      "name": "host_ecn",
+      "type": "on/off"
+    },
+    {
+      "name": "host_tso6",
+      "type": "on/off"
+    },
+    {
+      "name": "host_tso4",
+      "type": "on/off"
+    },
+    {
+      "name": "guest_ufo",
+      "type": "on/off"
+    },
+    {
+      "name": "guest_ecn",
+      "type": "on/off"
+    },
+    {
+      "name": "guest_tso6",
+      "type": "on/off"
+    },
+    {
+      "name": "guest_tso4",
+      "type": "on/off"
+    },
+    {
+      "name": "gso",
+      "type": "on/off"
+    },
+    {
+      "name": "guest_csum",
+      "type": "on/off"
+    },
+    {
+      "name": "csum",
+      "type": "on/off"
+    },
+    {
+      "name": "any_layout",
+      "type": "on/off"
+    },
+    {
+      "name": "event_idx",
+      "type": "on/off"
+    },
+    {
+      "name": "indirect_desc",
+      "type": "on/off"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "ioeventfd",
+      "type": "on/off"
+    }
+  ],
+  "id": "libvirt-10"
+}
+
+{
+  "return": [
+    {
+      "name": "command_serr_enable",
+      "type": "on/off"
+    },
+    {
+      "name": "multifunction",
+      "type": "on/off"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "string"
+    },
+    {
+      "name": "addr",
+      "type": "pci-devfn"
+    },
+    {
+      "name": "cmd_per_lun",
+      "type": "uint32"
+    },
+    {
+      "name": "max_sectors",
+      "type": "uint32"
+    },
+    {
+      "name": "num_queues",
+      "type": "uint32"
+    },
+    {
+      "name": "param_change",
+      "type": "on/off"
+    },
+    {
+      "name": "hotplug",
+      "type": "on/off"
+    },
+    {
+      "name": "event_idx",
+      "type": "on/off"
+    },
+    {
+      "name": "indirect_desc",
+      "type": "on/off"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "ioeventfd",
+      "type": "on/off"
+    }
+  ],
+  "id": "libvirt-11"
+}
+
+{
+  "id": "libvirt-12",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'virtio-blk-ccw' not found"
+  }
+}
+
+{
+  "id": "libvirt-13",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'virtio-net-ccw' not found"
+  }
+}
+
+{
+  "id": "libvirt-14",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'virtio-scsi-ccw' not found"
+  }
+}
+
+{
+  "id": "libvirt-15",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'virtio-blk-s390' not found"
+  }
+}
+
+{
+  "id": "libvirt-16",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'virtio-net-s390' not found"
+  }
+}
+
+{
+  "id": "libvirt-17",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'pci-assign' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "command_serr_enable",
+      "type": "on/off"
+    },
+    {
+      "name": "multifunction",
+      "type": "on/off"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "string"
+    },
+    {
+      "name": "addr",
+      "type": "pci-devfn"
+    },
+    {
+      "name": "configfd",
+      "type": "string"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "share_intx",
+      "type": "on/off"
+    },
+    {
+      "name": "prefer_msi",
+      "type": "on/off"
+    },
+    {
+      "name": "host",
+      "type": "pci-host-devaddr"
+    }
+  ],
+  "id": "libvirt-18"
+}
+
+{
+  "return": [
+    {
+      "name": "command_serr_enable",
+      "type": "on/off"
+    },
+    {
+      "name": "multifunction",
+      "type": "on/off"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "string"
+    },
+    {
+      "name": "addr",
+      "type": "pci-devfn"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "x-vga",
+      "type": "on/off"
+    },
+    {
+      "name": "x-intx-mmap-timeout-ms",
+      "type": "uint32"
+    },
+    {
+      "name": "host",
+      "type": "pci-host-devaddr"
+    }
+  ],
+  "id": "libvirt-19"
+}
+
+{
+  "return": [
+    {
+      "name": "lun",
+      "type": "uint32"
+    },
+    {
+      "name": "scsi-id",
+      "type": "uint32"
+    },
+    {
+      "name": "channel",
+      "type": "uint32"
+    },
+    {
+      "name": "wwn",
+      "type": "hex64"
+    },
+    {
+      "name": "dpofua",
+      "type": "on/off"
+    },
+    {
+      "name": "removable",
+      "type": "on/off"
+    },
+    {
+      "name": "product",
+      "type": "string"
+    },
+    {
+      "name": "vendor",
+      "type": "string"
+    },
+    {
+      "name": "serial",
+      "type": "string"
+    },
+    {
+      "name": "ver",
+      "type": "string"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "physical_block_size",
+      "type": "blocksize"
+    },
+    {
+      "name": "logical_block_size",
+      "type": "blocksize"
+    },
+    {
+      "name": "drive",
+      "type": "drive"
+    }
+  ],
+  "id": "libvirt-20"
+}
+
+{
+  "return": [
+    {
+      "name": "unit",
+      "type": "uint32"
+    },
+    {
+      "name": "model",
+      "type": "string"
+    },
+    {
+      "name": "serial",
+      "type": "string"
+    },
+    {
+      "name": "wwn",
+      "type": "hex64"
+    },
+    {
+      "name": "ver",
+      "type": "string"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "physical_block_size",
+      "type": "blocksize"
+    },
+    {
+      "name": "logical_block_size",
+      "type": "blocksize"
+    },
+    {
+      "name": "drive",
+      "type": "drive"
+    }
+  ],
+  "id": "libvirt-21"
+}
+
+{
+  "return": [
+    {
+      "name": "command_serr_enable",
+      "type": "on/off"
+    },
+    {
+      "name": "multifunction",
+      "type": "on/off"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "string"
+    },
+    {
+      "name": "addr",
+      "type": "pci-devfn"
+    },
+    {
+      "name": "s4_val",
+      "type": "uint8"
+    },
+    {
+      "name": "disable_s4",
+      "type": "uint8"
+    },
+    {
+      "name": "disable_s3",
+      "type": "uint8"
+    },
+    {
+      "name": "smb_io_base",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-22"
+}
+
+{
+  "return": [
+    {
+      "name": "full-path",
+      "type": "on/off"
+    },
+    {
+      "name": "serial",
+      "type": "string"
+    },
+    {
+      "name": "port",
+      "type": "string"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "filter",
+      "type": "string"
+    },
+    {
+      "name": "debug",
+      "type": "uint8"
+    },
+    {
+      "name": "chardev",
+      "type": "chr"
+    }
+  ],
+  "id": "libvirt-23"
+}
+
+{
+  "return": [
+    {
+      "name": "full-path",
+      "type": "on/off"
+    },
+    {
+      "name": "serial",
+      "type": "string"
+    },
+    {
+      "name": "port",
+      "type": "string"
+    },
+    {
+      "name": "pipeline",
+      "type": "on/off"
+    },
+    {
+      "name": "loglevel",
+      "type": "uint32"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "isobsize",
+      "type": "uint32"
+    },
+    {
+      "name": "isobufs",
+      "type": "uint32"
+    },
+    {
+      "name": "productid",
+      "type": "hex32"
+    },
+    {
+      "name": "vendorid",
+      "type": "hex32"
+    },
+    {
+      "name": "hostport",
+      "type": "string"
+    },
+    {
+      "name": "hostaddr",
+      "type": "uint32"
+    },
+    {
+      "name": "hostbus",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-24"
+}
+
+{
+  "return": [
+    {
+      "name": "lun",
+      "type": "uint32"
+    },
+    {
+      "name": "scsi-id",
+      "type": "uint32"
+    },
+    {
+      "name": "channel",
+      "type": "uint32"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "drive",
+      "type": "drive"
+    }
+  ],
+  "id": "libvirt-25"
+}
+
+{
+  "return": [
+    {
+      "name": "short_root_bus",
+      "type": "uint32"
+    },
+    {
+      "name": "pci-hole64-size",
+      "type": "size"
+    }
+  ],
+  "id": "libvirt-26"
+}
+
+{
+  "return": [
+    {
+      "name": "short_root_bus",
+      "type": "uint32"
+    },
+    {
+      "name": "pci-hole64-size",
+      "type": "size"
+    },
+    {
+      "name": "MCFG",
+      "type": "uint64"
+    }
+  ],
+  "id": "libvirt-27"
+}
+
+{
+  "return": [
+    {
+      "name": "full-path",
+      "type": "on/off"
+    },
+    {
+      "name": "serial",
+      "type": "string"
+    },
+    {
+      "name": "port",
+      "type": "string"
+    },
+    {
+      "name": "removable",
+      "type": "on/off"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "physical_block_size",
+      "type": "blocksize"
+    },
+    {
+      "name": "logical_block_size",
+      "type": "blocksize"
+    },
+    {
+      "name": "drive",
+      "type": "drive"
+    }
+  ],
+  "id": "libvirt-28"
+}
+
+{
+  "return": [
+    {
+      "name": "lost_tick_policy",
+      "type": "LostTickPolicy"
+    },
+    {
+      "name": "iobase",
+      "type": "hex32"
+    }
+  ],
+  "id": "libvirt-29"
+}
+
+{
+  "return": [
+    {
+      "name": "command_serr_enable",
+      "type": "on/off"
+    },
+    {
+      "name": "multifunction",
+      "type": "on/off"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "string"
+    },
+    {
+      "name": "addr",
+      "type": "pci-devfn"
+    },
+    {
+      "name": "mmio",
+      "type": "on/off"
+    },
+    {
+      "name": "vgamem_mb",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-30"
+}
+
+{
+  "return": [
+    {
+      "name": "command_serr_enable",
+      "type": "on/off"
+    },
+    {
+      "name": "multifunction",
+      "type": "on/off"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "string"
+    },
+    {
+      "name": "addr",
+      "type": "pci-devfn"
+    },
+    {
+      "name": "vgamem_mb",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-31"
+}
+
+{
+  "return": [
+    {
+      "name": "command_serr_enable",
+      "type": "on/off"
+    },
+    {
+      "name": "multifunction",
+      "type": "on/off"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "string"
+    },
+    {
+      "name": "addr",
+      "type": "pci-devfn"
+    },
+    {
+      "name": "surfaces",
+      "type": "int32"
+    },
+    {
+      "name": "vgamem_mb",
+      "type": "uint32"
+    },
+    {
+      "name": "vram64_size_mb",
+      "type": "uint32"
+    },
+    {
+      "name": "vram_size_mb",
+      "type": "uint32"
+    },
+    {
+      "name": "ram_size_mb",
+      "type": "uint32"
+    },
+    {
+      "name": "cmdlog",
+      "type": "uint32"
+    },
+    {
+      "name": "guestdebug",
+      "type": "uint32"
+    },
+    {
+      "name": "debug",
+      "type": "uint32"
+    },
+    {
+      "name": "revision",
+      "type": "uint32"
+    },
+    {
+      "name": "vram_size",
+      "type": "uint32"
+    },
+    {
+      "name": "ram_size",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-32"
+}
+
+{
+  "return": [
+    {
+      "name": "command_serr_enable",
+      "type": "on/off"
+    },
+    {
+      "name": "multifunction",
+      "type": "on/off"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "string"
+    },
+    {
+      "name": "addr",
+      "type": "pci-devfn"
+    },
+    {
+      "name": "surfaces",
+      "type": "int32"
+    },
+    {
+      "name": "vgamem_mb",
+      "type": "uint32"
+    },
+    {
+      "name": "vram64_size_mb",
+      "type": "uint32"
+    },
+    {
+      "name": "vram_size_mb",
+      "type": "uint32"
+    },
+    {
+      "name": "ram_size_mb",
+      "type": "uint32"
+    },
+    {
+      "name": "cmdlog",
+      "type": "uint32"
+    },
+    {
+      "name": "guestdebug",
+      "type": "uint32"
+    },
+    {
+      "name": "debug",
+      "type": "uint32"
+    },
+    {
+      "name": "revision",
+      "type": "uint32"
+    },
+    {
+      "name": "vram_size",
+      "type": "uint32"
+    },
+    {
+      "name": "ram_size",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-33"
+}
+
+{
+  "id": "libvirt-34",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'virtio-gpu-pci' not found"
+  }
+}
+
+{
+  "id": "libvirt-35",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'ICH9-LPC' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "command_serr_enable",
+      "type": "on/off"
+    },
+    {
+      "name": "multifunction",
+      "type": "on/off"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "string"
+    },
+    {
+      "name": "addr",
+      "type": "pci-devfn"
+    },
+    {
+      "name": "class",
+      "type": "hex32"
+    },
+    {
+      "name": "event_idx",
+      "type": "on/off"
+    },
+    {
+      "name": "indirect_desc",
+      "type": "on/off"
+    }
+  ],
+  "id": "libvirt-36"
+}
+
+{
+  "id": "libvirt-37",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'virtio-balloon-ccw' not found"
+  }
+}
+
+{
+  "return": [
+  ],
+  "id": "libvirt-38"
+}
+
+{
+  "return": [
+    {
+      "name": "command_serr_enable",
+      "type": "on/off"
+    },
+    {
+      "name": "multifunction",
+      "type": "on/off"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "string"
+    },
+    {
+      "name": "addr",
+      "type": "pci-devfn"
+    },
+    {
+      "name": "p3",
+      "type": "uint32"
+    },
+    {
+      "name": "p2",
+      "type": "uint32"
+    },
+    {
+      "name": "slots",
+      "type": "uint32"
+    },
+    {
+      "name": "intrs",
+      "type": "uint32"
+    },
+    {
+      "name": "msix",
+      "type": "on/off"
+    },
+    {
+      "name": "msi",
+      "type": "on/off"
+    }
+  ],
+  "id": "libvirt-39"
+}
+
+{
+  "return": [
+    {
+      "name": "pc-q35-1.4",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-1.5",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-1.6",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-1.7",
+      "cpu-max": 255,
+      "alias": "q35"
+    },
+    {
+      "name": "isapc",
+      "cpu-max": 1
+    },
+    {
+      "name": "pc-0.10",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.11",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.12",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.13",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.14",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.15",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-1.0",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-1.1",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-1.2",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-1.3",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-1.4",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-1.5",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-1.6",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-1.7",
+      "is-default": true,
+      "cpu-max": 255,
+      "alias": "pc"
+    },
+    {
+      "name": "none",
+      "cpu-max": 1
+    }
+  ],
+  "id": "libvirt-40"
+}
+
+{
+  "return": [
+    {
+      "name": "Opteron_G5"
+    },
+    {
+      "name": "Opteron_G4"
+    },
+    {
+      "name": "Opteron_G3"
+    },
+    {
+      "name": "Opteron_G2"
+    },
+    {
+      "name": "Opteron_G1"
+    },
+    {
+      "name": "Haswell"
+    },
+    {
+      "name": "SandyBridge"
+    },
+    {
+      "name": "Westmere"
+    },
+    {
+      "name": "Nehalem"
+    },
+    {
+      "name": "Penryn"
+    },
+    {
+      "name": "Conroe"
+    },
+    {
+      "name": "n270"
+    },
+    {
+      "name": "athlon"
+    },
+    {
+      "name": "pentium3"
+    },
+    {
+      "name": "pentium2"
+    },
+    {
+      "name": "pentium"
+    },
+    {
+      "name": "486"
+    },
+    {
+      "name": "coreduo"
+    },
+    {
+      "name": "kvm32"
+    },
+    {
+      "name": "qemu32"
+    },
+    {
+      "name": "kvm64"
+    },
+    {
+      "name": "core2duo"
+    },
+    {
+      "name": "phenom"
+    },
+    {
+      "name": "qemu64"
+    }
+  ],
+  "id": "libvirt-41"
+}
+
+{
+  "return": {
+    "enabled": false,
+    "present": true
+  },
+  "id": "libvirt-42"
+}
+
+{
+  "return": [
+  ],
+  "id": "libvirt-43"
+}
+
+{
+  "return": [
+  ],
+  "id": "libvirt-44"
+}
+
+{
+  "return": [
+    {
+      "parameters": [
+        {
+          "name": "initiator-name",
+          "help": "Initiator iqn name to use when connecting",
+          "type": "string"
+        },
+        {
+          "name": "header-digest",
+          "help": "HeaderDigest setting. {CRC32C|CRC32C-NONE|NONE-CRC32C|NONE}",
+          "type": "string"
+        },
+        {
+          "name": "password",
+          "help": "password for CHAP authentication to target",
+          "type": "string"
+        },
+        {
+          "name": "user",
+          "help": "username for CHAP authentication to target",
+          "type": "string"
+        }
+      ],
+      "option": "iscsi"
+    },
+    {
+      "parameters": [
+      ],
+      "option": "smbios"
+    },
+    {
+      "parameters": [
+        {
+          "name": "seamless-migration",
+          "type": "boolean"
+        },
+        {
+          "name": "playback-compression",
+          "type": "boolean"
+        },
+        {
+          "name": "agent-mouse",
+          "type": "boolean"
+        },
+        {
+          "name": "streaming-video",
+          "type": "string"
+        },
+        {
+          "name": "zlib-glz-wan-compression",
+          "type": "string"
+        },
+        {
+          "name": "jpeg-wan-compression",
+          "type": "string"
+        },
+        {
+          "name": "image-compression",
+          "type": "string"
+        },
+        {
+          "name": "plaintext-channel",
+          "type": "string"
+        },
+        {
+          "name": "tls-channel",
+          "type": "string"
+        },
+        {
+          "name": "tls-ciphers",
+          "type": "string"
+        },
+        {
+          "name": "x509-dh-key-file",
+          "type": "string"
+        },
+        {
+          "name": "x509-cacert-file",
+          "type": "string"
+        },
+        {
+          "name": "x509-cert-file",
+          "type": "string"
+        },
+        {
+          "name": "x509-key-password",
+          "type": "string"
+        },
+        {
+          "name": "x509-key-file",
+          "type": "string"
+        },
+        {
+          "name": "x509-dir",
+          "type": "string"
+        },
+        {
+          "name": "sasl",
+          "type": "boolean"
+        },
+        {
+          "name": "disable-agent-file-xfer",
+          "type": "boolean"
+        },
+        {
+          "name": "disable-copy-paste",
+          "type": "boolean"
+        },
+        {
+          "name": "disable-ticketing",
+          "type": "boolean"
+        },
+        {
+          "name": "password",
+          "type": "string"
+        },
+        {
+          "name": "ipv6",
+          "type": "boolean"
+        },
+        {
+          "name": "ipv4",
+          "type": "boolean"
+        },
+        {
+          "name": "addr",
+          "type": "string"
+        },
+        {
+          "name": "tls-port",
+          "type": "number"
+        },
+        {
+          "name": "port",
+          "type": "number"
+        }
+      ],
+      "option": "spice"
+    },
+    {
+      "parameters": [
+      ],
+      "option": "acpi"
+    },
+    {
+      "parameters": [
+        {
+          "name": "sock_fd",
+          "type": "number"
+        },
+        {
+          "name": "socket",
+          "type": "string"
+        },
+        {
+          "name": "readonly",
+          "type": "boolean"
+        },
+        {
+          "name": "writeout",
+          "type": "string"
+        },
+        {
+          "name": "security_model",
+          "type": "string"
+        },
+        {
+          "name": "mount_tag",
+          "type": "string"
+        },
+        {
+          "name": "path",
+          "type": "string"
+        },
+        {
+          "name": "fsdriver",
+          "type": "string"
+        }
+      ],
+      "option": "virtfs"
+    },
+    {
+      "parameters": [
+        {
+          "name": "sock_fd",
+          "type": "number"
+        },
+        {
+          "name": "socket",
+          "type": "string"
+        },
+        {
+          "name": "readonly",
+          "type": "boolean"
+        },
+        {
+          "name": "writeout",
+          "type": "string"
+        },
+        {
+          "name": "security_model",
+          "type": "string"
+        },
+        {
+          "name": "path",
+          "type": "string"
+        },
+        {
+          "name": "fsdriver",
+          "type": "string"
+        }
+      ],
+      "option": "fsdev"
+    },
+    {
+      "parameters": [
+        {
+          "name": "timestamp",
+          "type": "boolean"
+        }
+      ],
+      "option": "msg"
+    },
+    {
+      "parameters": [
+        {
+          "name": "mlock",
+          "type": "boolean"
+        }
+      ],
+      "option": "realtime"
+    },
+    {
+      "parameters": [
+      ],
+      "option": "tpmdev"
+    },
+    {
+      "parameters": [
+      ],
+      "option": "object"
+    },
+    {
+      "parameters": [
+        {
+          "name": "opaque",
+          "help": "free-form string used to describe fd",
+          "type": "string"
+        },
+        {
+          "name": "set",
+          "help": "ID of the fd set to add fd to",
+          "type": "number"
+        },
+        {
+          "name": "fd",
+          "help": "file descriptor of which a duplicate is added to fd set",
+          "type": "number"
+        }
+      ],
+      "option": "add-fd"
+    },
+    {
+      "parameters": [
+        {
+          "name": "enable",
+          "type": "boolean"
+        }
+      ],
+      "option": "sandbox"
+    },
+    {
+      "parameters": [
+        {
+          "name": "strict",
+          "type": "string"
+        },
+        {
+          "name": "reboot-timeout",
+          "type": "string"
+        },
+        {
+          "name": "splash-time",
+          "type": "string"
+        },
+        {
+          "name": "splash",
+          "type": "string"
+        },
+        {
+          "name": "menu",
+          "type": "boolean"
+        },
+        {
+          "name": "once",
+          "type": "string"
+        },
+        {
+          "name": "order",
+          "type": "string"
+        }
+      ],
+      "option": "boot-opts"
+    },
+    {
+      "parameters": [
+        {
+          "name": "maxcpus",
+          "type": "number"
+        },
+        {
+          "name": "threads",
+          "type": "number"
+        },
+        {
+          "name": "cores",
+          "type": "number"
+        },
+        {
+          "name": "sockets",
+          "type": "number"
+        },
+        {
+          "name": "cpus",
+          "type": "number"
+        }
+      ],
+      "option": "smp-opts"
+    },
+    {
+      "parameters": [
+        {
+          "name": "usb",
+          "help": "Set on/off to enable/disable usb",
+          "type": "boolean"
+        },
+        {
+          "name": "mem-merge",
+          "help": "enable/disable memory merge support",
+          "type": "boolean"
+        },
+        {
+          "name": "dump-guest-core",
+          "help": "Include guest memory in  a core dump",
+          "type": "boolean"
+        },
+        {
+          "name": "dt_compatible",
+          "help": "Overrides the \"compatible\" property of the dt root node",
+          "type": "string"
+        },
+        {
+          "name": "phandle_start",
+          "help": "The first phandle ID we may generate dynamically",
+          "type": "number"
+        },
+        {
+          "name": "dumpdtb",
+          "help": "Dump current dtb to a file and quit",
+          "type": "string"
+        },
+        {
+          "name": "dtb",
+          "help": "Linux kernel device tree file",
+          "type": "string"
+        },
+        {
+          "name": "append",
+          "help": "Linux kernel command line",
+          "type": "string"
+        },
+        {
+          "name": "initrd",
+          "help": "Linux initial ramdisk file",
+          "type": "string"
+        },
+        {
+          "name": "kernel",
+          "help": "Linux kernel image file",
+          "type": "string"
+        },
+        {
+          "name": "kvm_shadow_mem",
+          "help": "KVM shadow MMU size",
+          "type": "size"
+        },
+        {
+          "name": "kernel_irqchip",
+          "help": "use KVM in-kernel irqchip",
+          "type": "boolean"
+        },
+        {
+          "name": "accel",
+          "help": "accelerator list",
+          "type": "string"
+        },
+        {
+          "name": "type",
+          "help": "emulated machine",
+          "type": "string"
+        }
+      ],
+      "option": "machine"
+    },
+    {
+      "parameters": [
+        {
+          "name": "romfile",
+          "type": "string"
+        },
+        {
+          "name": "bootindex",
+          "type": "number"
+        }
+      ],
+      "option": "option-rom"
+    },
+    {
+      "parameters": [
+        {
+          "name": "file",
+          "type": "string"
+        },
+        {
+          "name": "events",
+          "type": "string"
+        }
+      ],
+      "option": "trace"
+    },
+    {
+      "parameters": [
+        {
+          "name": "pretty",
+          "type": "boolean"
+        },
+        {
+          "name": "default",
+          "type": "boolean"
+        },
+        {
+          "name": "chardev",
+          "type": "string"
+        },
+        {
+          "name": "mode",
+          "type": "string"
+        }
+      ],
+      "option": "mon"
+    },
+    {
+      "parameters": [
+        {
+          "name": "value",
+          "type": "string"
+        },
+        {
+          "name": "property",
+          "type": "string"
+        },
+        {
+          "name": "driver",
+          "type": "string"
+        }
+      ],
+      "option": "global"
+    },
+    {
+      "parameters": [
+        {
+          "name": "driftfix",
+          "type": "string"
+        },
+        {
+          "name": "clock",
+          "type": "string"
+        },
+        {
+          "name": "base",
+          "type": "string"
+        }
+      ],
+      "option": "rtc"
+    },
+    {
+      "parameters": [
+      ],
+      "option": "net"
+    },
+    {
+      "parameters": [
+      ],
+      "option": "netdev"
+    },
+    {
+      "parameters": [
+      ],
+      "option": "device"
+    },
+    {
+      "parameters": [
+        {
+          "name": "chardev",
+          "type": "string"
+        },
+        {
+          "name": "size",
+          "type": "size"
+        },
+        {
+          "name": "debug",
+          "type": "number"
+        },
+        {
+          "name": "name",
+          "type": "string"
+        },
+        {
+          "name": "signal",
+          "type": "boolean"
+        },
+        {
+          "name": "mux",
+          "type": "boolean"
+        },
+        {
+          "name": "rows",
+          "type": "number"
+        },
+        {
+          "name": "cols",
+          "type": "number"
+        },
+        {
+          "name": "height",
+          "type": "number"
+        },
+        {
+          "name": "width",
+          "type": "number"
+        },
+        {
+          "name": "telnet",
+          "type": "boolean"
+        },
+        {
+          "name": "delay",
+          "type": "boolean"
+        },
+        {
+          "name": "server",
+          "type": "boolean"
+        },
+        {
+          "name": "wait",
+          "type": "boolean"
+        },
+        {
+          "name": "ipv6",
+          "type": "boolean"
+        },
+        {
+          "name": "ipv4",
+          "type": "boolean"
+        },
+        {
+          "name": "to",
+          "type": "number"
+        },
+        {
+          "name": "localport",
+          "type": "string"
+        },
+        {
+          "name": "localaddr",
+          "type": "string"
+        },
+        {
+          "name": "port",
+          "type": "string"
+        },
+        {
+          "name": "host",
+          "type": "string"
+        },
+        {
+          "name": "path",
+          "type": "string"
+        },
+        {
+          "name": "backend",
+          "type": "string"
+        }
+      ],
+      "option": "chardev"
+    },
+    {
+      "parameters": [
+        {
+          "name": "copy-on-read",
+          "help": "copy read data from backing file into image file",
+          "type": "boolean"
+        },
+        {
+          "name": "read-only",
+          "help": "open drive file as read-only",
+          "type": "boolean"
+        },
+        {
+          "name": "addr",
+          "help": "pci address (virtio only)",
+          "type": "string"
+        },
+        {
+          "name": "boot",
+          "help": "(deprecated, ignored)",
+          "type": "boolean"
+        },
+        {
+          "name": "trans",
+          "help": "chs translation (auto, lba, none)",
+          "type": "string"
+        },
+        {
+          "name": "secs",
+          "help": "number of sectors (ide disk geometry)",
+          "type": "number"
+        },
+        {
+          "name": "heads",
+          "help": "number of heads (ide disk geometry)",
+          "type": "number"
+        },
+        {
+          "name": "cyls",
+          "help": "number of cylinders (ide disk geometry)",
+          "type": "number"
+        },
+        {
+          "name": "if",
+          "help": "interface (ide, scsi, sd, mtd, floppy, pflash, virtio)",
+          "type": "string"
+        },
+        {
+          "name": "media",
+          "help": "media type (disk, cdrom)",
+          "type": "string"
+        },
+        {
+          "name": "index",
+          "help": "index number",
+          "type": "number"
+        },
+        {
+          "name": "unit",
+          "help": "unit number (i.e. lun for scsi)",
+          "type": "number"
+        },
+        {
+          "name": "bus",
+          "help": "bus number",
+          "type": "number"
+        },
+        {
+          "name": "throttling.iops-size",
+          "help": "when limiting by iops max size of an I/O in bytes",
+          "type": "number"
+        },
+        {
+          "name": "throttling.bps-write-max",
+          "help": "total bytes write burst",
+          "type": "number"
+        },
+        {
+          "name": "throttling.bps-read-max",
+          "help": "total bytes read burst",
+          "type": "number"
+        },
+        {
+          "name": "throttling.bps-total-max",
+          "help": "total bytes burst",
+          "type": "number"
+        },
+        {
+          "name": "throttling.iops-write-max",
+          "help": "I/O operations write burst",
+          "type": "number"
+        },
+        {
+          "name": "throttling.iops-read-max",
+          "help": "I/O operations read burst",
+          "type": "number"
+        },
+        {
+          "name": "throttling.iops-total-max",
+          "help": "I/O operations burst",
+          "type": "number"
+        },
+        {
+          "name": "throttling.bps-write",
+          "help": "limit write bytes per second",
+          "type": "number"
+        },
+        {
+          "name": "throttling.bps-read",
+          "help": "limit read bytes per second",
+          "type": "number"
+        },
+        {
+          "name": "throttling.bps-total",
+          "help": "limit total bytes per second",
+          "type": "number"
+        },
+        {
+          "name": "throttling.iops-write",
+          "help": "limit write operations per second",
+          "type": "number"
+        },
+        {
+          "name": "throttling.iops-read",
+          "help": "limit read operations per second",
+          "type": "number"
+        },
+        {
+          "name": "throttling.iops-total",
+          "help": "limit total I/O operations per second",
+          "type": "number"
+        },
+        {
+          "name": "werror",
+          "help": "write error action",
+          "type": "string"
+        },
+        {
+          "name": "rerror",
+          "help": "read error action",
+          "type": "string"
+        },
+        {
+          "name": "serial",
+          "help": "disk serial number",
+          "type": "string"
+        },
+        {
+          "name": "format",
+          "help": "disk format (raw, qcow2, ...)",
+          "type": "string"
+        },
+        {
+          "name": "aio",
+          "help": "host AIO implementation (threads, native)",
+          "type": "string"
+        },
+        {
+          "name": "cache.no-flush",
+          "help": "ignore any flush requests for the device",
+          "type": "boolean"
+        },
+        {
+          "name": "cache.direct",
+          "help": "enables use of O_DIRECT (bypass the host page cache)",
+          "type": "boolean"
+        },
+        {
+          "name": "cache.writeback",
+          "help": "enables writeback mode for any caches",
+          "type": "boolean"
+        },
+        {
+          "name": "discard",
+          "help": "discard operation (ignore/off, unmap/on)",
+          "type": "string"
+        },
+        {
+          "name": "file",
+          "help": "disk image",
+          "type": "string"
+        },
+        {
+          "name": "snapshot",
+          "help": "enable/disable snapshot mode",
+          "type": "boolean"
+        }
+      ],
+      "option": "drive"
+    }
+  ],
+  "id": "libvirt-45"
+}
+
+{
+  "return": [
+    {
+      "state": false,
+      "capability": "xbzrle"
+    },
+    {
+      "state": false,
+      "capability": "x-rdma-pin-all"
+    },
+    {
+      "state": false,
+      "capability": "auto-converge"
+    },
+    {
+      "state": false,
+      "capability": "zero-blocks"
+    }
+  ],
+  "id": "libvirt-46"
+}
diff --git a/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml b/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml
new file mode 100644
index 0000000..db0d000
--- /dev/null
+++ b/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml
@@ -0,0 +1,200 @@
+<qemuCaps>
+  <qemuctime>0</qemuctime>
+  <selfctime>0</selfctime>
+  <selfvers>0</selfvers>
+  <usedQMP/>
+  <flag name='mem-path'/>
+  <flag name='drive-serial'/>
+  <flag name='chardev'/>
+  <flag name='enable-kvm'/>
+  <flag name='monitor-json'/>
+  <flag name='sdl'/>
+  <flag name='smp-topology'/>
+  <flag name='netdev'/>
+  <flag name='rtc'/>
+  <flag name='vhost-net'/>
+  <flag name='no-hpet'/>
+  <flag name='no-kvm-pit'/>
+  <flag name='pci-configfd'/>
+  <flag name='nodefconfig'/>
+  <flag name='boot-menu'/>
+  <flag name='fsdev'/>
+  <flag name='name-process'/>
+  <flag name='smbios-type'/>
+  <flag name='vga-qxl'/>
+  <flag name='spice'/>
+  <flag name='vga-none'/>
+  <flag name='boot-index'/>
+  <flag name='hda-duplex'/>
+  <flag name='drive-aio'/>
+  <flag name='pci-multibus'/>
+  <flag name='pci-bootindex'/>
+  <flag name='ccid-emulated'/>
+  <flag name='ccid-passthru'/>
+  <flag name='chardev-spicevmc'/>
+  <flag name='virtio-tx-alg'/>
+  <flag name='device-qxl-vga'/>
+  <flag name='pci-multifunction'/>
+  <flag name='virtio-blk-pci.ioeventfd'/>
+  <flag name='sga'/>
+  <flag name='virtio-blk-pci.event_idx'/>
+  <flag name='virtio-net-pci.event_idx'/>
+  <flag name='cache-directsync'/>
+  <flag name='piix3-usb-uhci'/>
+  <flag name='piix4-usb-uhci'/>
+  <flag name='usb-ehci'/>
+  <flag name='ich9-usb-ehci1'/>
+  <flag name='vt82c686b-usb-uhci'/>
+  <flag name='pci-ohci'/>
+  <flag name='usb-redir'/>
+  <flag name='usb-hub'/>
+  <flag name='no-shutdown'/>
+  <flag name='cache-unsafe'/>
+  <flag name='ich9-ahci'/>
+  <flag name='no-acpi'/>
+  <flag name='fsdev-readonly'/>
+  <flag name='virtio-blk-pci.scsi'/>
+  <flag name='drive-copy-on-read'/>
+  <flag name='fsdev-writeout'/>
+  <flag name='drive-iotune'/>
+  <flag name='system_wakeup'/>
+  <flag name='scsi-disk.channel'/>
+  <flag name='scsi-block'/>
+  <flag name='transaction'/>
+  <flag name='block-job-async'/>
+  <flag name='scsi-cd'/>
+  <flag name='ide-cd'/>
+  <flag name='no-user-config'/>
+  <flag name='hda-micro'/>
+  <flag name='dump-guest-memory'/>
+  <flag name='nec-usb-xhci'/>
+  <flag name='balloon-event'/>
+  <flag name='bridge'/>
+  <flag name='lsi'/>
+  <flag name='virtio-scsi-pci'/>
+  <flag name='blockio'/>
+  <flag name='disable-s3'/>
+  <flag name='disable-s4'/>
+  <flag name='usb-redir.filter'/>
+  <flag name='ide-drive.wwn'/>
+  <flag name='scsi-disk.wwn'/>
+  <flag name='seccomp-sandbox'/>
+  <flag name='reboot-timeout'/>
+  <flag name='dump-guest-core'/>
+  <flag name='seamless-migration'/>
+  <flag name='block-commit'/>
+  <flag name='vnc'/>
+  <flag name='drive-mirror'/>
+  <flag name='usb-redir.bootindex'/>
+  <flag name='usb-host.bootindex'/>
+  <flag name='blockdev-snapshot-sync'/>
+  <flag name='qxl'/>
+  <flag name='VGA'/>
+  <flag name='cirrus-vga'/>
+  <flag name='vmware-svga'/>
+  <flag name='device-video-primary'/>
+  <flag name='usb-serial'/>
+  <flag name='usb-net'/>
+  <flag name='add-fd'/>
+  <flag name='nbd-server'/>
+  <flag name='virtio-rng'/>
+  <flag name='rng-random'/>
+  <flag name='rng-egd'/>
+  <flag name='dtb'/>
+  <flag name='megasas'/>
+  <flag name='ipv6-migration'/>
+  <flag name='machine-opt'/>
+  <flag name='machine-usb-opt'/>
+  <flag name='pci-bridge'/>
+  <flag name='vfio-pci'/>
+  <flag name='vfio-pci.bootindex'/>
+  <flag name='scsi-generic'/>
+  <flag name='scsi-generic.bootindex'/>
+  <flag name='mem-merge'/>
+  <flag name='vnc-websocket'/>
+  <flag name='drive-discard'/>
+  <flag name='mlock'/>
+  <flag name='vnc-share-policy'/>
+  <flag name='device-del-event'/>
+  <flag name='dmi-to-pci-bridge'/>
+  <flag name='i440fx-pci-hole64-size'/>
+  <flag name='q35-pci-hole64-size'/>
+  <flag name='usb-storage'/>
+  <flag name='usb-storage.removable'/>
+  <flag name='virtio-mmio'/>
+  <flag name='ich9-intel-hda'/>
+  <flag name='kvm-pit-lost-tick-policy'/>
+  <flag name='boot-strict'/>
+  <flag name='pvpanic'/>
+  <flag name='spice-file-xfer-disable'/>
+  <flag name='spiceport'/>
+  <flag name='usb-kbd'/>
+  <flag name='host-pci-multidomain'/>
+  <flag name='msg-timestamp'/>
+  <flag name='usb-audio'/>
+  <flag name='splash-timeout'/>
+  <flag name='ivshmem'/>
+  <flag name='drive-iotune-max'/>
+  <flag name='VGA.vgamem_mb'/>
+  <flag name='vmware-svga.vgamem_mb'/>
+  <flag name='qxl.vgamem_mb'/>
+  <flag name='qxl-vga.vgamem_mb'/>
+  <flag name='pci-serial'/>
+  <flag name='ioh3420'/>
+  <flag name='x3130-upstream'/>
+  <flag name='xio3130-downstream'/>
+  <flag name='rtl8139'/>
+  <flag name='e1000'/>
+  <flag name='virtio-net'/>
+  <flag name='qxl.vram64_size_mb'/>
+  <flag name='qxl-vga.vram64_size_mb'/>
+  <flag name='device-tray-moved-event'/>
+  <flag name='nec-usb-xhci-ports'/>
+  <version>1007000</version>
+  <kvmVersion>0</kvmVersion>
+  <package></package>
+  <arch>x86_64</arch>
+  <cpu name='Opteron_G5'/>
+  <cpu name='Opteron_G4'/>
+  <cpu name='Opteron_G3'/>
+  <cpu name='Opteron_G2'/>
+  <cpu name='Opteron_G1'/>
+  <cpu name='Haswell'/>
+  <cpu name='SandyBridge'/>
+  <cpu name='Westmere'/>
+  <cpu name='Nehalem'/>
+  <cpu name='Penryn'/>
+  <cpu name='Conroe'/>
+  <cpu name='n270'/>
+  <cpu name='athlon'/>
+  <cpu name='pentium3'/>
+  <cpu name='pentium2'/>
+  <cpu name='pentium'/>
+  <cpu name='486'/>
+  <cpu name='coreduo'/>
+  <cpu name='kvm32'/>
+  <cpu name='qemu32'/>
+  <cpu name='kvm64'/>
+  <cpu name='core2duo'/>
+  <cpu name='phenom'/>
+  <cpu name='qemu64'/>
+  <machine name='pc-i440fx-1.7' alias='pc' maxCpus='255'/>
+  <machine name='pc-q35-1.4' maxCpus='255'/>
+  <machine name='pc-q35-1.5' maxCpus='255'/>
+  <machine name='pc-q35-1.6' maxCpus='255'/>
+  <machine name='pc-q35-1.7' alias='q35' maxCpus='255'/>
+  <machine name='isapc' maxCpus='1'/>
+  <machine name='pc-0.10' maxCpus='255'/>
+  <machine name='pc-0.11' maxCpus='255'/>
+  <machine name='pc-0.12' maxCpus='255'/>
+  <machine name='pc-0.13' maxCpus='255'/>
+  <machine name='pc-0.14' maxCpus='255'/>
+  <machine name='pc-0.15' maxCpus='255'/>
+  <machine name='pc-1.0' maxCpus='255'/>
+  <machine name='pc-1.1' maxCpus='255'/>
+  <machine name='pc-1.2' maxCpus='255'/>
+  <machine name='pc-1.3' maxCpus='255'/>
+  <machine name='pc-i440fx-1.4' maxCpus='255'/>
+  <machine name='pc-i440fx-1.5' maxCpus='255'/>
+  <machine name='pc-i440fx-1.6' maxCpus='255'/>
+</qemuCaps>
diff --git a/tests/qemucapabilitiestest.c b/tests/qemucapabilitiestest.c
index 058ad8c..3d55006 100644
--- a/tests/qemucapabilitiestest.c
+++ b/tests/qemucapabilitiestest.c
@@ -165,7 +165,7 @@ mymain(void)
     DO_TEST("x86_64", "caps_1.4.2");
     DO_TEST("x86_64", "caps_1.5.3");
     DO_TEST("x86_64", "caps_1.6.0");
-    DO_TEST("x86_64", "caps_1.6.50");
+    DO_TEST("x86_64", "caps_1.7.0");
     DO_TEST("x86_64", "caps_2.1.1");
     DO_TEST("x86_64", "caps_2.4.0");
     DO_TEST("x86_64", "caps_2.5.0");
-- 
2.8.3




More information about the libvir-list mailing list