]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemuaincapstest: Give better names to test data files
authorJiri Denemark <jdenemar@redhat.com>
Tue, 10 May 2016 18:39:11 +0000 (20:39 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 16 May 2016 08:37:29 +0000 (10:37 +0200)
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
54 files changed:
tests/domaincapstest.c
tests/qemucapabilitiesdata/caps_1.2.2-1.x86_64.replies [deleted file]
tests/qemucapabilitiesdata/caps_1.2.2-1.x86_64.xml [deleted file]
tests/qemucapabilitiesdata/caps_1.2.2.x86_64.replies [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_1.2.2.x86_64.xml [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_1.3.1-1.x86_64.replies [deleted file]
tests/qemucapabilitiesdata/caps_1.3.1-1.x86_64.xml [deleted file]
tests/qemucapabilitiesdata/caps_1.3.1.x86_64.replies [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_1.3.1.x86_64.xml [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_1.4.2-1.x86_64.replies [deleted file]
tests/qemucapabilitiesdata/caps_1.4.2-1.x86_64.xml [deleted file]
tests/qemucapabilitiesdata/caps_1.4.2.x86_64.replies [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_1.4.2.x86_64.xml [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_1.5.3-1.x86_64.replies [deleted file]
tests/qemucapabilitiesdata/caps_1.5.3-1.x86_64.xml [deleted file]
tests/qemucapabilitiesdata/caps_1.5.3.x86_64.replies [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_1.6.0-1.x86_64.replies [deleted file]
tests/qemucapabilitiesdata/caps_1.6.0-1.x86_64.xml [deleted file]
tests/qemucapabilitiesdata/caps_1.6.0.x86_64.replies [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_1.6.0.x86_64.xml [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_1.6.50-1.x86_64.replies [deleted file]
tests/qemucapabilitiesdata/caps_1.6.50-1.x86_64.xml [deleted file]
tests/qemucapabilitiesdata/caps_1.6.50.x86_64.replies [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_1.6.50.x86_64.xml [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_2.1.1-1.x86_64.replies [deleted file]
tests/qemucapabilitiesdata/caps_2.1.1-1.x86_64.xml [deleted file]
tests/qemucapabilitiesdata/caps_2.1.1.x86_64.replies [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_2.4.0-1.x86_64.replies [deleted file]
tests/qemucapabilitiesdata/caps_2.4.0-1.x86_64.xml [deleted file]
tests/qemucapabilitiesdata/caps_2.4.0.x86_64.replies [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_2.5.0-1.x86_64.replies [deleted file]
tests/qemucapabilitiesdata/caps_2.5.0-1.x86_64.xml [deleted file]
tests/qemucapabilitiesdata/caps_2.5.0.x86_64.replies [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_2.6.0-1.aarch64.replies [deleted file]
tests/qemucapabilitiesdata/caps_2.6.0-1.aarch64.xml [deleted file]
tests/qemucapabilitiesdata/caps_2.6.0-1.ppc64le.replies [deleted file]
tests/qemucapabilitiesdata/caps_2.6.0-1.ppc64le.xml [deleted file]
tests/qemucapabilitiesdata/caps_2.6.0-1.x86_64.replies [deleted file]
tests/qemucapabilitiesdata/caps_2.6.0-1.x86_64.xml [deleted file]
tests/qemucapabilitiesdata/caps_2.6.0-2.aarch64.replies [deleted file]
tests/qemucapabilitiesdata/caps_2.6.0-2.aarch64.xml [deleted file]
tests/qemucapabilitiesdata/caps_2.6.0-gicv2.aarch64.replies [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_2.6.0-gicv2.aarch64.xml [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_2.6.0-gicv3.aarch64.replies [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_2.6.0-gicv3.aarch64.xml [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_2.6.0.ppc64le.replies [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_2.6.0.ppc64le.xml [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_2.6.0.x86_64.replies [new file with mode: 0644]
tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml [new file with mode: 0644]
tests/qemucapabilitiestest.c

index ecebc821873baeea72be15761b6e3246f355c318..3436197d97f4a4e57ab08fdf84adddba0a72c864 100644 (file)
@@ -286,27 +286,27 @@ mymain(void)
 
 #if WITH_QEMU
 
-    DO_TEST_QEMU("1.6.50", "caps_1.6.50-1",
+    DO_TEST_QEMU("1.6.50", "caps_1.6.50",
                  "/usr/bin/qemu-system-x86_64", NULL,
                  "x86_64", VIR_DOMAIN_VIRT_KVM);
 
-    DO_TEST_QEMU("2.6.0", "caps_2.6.0-1",
+    DO_TEST_QEMU("2.6.0", "caps_2.6.0",
                  "/usr/bin/qemu-system-x86_64", NULL,
                  "x86_64", VIR_DOMAIN_VIRT_KVM);
 
-    DO_TEST_QEMU("2.6.0", "caps_2.6.0-1",
+    DO_TEST_QEMU("2.6.0", "caps_2.6.0-gicv2",
                  "/usr/bin/qemu-system-aarch64", NULL,
                  "aarch64", VIR_DOMAIN_VIRT_KVM);
 
-    DO_TEST_QEMU("2.6.0-gicv2", "caps_2.6.0-1",
+    DO_TEST_QEMU("2.6.0-gicv2", "caps_2.6.0-gicv2",
                  "/usr/bin/qemu-system-aarch64", "virt",
                  "aarch64", VIR_DOMAIN_VIRT_KVM);
 
-    DO_TEST_QEMU("2.6.0-gicv3", "caps_2.6.0-2",
+    DO_TEST_QEMU("2.6.0-gicv3", "caps_2.6.0-gicv3",
                  "/usr/bin/qemu-system-aarch64", "virt",
                  "aarch64", VIR_DOMAIN_VIRT_KVM);
 
-    DO_TEST_QEMU("2.6.0", "caps_2.6.0-1",
+    DO_TEST_QEMU("2.6.0", "caps_2.6.0",
                  "/usr/bin/qemu-system-ppc64", NULL,
                  "ppc64le", VIR_DOMAIN_VIRT_KVM);
 
diff --git a/tests/qemucapabilitiesdata/caps_1.2.2-1.x86_64.replies b/tests/qemucapabilitiesdata/caps_1.2.2-1.x86_64.replies
deleted file mode 100644 (file)
index cb71b6e..0000000
+++ /dev/null
@@ -1,1857 +0,0 @@
-{
-    "QMP": {
-        "version": {
-            "qemu": {
-                "micro": 2,
-                "minor": 2,
-                "major": 1
-            },
-            "package": ""
-        },
-        "capabilities": [
-        ]
-    }
-}
-
-{
-    "return": {
-    },
-    "id": "libvirt-1"
-}
-
-{
-    "return": {
-        "qemu": {
-            "micro": 2,
-            "minor": 2,
-            "major": 1
-        },
-        "package": ""
-    },
-    "id": "libvirt-2"
-}
-
-{
-    "return": {
-        "arch": "x86_64"
-    },
-    "id": "libvirt-3"
-}
-
-{
-    "return": [
-        {
-            "name": "query-target"
-        },
-        {
-            "name": "query-cpu-definitions"
-        },
-        {
-            "name": "query-machines"
-        },
-        {
-            "name": "device-list-properties"
-        },
-        {
-            "name": "qom-list-types"
-        },
-        {
-            "name": "change-vnc-password"
-        },
-        {
-            "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-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": "blockdev-snapshot-sync"
-        },
-        {
-            "name": "transaction"
-        },
-        {
-            "name": "block-job-cancel"
-        },
-        {
-            "name": "block-job-set-speed"
-        },
-        {
-            "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-save-devices-state"
-        },
-        {
-            "name": "inject-nmi"
-        },
-        {
-            "name": "pmemsave"
-        },
-        {
-            "name": "memsave"
-        },
-        {
-            "name": "cpu"
-        },
-        {
-            "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"
-}
-
-{
-    "id": "libvirt-5",
-    "error": {
-        "class": "GenericError",
-        "desc": "Parameter 'fdset-id' expects an existing fdset-id"
-    }
-}
-
-{
-    "return": [
-        {
-            "name": "SPICE_MIGRATE_COMPLETED"
-        },
-        {
-            "name": "BALLOON_CHANGE"
-        },
-        {
-            "name": "WAKEUP"
-        },
-        {
-            "name": "SUSPEND_DISK"
-        },
-        {
-            "name": "SUSPEND"
-        },
-        {
-            "name": "DEVICE_TRAY_MOVED"
-        },
-        {
-            "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-6"
-}
-
-{
-    "return": [
-        {
-            "name": "port92"
-        },
-        {
-            "name": "apic"
-        },
-        {
-            "name": "virtio-scsi-pci"
-        },
-        {
-            "name": "i6300esb"
-        },
-        {
-            "name": "usb-ehci"
-        },
-        {
-            "name": "vt82c686b-usb-uhci"
-        },
-        {
-            "name": "ich9-ahci"
-        },
-        {
-            "name": "usb-host"
-        },
-        {
-            "name": "isa-ide"
-        },
-        {
-            "name": "ich9-usb-ehci1"
-        },
-        {
-            "name": "virtio-balloon-pci"
-        },
-        {
-            "name": "virtio-net-pci"
-        },
-        {
-            "name": "i82558b"
-        },
-        {
-            "name": "i82558a"
-        },
-        {
-            "name": "isa-fdc"
-        },
-        {
-            "name": "isabus-bridge"
-        },
-        {
-            "name": "i2c-bus"
-        },
-        {
-            "name": "piix3-ide"
-        },
-        {
-            "name": "ioapic"
-        },
-        {
-            "name": "pci-bridge"
-        },
-        {
-            "name": "HDA"
-        },
-        {
-            "name": "am53c974"
-        },
-        {
-            "name": "vmmouse"
-        },
-        {
-            "name": "sb16"
-        },
-        {
-            "name": "x86_64-cpu"
-        },
-        {
-            "name": "isa-cirrus-vga"
-        },
-        {
-            "name": "dc390"
-        },
-        {
-            "name": "vmware-svga"
-        },
-        {
-            "name": "smbus-eeprom"
-        },
-        {
-            "name": "i82801"
-        },
-        {
-            "name": "ccid-card-passthru"
-        },
-        {
-            "name": "fw_cfg"
-        },
-        {
-            "name": "piix4-usb-uhci"
-        },
-        {
-            "name": "i82557b"
-        },
-        {
-            "name": "piix3-usb-uhci"
-        },
-        {
-            "name": "ib700"
-        },
-        {
-            "name": "usb-audio"
-        },
-        {
-            "name": "i82557c"
-        },
-        {
-            "name": "i82557a"
-        },
-        {
-            "name": "qxl"
-        },
-        {
-            "name": "rtl8139"
-        },
-        {
-            "name": "hpet"
-        },
-        {
-            "name": "isa-applesmc"
-        },
-        {
-            "name": "xen-platform"
-        },
-        {
-            "name": "container"
-        },
-        {
-            "name": "usb-kbd"
-        },
-        {
-            "name": "isa-vga"
-        },
-        {
-            "name": "usb-tablet"
-        },
-        {
-            "name": "kvmvapic"
-        },
-        {
-            "name": "usb-bt-dongle"
-        },
-        {
-            "name": "sysbus-fdc"
-        },
-        {
-            "name": "piix4-ide"
-        },
-        {
-            "name": "xen-pci-passthrough"
-        },
-        {
-            "name": "e1000"
-        },
-        {
-            "name": "AC97"
-        },
-        {
-            "name": "ivshmem"
-        },
-        {
-            "name": "usb-ccid"
-        },
-        {
-            "name": "sysbus-ahci"
-        },
-        {
-            "name": "kvmclock"
-        },
-        {
-            "name": "i82562"
-        },
-        {
-            "name": "hda-output"
-        },
-        {
-            "name": "ccid-bus"
-        },
-        {
-            "name": "i82559er"
-        },
-        {
-            "name": "megasas"
-        },
-        {
-            "name": "i8042"
-        },
-        {
-            "name": "intel-hda"
-        },
-        {
-            "name": "vmport"
-        },
-        {
-            "name": "hda-duplex"
-        },
-        {
-            "name": "virtio-serial-pci"
-        },
-        {
-            "name": "ne2k_pci"
-        },
-        {
-            "name": "mc146818rtc"
-        },
-        {
-            "name": "virtconsole"
-        },
-        {
-            "name": "isa-parallel"
-        },
-        {
-            "name": "ich9-usb-uhci1"
-        },
-        {
-            "name": "ich9-usb-uhci3"
-        },
-        {
-            "name": "ich9-usb-uhci2"
-        },
-        {
-            "name": "PCI"
-        },
-        {
-            "name": "SUNW,fdtwo"
-        },
-        {
-            "name": "ide-cd"
-        },
-        {
-            "name": "isa-debugcon"
-        },
-        {
-            "name": "i82551"
-        },
-        {
-            "name": "i82550"
-        },
-        {
-            "name": "isa-serial"
-        },
-        {
-            "name": "kvm-ioapic"
-        },
-        {
-            "name": "System"
-        },
-        {
-            "name": "kvm-apic"
-        },
-        {
-            "name": "usb-wacom-tablet"
-        },
-        {
-            "name": "PIIX4_PM"
-        },
-        {
-            "name": "kvm-i8259"
-        },
-        {
-            "name": "scsi-cd"
-        },
-        {
-            "name": "i440FX"
-        },
-        {
-            "name": "usb-braille"
-        },
-        {
-            "name": "xen-apic"
-        },
-        {
-            "name": "virtserialport"
-        },
-        {
-            "name": "xio3130-downstream"
-        },
-        {
-            "name": "nec-usb-xhci"
-        },
-        {
-            "name": "pci-ohci"
-        },
-        {
-            "name": "hda-micro"
-        },
-        {
-            "name": "scsi-disk"
-        },
-        {
-            "name": "lsi53c895a"
-        },
-        {
-            "name": "SCSI"
-        },
-        {
-            "name": "pcnet"
-        },
-        {
-            "name": "scsi-generic"
-        },
-        {
-            "name": "virtio-serial-bus"
-        },
-        {
-            "name": "usb-bus"
-        },
-        {
-            "name": "ne2k_isa"
-        },
-        {
-            "name": "IDE"
-        },
-        {
-            "name": "ccid-card-emulated"
-        },
-        {
-            "name": "i440FX-pcihost"
-        },
-        {
-            "name": "usb-hub"
-        },
-        {
-            "name": "usb-net"
-        },
-        {
-            "name": "usb-mouse"
-        },
-        {
-            "name": "ISA"
-        },
-        {
-            "name": "pc-sysfw"
-        },
-        {
-            "name": "usb-serial"
-        },
-        {
-            "name": "scsi-block"
-        },
-        {
-            "name": "sga"
-        },
-        {
-            "name": "ioh3420"
-        },
-        {
-            "name": "ES1370"
-        },
-        {
-            "name": "isa-i8259"
-        },
-        {
-            "name": "isa-pcspk"
-        },
-        {
-            "name": "ide-hd"
-        },
-        {
-            "name": "PIIX3"
-        },
-        {
-            "name": "cirrus-vga"
-        },
-        {
-            "name": "virtio-9p-pci"
-        },
-        {
-            "name": "x3130-upstream"
-        },
-        {
-            "name": "ide-drive"
-        },
-        {
-            "name": "qxl-vga"
-        },
-        {
-            "name": "usb-uas"
-        },
-        {
-            "name": "kvm-pit"
-        },
-        {
-            "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": "isa-pit"
-        },
-        {
-            "name": "usb-storage"
-        },
-        {
-            "name": "VGA"
-        }
-    ],
-    "id": "libvirt-7"
-}
-
-{
-    "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": "config-wce",
-            "type": "on/off"
-        },
-        {
-            "name": "event_idx",
-            "type": "on/off"
-        },
-        {
-            "name": "indirect_desc",
-            "type": "on/off"
-        },
-        {
-            "name": "vectors",
-            "type": "uint32"
-        },
-        {
-            "name": "ioeventfd",
-            "type": "on/off"
-        },
-        {
-            "name": "config-wce",
-            "type": "on/off"
-        },
-        {
-            "name": "scsi",
-            "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": "class",
-            "type": "hex32"
-        }
-    ],
-    "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": "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": "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": "event_idx",
-            "type": "on/off"
-        },
-        {
-            "name": "indirect_desc",
-            "type": "on/off"
-        },
-        {
-            "name": "vectors",
-            "type": "uint32"
-        },
-        {
-            "name": "ioeventfd",
-            "type": "on/off"
-        }
-    ],
-    "id": "libvirt-9"
-}
-
-{
-    "id": "libvirt-10",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'virtio-scsi-pci' not found"
-    }
-}
-
-{
-    "id": "libvirt-11",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'virtio-blk-ccw' not found"
-    }
-}
-
-{
-    "id": "libvirt-12",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'virtio-net-ccw' not found"
-    }
-}
-
-{
-    "id": "libvirt-13",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'virtio-scsi-ccw' not found"
-    }
-}
-
-{
-    "id": "libvirt-14",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'virtio-blk-s390' not found"
-    }
-}
-
-{
-    "id": "libvirt-15",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'virtio-net-s390' not found"
-    }
-}
-
-{
-    "id": "libvirt-16",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'pci-assign' not found"
-    }
-}
-
-{
-    "id": "libvirt-17",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'kvm-pci-assign' not found"
-    }
-}
-
-{
-    "id": "libvirt-18",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'vfio-pci' not found"
-    }
-}
-
-{
-    "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-19"
-}
-
-{
-    "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-20"
-}
-
-{
-    "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-21"
-}
-
-{
-    "id": "libvirt-22",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'usb-redir' not found"
-    }
-}
-
-{
-    "return": [
-        {
-            "name": "full-path",
-            "type": "on/off"
-        },
-        {
-            "name": "port",
-            "type": "string"
-        },
-        {
-            "name": "pipeline",
-            "type": "on/off"
-        },
-        {
-            "name": "bootindex",
-            "type": "int32"
-        },
-        {
-            "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-23"
-}
-
-{
-    "return": [
-        {
-            "name": "lun",
-            "type": "uint32"
-        },
-        {
-            "name": "scsi-id",
-            "type": "uint32"
-        },
-        {
-            "name": "channel",
-            "type": "uint32"
-        },
-        {
-            "name": "bootindex",
-            "type": "int32"
-        },
-        {
-            "name": "drive",
-            "type": "drive"
-        }
-    ],
-    "id": "libvirt-24"
-}
-
-{
-    "return": [
-    ],
-    "id": "libvirt-25"
-}
-
-{
-    "id": "libvirt-26",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'q35-pcihost' not found"
-    }
-}
-
-{
-    "return": [
-        {
-            "name": "full-path",
-            "type": "on/off"
-        },
-        {
-            "name": "port",
-            "type": "string"
-        },
-        {
-            "name": "removable",
-            "type": "on/off"
-        },
-        {
-            "name": "serial",
-            "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-27"
-}
-
-{
-    "return": [
-        {
-            "name": "lost_tick_policy",
-            "type": "LostTickPolicy"
-        },
-        {
-            "name": "iobase",
-            "type": "hex32"
-        }
-    ],
-    "id": "libvirt-28"
-}
-
-{
-    "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-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": "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"
-        },
-        {
-            "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-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": "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"
-}
-
-{
-    "id": "libvirt-33",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'virtio-gpu-pci' not found"
-    }
-}
-
-{
-    "id": "libvirt-34",
-    "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-35"
-}
-
-{
-    "id": "libvirt-36",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'virtio-balloon-ccw' not found"
-    }
-}
-
-{
-    "id": "libvirt-37",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'virtio-balloon-device' not found"
-    }
-}
-
-
-{
-    "return": [
-        {
-            "name": "msi",
-            "type": "uint32"
-        }
-    ]
-}
-
-
-{
-    "return": [
-        {
-            "name": "xenpv"
-        },
-        {
-            "name": "xenfv"
-        },
-        {
-            "name": "isapc"
-        },
-        {
-            "name": "pc-0.10"
-        },
-        {
-            "name": "pc-0.11"
-        },
-        {
-            "name": "pc-0.12"
-        },
-        {
-            "name": "pc-0.13"
-        },
-        {
-            "name": "pc-0.14"
-        },
-        {
-            "name": "pc-0.15"
-        },
-        {
-            "name": "pc-1.0"
-        },
-        {
-            "name": "pc-1.1"
-        },
-        {
-            "name": "pc-1.2",
-            "is-default": true,
-            "alias": "pc"
-        },
-        {
-            "name": "none"
-        }
-    ],
-    "id": "libvirt-38"
-}
-
-{
-    "return": [
-        {
-            "name": "qemu64"
-        },
-        {
-            "name": "phenom"
-        },
-        {
-            "name": "core2duo"
-        },
-        {
-            "name": "kvm64"
-        },
-        {
-            "name": "qemu32"
-        },
-        {
-            "name": "kvm32"
-        },
-        {
-            "name": "coreduo"
-        },
-        {
-            "name": "486"
-        },
-        {
-            "name": "pentium"
-        },
-        {
-            "name": "pentium2"
-        },
-        {
-            "name": "pentium3"
-        },
-        {
-            "name": "athlon"
-        },
-        {
-            "name": "n270"
-        },
-        {
-            "name": "Conroe"
-        },
-        {
-            "name": "Penryn"
-        },
-        {
-            "name": "Nehalem"
-        },
-        {
-            "name": "Westmere"
-        },
-        {
-            "name": "SandyBridge"
-        },
-        {
-            "name": "Opteron_G1"
-        },
-        {
-            "name": "Opteron_G2"
-        },
-        {
-            "name": "Opteron_G3"
-        },
-        {
-            "name": "Opteron_G4"
-        }
-    ],
-    "id": "libvirt-39"
-}
-
-{
-    "return": {
-        "enabled": false,
-        "present": true
-    },
-    "id": "libvirt-40"
-}
-
-{
-    "id": "libvirt-41",
-    "error": {
-        "class": "CommandNotFound",
-        "desc": "The command query-tpm-models has not been found"
-    }
-}
-
-{
-    "id": "libvirt-42",
-    "error": {
-        "class": "CommandNotFound",
-        "desc": "The command query-tpm-types has not been found"
-    }
-}
-
-{
-    "id": "libvirt-43",
-    "error": {
-        "class": "CommandNotFound",
-        "desc": "The command query-command-line-options has not been found"
-    }
-}
-
-{
-    "return": [
-        {
-            "capability": "xbzrle",
-            "state": false
-        }
-    ],
-    "id": "libvirt-44"
-}
diff --git a/tests/qemucapabilitiesdata/caps_1.2.2-1.x86_64.xml b/tests/qemucapabilitiesdata/caps_1.2.2-1.x86_64.xml
deleted file mode 100644 (file)
index 257a123..0000000
+++ /dev/null
@@ -1,159 +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='device'/>
-  <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='nodefconfig'/>
-  <flag name='boot-menu'/>
-  <flag name='fsdev'/>
-  <flag name='name-process'/>
-  <flag name='drive-readonly'/>
-  <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='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='blk-sg-io'/>
-  <flag name='drive-copy-on-read'/>
-  <flag name='cpu-host'/>
-  <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='dump-guest-core'/>
-  <flag name='seamless-migration'/>
-  <flag name='vnc'/>
-  <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='usb-serial'/>
-  <flag name='usb-net'/>
-  <flag name='dtb'/>
-  <flag name='megasas'/>
-  <flag name='ipv6-migration'/>
-  <flag name='machine-opt'/>
-  <flag name='pci-bridge'/>
-  <flag name='scsi-generic'/>
-  <flag name='scsi-generic.bootindex'/>
-  <flag name='vnc-share-policy'/>
-  <flag name='usb-storage'/>
-  <flag name='usb-storage.removable'/>
-  <flag name='kvm-pit-lost-tick-policy'/>
-  <flag name='usb-kbd'/>
-  <flag name='host-pci-multidomain'/>
-  <flag name='usb-audio'/>
-  <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='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'/>
-  <version>1002002</version>
-  <kvmVersion>0</kvmVersion>
-  <package></package>
-  <arch>x86_64</arch>
-  <cpu name='qemu64'/>
-  <cpu name='phenom'/>
-  <cpu name='core2duo'/>
-  <cpu name='kvm64'/>
-  <cpu name='qemu32'/>
-  <cpu name='kvm32'/>
-  <cpu name='coreduo'/>
-  <cpu name='486'/>
-  <cpu name='pentium'/>
-  <cpu name='pentium2'/>
-  <cpu name='pentium3'/>
-  <cpu name='athlon'/>
-  <cpu name='n270'/>
-  <cpu name='Conroe'/>
-  <cpu name='Penryn'/>
-  <cpu name='Nehalem'/>
-  <cpu name='Westmere'/>
-  <cpu name='SandyBridge'/>
-  <cpu name='Opteron_G1'/>
-  <cpu name='Opteron_G2'/>
-  <cpu name='Opteron_G3'/>
-  <cpu name='Opteron_G4'/>
-  <machine name='pc-1.2' alias='pc' maxCpus='0'/>
-  <machine name='xenpv' maxCpus='0'/>
-  <machine name='xenfv' maxCpus='0'/>
-  <machine name='isapc' maxCpus='0'/>
-  <machine name='pc-0.10' maxCpus='0'/>
-  <machine name='pc-0.11' maxCpus='0'/>
-  <machine name='pc-0.12' maxCpus='0'/>
-  <machine name='pc-0.13' maxCpus='0'/>
-  <machine name='pc-0.14' maxCpus='0'/>
-  <machine name='pc-0.15' maxCpus='0'/>
-  <machine name='pc-1.0' maxCpus='0'/>
-  <machine name='pc-1.1' maxCpus='0'/>
-</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_1.2.2.x86_64.replies b/tests/qemucapabilitiesdata/caps_1.2.2.x86_64.replies
new file mode 100644 (file)
index 0000000..cb71b6e
--- /dev/null
@@ -0,0 +1,1857 @@
+{
+    "QMP": {
+        "version": {
+            "qemu": {
+                "micro": 2,
+                "minor": 2,
+                "major": 1
+            },
+            "package": ""
+        },
+        "capabilities": [
+        ]
+    }
+}
+
+{
+    "return": {
+    },
+    "id": "libvirt-1"
+}
+
+{
+    "return": {
+        "qemu": {
+            "micro": 2,
+            "minor": 2,
+            "major": 1
+        },
+        "package": ""
+    },
+    "id": "libvirt-2"
+}
+
+{
+    "return": {
+        "arch": "x86_64"
+    },
+    "id": "libvirt-3"
+}
+
+{
+    "return": [
+        {
+            "name": "query-target"
+        },
+        {
+            "name": "query-cpu-definitions"
+        },
+        {
+            "name": "query-machines"
+        },
+        {
+            "name": "device-list-properties"
+        },
+        {
+            "name": "qom-list-types"
+        },
+        {
+            "name": "change-vnc-password"
+        },
+        {
+            "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-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": "blockdev-snapshot-sync"
+        },
+        {
+            "name": "transaction"
+        },
+        {
+            "name": "block-job-cancel"
+        },
+        {
+            "name": "block-job-set-speed"
+        },
+        {
+            "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-save-devices-state"
+        },
+        {
+            "name": "inject-nmi"
+        },
+        {
+            "name": "pmemsave"
+        },
+        {
+            "name": "memsave"
+        },
+        {
+            "name": "cpu"
+        },
+        {
+            "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"
+}
+
+{
+    "id": "libvirt-5",
+    "error": {
+        "class": "GenericError",
+        "desc": "Parameter 'fdset-id' expects an existing fdset-id"
+    }
+}
+
+{
+    "return": [
+        {
+            "name": "SPICE_MIGRATE_COMPLETED"
+        },
+        {
+            "name": "BALLOON_CHANGE"
+        },
+        {
+            "name": "WAKEUP"
+        },
+        {
+            "name": "SUSPEND_DISK"
+        },
+        {
+            "name": "SUSPEND"
+        },
+        {
+            "name": "DEVICE_TRAY_MOVED"
+        },
+        {
+            "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-6"
+}
+
+{
+    "return": [
+        {
+            "name": "port92"
+        },
+        {
+            "name": "apic"
+        },
+        {
+            "name": "virtio-scsi-pci"
+        },
+        {
+            "name": "i6300esb"
+        },
+        {
+            "name": "usb-ehci"
+        },
+        {
+            "name": "vt82c686b-usb-uhci"
+        },
+        {
+            "name": "ich9-ahci"
+        },
+        {
+            "name": "usb-host"
+        },
+        {
+            "name": "isa-ide"
+        },
+        {
+            "name": "ich9-usb-ehci1"
+        },
+        {
+            "name": "virtio-balloon-pci"
+        },
+        {
+            "name": "virtio-net-pci"
+        },
+        {
+            "name": "i82558b"
+        },
+        {
+            "name": "i82558a"
+        },
+        {
+            "name": "isa-fdc"
+        },
+        {
+            "name": "isabus-bridge"
+        },
+        {
+            "name": "i2c-bus"
+        },
+        {
+            "name": "piix3-ide"
+        },
+        {
+            "name": "ioapic"
+        },
+        {
+            "name": "pci-bridge"
+        },
+        {
+            "name": "HDA"
+        },
+        {
+            "name": "am53c974"
+        },
+        {
+            "name": "vmmouse"
+        },
+        {
+            "name": "sb16"
+        },
+        {
+            "name": "x86_64-cpu"
+        },
+        {
+            "name": "isa-cirrus-vga"
+        },
+        {
+            "name": "dc390"
+        },
+        {
+            "name": "vmware-svga"
+        },
+        {
+            "name": "smbus-eeprom"
+        },
+        {
+            "name": "i82801"
+        },
+        {
+            "name": "ccid-card-passthru"
+        },
+        {
+            "name": "fw_cfg"
+        },
+        {
+            "name": "piix4-usb-uhci"
+        },
+        {
+            "name": "i82557b"
+        },
+        {
+            "name": "piix3-usb-uhci"
+        },
+        {
+            "name": "ib700"
+        },
+        {
+            "name": "usb-audio"
+        },
+        {
+            "name": "i82557c"
+        },
+        {
+            "name": "i82557a"
+        },
+        {
+            "name": "qxl"
+        },
+        {
+            "name": "rtl8139"
+        },
+        {
+            "name": "hpet"
+        },
+        {
+            "name": "isa-applesmc"
+        },
+        {
+            "name": "xen-platform"
+        },
+        {
+            "name": "container"
+        },
+        {
+            "name": "usb-kbd"
+        },
+        {
+            "name": "isa-vga"
+        },
+        {
+            "name": "usb-tablet"
+        },
+        {
+            "name": "kvmvapic"
+        },
+        {
+            "name": "usb-bt-dongle"
+        },
+        {
+            "name": "sysbus-fdc"
+        },
+        {
+            "name": "piix4-ide"
+        },
+        {
+            "name": "xen-pci-passthrough"
+        },
+        {
+            "name": "e1000"
+        },
+        {
+            "name": "AC97"
+        },
+        {
+            "name": "ivshmem"
+        },
+        {
+            "name": "usb-ccid"
+        },
+        {
+            "name": "sysbus-ahci"
+        },
+        {
+            "name": "kvmclock"
+        },
+        {
+            "name": "i82562"
+        },
+        {
+            "name": "hda-output"
+        },
+        {
+            "name": "ccid-bus"
+        },
+        {
+            "name": "i82559er"
+        },
+        {
+            "name": "megasas"
+        },
+        {
+            "name": "i8042"
+        },
+        {
+            "name": "intel-hda"
+        },
+        {
+            "name": "vmport"
+        },
+        {
+            "name": "hda-duplex"
+        },
+        {
+            "name": "virtio-serial-pci"
+        },
+        {
+            "name": "ne2k_pci"
+        },
+        {
+            "name": "mc146818rtc"
+        },
+        {
+            "name": "virtconsole"
+        },
+        {
+            "name": "isa-parallel"
+        },
+        {
+            "name": "ich9-usb-uhci1"
+        },
+        {
+            "name": "ich9-usb-uhci3"
+        },
+        {
+            "name": "ich9-usb-uhci2"
+        },
+        {
+            "name": "PCI"
+        },
+        {
+            "name": "SUNW,fdtwo"
+        },
+        {
+            "name": "ide-cd"
+        },
+        {
+            "name": "isa-debugcon"
+        },
+        {
+            "name": "i82551"
+        },
+        {
+            "name": "i82550"
+        },
+        {
+            "name": "isa-serial"
+        },
+        {
+            "name": "kvm-ioapic"
+        },
+        {
+            "name": "System"
+        },
+        {
+            "name": "kvm-apic"
+        },
+        {
+            "name": "usb-wacom-tablet"
+        },
+        {
+            "name": "PIIX4_PM"
+        },
+        {
+            "name": "kvm-i8259"
+        },
+        {
+            "name": "scsi-cd"
+        },
+        {
+            "name": "i440FX"
+        },
+        {
+            "name": "usb-braille"
+        },
+        {
+            "name": "xen-apic"
+        },
+        {
+            "name": "virtserialport"
+        },
+        {
+            "name": "xio3130-downstream"
+        },
+        {
+            "name": "nec-usb-xhci"
+        },
+        {
+            "name": "pci-ohci"
+        },
+        {
+            "name": "hda-micro"
+        },
+        {
+            "name": "scsi-disk"
+        },
+        {
+            "name": "lsi53c895a"
+        },
+        {
+            "name": "SCSI"
+        },
+        {
+            "name": "pcnet"
+        },
+        {
+            "name": "scsi-generic"
+        },
+        {
+            "name": "virtio-serial-bus"
+        },
+        {
+            "name": "usb-bus"
+        },
+        {
+            "name": "ne2k_isa"
+        },
+        {
+            "name": "IDE"
+        },
+        {
+            "name": "ccid-card-emulated"
+        },
+        {
+            "name": "i440FX-pcihost"
+        },
+        {
+            "name": "usb-hub"
+        },
+        {
+            "name": "usb-net"
+        },
+        {
+            "name": "usb-mouse"
+        },
+        {
+            "name": "ISA"
+        },
+        {
+            "name": "pc-sysfw"
+        },
+        {
+            "name": "usb-serial"
+        },
+        {
+            "name": "scsi-block"
+        },
+        {
+            "name": "sga"
+        },
+        {
+            "name": "ioh3420"
+        },
+        {
+            "name": "ES1370"
+        },
+        {
+            "name": "isa-i8259"
+        },
+        {
+            "name": "isa-pcspk"
+        },
+        {
+            "name": "ide-hd"
+        },
+        {
+            "name": "PIIX3"
+        },
+        {
+            "name": "cirrus-vga"
+        },
+        {
+            "name": "virtio-9p-pci"
+        },
+        {
+            "name": "x3130-upstream"
+        },
+        {
+            "name": "ide-drive"
+        },
+        {
+            "name": "qxl-vga"
+        },
+        {
+            "name": "usb-uas"
+        },
+        {
+            "name": "kvm-pit"
+        },
+        {
+            "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": "isa-pit"
+        },
+        {
+            "name": "usb-storage"
+        },
+        {
+            "name": "VGA"
+        }
+    ],
+    "id": "libvirt-7"
+}
+
+{
+    "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": "config-wce",
+            "type": "on/off"
+        },
+        {
+            "name": "event_idx",
+            "type": "on/off"
+        },
+        {
+            "name": "indirect_desc",
+            "type": "on/off"
+        },
+        {
+            "name": "vectors",
+            "type": "uint32"
+        },
+        {
+            "name": "ioeventfd",
+            "type": "on/off"
+        },
+        {
+            "name": "config-wce",
+            "type": "on/off"
+        },
+        {
+            "name": "scsi",
+            "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": "class",
+            "type": "hex32"
+        }
+    ],
+    "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": "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": "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": "event_idx",
+            "type": "on/off"
+        },
+        {
+            "name": "indirect_desc",
+            "type": "on/off"
+        },
+        {
+            "name": "vectors",
+            "type": "uint32"
+        },
+        {
+            "name": "ioeventfd",
+            "type": "on/off"
+        }
+    ],
+    "id": "libvirt-9"
+}
+
+{
+    "id": "libvirt-10",
+    "error": {
+        "class": "DeviceNotFound",
+        "desc": "Device 'virtio-scsi-pci' not found"
+    }
+}
+
+{
+    "id": "libvirt-11",
+    "error": {
+        "class": "DeviceNotFound",
+        "desc": "Device 'virtio-blk-ccw' not found"
+    }
+}
+
+{
+    "id": "libvirt-12",
+    "error": {
+        "class": "DeviceNotFound",
+        "desc": "Device 'virtio-net-ccw' not found"
+    }
+}
+
+{
+    "id": "libvirt-13",
+    "error": {
+        "class": "DeviceNotFound",
+        "desc": "Device 'virtio-scsi-ccw' not found"
+    }
+}
+
+{
+    "id": "libvirt-14",
+    "error": {
+        "class": "DeviceNotFound",
+        "desc": "Device 'virtio-blk-s390' not found"
+    }
+}
+
+{
+    "id": "libvirt-15",
+    "error": {
+        "class": "DeviceNotFound",
+        "desc": "Device 'virtio-net-s390' not found"
+    }
+}
+
+{
+    "id": "libvirt-16",
+    "error": {
+        "class": "DeviceNotFound",
+        "desc": "Device 'pci-assign' not found"
+    }
+}
+
+{
+    "id": "libvirt-17",
+    "error": {
+        "class": "DeviceNotFound",
+        "desc": "Device 'kvm-pci-assign' not found"
+    }
+}
+
+{
+    "id": "libvirt-18",
+    "error": {
+        "class": "DeviceNotFound",
+        "desc": "Device 'vfio-pci' not found"
+    }
+}
+
+{
+    "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-19"
+}
+
+{
+    "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-20"
+}
+
+{
+    "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-21"
+}
+
+{
+    "id": "libvirt-22",
+    "error": {
+        "class": "DeviceNotFound",
+        "desc": "Device 'usb-redir' not found"
+    }
+}
+
+{
+    "return": [
+        {
+            "name": "full-path",
+            "type": "on/off"
+        },
+        {
+            "name": "port",
+            "type": "string"
+        },
+        {
+            "name": "pipeline",
+            "type": "on/off"
+        },
+        {
+            "name": "bootindex",
+            "type": "int32"
+        },
+        {
+            "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-23"
+}
+
+{
+    "return": [
+        {
+            "name": "lun",
+            "type": "uint32"
+        },
+        {
+            "name": "scsi-id",
+            "type": "uint32"
+        },
+        {
+            "name": "channel",
+            "type": "uint32"
+        },
+        {
+            "name": "bootindex",
+            "type": "int32"
+        },
+        {
+            "name": "drive",
+            "type": "drive"
+        }
+    ],
+    "id": "libvirt-24"
+}
+
+{
+    "return": [
+    ],
+    "id": "libvirt-25"
+}
+
+{
+    "id": "libvirt-26",
+    "error": {
+        "class": "DeviceNotFound",
+        "desc": "Device 'q35-pcihost' not found"
+    }
+}
+
+{
+    "return": [
+        {
+            "name": "full-path",
+            "type": "on/off"
+        },
+        {
+            "name": "port",
+            "type": "string"
+        },
+        {
+            "name": "removable",
+            "type": "on/off"
+        },
+        {
+            "name": "serial",
+            "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-27"
+}
+
+{
+    "return": [
+        {
+            "name": "lost_tick_policy",
+            "type": "LostTickPolicy"
+        },
+        {
+            "name": "iobase",
+            "type": "hex32"
+        }
+    ],
+    "id": "libvirt-28"
+}
+
+{
+    "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-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": "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"
+        },
+        {
+            "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-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": "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"
+}
+
+{
+    "id": "libvirt-33",
+    "error": {
+        "class": "DeviceNotFound",
+        "desc": "Device 'virtio-gpu-pci' not found"
+    }
+}
+
+{
+    "id": "libvirt-34",
+    "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-35"
+}
+
+{
+    "id": "libvirt-36",
+    "error": {
+        "class": "DeviceNotFound",
+        "desc": "Device 'virtio-balloon-ccw' not found"
+    }
+}
+
+{
+    "id": "libvirt-37",
+    "error": {
+        "class": "DeviceNotFound",
+        "desc": "Device 'virtio-balloon-device' not found"
+    }
+}
+
+
+{
+    "return": [
+        {
+            "name": "msi",
+            "type": "uint32"
+        }
+    ]
+}
+
+
+{
+    "return": [
+        {
+            "name": "xenpv"
+        },
+        {
+            "name": "xenfv"
+        },
+        {
+            "name": "isapc"
+        },
+        {
+            "name": "pc-0.10"
+        },
+        {
+            "name": "pc-0.11"
+        },
+        {
+            "name": "pc-0.12"
+        },
+        {
+            "name": "pc-0.13"
+        },
+        {
+            "name": "pc-0.14"
+        },
+        {
+            "name": "pc-0.15"
+        },
+        {
+            "name": "pc-1.0"
+        },
+        {
+            "name": "pc-1.1"
+        },
+        {
+            "name": "pc-1.2",
+            "is-default": true,
+            "alias": "pc"
+        },
+        {
+            "name": "none"
+        }
+    ],
+    "id": "libvirt-38"
+}
+
+{
+    "return": [
+        {
+            "name": "qemu64"
+        },
+        {
+            "name": "phenom"
+        },
+        {
+            "name": "core2duo"
+        },
+        {
+            "name": "kvm64"
+        },
+        {
+            "name": "qemu32"
+        },
+        {
+            "name": "kvm32"
+        },
+        {
+            "name": "coreduo"
+        },
+        {
+            "name": "486"
+        },
+        {
+            "name": "pentium"
+        },
+        {
+            "name": "pentium2"
+        },
+        {
+            "name": "pentium3"
+        },
+        {
+            "name": "athlon"
+        },
+        {
+            "name": "n270"
+        },
+        {
+            "name": "Conroe"
+        },
+        {
+            "name": "Penryn"
+        },
+        {
+            "name": "Nehalem"
+        },
+        {
+            "name": "Westmere"
+        },
+        {
+            "name": "SandyBridge"
+        },
+        {
+            "name": "Opteron_G1"
+        },
+        {
+            "name": "Opteron_G2"
+        },
+        {
+            "name": "Opteron_G3"
+        },
+        {
+            "name": "Opteron_G4"
+        }
+    ],
+    "id": "libvirt-39"
+}
+
+{
+    "return": {
+        "enabled": false,
+        "present": true
+    },
+    "id": "libvirt-40"
+}
+
+{
+    "id": "libvirt-41",
+    "error": {
+        "class": "CommandNotFound",
+        "desc": "The command query-tpm-models has not been found"
+    }
+}
+
+{
+    "id": "libvirt-42",
+    "error": {
+        "class": "CommandNotFound",
+        "desc": "The command query-tpm-types has not been found"
+    }
+}
+
+{
+    "id": "libvirt-43",
+    "error": {
+        "class": "CommandNotFound",
+        "desc": "The command query-command-line-options has not been found"
+    }
+}
+
+{
+    "return": [
+        {
+            "capability": "xbzrle",
+            "state": false
+        }
+    ],
+    "id": "libvirt-44"
+}
diff --git a/tests/qemucapabilitiesdata/caps_1.2.2.x86_64.xml b/tests/qemucapabilitiesdata/caps_1.2.2.x86_64.xml
new file mode 100644 (file)
index 0000000..257a123
--- /dev/null
@@ -0,0 +1,159 @@
+<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='device'/>
+  <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='nodefconfig'/>
+  <flag name='boot-menu'/>
+  <flag name='fsdev'/>
+  <flag name='name-process'/>
+  <flag name='drive-readonly'/>
+  <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='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='blk-sg-io'/>
+  <flag name='drive-copy-on-read'/>
+  <flag name='cpu-host'/>
+  <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='dump-guest-core'/>
+  <flag name='seamless-migration'/>
+  <flag name='vnc'/>
+  <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='usb-serial'/>
+  <flag name='usb-net'/>
+  <flag name='dtb'/>
+  <flag name='megasas'/>
+  <flag name='ipv6-migration'/>
+  <flag name='machine-opt'/>
+  <flag name='pci-bridge'/>
+  <flag name='scsi-generic'/>
+  <flag name='scsi-generic.bootindex'/>
+  <flag name='vnc-share-policy'/>
+  <flag name='usb-storage'/>
+  <flag name='usb-storage.removable'/>
+  <flag name='kvm-pit-lost-tick-policy'/>
+  <flag name='usb-kbd'/>
+  <flag name='host-pci-multidomain'/>
+  <flag name='usb-audio'/>
+  <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='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'/>
+  <version>1002002</version>
+  <kvmVersion>0</kvmVersion>
+  <package></package>
+  <arch>x86_64</arch>
+  <cpu name='qemu64'/>
+  <cpu name='phenom'/>
+  <cpu name='core2duo'/>
+  <cpu name='kvm64'/>
+  <cpu name='qemu32'/>
+  <cpu name='kvm32'/>
+  <cpu name='coreduo'/>
+  <cpu name='486'/>
+  <cpu name='pentium'/>
+  <cpu name='pentium2'/>
+  <cpu name='pentium3'/>
+  <cpu name='athlon'/>
+  <cpu name='n270'/>
+  <cpu name='Conroe'/>
+  <cpu name='Penryn'/>
+  <cpu name='Nehalem'/>
+  <cpu name='Westmere'/>
+  <cpu name='SandyBridge'/>
+  <cpu name='Opteron_G1'/>
+  <cpu name='Opteron_G2'/>
+  <cpu name='Opteron_G3'/>
+  <cpu name='Opteron_G4'/>
+  <machine name='pc-1.2' alias='pc' maxCpus='0'/>
+  <machine name='xenpv' maxCpus='0'/>
+  <machine name='xenfv' maxCpus='0'/>
+  <machine name='isapc' maxCpus='0'/>
+  <machine name='pc-0.10' maxCpus='0'/>
+  <machine name='pc-0.11' maxCpus='0'/>
+  <machine name='pc-0.12' maxCpus='0'/>
+  <machine name='pc-0.13' maxCpus='0'/>
+  <machine name='pc-0.14' maxCpus='0'/>
+  <machine name='pc-0.15' maxCpus='0'/>
+  <machine name='pc-1.0' maxCpus='0'/>
+  <machine name='pc-1.1' maxCpus='0'/>
+</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_1.3.1-1.x86_64.replies b/tests/qemucapabilitiesdata/caps_1.3.1-1.x86_64.replies
deleted file mode 100644 (file)
index bf51952..0000000
+++ /dev/null
@@ -1,2066 +0,0 @@
-{
-    "QMP": {
-        "version": {
-            "qemu": {
-                "micro": 1,
-                "minor": 3,
-                "major": 1
-            },
-            "package": ""
-        },
-        "capabilities": [
-        ]
-    }
-}
-
-{
-    "return": {
-    },
-    "id": "libvirt-1"
-}
-
-{
-    "return": {
-        "qemu": {
-            "micro": 1,
-            "minor": 3,
-            "major": 1
-        },
-        "package": ""
-    },
-    "id": "libvirt-2"
-}
-
-{
-    "return": {
-        "arch": "x86_64"
-    },
-    "id": "libvirt-3"
-}
-
-{
-    "return": [
-        {
-            "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-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-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": "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": "inject-nmi"
-        },
-        {
-            "name": "pmemsave"
-        },
-        {
-            "name": "memsave"
-        },
-        {
-            "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": "SPICE_MIGRATE_COMPLETED"
-        },
-        {
-            "name": "BALLOON_CHANGE"
-        },
-        {
-            "name": "WAKEUP"
-        },
-        {
-            "name": "SUSPEND_DISK"
-        },
-        {
-            "name": "SUSPEND"
-        },
-        {
-            "name": "DEVICE_TRAY_MOVED"
-        },
-        {
-            "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": "port92"
-        },
-        {
-            "name": "i6300esb"
-        },
-        {
-            "name": "apic"
-        },
-        {
-            "name": "virtio-balloon-pci"
-        },
-        {
-            "name": "virtio-scsi-pci"
-        },
-        {
-            "name": "ICH9 LPC"
-        },
-        {
-            "name": "usb-host"
-        },
-        {
-            "name": "usb-ehci"
-        },
-        {
-            "name": "ich9-ahci"
-        },
-        {
-            "name": "ich9-usb-ehci2"
-        },
-        {
-            "name": "ICH9 SMB"
-        },
-        {
-            "name": "isa-ide"
-        },
-        {
-            "name": "ich9-usb-ehci1"
-        },
-        {
-            "name": "virtio-net-pci"
-        },
-        {
-            "name": "vt82c686b-usb-uhci"
-        },
-        {
-            "name": "i82558b"
-        },
-        {
-            "name": "i82558a"
-        },
-        {
-            "name": "isa-fdc"
-        },
-        {
-            "name": "isabus-bridge"
-        },
-        {
-            "name": "i2c-bus"
-        },
-        {
-            "name": "piix3-ide"
-        },
-        {
-            "name": "ioapic"
-        },
-        {
-            "name": "pci-bridge"
-        },
-        {
-            "name": "HDA"
-        },
-        {
-            "name": "am53c974"
-        },
-        {
-            "name": "vmmouse"
-        },
-        {
-            "name": "sb16"
-        },
-        {
-            "name": "i82801b11-bridge"
-        },
-        {
-            "name": "xlnx,ps7-usb"
-        },
-        {
-            "name": "isa-cirrus-vga"
-        },
-        {
-            "name": "dc390"
-        },
-        {
-            "name": "vmware-svga"
-        },
-        {
-            "name": "smbus-eeprom"
-        },
-        {
-            "name": "i82801"
-        },
-        {
-            "name": "ccid-card-passthru"
-        },
-        {
-            "name": "piix4-usb-uhci"
-        },
-        {
-            "name": "fw_cfg"
-        },
-        {
-            "name": "x86_64-cpu"
-        },
-        {
-            "name": "piix3-usb-uhci"
-        },
-        {
-            "name": "ib700"
-        },
-        {
-            "name": "usb-audio"
-        },
-        {
-            "name": "i82557c"
-        },
-        {
-            "name": "i82557b"
-        },
-        {
-            "name": "i82557a"
-        },
-        {
-            "name": "qxl"
-        },
-        {
-            "name": "rtl8139"
-        },
-        {
-            "name": "hpet"
-        },
-        {
-            "name": "isa-applesmc"
-        },
-        {
-            "name": "xen-platform"
-        },
-        {
-            "name": "kvm-pci-assign"
-        },
-        {
-            "name": "container"
-        },
-        {
-            "name": "cfi.pflash01"
-        },
-        {
-            "name": "usb-kbd"
-        },
-        {
-            "name": "vfio-pci"
-        },
-        {
-            "name": "isa-vga"
-        },
-        {
-            "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": "mch"
-        },
-        {
-            "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": "megasas"
-        },
-        {
-            "name": "i8042"
-        },
-        {
-            "name": "intel-hda"
-        },
-        {
-            "name": "mc146818rtc"
-        },
-        {
-            "name": "hda-duplex"
-        },
-        {
-            "name": "virtio-serial-pci"
-        },
-        {
-            "name": "ne2k_pci"
-        },
-        {
-            "name": "ich9-usb-uhci6"
-        },
-        {
-            "name": "virtconsole"
-        },
-        {
-            "name": "ich9-usb-uhci3"
-        },
-        {
-            "name": "ich9-usb-uhci5"
-        },
-        {
-            "name": "ich9-usb-uhci4"
-        },
-        {
-            "name": "isa-parallel"
-        },
-        {
-            "name": "pci-serial"
-        },
-        {
-            "name": "ich9-usb-uhci2"
-        },
-        {
-            "name": "ich9-usb-uhci1"
-        },
-        {
-            "name": "PCI"
-        },
-        {
-            "name": "SUNW,fdtwo"
-        },
-        {
-            "name": "ide-cd"
-        },
-        {
-            "name": "isa-debugcon"
-        },
-        {
-            "name": "i82551"
-        },
-        {
-            "name": "i82550"
-        },
-        {
-            "name": "isa-serial"
-        },
-        {
-            "name": "kvm-ioapic"
-        },
-        {
-            "name": "q35-pcihost"
-        },
-        {
-            "name": "System"
-        },
-        {
-            "name": "kvm-apic"
-        },
-        {
-            "name": "usb-wacom-tablet"
-        },
-        {
-            "name": "PIIX4_PM"
-        },
-        {
-            "name": "kvm-i8259"
-        },
-        {
-            "name": "nec-usb-xhci"
-        },
-        {
-            "name": "scsi-cd"
-        },
-        {
-            "name": "i440FX"
-        },
-        {
-            "name": "usb-braille"
-        },
-        {
-            "name": "xen-apic"
-        },
-        {
-            "name": "pci-serial-2x"
-        },
-        {
-            "name": "virtserialport"
-        },
-        {
-            "name": "xio3130-downstream"
-        },
-        {
-            "name": "pci-ohci"
-        },
-        {
-            "name": "rng-random"
-        },
-        {
-            "name": "hda-micro"
-        },
-        {
-            "name": "scsi-disk"
-        },
-        {
-            "name": "lsi53c895a"
-        },
-        {
-            "name": "SCSI"
-        },
-        {
-            "name": "pcnet"
-        },
-        {
-            "name": "scsi-generic"
-        },
-        {
-            "name": "virtio-serial-bus"
-        },
-        {
-            "name": "usb-bus"
-        },
-        {
-            "name": "ne2k_isa"
-        },
-        {
-            "name": "IDE"
-        },
-        {
-            "name": "ccid-card-emulated"
-        },
-        {
-            "name": "i440FX-pcihost"
-        },
-        {
-            "name": "usb-hub"
-        },
-        {
-            "name": "usb-net"
-        },
-        {
-            "name": "usb-mouse"
-        },
-        {
-            "name": "ISA"
-        },
-        {
-            "name": "pc-sysfw"
-        },
-        {
-            "name": "usb-serial"
-        },
-        {
-            "name": "scsi-block"
-        },
-        {
-            "name": "sga"
-        },
-        {
-            "name": "PIIX3"
-        },
-        {
-            "name": "ioh3420"
-        },
-        {
-            "name": "ES1370"
-        },
-        {
-            "name": "isa-i8259"
-        },
-        {
-            "name": "isa-pcspk"
-        },
-        {
-            "name": "ide-hd"
-        },
-        {
-            "name": "rng-egd"
-        },
-        {
-            "name": "cirrus-vga"
-        },
-        {
-            "name": "virtio-9p-pci"
-        },
-        {
-            "name": "x3130-upstream"
-        },
-        {
-            "name": "ide-drive"
-        },
-        {
-            "name": "qxl-vga"
-        },
-        {
-            "name": "usb-uas"
-        },
-        {
-            "name": "kvm-pit"
-        },
-        {
-            "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": "isa-pit"
-        },
-        {
-            "name": "usb-storage"
-        },
-        {
-            "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": "config-wce",
-            "type": "on/off"
-        },
-        {
-            "name": "event_idx",
-            "type": "on/off"
-        },
-        {
-            "name": "indirect_desc",
-            "type": "on/off"
-        },
-        {
-            "name": "vectors",
-            "type": "uint32"
-        },
-        {
-            "name": "ioeventfd",
-            "type": "on/off"
-        },
-        {
-            "name": "config-wce",
-            "type": "on/off"
-        },
-        {
-            "name": "scsi",
-            "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": "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": "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": "event_idx",
-            "type": "on/off"
-        },
-        {
-            "name": "indirect_desc",
-            "type": "on/off"
-        },
-        {
-            "name": "vectors",
-            "type": "uint32"
-        },
-        {
-            "name": "ioeventfd",
-            "type": "on/off"
-        }
-    ],
-    "id": "libvirt-10"
-}
-
-{
-    "id": "libvirt-11",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'virtio-scsi-pci' not found"
-    }
-}
-
-{
-    "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": "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"
-    }
-}
-
-{
-    "return": [
-        {
-            "name": "full-path",
-            "type": "on/off"
-        },
-        {
-            "name": "port",
-            "type": "string"
-        },
-        {
-            "name": "pipeline",
-            "type": "on/off"
-        },
-        {
-            "name": "bootindex",
-            "type": "int32"
-        },
-        {
-            "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": [
-    ],
-    "id": "libvirt-26"
-}
-
-{
-    "return": [
-        {
-            "name": "MCFG",
-            "type": "uint64"
-        }
-    ],
-    "id": "libvirt-27"
-}
-
-{
-    "return": [
-        {
-            "name": "full-path",
-            "type": "on/off"
-        },
-        {
-            "name": "port",
-            "type": "string"
-        },
-        {
-            "name": "removable",
-            "type": "on/off"
-        },
-        {
-            "name": "serial",
-            "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-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"
-    }
-}
-
-{
-    "id": "libvirt-38",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'virtio-balloon-device' not found"
-    }
-}
-
-{
-    "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"
-        },
-        {
-            "name": "q35-next",
-            "alias": "q35"
-        },
-        {
-            "name": "xenfv"
-        },
-        {
-            "name": "isapc"
-        },
-        {
-            "name": "pc-0.10"
-        },
-        {
-            "name": "pc-0.11"
-        },
-        {
-            "name": "pc-0.12"
-        },
-        {
-            "name": "pc-0.13"
-        },
-        {
-            "name": "pc-0.14"
-        },
-        {
-            "name": "pc-0.15"
-        },
-        {
-            "name": "pc-1.0"
-        },
-        {
-            "name": "pc-1.1"
-        },
-        {
-            "name": "pc-1.2"
-        },
-        {
-            "name": "pc-1.3",
-            "is-default": true,
-            "alias": "pc"
-        },
-        {
-            "name": "none"
-        }
-    ],
-    "id": "libvirt-39"
-}
-
-{
-    "return": [
-        {
-            "name": "qemu64"
-        },
-        {
-            "name": "phenom"
-        },
-        {
-            "name": "core2duo"
-        },
-        {
-            "name": "kvm64"
-        },
-        {
-            "name": "qemu32"
-        },
-        {
-            "name": "kvm32"
-        },
-        {
-            "name": "coreduo"
-        },
-        {
-            "name": "486"
-        },
-        {
-            "name": "pentium"
-        },
-        {
-            "name": "pentium2"
-        },
-        {
-            "name": "pentium3"
-        },
-        {
-            "name": "athlon"
-        },
-        {
-            "name": "n270"
-        },
-        {
-            "name": "Conroe"
-        },
-        {
-            "name": "Penryn"
-        },
-        {
-            "name": "Nehalem"
-        },
-        {
-            "name": "Westmere"
-        },
-        {
-            "name": "SandyBridge"
-        },
-        {
-            "name": "Haswell"
-        },
-        {
-            "name": "Opteron_G1"
-        },
-        {
-            "name": "Opteron_G2"
-        },
-        {
-            "name": "Opteron_G3"
-        },
-        {
-            "name": "Opteron_G4"
-        },
-        {
-            "name": "Opteron_G5"
-        }
-    ],
-    "id": "libvirt-40"
-}
-
-{
-    "return": {
-        "enabled": false,
-        "present": true
-    },
-    "id": "libvirt-41"
-}
-
-{
-    "id": "libvirt-42",
-    "error": {
-        "class": "CommandNotFound",
-        "desc": "The command query-tpm-models has not been found"
-    }
-}
-
-{
-    "id": "libvirt-43",
-    "error": {
-        "class": "CommandNotFound",
-        "desc": "The command query-tpm-types has not been found"
-    }
-}
-
-{
-    "id": "libvirt-44",
-    "error": {
-        "class": "CommandNotFound",
-        "desc": "The command query-command-line-options has not been found"
-    }
-}
-
-{
-    "return": [
-        {
-            "capability": "xbzrle",
-            "state": false
-        }
-    ],
-    "id": "libvirt-45"
-}
diff --git a/tests/qemucapabilitiesdata/caps_1.3.1-1.x86_64.xml b/tests/qemucapabilitiesdata/caps_1.3.1-1.x86_64.xml
deleted file mode 100644 (file)
index 6f6a5b9..0000000
+++ /dev/null
@@ -1,179 +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='device'/>
-  <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='drive-readonly'/>
-  <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='rombar'/>
-  <flag name='ich9-ahci'/>
-  <flag name='no-acpi'/>
-  <flag name='fsdev-readonly'/>
-  <flag name='virtio-blk-pci.scsi'/>
-  <flag name='blk-sg-io'/>
-  <flag name='drive-copy-on-read'/>
-  <flag name='cpu-host'/>
-  <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='dump-guest-core'/>
-  <flag name='seamless-migration'/>
-  <flag name='block-commit'/>
-  <flag name='vnc'/>
-  <flag name='drive-mirror'/>
-  <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='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='scsi-generic'/>
-  <flag name='scsi-generic.bootindex'/>
-  <flag name='vnc-websocket'/>
-  <flag name='vnc-share-policy'/>
-  <flag name='dmi-to-pci-bridge'/>
-  <flag name='usb-storage'/>
-  <flag name='usb-storage.removable'/>
-  <flag name='kvm-pit-lost-tick-policy'/>
-  <flag name='usb-kbd'/>
-  <flag name='host-pci-multidomain'/>
-  <flag name='usb-audio'/>
-  <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>1003001</version>
-  <kvmVersion>0</kvmVersion>
-  <package></package>
-  <arch>x86_64</arch>
-  <cpu name='qemu64'/>
-  <cpu name='phenom'/>
-  <cpu name='core2duo'/>
-  <cpu name='kvm64'/>
-  <cpu name='qemu32'/>
-  <cpu name='kvm32'/>
-  <cpu name='coreduo'/>
-  <cpu name='486'/>
-  <cpu name='pentium'/>
-  <cpu name='pentium2'/>
-  <cpu name='pentium3'/>
-  <cpu name='athlon'/>
-  <cpu name='n270'/>
-  <cpu name='Conroe'/>
-  <cpu name='Penryn'/>
-  <cpu name='Nehalem'/>
-  <cpu name='Westmere'/>
-  <cpu name='SandyBridge'/>
-  <cpu name='Haswell'/>
-  <cpu name='Opteron_G1'/>
-  <cpu name='Opteron_G2'/>
-  <cpu name='Opteron_G3'/>
-  <cpu name='Opteron_G4'/>
-  <cpu name='Opteron_G5'/>
-  <machine name='pc-1.3' alias='pc' maxCpus='0'/>
-  <machine name='xenpv' maxCpus='0'/>
-  <machine name='q35-next' alias='q35' maxCpus='0'/>
-  <machine name='xenfv' maxCpus='0'/>
-  <machine name='isapc' maxCpus='0'/>
-  <machine name='pc-0.10' maxCpus='0'/>
-  <machine name='pc-0.11' maxCpus='0'/>
-  <machine name='pc-0.12' maxCpus='0'/>
-  <machine name='pc-0.13' maxCpus='0'/>
-  <machine name='pc-0.14' maxCpus='0'/>
-  <machine name='pc-0.15' maxCpus='0'/>
-  <machine name='pc-1.0' maxCpus='0'/>
-  <machine name='pc-1.1' maxCpus='0'/>
-  <machine name='pc-1.2' maxCpus='0'/>
-</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_1.3.1.x86_64.replies b/tests/qemucapabilitiesdata/caps_1.3.1.x86_64.replies
new file mode 100644 (file)
index 0000000..bf51952
--- /dev/null
@@ -0,0 +1,2066 @@
+{
+    "QMP": {
+        "version": {
+            "qemu": {
+                "micro": 1,
+                "minor": 3,
+                "major": 1
+            },
+            "package": ""
+        },
+        "capabilities": [
+        ]
+    }
+}
+
+{
+    "return": {
+    },
+    "id": "libvirt-1"
+}
+
+{
+    "return": {
+        "qemu": {
+            "micro": 1,
+            "minor": 3,
+            "major": 1
+        },
+        "package": ""
+    },
+    "id": "libvirt-2"
+}
+
+{
+    "return": {
+        "arch": "x86_64"
+    },
+    "id": "libvirt-3"
+}
+
+{
+    "return": [
+        {
+            "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-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-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": "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": "inject-nmi"
+        },
+        {
+            "name": "pmemsave"
+        },
+        {
+            "name": "memsave"
+        },
+        {
+            "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": "SPICE_MIGRATE_COMPLETED"
+        },
+        {
+            "name": "BALLOON_CHANGE"
+        },
+        {
+            "name": "WAKEUP"
+        },
+        {
+            "name": "SUSPEND_DISK"
+        },
+        {
+            "name": "SUSPEND"
+        },
+        {
+            "name": "DEVICE_TRAY_MOVED"
+        },
+        {
+            "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": "port92"
+        },
+        {
+            "name": "i6300esb"
+        },
+        {
+            "name": "apic"
+        },
+        {
+            "name": "virtio-balloon-pci"
+        },
+        {
+            "name": "virtio-scsi-pci"
+        },
+        {
+            "name": "ICH9 LPC"
+        },
+        {
+            "name": "usb-host"
+        },
+        {
+            "name": "usb-ehci"
+        },
+        {
+            "name": "ich9-ahci"
+        },
+        {
+            "name": "ich9-usb-ehci2"
+        },
+        {
+            "name": "ICH9 SMB"
+        },
+        {
+            "name": "isa-ide"
+        },
+        {
+            "name": "ich9-usb-ehci1"
+        },
+        {
+            "name": "virtio-net-pci"
+        },
+        {
+            "name": "vt82c686b-usb-uhci"
+        },
+        {
+            "name": "i82558b"
+        },
+        {
+            "name": "i82558a"
+        },
+        {
+            "name": "isa-fdc"
+        },
+        {
+            "name": "isabus-bridge"
+        },
+        {
+            "name": "i2c-bus"
+        },
+        {
+            "name": "piix3-ide"
+        },
+        {
+            "name": "ioapic"
+        },
+        {
+            "name": "pci-bridge"
+        },
+        {
+            "name": "HDA"
+        },
+        {
+            "name": "am53c974"
+        },
+        {
+            "name": "vmmouse"
+        },
+        {
+            "name": "sb16"
+        },
+        {
+            "name": "i82801b11-bridge"
+        },
+        {
+            "name": "xlnx,ps7-usb"
+        },
+        {
+            "name": "isa-cirrus-vga"
+        },
+        {
+            "name": "dc390"
+        },
+        {
+            "name": "vmware-svga"
+        },
+        {
+            "name": "smbus-eeprom"
+        },
+        {
+            "name": "i82801"
+        },
+        {
+            "name": "ccid-card-passthru"
+        },
+        {
+            "name": "piix4-usb-uhci"
+        },
+        {
+            "name": "fw_cfg"
+        },
+        {
+            "name": "x86_64-cpu"
+        },
+        {
+            "name": "piix3-usb-uhci"
+        },
+        {
+            "name": "ib700"
+        },
+        {
+            "name": "usb-audio"
+        },
+        {
+            "name": "i82557c"
+        },
+        {
+            "name": "i82557b"
+        },
+        {
+            "name": "i82557a"
+        },
+        {
+            "name": "qxl"
+        },
+        {
+            "name": "rtl8139"
+        },
+        {
+            "name": "hpet"
+        },
+        {
+            "name": "isa-applesmc"
+        },
+        {
+            "name": "xen-platform"
+        },
+        {
+            "name": "kvm-pci-assign"
+        },
+        {
+            "name": "container"
+        },
+        {
+            "name": "cfi.pflash01"
+        },
+        {
+            "name": "usb-kbd"
+        },
+        {
+            "name": "vfio-pci"
+        },
+        {
+            "name": "isa-vga"
+        },
+        {
+            "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": "mch"
+        },
+        {
+            "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": "megasas"
+        },
+        {
+            "name": "i8042"
+        },
+        {
+            "name": "intel-hda"
+        },
+        {
+            "name": "mc146818rtc"
+        },
+        {
+            "name": "hda-duplex"
+        },
+        {
+            "name": "virtio-serial-pci"
+        },
+        {
+            "name": "ne2k_pci"
+        },
+        {
+            "name": "ich9-usb-uhci6"
+        },
+        {
+            "name": "virtconsole"
+        },
+        {
+            "name": "ich9-usb-uhci3"
+        },
+        {
+            "name": "ich9-usb-uhci5"
+        },
+        {
+            "name": "ich9-usb-uhci4"
+        },
+        {
+            "name": "isa-parallel"
+        },
+        {
+            "name": "pci-serial"
+        },
+        {
+            "name": "ich9-usb-uhci2"
+        },
+        {
+            "name": "ich9-usb-uhci1"
+        },
+        {
+            "name": "PCI"
+        },
+        {
+            "name": "SUNW,fdtwo"
+        },
+        {
+            "name": "ide-cd"
+        },
+        {
+            "name": "isa-debugcon"
+        },
+        {
+            "name": "i82551"
+        },
+        {
+            "name": "i82550"
+        },
+        {
+            "name": "isa-serial"
+        },
+        {
+            "name": "kvm-ioapic"
+        },
+        {
+            "name": "q35-pcihost"
+        },
+        {
+            "name": "System"
+        },
+        {
+            "name": "kvm-apic"
+        },
+        {
+            "name": "usb-wacom-tablet"
+        },
+        {
+            "name": "PIIX4_PM"
+        },
+        {
+            "name": "kvm-i8259"
+        },
+        {
+            "name": "nec-usb-xhci"
+        },
+        {
+            "name": "scsi-cd"
+        },
+        {
+            "name": "i440FX"
+        },
+        {
+            "name": "usb-braille"
+        },
+        {
+            "name": "xen-apic"
+        },
+        {
+            "name": "pci-serial-2x"
+        },
+        {
+            "name": "virtserialport"
+        },
+        {
+            "name": "xio3130-downstream"
+        },
+        {
+            "name": "pci-ohci"
+        },
+        {
+            "name": "rng-random"
+        },
+        {
+            "name": "hda-micro"
+        },
+        {
+            "name": "scsi-disk"
+        },
+        {
+            "name": "lsi53c895a"
+        },
+        {
+            "name": "SCSI"
+        },
+        {
+            "name": "pcnet"
+        },
+        {
+            "name": "scsi-generic"
+        },
+        {
+            "name": "virtio-serial-bus"
+        },
+        {
+            "name": "usb-bus"
+        },
+        {
+            "name": "ne2k_isa"
+        },
+        {
+            "name": "IDE"
+        },
+        {
+            "name": "ccid-card-emulated"
+        },
+        {
+            "name": "i440FX-pcihost"
+        },
+        {
+            "name": "usb-hub"
+        },
+        {
+            "name": "usb-net"
+        },
+        {
+            "name": "usb-mouse"
+        },
+        {
+            "name": "ISA"
+        },
+        {
+            "name": "pc-sysfw"
+        },
+        {
+            "name": "usb-serial"
+        },
+        {
+            "name": "scsi-block"
+        },
+        {
+            "name": "sga"
+        },
+        {
+            "name": "PIIX3"
+        },
+        {
+            "name": "ioh3420"
+        },
+        {
+            "name": "ES1370"
+        },
+        {
+            "name": "isa-i8259"
+        },
+        {
+            "name": "isa-pcspk"
+        },
+        {
+            "name": "ide-hd"
+        },
+        {
+            "name": "rng-egd"
+        },
+        {
+            "name": "cirrus-vga"
+        },
+        {
+            "name": "virtio-9p-pci"
+        },
+        {
+            "name": "x3130-upstream"
+        },
+        {
+            "name": "ide-drive"
+        },
+        {
+            "name": "qxl-vga"
+        },
+        {
+            "name": "usb-uas"
+        },
+        {
+            "name": "kvm-pit"
+        },
+        {
+            "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": "isa-pit"
+        },
+        {
+            "name": "usb-storage"
+        },
+        {
+            "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": "config-wce",
+            "type": "on/off"
+        },
+        {
+            "name": "event_idx",
+            "type": "on/off"
+        },
+        {
+            "name": "indirect_desc",
+            "type": "on/off"
+        },
+        {
+            "name": "vectors",
+            "type": "uint32"
+        },
+        {
+            "name": "ioeventfd",
+            "type": "on/off"
+        },
+        {
+            "name": "config-wce",
+            "type": "on/off"
+        },
+        {
+            "name": "scsi",
+            "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": "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": "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": "event_idx",
+            "type": "on/off"
+        },
+        {
+            "name": "indirect_desc",
+            "type": "on/off"
+        },
+        {
+            "name": "vectors",
+            "type": "uint32"
+        },
+        {
+            "name": "ioeventfd",
+            "type": "on/off"
+        }
+    ],
+    "id": "libvirt-10"
+}
+
+{
+    "id": "libvirt-11",
+    "error": {
+        "class": "DeviceNotFound",
+        "desc": "Device 'virtio-scsi-pci' not found"
+    }
+}
+
+{
+    "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": "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"
+    }
+}
+
+{
+    "return": [
+        {
+            "name": "full-path",
+            "type": "on/off"
+        },
+        {
+            "name": "port",
+            "type": "string"
+        },
+        {
+            "name": "pipeline",
+            "type": "on/off"
+        },
+        {
+            "name": "bootindex",
+            "type": "int32"
+        },
+        {
+            "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": [
+    ],
+    "id": "libvirt-26"
+}
+
+{
+    "return": [
+        {
+            "name": "MCFG",
+            "type": "uint64"
+        }
+    ],
+    "id": "libvirt-27"
+}
+
+{
+    "return": [
+        {
+            "name": "full-path",
+            "type": "on/off"
+        },
+        {
+            "name": "port",
+            "type": "string"
+        },
+        {
+            "name": "removable",
+            "type": "on/off"
+        },
+        {
+            "name": "serial",
+            "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-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"
+    }
+}
+
+{
+    "id": "libvirt-38",
+    "error": {
+        "class": "DeviceNotFound",
+        "desc": "Device 'virtio-balloon-device' not found"
+    }
+}
+
+{
+    "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"
+        },
+        {
+            "name": "q35-next",
+            "alias": "q35"
+        },
+        {
+            "name": "xenfv"
+        },
+        {
+            "name": "isapc"
+        },
+        {
+            "name": "pc-0.10"
+        },
+        {
+            "name": "pc-0.11"
+        },
+        {
+            "name": "pc-0.12"
+        },
+        {
+            "name": "pc-0.13"
+        },
+        {
+            "name": "pc-0.14"
+        },
+        {
+            "name": "pc-0.15"
+        },
+        {
+            "name": "pc-1.0"
+        },
+        {
+            "name": "pc-1.1"
+        },
+        {
+            "name": "pc-1.2"
+        },
+        {
+            "name": "pc-1.3",
+            "is-default": true,
+            "alias": "pc"
+        },
+        {
+            "name": "none"
+        }
+    ],
+    "id": "libvirt-39"
+}
+
+{
+    "return": [
+        {
+            "name": "qemu64"
+        },
+        {
+            "name": "phenom"
+        },
+        {
+            "name": "core2duo"
+        },
+        {
+            "name": "kvm64"
+        },
+        {
+            "name": "qemu32"
+        },
+        {
+            "name": "kvm32"
+        },
+        {
+            "name": "coreduo"
+        },
+        {
+            "name": "486"
+        },
+        {
+            "name": "pentium"
+        },
+        {
+            "name": "pentium2"
+        },
+        {
+            "name": "pentium3"
+        },
+        {
+            "name": "athlon"
+        },
+        {
+            "name": "n270"
+        },
+        {
+            "name": "Conroe"
+        },
+        {
+            "name": "Penryn"
+        },
+        {
+            "name": "Nehalem"
+        },
+        {
+            "name": "Westmere"
+        },
+        {
+            "name": "SandyBridge"
+        },
+        {
+            "name": "Haswell"
+        },
+        {
+            "name": "Opteron_G1"
+        },
+        {
+            "name": "Opteron_G2"
+        },
+        {
+            "name": "Opteron_G3"
+        },
+        {
+            "name": "Opteron_G4"
+        },
+        {
+            "name": "Opteron_G5"
+        }
+    ],
+    "id": "libvirt-40"
+}
+
+{
+    "return": {
+        "enabled": false,
+        "present": true
+    },
+    "id": "libvirt-41"
+}
+
+{
+    "id": "libvirt-42",
+    "error": {
+        "class": "CommandNotFound",
+        "desc": "The command query-tpm-models has not been found"
+    }
+}
+
+{
+    "id": "libvirt-43",
+    "error": {
+        "class": "CommandNotFound",
+        "desc": "The command query-tpm-types has not been found"
+    }
+}
+
+{
+    "id": "libvirt-44",
+    "error": {
+        "class": "CommandNotFound",
+        "desc": "The command query-command-line-options has not been found"
+    }
+}
+
+{
+    "return": [
+        {
+            "capability": "xbzrle",
+            "state": false
+        }
+    ],
+    "id": "libvirt-45"
+}
diff --git a/tests/qemucapabilitiesdata/caps_1.3.1.x86_64.xml b/tests/qemucapabilitiesdata/caps_1.3.1.x86_64.xml
new file mode 100644 (file)
index 0000000..6f6a5b9
--- /dev/null
@@ -0,0 +1,179 @@
+<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='device'/>
+  <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='drive-readonly'/>
+  <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='rombar'/>
+  <flag name='ich9-ahci'/>
+  <flag name='no-acpi'/>
+  <flag name='fsdev-readonly'/>
+  <flag name='virtio-blk-pci.scsi'/>
+  <flag name='blk-sg-io'/>
+  <flag name='drive-copy-on-read'/>
+  <flag name='cpu-host'/>
+  <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='dump-guest-core'/>
+  <flag name='seamless-migration'/>
+  <flag name='block-commit'/>
+  <flag name='vnc'/>
+  <flag name='drive-mirror'/>
+  <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='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='scsi-generic'/>
+  <flag name='scsi-generic.bootindex'/>
+  <flag name='vnc-websocket'/>
+  <flag name='vnc-share-policy'/>
+  <flag name='dmi-to-pci-bridge'/>
+  <flag name='usb-storage'/>
+  <flag name='usb-storage.removable'/>
+  <flag name='kvm-pit-lost-tick-policy'/>
+  <flag name='usb-kbd'/>
+  <flag name='host-pci-multidomain'/>
+  <flag name='usb-audio'/>
+  <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>1003001</version>
+  <kvmVersion>0</kvmVersion>
+  <package></package>
+  <arch>x86_64</arch>
+  <cpu name='qemu64'/>
+  <cpu name='phenom'/>
+  <cpu name='core2duo'/>
+  <cpu name='kvm64'/>
+  <cpu name='qemu32'/>
+  <cpu name='kvm32'/>
+  <cpu name='coreduo'/>
+  <cpu name='486'/>
+  <cpu name='pentium'/>
+  <cpu name='pentium2'/>
+  <cpu name='pentium3'/>
+  <cpu name='athlon'/>
+  <cpu name='n270'/>
+  <cpu name='Conroe'/>
+  <cpu name='Penryn'/>
+  <cpu name='Nehalem'/>
+  <cpu name='Westmere'/>
+  <cpu name='SandyBridge'/>
+  <cpu name='Haswell'/>
+  <cpu name='Opteron_G1'/>
+  <cpu name='Opteron_G2'/>
+  <cpu name='Opteron_G3'/>
+  <cpu name='Opteron_G4'/>
+  <cpu name='Opteron_G5'/>
+  <machine name='pc-1.3' alias='pc' maxCpus='0'/>
+  <machine name='xenpv' maxCpus='0'/>
+  <machine name='q35-next' alias='q35' maxCpus='0'/>
+  <machine name='xenfv' maxCpus='0'/>
+  <machine name='isapc' maxCpus='0'/>
+  <machine name='pc-0.10' maxCpus='0'/>
+  <machine name='pc-0.11' maxCpus='0'/>
+  <machine name='pc-0.12' maxCpus='0'/>
+  <machine name='pc-0.13' maxCpus='0'/>
+  <machine name='pc-0.14' maxCpus='0'/>
+  <machine name='pc-0.15' maxCpus='0'/>
+  <machine name='pc-1.0' maxCpus='0'/>
+  <machine name='pc-1.1' maxCpus='0'/>
+  <machine name='pc-1.2' maxCpus='0'/>
+</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_1.4.2-1.x86_64.replies b/tests/qemucapabilitiesdata/caps_1.4.2-1.x86_64.replies
deleted file mode 100644 (file)
index ed6dfb1..0000000
+++ /dev/null
@@ -1,2123 +0,0 @@
-{
-    "QMP": {
-        "version": {
-            "qemu": {
-                "micro": 2,
-                "minor": 4,
-                "major": 1
-            },
-            "package": ""
-        },
-        "capabilities": [
-        ]
-    }
-}
-
-{
-    "return": {
-    },
-    "id": "libvirt-1"
-}
-
-{
-    "return": {
-        "qemu": {
-            "micro": 2,
-            "minor": 4,
-            "major": 1
-        },
-        "package": ""
-    },
-    "id": "libvirt-2"
-}
-
-{
-    "return": {
-        "arch": "x86_64"
-    },
-    "id": "libvirt-3"
-}
-
-{
-    "return": [
-        {
-            "name": "chardev-remove"
-        },
-        {
-            "name": "chardev-add"
-        },
-        {
-            "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-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-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": "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"
-        },
-        {
-            "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": "SPICE_MIGRATE_COMPLETED"
-        },
-        {
-            "name": "BALLOON_CHANGE"
-        },
-        {
-            "name": "WAKEUP"
-        },
-        {
-            "name": "SUSPEND_DISK"
-        },
-        {
-            "name": "SUSPEND"
-        },
-        {
-            "name": "DEVICE_TRAY_MOVED"
-        },
-        {
-            "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": "port92"
-        },
-        {
-            "name": "ICH9 LPC"
-        },
-        {
-            "name": "pc-testdev"
-        },
-        {
-            "name": "apic"
-        },
-        {
-            "name": "i6300esb"
-        },
-        {
-            "name": "virtio-scsi-pci"
-        },
-        {
-            "name": "exynos4210-ehci-usb"
-        },
-        {
-            "name": "virtio-balloon-pci"
-        },
-        {
-            "name": "usb-host"
-        },
-        {
-            "name": "ich9-usb-ehci2"
-        },
-        {
-            "name": "usb-ehci"
-        },
-        {
-            "name": "ich9-ahci"
-        },
-        {
-            "name": "ICH9 SMB"
-        },
-        {
-            "name": "isa-ide"
-        },
-        {
-            "name": "ich9-usb-ehci1"
-        },
-        {
-            "name": "virtio-net-pci"
-        },
-        {
-            "name": "vt82c686b-usb-uhci"
-        },
-        {
-            "name": "i82558b"
-        },
-        {
-            "name": "i82558a"
-        },
-        {
-            "name": "isa-fdc"
-        },
-        {
-            "name": "isabus-bridge"
-        },
-        {
-            "name": "i2c-bus"
-        },
-        {
-            "name": "piix3-ide"
-        },
-        {
-            "name": "ioapic"
-        },
-        {
-            "name": "pci-bridge"
-        },
-        {
-            "name": "HDA"
-        },
-        {
-            "name": "am53c974"
-        },
-        {
-            "name": "xlnx,ps7-usb"
-        },
-        {
-            "name": "vmmouse"
-        },
-        {
-            "name": "sb16"
-        },
-        {
-            "name": "i82801b11-bridge"
-        },
-        {
-            "name": "vmware-svga"
-        },
-        {
-            "name": "isa-cirrus-vga"
-        },
-        {
-            "name": "dc390"
-        },
-        {
-            "name": "piix4-usb-uhci"
-        },
-        {
-            "name": "smbus-eeprom"
-        },
-        {
-            "name": "i82801"
-        },
-        {
-            "name": "ccid-card-passthru"
-        },
-        {
-            "name": "fw_cfg"
-        },
-        {
-            "name": "x86_64-cpu"
-        },
-        {
-            "name": "piix3-usb-uhci"
-        },
-        {
-            "name": "ib700"
-        },
-        {
-            "name": "usb-audio"
-        },
-        {
-            "name": "i82557c"
-        },
-        {
-            "name": "i82557b"
-        },
-        {
-            "name": "i82557a"
-        },
-        {
-            "name": "IndustryPack"
-        },
-        {
-            "name": "qxl"
-        },
-        {
-            "name": "rtl8139"
-        },
-        {
-            "name": "hpet"
-        },
-        {
-            "name": "isa-applesmc"
-        },
-        {
-            "name": "xen-platform"
-        },
-        {
-            "name": "kvm-pci-assign"
-        },
-        {
-            "name": "container"
-        },
-        {
-            "name": "cfi.pflash01"
-        },
-        {
-            "name": "usb-kbd"
-        },
-        {
-            "name": "vfio-pci"
-        },
-        {
-            "name": "isa-vga"
-        },
-        {
-            "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": "ipoctal232"
-        },
-        {
-            "name": "mch"
-        },
-        {
-            "name": "ivshmem"
-        },
-        {
-            "name": "usb-ccid"
-        },
-        {
-            "name": "sysbus-ahci"
-        },
-        {
-            "name": "kvmclock"
-        },
-        {
-            "name": "mc146818rtc"
-        },
-        {
-            "name": "i82562"
-        },
-        {
-            "name": "hda-output"
-        },
-        {
-            "name": "pci-serial-4x"
-        },
-        {
-            "name": "ccid-bus"
-        },
-        {
-            "name": "i82559er"
-        },
-        {
-            "name": "megasas"
-        },
-        {
-            "name": "i8042"
-        },
-        {
-            "name": "intel-hda"
-        },
-        {
-            "name": "hda-duplex"
-        },
-        {
-            "name": "virtio-serial-pci"
-        },
-        {
-            "name": "ne2k_pci"
-        },
-        {
-            "name": "ich9-usb-uhci6"
-        },
-        {
-            "name": "virtconsole"
-        },
-        {
-            "name": "ich9-usb-uhci3"
-        },
-        {
-            "name": "ich9-usb-uhci5"
-        },
-        {
-            "name": "ich9-usb-uhci4"
-        },
-        {
-            "name": "isa-parallel"
-        },
-        {
-            "name": "pci-serial"
-        },
-        {
-            "name": "ich9-usb-uhci2"
-        },
-        {
-            "name": "ich9-usb-uhci1"
-        },
-        {
-            "name": "PCI"
-        },
-        {
-            "name": "SUNW,fdtwo"
-        },
-        {
-            "name": "ide-cd"
-        },
-        {
-            "name": "isa-debugcon"
-        },
-        {
-            "name": "i82551"
-        },
-        {
-            "name": "i82550"
-        },
-        {
-            "name": "usb-bot"
-        },
-        {
-            "name": "isa-serial"
-        },
-        {
-            "name": "kvm-ioapic"
-        },
-        {
-            "name": "q35-pcihost"
-        },
-        {
-            "name": "System"
-        },
-        {
-            "name": "ich9-intel-hda"
-        },
-        {
-            "name": "kvm-apic"
-        },
-        {
-            "name": "usb-wacom-tablet"
-        },
-        {
-            "name": "PIIX4_PM"
-        },
-        {
-            "name": "kvm-i8259"
-        },
-        {
-            "name": "nec-usb-xhci"
-        },
-        {
-            "name": "scsi-cd"
-        },
-        {
-            "name": "xen-apic"
-        },
-        {
-            "name": "i440FX"
-        },
-        {
-            "name": "usb-braille"
-        },
-        {
-            "name": "pci-serial-2x"
-        },
-        {
-            "name": "virtserialport"
-        },
-        {
-            "name": "xio3130-downstream"
-        },
-        {
-            "name": "pci-ohci"
-        },
-        {
-            "name": "rng-random"
-        },
-        {
-            "name": "hda-micro"
-        },
-        {
-            "name": "scsi-disk"
-        },
-        {
-            "name": "lsi53c895a"
-        },
-        {
-            "name": "SCSI"
-        },
-        {
-            "name": "pcnet"
-        },
-        {
-            "name": "scsi-generic"
-        },
-        {
-            "name": "virtio-serial-bus"
-        },
-        {
-            "name": "usb-bus"
-        },
-        {
-            "name": "ne2k_isa"
-        },
-        {
-            "name": "IDE"
-        },
-        {
-            "name": "ccid-card-emulated"
-        },
-        {
-            "name": "i440FX-pcihost"
-        },
-        {
-            "name": "usb-hub"
-        },
-        {
-            "name": "usb-net"
-        },
-        {
-            "name": "usb-mouse"
-        },
-        {
-            "name": "ISA"
-        },
-        {
-            "name": "pc-sysfw"
-        },
-        {
-            "name": "usb-serial"
-        },
-        {
-            "name": "scsi-block"
-        },
-        {
-            "name": "sga"
-        },
-        {
-            "name": "isa-debug-exit"
-        },
-        {
-            "name": "PIIX3"
-        },
-        {
-            "name": "ioh3420"
-        },
-        {
-            "name": "ES1370"
-        },
-        {
-            "name": "isa-i8259"
-        },
-        {
-            "name": "isa-pcspk"
-        },
-        {
-            "name": "ide-hd"
-        },
-        {
-            "name": "rng-egd"
-        },
-        {
-            "name": "cirrus-vga"
-        },
-        {
-            "name": "virtio-9p-pci"
-        },
-        {
-            "name": "x3130-upstream"
-        },
-        {
-            "name": "ide-drive"
-        },
-        {
-            "name": "virtio-pci-bus"
-        },
-        {
-            "name": "qxl-vga"
-        },
-        {
-            "name": "kvm-pit"
-        },
-        {
-            "name": "virtio-blk-pci"
-        },
-        {
-            "name": "sysbus-ohci"
-        },
-        {
-            "name": "esp"
-        },
-        {
-            "name": "i82559c"
-        },
-        {
-            "name": "piix3-ide-xen"
-        },
-        {
-            "name": "i82559b"
-        },
-        {
-            "name": "i82559a"
-        },
-        {
-            "name": "usb-uas"
-        },
-        {
-            "name": "scsi-hd"
-        },
-        {
-            "name": "PIIX3-xen"
-        },
-        {
-            "name": "tpci200"
-        },
-        {
-            "name": "isa-pit"
-        },
-        {
-            "name": "usb-storage"
-        },
-        {
-            "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": "event_idx",
-            "type": "on/off"
-        },
-        {
-            "name": "indirect_desc",
-            "type": "on/off"
-        },
-        {
-            "name": "vectors",
-            "type": "uint32"
-        },
-        {
-            "name": "x-data-plane",
-            "type": "on/off"
-        },
-        {
-            "name": "ioeventfd",
-            "type": "on/off"
-        },
-        {
-            "name": "config-wce",
-            "type": "on/off"
-        },
-        {
-            "name": "scsi",
-            "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": "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_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": "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": "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"
-    }
-}
-
-{
-    "return": [
-        {
-            "name": "full-path",
-            "type": "on/off"
-        },
-        {
-            "name": "port",
-            "type": "string"
-        },
-        {
-            "name": "pipeline",
-            "type": "on/off"
-        },
-        {
-            "name": "bootindex",
-            "type": "int32"
-        },
-        {
-            "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": [
-    ],
-    "id": "libvirt-26"
-}
-
-{
-    "return": [
-        {
-            "name": "MCFG",
-            "type": "uint64"
-        }
-    ],
-    "id": "libvirt-27"
-}
-
-{
-    "return": [
-        {
-            "name": "full-path",
-            "type": "on/off"
-        },
-        {
-            "name": "port",
-            "type": "string"
-        },
-        {
-            "name": "removable",
-            "type": "on/off"
-        },
-        {
-            "name": "serial",
-            "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-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"
-    }
-}
-
-{
-    "id": "libvirt-38",
-    "error": {
-        "class": "DeviceNotFound",
-        "desc": "Device 'virtio-balloon-device' not found"
-    }
-}
-
-{
-    "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"
-        },
-        {
-            "name": "pc-q35-1.4",
-            "alias": "q35"
-        },
-        {
-            "name": "xenfv"
-        },
-        {
-            "name": "isapc"
-        },
-        {
-            "name": "pc-0.10"
-        },
-        {
-            "name": "pc-0.11"
-        },
-        {
-            "name": "pc-0.12"
-        },
-        {
-            "name": "pc-0.13"
-        },
-        {
-            "name": "pc-0.14"
-        },
-        {
-            "name": "pc-0.15"
-        },
-        {
-            "name": "pc-1.0"
-        },
-        {
-            "name": "pc-1.1"
-        },
-        {
-            "name": "pc-1.2"
-        },
-        {
-            "name": "pc-1.3"
-        },
-        {
-            "name": "pc-i440fx-1.4",
-            "is-default": true,
-            "alias": "pc"
-        },
-        {
-            "name": "none"
-        }
-    ],
-    "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"
-}
-
-{
-    "id": "libvirt-42",
-    "error": {
-        "class": "CommandNotFound",
-        "desc": "The command query-tpm-models has not been found"
-    }
-}
-
-{
-    "id": "libvirt-43",
-    "error": {
-        "class": "CommandNotFound",
-        "desc": "The command query-tpm-types has not been found"
-    }
-}
-
-{
-    "id": "libvirt-44",
-    "error": {
-        "class": "CommandNotFound",
-        "desc": "The command query-command-line-options has not been found"
-    }
-}
-
-{
-    "return": [
-        {
-            "capability": "xbzrle",
-            "state": false
-        }
-    ],
-    "id": "libvirt-45"
-}
diff --git a/tests/qemucapabilitiesdata/caps_1.4.2-1.x86_64.xml b/tests/qemucapabilitiesdata/caps_1.4.2-1.x86_64.xml
deleted file mode 100644 (file)
index 18550e2..0000000
+++ /dev/null
@@ -1,181 +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='device'/>
-  <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='drive-readonly'/>
-  <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='rombar'/>
-  <flag name='ich9-ahci'/>
-  <flag name='no-acpi'/>
-  <flag name='fsdev-readonly'/>
-  <flag name='virtio-blk-pci.scsi'/>
-  <flag name='blk-sg-io'/>
-  <flag name='drive-copy-on-read'/>
-  <flag name='cpu-host'/>
-  <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='dump-guest-core'/>
-  <flag name='seamless-migration'/>
-  <flag name='block-commit'/>
-  <flag name='vnc'/>
-  <flag name='drive-mirror'/>
-  <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='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='scsi-generic'/>
-  <flag name='scsi-generic.bootindex'/>
-  <flag name='vnc-websocket'/>
-  <flag name='vnc-share-policy'/>
-  <flag name='dmi-to-pci-bridge'/>
-  <flag name='usb-storage'/>
-  <flag name='usb-storage.removable'/>
-  <flag name='ich9-intel-hda'/>
-  <flag name='kvm-pit-lost-tick-policy'/>
-  <flag name='usb-kbd'/>
-  <flag name='host-pci-multidomain'/>
-  <flag name='usb-audio'/>
-  <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>1004002</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.4' alias='pc' maxCpus='0'/>
-  <machine name='xenpv' maxCpus='0'/>
-  <machine name='pc-q35-1.4' alias='q35' maxCpus='0'/>
-  <machine name='xenfv' maxCpus='0'/>
-  <machine name='isapc' maxCpus='0'/>
-  <machine name='pc-0.10' maxCpus='0'/>
-  <machine name='pc-0.11' maxCpus='0'/>
-  <machine name='pc-0.12' maxCpus='0'/>
-  <machine name='pc-0.13' maxCpus='0'/>
-  <machine name='pc-0.14' maxCpus='0'/>
-  <machine name='pc-0.15' maxCpus='0'/>
-  <machine name='pc-1.0' maxCpus='0'/>
-  <machine name='pc-1.1' maxCpus='0'/>
-  <machine name='pc-1.2' maxCpus='0'/>
-  <machine name='pc-1.3' maxCpus='0'/>
-</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_1.4.2.x86_64.replies b/tests/qemucapabilitiesdata/caps_1.4.2.x86_64.replies
new file mode 100644 (file)
index 0000000..ed6dfb1
--- /dev/null
@@ -0,0 +1,2123 @@
+{
+    "QMP": {
+        "version": {
+            "qemu": {
+                "micro": 2,
+                "minor": 4,
+                "major": 1
+            },
+            "package": ""
+        },
+        "capabilities": [
+        ]
+    }
+}
+
+{
+    "return": {
+    },
+    "id": "libvirt-1"
+}
+
+{
+    "return": {
+        "qemu": {
+            "micro": 2,
+            "minor": 4,
+            "major": 1
+        },
+        "package": ""
+    },
+    "id": "libvirt-2"
+}
+
+{
+    "return": {
+        "arch": "x86_64"
+    },
+    "id": "libvirt-3"
+}
+
+{
+    "return": [
+        {
+            "name": "chardev-remove"
+        },
+        {
+            "name": "chardev-add"
+        },
+        {
+            "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-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-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": "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"
+        },
+        {
+            "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": "SPICE_MIGRATE_COMPLETED"
+        },
+        {
+            "name": "BALLOON_CHANGE"
+        },
+        {
+            "name": "WAKEUP"
+        },
+        {
+            "name": "SUSPEND_DISK"
+        },
+        {
+            "name": "SUSPEND"
+        },
+        {
+            "name": "DEVICE_TRAY_MOVED"
+        },
+        {
+            "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": "port92"
+        },
+        {
+            "name": "ICH9 LPC"
+        },
+        {
+            "name": "pc-testdev"
+        },
+        {
+            "name": "apic"
+        },
+        {
+            "name": "i6300esb"
+        },
+        {
+            "name": "virtio-scsi-pci"
+        },
+        {
+            "name": "exynos4210-ehci-usb"
+        },
+        {
+            "name": "virtio-balloon-pci"
+        },
+        {
+            "name": "usb-host"
+        },
+        {
+            "name": "ich9-usb-ehci2"
+        },
+        {
+            "name": "usb-ehci"
+        },
+        {
+            "name": "ich9-ahci"
+        },
+        {
+            "name": "ICH9 SMB"
+        },
+        {
+            "name": "isa-ide"
+        },
+        {
+            "name": "ich9-usb-ehci1"
+        },
+        {
+            "name": "virtio-net-pci"
+        },
+        {
+            "name": "vt82c686b-usb-uhci"
+        },
+        {
+            "name": "i82558b"
+        },
+        {
+            "name": "i82558a"
+        },
+        {
+            "name": "isa-fdc"
+        },
+        {
+            "name": "isabus-bridge"
+        },
+        {
+            "name": "i2c-bus"
+        },
+        {
+            "name": "piix3-ide"
+        },
+        {
+            "name": "ioapic"
+        },
+        {
+            "name": "pci-bridge"
+        },
+        {
+            "name": "HDA"
+        },
+        {
+            "name": "am53c974"
+        },
+        {
+            "name": "xlnx,ps7-usb"
+        },
+        {
+            "name": "vmmouse"
+        },
+        {
+            "name": "sb16"
+        },
+        {
+            "name": "i82801b11-bridge"
+        },
+        {
+            "name": "vmware-svga"
+        },
+        {
+            "name": "isa-cirrus-vga"
+        },
+        {
+            "name": "dc390"
+        },
+        {
+            "name": "piix4-usb-uhci"
+        },
+        {
+            "name": "smbus-eeprom"
+        },
+        {
+            "name": "i82801"
+        },
+        {
+            "name": "ccid-card-passthru"
+        },
+        {
+            "name": "fw_cfg"
+        },
+        {
+            "name": "x86_64-cpu"
+        },
+        {
+            "name": "piix3-usb-uhci"
+        },
+        {
+            "name": "ib700"
+        },
+        {
+            "name": "usb-audio"
+        },
+        {
+            "name": "i82557c"
+        },
+        {
+            "name": "i82557b"
+        },
+        {
+            "name": "i82557a"
+        },
+        {
+            "name": "IndustryPack"
+        },
+        {
+            "name": "qxl"
+        },
+        {
+            "name": "rtl8139"
+        },
+        {
+            "name": "hpet"
+        },
+        {
+            "name": "isa-applesmc"
+        },
+        {
+            "name": "xen-platform"
+        },
+        {
+            "name": "kvm-pci-assign"
+        },
+        {
+            "name": "container"
+        },
+        {
+            "name": "cfi.pflash01"
+        },
+        {
+            "name": "usb-kbd"
+        },
+        {
+            "name": "vfio-pci"
+        },
+        {
+            "name": "isa-vga"
+        },
+        {
+            "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": "ipoctal232"
+        },
+        {
+            "name": "mch"
+        },
+        {
+            "name": "ivshmem"
+        },
+        {
+            "name": "usb-ccid"
+        },
+        {
+            "name": "sysbus-ahci"
+        },
+        {
+            "name": "kvmclock"
+        },
+        {
+            "name": "mc146818rtc"
+        },
+        {
+            "name": "i82562"
+        },
+        {
+            "name": "hda-output"
+        },
+        {
+            "name": "pci-serial-4x"
+        },
+        {
+            "name": "ccid-bus"
+        },
+        {
+            "name": "i82559er"
+        },
+        {
+            "name": "megasas"
+        },
+        {
+            "name": "i8042"
+        },
+        {
+            "name": "intel-hda"
+        },
+        {
+            "name": "hda-duplex"
+        },
+        {
+            "name": "virtio-serial-pci"
+        },
+        {
+            "name": "ne2k_pci"
+        },
+        {
+            "name": "ich9-usb-uhci6"
+        },
+        {
+            "name": "virtconsole"
+        },
+        {
+            "name": "ich9-usb-uhci3"
+        },
+        {
+            "name": "ich9-usb-uhci5"
+        },
+        {
+            "name": "ich9-usb-uhci4"
+        },
+        {
+            "name": "isa-parallel"
+        },
+        {
+            "name": "pci-serial"
+        },
+        {
+            "name": "ich9-usb-uhci2"
+        },
+        {
+            "name": "ich9-usb-uhci1"
+        },
+        {
+            "name": "PCI"
+        },
+        {
+            "name": "SUNW,fdtwo"
+        },
+        {
+            "name": "ide-cd"
+        },
+        {
+            "name": "isa-debugcon"
+        },
+        {
+            "name": "i82551"
+        },
+        {
+            "name": "i82550"
+        },
+        {
+            "name": "usb-bot"
+        },
+        {
+            "name": "isa-serial"
+        },
+        {
+            "name": "kvm-ioapic"
+        },
+        {
+            "name": "q35-pcihost"
+        },
+        {
+            "name": "System"
+        },
+        {
+            "name": "ich9-intel-hda"
+        },
+        {
+            "name": "kvm-apic"
+        },
+        {
+            "name": "usb-wacom-tablet"
+        },
+        {
+            "name": "PIIX4_PM"
+        },
+        {
+            "name": "kvm-i8259"
+        },
+        {
+            "name": "nec-usb-xhci"
+        },
+        {
+            "name": "scsi-cd"
+        },
+        {
+            "name": "xen-apic"
+        },
+        {
+            "name": "i440FX"
+        },
+        {
+            "name": "usb-braille"
+        },
+        {
+            "name": "pci-serial-2x"
+        },
+        {
+            "name": "virtserialport"
+        },
+        {
+            "name": "xio3130-downstream"
+        },
+        {
+            "name": "pci-ohci"
+        },
+        {
+            "name": "rng-random"
+        },
+        {
+            "name": "hda-micro"
+        },
+        {
+            "name": "scsi-disk"
+        },
+        {
+            "name": "lsi53c895a"
+        },
+        {
+            "name": "SCSI"
+        },
+        {
+            "name": "pcnet"
+        },
+        {
+            "name": "scsi-generic"
+        },
+        {
+            "name": "virtio-serial-bus"
+        },
+        {
+            "name": "usb-bus"
+        },
+        {
+            "name": "ne2k_isa"
+        },
+        {
+            "name": "IDE"
+        },
+        {
+            "name": "ccid-card-emulated"
+        },
+        {
+            "name": "i440FX-pcihost"
+        },
+        {
+            "name": "usb-hub"
+        },
+        {
+            "name": "usb-net"
+        },
+        {
+            "name": "usb-mouse"
+        },
+        {
+            "name": "ISA"
+        },
+        {
+            "name": "pc-sysfw"
+        },
+        {
+            "name": "usb-serial"
+        },
+        {
+            "name": "scsi-block"
+        },
+        {
+            "name": "sga"
+        },
+        {
+            "name": "isa-debug-exit"
+        },
+        {
+            "name": "PIIX3"
+        },
+        {
+            "name": "ioh3420"
+        },
+        {
+            "name": "ES1370"
+        },
+        {
+            "name": "isa-i8259"
+        },
+        {
+            "name": "isa-pcspk"
+        },
+        {
+            "name": "ide-hd"
+        },
+        {
+            "name": "rng-egd"
+        },
+        {
+            "name": "cirrus-vga"
+        },
+        {
+            "name": "virtio-9p-pci"
+        },
+        {
+            "name": "x3130-upstream"
+        },
+        {
+            "name": "ide-drive"
+        },
+        {
+            "name": "virtio-pci-bus"
+        },
+        {
+            "name": "qxl-vga"
+        },
+        {
+            "name": "kvm-pit"
+        },
+        {
+            "name": "virtio-blk-pci"
+        },
+        {
+            "name": "sysbus-ohci"
+        },
+        {
+            "name": "esp"
+        },
+        {
+            "name": "i82559c"
+        },
+        {
+            "name": "piix3-ide-xen"
+        },
+        {
+            "name": "i82559b"
+        },
+        {
+            "name": "i82559a"
+        },
+        {
+            "name": "usb-uas"
+        },
+        {
+            "name": "scsi-hd"
+        },
+        {
+            "name": "PIIX3-xen"
+        },
+        {
+            "name": "tpci200"
+        },
+        {
+            "name": "isa-pit"
+        },
+        {
+            "name": "usb-storage"
+        },
+        {
+            "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": "event_idx",
+            "type": "on/off"
+        },
+        {
+            "name": "indirect_desc",
+            "type": "on/off"
+        },
+        {
+            "name": "vectors",
+            "type": "uint32"
+        },
+        {
+            "name": "x-data-plane",
+            "type": "on/off"
+        },
+        {
+            "name": "ioeventfd",
+            "type": "on/off"
+        },
+        {
+            "name": "config-wce",
+            "type": "on/off"
+        },
+        {
+            "name": "scsi",
+            "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": "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_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": "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": "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"
+    }
+}
+
+{
+    "return": [
+        {
+            "name": "full-path",
+            "type": "on/off"
+        },
+        {
+            "name": "port",
+            "type": "string"
+        },
+        {
+            "name": "pipeline",
+            "type": "on/off"
+        },
+        {
+            "name": "bootindex",
+            "type": "int32"
+        },
+        {
+            "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": [
+    ],
+    "id": "libvirt-26"
+}
+
+{
+    "return": [
+        {
+            "name": "MCFG",
+            "type": "uint64"
+        }
+    ],
+    "id": "libvirt-27"
+}
+
+{
+    "return": [
+        {
+            "name": "full-path",
+            "type": "on/off"
+        },
+        {
+            "name": "port",
+            "type": "string"
+        },
+        {
+            "name": "removable",
+            "type": "on/off"
+        },
+        {
+            "name": "serial",
+            "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-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"
+    }
+}
+
+{
+    "id": "libvirt-38",
+    "error": {
+        "class": "DeviceNotFound",
+        "desc": "Device 'virtio-balloon-device' not found"
+    }
+}
+
+{
+    "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"
+        },
+        {
+            "name": "pc-q35-1.4",
+            "alias": "q35"
+        },
+        {
+            "name": "xenfv"
+        },
+        {
+            "name": "isapc"
+        },
+        {
+            "name": "pc-0.10"
+        },
+        {
+            "name": "pc-0.11"
+        },
+        {
+            "name": "pc-0.12"
+        },
+        {
+            "name": "pc-0.13"
+        },
+        {
+            "name": "pc-0.14"
+        },
+        {
+            "name": "pc-0.15"
+        },
+        {
+            "name": "pc-1.0"
+        },
+        {
+            "name": "pc-1.1"
+        },
+        {
+            "name": "pc-1.2"
+        },
+        {
+            "name": "pc-1.3"
+        },
+        {
+            "name": "pc-i440fx-1.4",
+            "is-default": true,
+            "alias": "pc"
+        },
+        {
+            "name": "none"
+        }
+    ],
+    "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"
+}
+
+{
+    "id": "libvirt-42",
+    "error": {
+        "class": "CommandNotFound",
+        "desc": "The command query-tpm-models has not been found"
+    }
+}
+
+{
+    "id": "libvirt-43",
+    "error": {
+        "class": "CommandNotFound",
+        "desc": "The command query-tpm-types has not been found"
+    }
+}
+
+{
+    "id": "libvirt-44",
+    "error": {
+        "class": "CommandNotFound",
+        "desc": "The command query-command-line-options has not been found"
+    }
+}
+
+{
+    "return": [
+        {
+            "capability": "xbzrle",
+            "state": false
+        }
+    ],
+    "id": "libvirt-45"
+}
diff --git a/tests/qemucapabilitiesdata/caps_1.4.2.x86_64.xml b/tests/qemucapabilitiesdata/caps_1.4.2.x86_64.xml
new file mode 100644 (file)
index 0000000..18550e2
--- /dev/null
@@ -0,0 +1,181 @@
+<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='device'/>
+  <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='drive-readonly'/>
+  <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='rombar'/>
+  <flag name='ich9-ahci'/>
+  <flag name='no-acpi'/>
+  <flag name='fsdev-readonly'/>
+  <flag name='virtio-blk-pci.scsi'/>
+  <flag name='blk-sg-io'/>
+  <flag name='drive-copy-on-read'/>
+  <flag name='cpu-host'/>
+  <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='dump-guest-core'/>
+  <flag name='seamless-migration'/>
+  <flag name='block-commit'/>
+  <flag name='vnc'/>
+  <flag name='drive-mirror'/>
+  <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='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='scsi-generic'/>
+  <flag name='scsi-generic.bootindex'/>
+  <flag name='vnc-websocket'/>
+  <flag name='vnc-share-policy'/>
+  <flag name='dmi-to-pci-bridge'/>
+  <flag name='usb-storage'/>
+  <flag name='usb-storage.removable'/>
+  <flag name='ich9-intel-hda'/>
+  <flag name='kvm-pit-lost-tick-policy'/>
+  <flag name='usb-kbd'/>
+  <flag name='host-pci-multidomain'/>
+  <flag name='usb-audio'/>
+  <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>1004002</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.4' alias='pc' maxCpus='0'/>
+  <machine name='xenpv' maxCpus='0'/>
+  <machine name='pc-q35-1.4' alias='q35' maxCpus='0'/>
+  <machine name='xenfv' maxCpus='0'/>
+  <machine name='isapc' maxCpus='0'/>
+  <machine name='pc-0.10' maxCpus='0'/>
+  <machine name='pc-0.11' maxCpus='0'/>
+  <machine name='pc-0.12' maxCpus='0'/>
+  <machine name='pc-0.13' maxCpus='0'/>
+  <machine name='pc-0.14' maxCpus='0'/>
+  <machine name='pc-0.15' maxCpus='0'/>
+  <machine name='pc-1.0' maxCpus='0'/>
+  <machine name='pc-1.1' maxCpus='0'/>
+  <machine name='pc-1.2' maxCpus='0'/>
+  <machine name='pc-1.3' maxCpus='0'/>
+</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_1.5.3-1.x86_64.replies b/tests/qemucapabilitiesdata/caps_1.5.3-1.x86_64.replies
deleted file mode 100644 (file)
index 99848cd..0000000
+++ /dev/null
@@ -1,2874 +0,0 @@
-{
-    "QMP": {
-        "version": {
-            "qemu": {
-                "micro": 3,
-                "minor": 5,
-                "major": 1
-            },
-            "package": ""
-        },
-        "capabilities": [
-        ]
-    }
-}
-
-{
-    "return": {
-    },
-    "id": "libvirt-1"
-}
-
-{
-    "return": {
-        "qemu": {
-            "micro": 3,
-            "minor": 5,
-            "major": 1
-        },
-        "package": ""
-    },
-    "id": "libvirt-2"
-}
-
-{
-    "return": {
-        "arch": "x86_64"
-    },
-    "id": "libvirt-3"
-}
-
-{
-    "return": [
-        {
-            "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-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": "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": "GUEST_PANICKED"
-        },
-        {
-            "name": "SPICE_MIGRATE_COMPLETED"
-        },
-        {
-            "name": "BALLOON_CHANGE"
-        },
-        {
-            "name": "WAKEUP"
-        },
-        {
-            "name": "SUSPEND_DISK"
-        },
-        {
-            "name": "SUSPEND"
-        },
-        {
-            "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": "ICH9 LPC"
-        },
-        {
-            "name": "x86_64-cpu"
-        },
-        {
-            "name": "port92"
-        },
-        {
-            "name": "virtio-net-pci"
-        },
-        {
-            "name": "virtio-scsi-device"
-        },
-        {
-            "name": "apic"
-        },
-        {
-            "name": "pc-testdev"
-        },
-        {
-            "name": "virtio-blk-device"
-        },
-        {
-            "name": "virtio-scsi-pci"
-        },
-        {
-            "name": "exynos4210-ehci-usb"
-        },
-        {
-            "name": "i6300esb"
-        },
-        {
-            "name": "usb-host"
-        },
-        {
-            "name": "ich9-usb-ehci2"
-        },
-        {
-            "name": "usb-ehci"
-        },
-        {
-            "name": "ich9-ahci"
-        },
-        {
-            "name": "ich9-usb-ehci1"
-        },
-        {
-            "name": "isa-ide"
-        },
-        {
-            "name": "ICH9 SMB"
-        },
-        {
-            "name": "virtio-balloon-pci"
-        },
-        {
-            "name": "vt82c686b-usb-uhci"
-        },
-        {
-            "name": "i82558b"
-        },
-        {
-            "name": "i82558a"
-        },
-        {
-            "name": "isa-fdc"
-        },
-        {
-            "name": "isabus-bridge"
-        },
-        {
-            "name": "pvpanic"
-        },
-        {
-            "name": "i2c-bus"
-        },
-        {
-            "name": "piix3-ide"
-        },
-        {
-            "name": "ioapic"
-        },
-        {
-            "name": "pci-bridge"
-        },
-        {
-            "name": "HDA"
-        },
-        {
-            "name": "am53c974"
-        },
-        {
-            "name": "xlnx,ps7-usb"
-        },
-        {
-            "name": "vmmouse"
-        },
-        {
-            "name": "sb16"
-        },
-        {
-            "name": "i82801b11-bridge"
-        },
-        {
-            "name": "vmxnet3"
-        },
-        {
-            "name": "isa-cirrus-vga"
-        },
-        {
-            "name": "dc390"
-        },
-        {
-            "name": "vmware-svga"
-        },
-        {
-            "name": "smbus-eeprom"
-        },
-        {
-            "name": "piix4-usb-uhci"
-        },
-        {
-            "name": "ccid-card-passthru"
-        },
-        {
-            "name": "i82801"
-        },
-        {
-            "name": "fw_cfg"
-        },
-        {
-            "name": "qxl"
-        },
-        {
-            "name": "piix3-usb-uhci"
-        },
-        {
-            "name": "ib700"
-        },
-        {
-            "name": "usb-audio"
-        },
-        {
-            "name": "i82557c"
-        },
-        {
-            "name": "i82557b"
-        },
-        {
-            "name": "i82557a"
-        },
-        {
-            "name": "IndustryPack"
-        },
-        {
-            "name": "hpet"
-        },
-        {
-            "name": "pvscsi"
-        },
-        {
-            "name": "rtl8139"
-        },
-        {
-            "name": "isa-applesmc"
-        },
-        {
-            "name": "kvm-pci-assign"
-        },
-        {
-            "name": "container"
-        },
-        {
-            "name": "cfi.pflash01"
-        },
-        {
-            "name": "usb-kbd"
-        },
-        {
-            "name": "vfio-pci"
-        },
-        {
-            "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": "AC97"
-        },
-        {
-            "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": "i8042"
-        },
-        {
-            "name": "megasas"
-        },
-        {
-            "name": "intel-hda"
-        },
-        {
-            "name": "hda-duplex"
-        },
-        {
-            "name": "virtio-serial-pci"
-        },
-        {
-            "name": "ne2k_pci"
-        },
-        {
-            "name": "ich9-usb-uhci6"
-        },
-        {
-            "name": "ich9-usb-uhci5"
-        },
-        {
-            "name": "ich9-usb-uhci3"
-        },
-        {
-            "name": "virtconsole"
-        },
-        {
-            "name": "ich9-usb-uhci4"
-        },
-        {
-            "name": "isa-parallel"
-        },
-        {
-            "name": "pci-serial"
-        },
-        {
-            "name": "ich9-usb-uhci2"
-        },
-        {
-            "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": "usb-wacom-tablet"
-        },
-        {
-            "name": "PIIX4_PM"
-        },
-        {
-            "name": "kvm-i8259"
-        },
-        {
-            "name": "q35-pcihost"
-        },
-        {
-            "name": "scsi-cd"
-        },
-        {
-            "name": "pci-ohci"
-        },
-        {
-            "name": "i440FX"
-        },
-        {
-            "name": "usb-braille"
-        },
-        {
-            "name": "virtserialport"
-        },
-        {
-            "name": "pci-serial-2x"
-        },
-        {
-            "name": "xio3130-downstream"
-        },
-        {
-            "name": "rng-random"
-        },
-        {
-            "name": "hda-micro"
-        },
-        {
-            "name": "scsi-disk"
-        },
-        {
-            "name": "vhost-scsi"
-        },
-        {
-            "name": "lsi53c895a"
-        },
-        {
-            "name": "qxl-vga"
-        },
-        {
-            "name": "SCSI"
-        },
-        {
-            "name": "pcnet"
-        },
-        {
-            "name": "scsi-generic"
-        },
-        {
-            "name": "virtio-scsi-common"
-        },
-        {
-            "name": "virtio-serial-device"
-        },
-        {
-            "name": "virtio-serial-bus"
-        },
-        {
-            "name": "icc-bridge"
-        },
-        {
-            "name": "usb-bus"
-        },
-        {
-            "name": "ne2k_isa"
-        },
-        {
-            "name": "IDE"
-        },
-        {
-            "name": "usb-net"
-        },
-        {
-            "name": "usb-hub"
-        },
-        {
-            "name": "i440FX-pcihost"
-        },
-        {
-            "name": "usb-mouse"
-        },
-        {
-            "name": "isa-i8259"
-        },
-        {
-            "name": "ISA"
-        },
-        {
-            "name": "cs4231a"
-        },
-        {
-            "name": "usb-serial"
-        },
-        {
-            "name": "pc-sysfw"
-        },
-        {
-            "name": "scsi-block"
-        },
-        {
-            "name": "sga"
-        },
-        {
-            "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": "qemu-console"
-        },
-        {
-            "name": "icc-bus"
-        },
-        {
-            "name": "ide-drive"
-        },
-        {
-            "name": "x3130-upstream"
-        },
-        {
-            "name": "virtio-pci-bus"
-        },
-        {
-            "name": "usb-uas"
-        },
-        {
-            "name": "vhost-scsi-pci"
-        },
-        {
-            "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_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": "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"
-    }
-}
-
-{
-    "return": [
-        {
-            "name": "full-path",
-            "type": "on/off"
-        },
-        {
-            "name": "port",
-            "type": "string"
-        },
-        {
-            "name": "pipeline",
-            "type": "on/off"
-        },
-        {
-            "name": "bootindex",
-            "type": "int32"
-        },
-        {
-            "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": [
-    ],
-    "id": "libvirt-26"
-}
-
-{
-    "return": [
-        {
-            "name": "MCFG",
-            "type": "uint64"
-        }
-    ],
-    "id": "libvirt-27"
-}
-
-{
-    "return": [
-        {
-            "name": "full-path",
-            "type": "on/off"
-        },
-        {
-            "name": "port",
-            "type": "string"
-        },
-        {
-            "name": "removable",
-            "type": "on/off"
-        },
-        {
-            "name": "serial",
-            "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-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": "pc-q35-1.4",
-            "cpu-max": 255
-        },
-        {
-            "name": "pc-q35-1.5",
-            "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",
-            "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": [
-                {
-                    "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-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": "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": "string"
-                },
-                {
-                    "name": "once",
-                    "type": "string"
-                },
-                {
-                    "name": "order",
-                    "type": "string"
-                }
-            ],
-            "option": "boot-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": "string"
-                },
-                {
-                    "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": "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": "boot",
-                    "help": "(deprecated, ignored)",
-                    "type": "boolean"
-                },
-                {
-                    "name": "copy-on-read",
-                    "help": "copy read data from backing file into image file",
-                    "type": "boolean"
-                },
-                {
-                    "name": "bps_wr",
-                    "help": "limit write bytes per second",
-                    "type": "number"
-                },
-                {
-                    "name": "bps_rd",
-                    "help": "limit read bytes per second",
-                    "type": "number"
-                },
-                {
-                    "name": "bps",
-                    "help": "limit total bytes per second",
-                    "type": "number"
-                },
-                {
-                    "name": "iops_wr",
-                    "help": "limit write operations per second",
-                    "type": "number"
-                },
-                {
-                    "name": "iops_rd",
-                    "help": "limit read operations per second",
-                    "type": "number"
-                },
-                {
-                    "name": "iops",
-                    "help": "limit total I/O operations per second",
-                    "type": "number"
-                },
-                {
-                    "name": "readonly",
-                    "help": "open drive file as read-only",
-                    "type": "boolean"
-                },
-                {
-                    "name": "addr",
-                    "help": "pci address (virtio only)",
-                    "type": "string"
-                },
-                {
-                    "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",
-                    "help": "host cache usage (none, writeback, writethrough, directsync, unsafe)",
-                    "type": "string"
-                },
-                {
-                    "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"
-                },
-                {
-                    "name": "media",
-                    "help": "media type (disk, cdrom)",
-                    "type": "string"
-                },
-                {
-                    "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": "index",
-                    "help": "index number",
-                    "type": "number"
-                },
-                {
-                    "name": "if",
-                    "help": "interface (ide, scsi, sd, mtd, floppy, pflash, virtio)",
-                    "type": "string"
-                },
-                {
-                    "name": "unit",
-                    "help": "unit number (i.e. lun for scsi)",
-                    "type": "number"
-                },
-                {
-                    "name": "bus",
-                    "help": "bus number",
-                    "type": "number"
-                }
-            ],
-            "option": "drive"
-        }
-    ],
-    "id": "libvirt-44"
-}
-
-{
-    "return": [
-        {
-            "capability": "xbzrle",
-            "state": false
-        }
-    ],
-    "id": "libvirt-45"
-}
diff --git a/tests/qemucapabilitiesdata/caps_1.5.3-1.x86_64.xml b/tests/qemucapabilitiesdata/caps_1.5.3-1.x86_64.xml
deleted file mode 100644 (file)
index 72f09f7..0000000
+++ /dev/null
@@ -1,190 +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='device'/>
-  <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='drive-readonly'/>
-  <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-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='rombar'/>
-  <flag name='ich9-ahci'/>
-  <flag name='no-acpi'/>
-  <flag name='fsdev-readonly'/>
-  <flag name='virtio-blk-pci.scsi'/>
-  <flag name='blk-sg-io'/>
-  <flag name='drive-copy-on-read'/>
-  <flag name='cpu-host'/>
-  <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='usb-host.bootindex'/>
-  <flag name='blockdev-snapshot-sync'/>
-  <flag name='qxl'/>
-  <flag name='VGA'/>
-  <flag name='cirrus-vga'/>
-  <flag name='vmware-svga'/>
-  <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='usb-storage'/>
-  <flag name='usb-storage.removable'/>
-  <flag name='ich9-intel-hda'/>
-  <flag name='kvm-pit-lost-tick-policy'/>
-  <flag name='boot-strict'/>
-  <flag name='pvpanic'/>
-  <flag name='spiceport'/>
-  <flag name='usb-kbd'/>
-  <flag name='host-pci-multidomain'/>
-  <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>1005003</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.5' alias='pc' maxCpus='255'/>
-  <machine name='pc-q35-1.4' maxCpus='255'/>
-  <machine name='pc-q35-1.5' 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'/>
-</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.replies b/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.replies
new file mode 100644 (file)
index 0000000..99848cd
--- /dev/null
@@ -0,0 +1,2874 @@
+{
+    "QMP": {
+        "version": {
+            "qemu": {
+                "micro": 3,
+                "minor": 5,
+                "major": 1
+            },
+            "package": ""
+        },
+        "capabilities": [
+        ]
+    }
+}
+
+{
+    "return": {
+    },
+    "id": "libvirt-1"
+}
+
+{
+    "return": {
+        "qemu": {
+            "micro": 3,
+            "minor": 5,
+            "major": 1
+        },
+        "package": ""
+    },
+    "id": "libvirt-2"
+}
+
+{
+    "return": {
+        "arch": "x86_64"
+    },
+    "id": "libvirt-3"
+}
+
+{
+    "return": [
+        {
+            "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-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": "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": "GUEST_PANICKED"
+        },
+        {
+            "name": "SPICE_MIGRATE_COMPLETED"
+        },
+        {
+            "name": "BALLOON_CHANGE"
+        },
+        {
+            "name": "WAKEUP"
+        },
+        {
+            "name": "SUSPEND_DISK"
+        },
+        {
+            "name": "SUSPEND"
+        },
+        {
+            "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": "ICH9 LPC"
+        },
+        {
+            "name": "x86_64-cpu"
+        },
+        {
+            "name": "port92"
+        },
+        {
+            "name": "virtio-net-pci"
+        },
+        {
+            "name": "virtio-scsi-device"
+        },
+        {
+            "name": "apic"
+        },
+        {
+            "name": "pc-testdev"
+        },
+        {
+            "name": "virtio-blk-device"
+        },
+        {
+            "name": "virtio-scsi-pci"
+        },
+        {
+            "name": "exynos4210-ehci-usb"
+        },
+        {
+            "name": "i6300esb"
+        },
+        {
+            "name": "usb-host"
+        },
+        {
+            "name": "ich9-usb-ehci2"
+        },
+        {
+            "name": "usb-ehci"
+        },
+        {
+            "name": "ich9-ahci"
+        },
+        {
+            "name": "ich9-usb-ehci1"
+        },
+        {
+            "name": "isa-ide"
+        },
+        {
+            "name": "ICH9 SMB"
+        },
+        {
+            "name": "virtio-balloon-pci"
+        },
+        {
+            "name": "vt82c686b-usb-uhci"
+        },
+        {
+            "name": "i82558b"
+        },
+        {
+            "name": "i82558a"
+        },
+        {
+            "name": "isa-fdc"
+        },
+        {
+            "name": "isabus-bridge"
+        },
+        {
+            "name": "pvpanic"
+        },
+        {
+            "name": "i2c-bus"
+        },
+        {
+            "name": "piix3-ide"
+        },
+        {
+            "name": "ioapic"
+        },
+        {
+            "name": "pci-bridge"
+        },
+        {
+            "name": "HDA"
+        },
+        {
+            "name": "am53c974"
+        },
+        {
+            "name": "xlnx,ps7-usb"
+        },
+        {
+            "name": "vmmouse"
+        },
+        {
+            "name": "sb16"
+        },
+        {
+            "name": "i82801b11-bridge"
+        },
+        {
+            "name": "vmxnet3"
+        },
+        {
+            "name": "isa-cirrus-vga"
+        },
+        {
+            "name": "dc390"
+        },
+        {
+            "name": "vmware-svga"
+        },
+        {
+            "name": "smbus-eeprom"
+        },
+        {
+            "name": "piix4-usb-uhci"
+        },
+        {
+            "name": "ccid-card-passthru"
+        },
+        {
+            "name": "i82801"
+        },
+        {
+            "name": "fw_cfg"
+        },
+        {
+            "name": "qxl"
+        },
+        {
+            "name": "piix3-usb-uhci"
+        },
+        {
+            "name": "ib700"
+        },
+        {
+            "name": "usb-audio"
+        },
+        {
+            "name": "i82557c"
+        },
+        {
+            "name": "i82557b"
+        },
+        {
+            "name": "i82557a"
+        },
+        {
+            "name": "IndustryPack"
+        },
+        {
+            "name": "hpet"
+        },
+        {
+            "name": "pvscsi"
+        },
+        {
+            "name": "rtl8139"
+        },
+        {
+            "name": "isa-applesmc"
+        },
+        {
+            "name": "kvm-pci-assign"
+        },
+        {
+            "name": "container"
+        },
+        {
+            "name": "cfi.pflash01"
+        },
+        {
+            "name": "usb-kbd"
+        },
+        {
+            "name": "vfio-pci"
+        },
+        {
+            "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": "AC97"
+        },
+        {
+            "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": "i8042"
+        },
+        {
+            "name": "megasas"
+        },
+        {
+            "name": "intel-hda"
+        },
+        {
+            "name": "hda-duplex"
+        },
+        {
+            "name": "virtio-serial-pci"
+        },
+        {
+            "name": "ne2k_pci"
+        },
+        {
+            "name": "ich9-usb-uhci6"
+        },
+        {
+            "name": "ich9-usb-uhci5"
+        },
+        {
+            "name": "ich9-usb-uhci3"
+        },
+        {
+            "name": "virtconsole"
+        },
+        {
+            "name": "ich9-usb-uhci4"
+        },
+        {
+            "name": "isa-parallel"
+        },
+        {
+            "name": "pci-serial"
+        },
+        {
+            "name": "ich9-usb-uhci2"
+        },
+        {
+            "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": "usb-wacom-tablet"
+        },
+        {
+            "name": "PIIX4_PM"
+        },
+        {
+            "name": "kvm-i8259"
+        },
+        {
+            "name": "q35-pcihost"
+        },
+        {
+            "name": "scsi-cd"
+        },
+        {
+            "name": "pci-ohci"
+        },
+        {
+            "name": "i440FX"
+        },
+        {
+            "name": "usb-braille"
+        },
+        {
+            "name": "virtserialport"
+        },
+        {
+            "name": "pci-serial-2x"
+        },
+        {
+            "name": "xio3130-downstream"
+        },
+        {
+            "name": "rng-random"
+        },
+        {
+            "name": "hda-micro"
+        },
+        {
+            "name": "scsi-disk"
+        },
+        {
+            "name": "vhost-scsi"
+        },
+        {
+            "name": "lsi53c895a"
+        },
+        {
+            "name": "qxl-vga"
+        },
+        {
+            "name": "SCSI"
+        },
+        {
+            "name": "pcnet"
+        },
+        {
+            "name": "scsi-generic"
+        },
+        {
+            "name": "virtio-scsi-common"
+        },
+        {
+            "name": "virtio-serial-device"
+        },
+        {
+            "name": "virtio-serial-bus"
+        },
+        {
+            "name": "icc-bridge"
+        },
+        {
+            "name": "usb-bus"
+        },
+        {
+            "name": "ne2k_isa"
+        },
+        {
+            "name": "IDE"
+        },
+        {
+            "name": "usb-net"
+        },
+        {
+            "name": "usb-hub"
+        },
+        {
+            "name": "i440FX-pcihost"
+        },
+        {
+            "name": "usb-mouse"
+        },
+        {
+            "name": "isa-i8259"
+        },
+        {
+            "name": "ISA"
+        },
+        {
+            "name": "cs4231a"
+        },
+        {
+            "name": "usb-serial"
+        },
+        {
+            "name": "pc-sysfw"
+        },
+        {
+            "name": "scsi-block"
+        },
+        {
+            "name": "sga"
+        },
+        {
+            "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": "qemu-console"
+        },
+        {
+            "name": "icc-bus"
+        },
+        {
+            "name": "ide-drive"
+        },
+        {
+            "name": "x3130-upstream"
+        },
+        {
+            "name": "virtio-pci-bus"
+        },
+        {
+            "name": "usb-uas"
+        },
+        {
+            "name": "vhost-scsi-pci"
+        },
+        {
+            "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_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": "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"
+    }
+}
+
+{
+    "return": [
+        {
+            "name": "full-path",
+            "type": "on/off"
+        },
+        {
+            "name": "port",
+            "type": "string"
+        },
+        {
+            "name": "pipeline",
+            "type": "on/off"
+        },
+        {
+            "name": "bootindex",
+            "type": "int32"
+        },
+        {
+            "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": [
+    ],
+    "id": "libvirt-26"
+}
+
+{
+    "return": [
+        {
+            "name": "MCFG",
+            "type": "uint64"
+        }
+    ],
+    "id": "libvirt-27"
+}
+
+{
+    "return": [
+        {
+            "name": "full-path",
+            "type": "on/off"
+        },
+        {
+            "name": "port",
+            "type": "string"
+        },
+        {
+            "name": "removable",
+            "type": "on/off"
+        },
+        {
+            "name": "serial",
+            "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-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": "pc-q35-1.4",
+            "cpu-max": 255
+        },
+        {
+            "name": "pc-q35-1.5",
+            "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",
+            "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": [
+                {
+                    "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-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": "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": "string"
+                },
+                {
+                    "name": "once",
+                    "type": "string"
+                },
+                {
+                    "name": "order",
+                    "type": "string"
+                }
+            ],
+            "option": "boot-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": "string"
+                },
+                {
+                    "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": "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": "boot",
+                    "help": "(deprecated, ignored)",
+                    "type": "boolean"
+                },
+                {
+                    "name": "copy-on-read",
+                    "help": "copy read data from backing file into image file",
+                    "type": "boolean"
+                },
+                {
+                    "name": "bps_wr",
+                    "help": "limit write bytes per second",
+                    "type": "number"
+                },
+                {
+                    "name": "bps_rd",
+                    "help": "limit read bytes per second",
+                    "type": "number"
+                },
+                {
+                    "name": "bps",
+                    "help": "limit total bytes per second",
+                    "type": "number"
+                },
+                {
+                    "name": "iops_wr",
+                    "help": "limit write operations per second",
+                    "type": "number"
+                },
+                {
+                    "name": "iops_rd",
+                    "help": "limit read operations per second",
+                    "type": "number"
+                },
+                {
+                    "name": "iops",
+                    "help": "limit total I/O operations per second",
+                    "type": "number"
+                },
+                {
+                    "name": "readonly",
+                    "help": "open drive file as read-only",
+                    "type": "boolean"
+                },
+                {
+                    "name": "addr",
+                    "help": "pci address (virtio only)",
+                    "type": "string"
+                },
+                {
+                    "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",
+                    "help": "host cache usage (none, writeback, writethrough, directsync, unsafe)",
+                    "type": "string"
+                },
+                {
+                    "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"
+                },
+                {
+                    "name": "media",
+                    "help": "media type (disk, cdrom)",
+                    "type": "string"
+                },
+                {
+                    "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": "index",
+                    "help": "index number",
+                    "type": "number"
+                },
+                {
+                    "name": "if",
+                    "help": "interface (ide, scsi, sd, mtd, floppy, pflash, virtio)",
+                    "type": "string"
+                },
+                {
+                    "name": "unit",
+                    "help": "unit number (i.e. lun for scsi)",
+                    "type": "number"
+                },
+                {
+                    "name": "bus",
+                    "help": "bus number",
+                    "type": "number"
+                }
+            ],
+            "option": "drive"
+        }
+    ],
+    "id": "libvirt-44"
+}
+
+{
+    "return": [
+        {
+            "capability": "xbzrle",
+            "state": false
+        }
+    ],
+    "id": "libvirt-45"
+}
diff --git a/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml b/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml
new file mode 100644 (file)
index 0000000..72f09f7
--- /dev/null
@@ -0,0 +1,190 @@
+<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='device'/>
+  <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='drive-readonly'/>
+  <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-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='rombar'/>
+  <flag name='ich9-ahci'/>
+  <flag name='no-acpi'/>
+  <flag name='fsdev-readonly'/>
+  <flag name='virtio-blk-pci.scsi'/>
+  <flag name='blk-sg-io'/>
+  <flag name='drive-copy-on-read'/>
+  <flag name='cpu-host'/>
+  <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='usb-host.bootindex'/>
+  <flag name='blockdev-snapshot-sync'/>
+  <flag name='qxl'/>
+  <flag name='VGA'/>
+  <flag name='cirrus-vga'/>
+  <flag name='vmware-svga'/>
+  <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='usb-storage'/>
+  <flag name='usb-storage.removable'/>
+  <flag name='ich9-intel-hda'/>
+  <flag name='kvm-pit-lost-tick-policy'/>
+  <flag name='boot-strict'/>
+  <flag name='pvpanic'/>
+  <flag name='spiceport'/>
+  <flag name='usb-kbd'/>
+  <flag name='host-pci-multidomain'/>
+  <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>1005003</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.5' alias='pc' maxCpus='255'/>
+  <machine name='pc-q35-1.4' maxCpus='255'/>
+  <machine name='pc-q35-1.5' 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'/>
+</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_1.6.0-1.x86_64.replies b/tests/qemucapabilitiesdata/caps_1.6.0-1.x86_64.replies
deleted file mode 100644 (file)
index f7c3ef4..0000000
+++ /dev/null
@@ -1,2866 +0,0 @@
-{
-    "QMP": {
-        "version": {
-            "qemu": {
-                "micro": 0,
-                "minor": 6,
-                "major": 1
-            },
-            "package": ""
-        },
-        "capabilities": [
-        ]
-    }
-}
-
-{
-    "return": {
-    },
-    "id": "libvirt-1"
-}
-
-{
-    "return": {
-        "qemu": {
-            "micro": 0,
-            "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-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": "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": "ib700"
-        },
-        {
-            "name": "ICH9 LPC"
-        },
-        {
-            "name": "x86_64-cpu"
-        },
-        {
-            "name": "port92"
-        },
-        {
-            "name": "kvm-pci-assign"
-        },
-        {
-            "name": "virtio-scsi-device"
-        },
-        {
-            "name": "apic"
-        },
-        {
-            "name": "pc-testdev"
-        },
-        {
-            "name": "virtio-blk-device"
-        },
-        {
-            "name": "virtio-scsi-pci"
-        },
-        {
-            "name": "usb-ehci"
-        },
-        {
-            "name": "exynos4210-ehci-usb"
-        },
-        {
-            "name": "fusbh200-ehci-usb"
-        },
-        {
-            "name": "i6300esb"
-        },
-        {
-            "name": "usb-host"
-        },
-        {
-            "name": "ich9-usb-ehci2"
-        },
-        {
-            "name": "ich9-ahci"
-        },
-        {
-            "name": "ich9-usb-ehci1"
-        },
-        {
-            "name": "isa-ide"
-        },
-        {
-            "name": "ICH9 SMB"
-        },
-        {
-            "name": "virtio-balloon-pci"
-        },
-        {
-            "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": "xlnx,ps7-usb"
-        },
-        {
-            "name": "vmmouse"
-        },
-        {
-            "name": "i82801b11-bridge"
-        },
-        {
-            "name": "nvme"
-        },
-        {
-            "name": "piix4-usb-uhci"
-        },
-        {
-            "name": "vmxnet3"
-        },
-        {
-            "name": "isa-cirrus-vga"
-        },
-        {
-            "name": "dc390"
-        },
-        {
-            "name": "vmware-svga"
-        },
-        {
-            "name": "smbus-eeprom"
-        },
-        {
-            "name": "i82801"
-        },
-        {
-            "name": "ccid-card-passthru"
-        },
-        {
-            "name": "fw_cfg"
-        },
-        {
-            "name": "qxl"
-        },
-        {
-            "name": "piix3-usb-uhci"
-        },
-        {
-            "name": "usb-audio"
-        },
-        {
-            "name": "virtio-9p-device"
-        },
-        {
-            "name": "i82557c"
-        },
-        {
-            "name": "i82557b"
-        },
-        {
-            "name": "i82557a"
-        },
-        {
-            "name": "IndustryPack"
-        },
-        {
-            "name": "hpet"
-        },
-        {
-            "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": "i8042"
-        },
-        {
-            "name": "megasas"
-        },
-        {
-            "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": "xio3130-downstream"
-        },
-        {
-            "name": "rng-random"
-        },
-        {
-            "name": "hda-micro"
-        },
-        {
-            "name": "scsi-disk"
-        },
-        {
-            "name": "vhost-scsi"
-        },
-        {
-            "name": "lsi53c895a"
-        },
-        {
-            "name": "qxl-vga"
-        },
-        {
-            "name": "SCSI"
-        },
-        {
-            "name": "pcnet"
-        },
-        {
-            "name": "icc-bridge"
-        },
-        {
-            "name": "scsi-generic"
-        },
-        {
-            "name": "virtio-scsi-common"
-        },
-        {
-            "name": "pvpanic"
-        },
-        {
-            "name": "virtio-serial-device"
-        },
-        {
-            "name": "virtio-serial-bus"
-        },
-        {
-            "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": "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": "vhost-scsi-pci"
-        },
-        {
-            "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-15",
-    "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"
-    }
-}
-
-{
-    "return": [
-        {
-            "name": "full-path",
-            "type": "on/off"
-        },
-        {
-            "name": "serial",
-            "type": "string"
-        },
-        {
-            "name": "port",
-            "type": "string"
-        },
-        {
-            "name": "pipeline",
-            "type": "on/off"
-        },
-        {
-            "name": "bootindex",
-            "type": "int32"
-        },
-        {
-            "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": "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,
-            "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",
-            "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": [
-                {
-                    "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": [
-            ],
-            "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.0-1.x86_64.xml b/tests/qemucapabilitiesdata/caps_1.6.0-1.x86_64.xml
deleted file mode 100644 (file)
index c612c11..0000000
+++ /dev/null
@@ -1,200 +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='device'/>
-  <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='drive-readonly'/>
-  <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='rombar'/>
-  <flag name='ich9-ahci'/>
-  <flag name='no-acpi'/>
-  <flag name='fsdev-readonly'/>
-  <flag name='virtio-blk-pci.scsi'/>
-  <flag name='blk-sg-io'/>
-  <flag name='drive-copy-on-read'/>
-  <flag name='cpu-host'/>
-  <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='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='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='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>1006000</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.6' 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' 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'/>
-</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.replies b/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.replies
new file mode 100644 (file)
index 0000000..f7c3ef4
--- /dev/null
@@ -0,0 +1,2866 @@
+{
+    "QMP": {
+        "version": {
+            "qemu": {
+                "micro": 0,
+                "minor": 6,
+                "major": 1
+            },
+            "package": ""
+        },
+        "capabilities": [
+        ]
+    }
+}
+
+{
+    "return": {
+    },
+    "id": "libvirt-1"
+}
+
+{
+    "return": {
+        "qemu": {
+            "micro": 0,
+            "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-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": "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": "ib700"
+        },
+        {
+            "name": "ICH9 LPC"
+        },
+        {
+            "name": "x86_64-cpu"
+        },
+        {
+            "name": "port92"
+        },
+        {
+            "name": "kvm-pci-assign"
+        },
+        {
+            "name": "virtio-scsi-device"
+        },
+        {
+            "name": "apic"
+        },
+        {
+            "name": "pc-testdev"
+        },
+        {
+            "name": "virtio-blk-device"
+        },
+        {
+            "name": "virtio-scsi-pci"
+        },
+        {
+            "name": "usb-ehci"
+        },
+        {
+            "name": "exynos4210-ehci-usb"
+        },
+        {
+            "name": "fusbh200-ehci-usb"
+        },
+        {
+            "name": "i6300esb"
+        },
+        {
+            "name": "usb-host"
+        },
+        {
+            "name": "ich9-usb-ehci2"
+        },
+        {
+            "name": "ich9-ahci"
+        },
+        {
+            "name": "ich9-usb-ehci1"
+        },
+        {
+            "name": "isa-ide"
+        },
+        {
+            "name": "ICH9 SMB"
+        },
+        {
+            "name": "virtio-balloon-pci"
+        },
+        {
+            "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": "xlnx,ps7-usb"
+        },
+        {
+            "name": "vmmouse"
+        },
+        {
+            "name": "i82801b11-bridge"
+        },
+        {
+            "name": "nvme"
+        },
+        {
+            "name": "piix4-usb-uhci"
+        },
+        {
+            "name": "vmxnet3"
+        },
+        {
+            "name": "isa-cirrus-vga"
+        },
+        {
+            "name": "dc390"
+        },
+        {
+            "name": "vmware-svga"
+        },
+        {
+            "name": "smbus-eeprom"
+        },
+        {
+            "name": "i82801"
+        },
+        {
+            "name": "ccid-card-passthru"
+        },
+        {
+            "name": "fw_cfg"
+        },
+        {
+            "name": "qxl"
+        },
+        {
+            "name": "piix3-usb-uhci"
+        },
+        {
+            "name": "usb-audio"
+        },
+        {
+            "name": "virtio-9p-device"
+        },
+        {
+            "name": "i82557c"
+        },
+        {
+            "name": "i82557b"
+        },
+        {
+            "name": "i82557a"
+        },
+        {
+            "name": "IndustryPack"
+        },
+        {
+            "name": "hpet"
+        },
+        {
+            "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": "i8042"
+        },
+        {
+            "name": "megasas"
+        },
+        {
+            "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": "xio3130-downstream"
+        },
+        {
+            "name": "rng-random"
+        },
+        {
+            "name": "hda-micro"
+        },
+        {
+            "name": "scsi-disk"
+        },
+        {
+            "name": "vhost-scsi"
+        },
+        {
+            "name": "lsi53c895a"
+        },
+        {
+            "name": "qxl-vga"
+        },
+        {
+            "name": "SCSI"
+        },
+        {
+            "name": "pcnet"
+        },
+        {
+            "name": "icc-bridge"
+        },
+        {
+            "name": "scsi-generic"
+        },
+        {
+            "name": "virtio-scsi-common"
+        },
+        {
+            "name": "pvpanic"
+        },
+        {
+            "name": "virtio-serial-device"
+        },
+        {
+            "name": "virtio-serial-bus"
+        },
+        {
+            "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": "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": "vhost-scsi-pci"
+        },
+        {
+            "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-15",
+    "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"
+    }
+}
+
+{
+    "return": [
+        {
+            "name": "full-path",
+            "type": "on/off"
+        },
+        {
+            "name": "serial",
+            "type": "string"
+        },
+        {
+            "name": "port",
+            "type": "string"
+        },
+        {
+            "name": "pipeline",
+            "type": "on/off"
+        },
+        {
+            "name": "bootindex",
+            "type": "int32"
+        },
+        {
+            "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": "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,
+            "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",
+            "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": [
+                {
+                    "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": [
+            ],
+            "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.0.x86_64.xml b/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.xml
new file mode 100644 (file)
index 0000000..c612c11
--- /dev/null
@@ -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='device'/>
+  <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='drive-readonly'/>
+  <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='rombar'/>
+  <flag name='ich9-ahci'/>
+  <flag name='no-acpi'/>
+  <flag name='fsdev-readonly'/>
+  <flag name='virtio-blk-pci.scsi'/>
+  <flag name='blk-sg-io'/>
+  <flag name='drive-copy-on-read'/>
+  <flag name='cpu-host'/>
+  <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='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='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='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>1006000</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.6' 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' 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'/>
+</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_1.6.50-1.x86_64.replies b/tests/qemucapabilitiesdata/caps_1.6.50-1.x86_64.replies
deleted file mode 100644 (file)
index d23249c..0000000
+++ /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-1.x86_64.xml b/tests/qemucapabilitiesdata/caps_1.6.50-1.x86_64.xml
deleted file mode 100644 (file)
index f4603c1..0000000
+++ /dev/null
@@ -1,202 +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='device'/>
-  <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='drive-readonly'/>
-  <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='rombar'/>
-  <flag name='ich9-ahci'/>
-  <flag name='no-acpi'/>
-  <flag name='fsdev-readonly'/>
-  <flag name='virtio-blk-pci.scsi'/>
-  <flag name='blk-sg-io'/>
-  <flag name='drive-copy-on-read'/>
-  <flag name='cpu-host'/>
-  <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.6.50.x86_64.replies b/tests/qemucapabilitiesdata/caps_1.6.50.x86_64.replies
new file mode 100644 (file)
index 0000000..d23249c
--- /dev/null
@@ -0,0 +1,2848 @@
+{
+    "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
new file mode 100644 (file)
index 0000000..f4603c1
--- /dev/null
@@ -0,0 +1,202 @@
+<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='device'/>
+  <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='drive-readonly'/>
+  <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='rombar'/>
+  <flag name='ich9-ahci'/>
+  <flag name='no-acpi'/>
+  <flag name='fsdev-readonly'/>
+  <flag name='virtio-blk-pci.scsi'/>
+  <flag name='blk-sg-io'/>
+  <flag name='drive-copy-on-read'/>
+  <flag name='cpu-host'/>
+  <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_2.1.1-1.x86_64.replies b/tests/qemucapabilitiesdata/caps_2.1.1-1.x86_64.replies
deleted file mode 100644 (file)
index 6c10ea9..0000000
+++ /dev/null
@@ -1,3603 +0,0 @@
-{
-  "QMP": {
-    "version": {
-      "qemu": {
-        "micro": 1,
-        "minor": 1,
-        "major": 2
-      },
-      "package": ""
-    },
-    "capabilities": [
-    ]
-  }
-}
-
-{
-  "return": {
-  },
-  "id": "libvirt-1"
-}
-
-{
-  "return": {
-    "qemu": {
-      "micro": 1,
-      "minor": 1,
-      "major": 2
-    },
-    "package": ""
-  },
-  "id": "libvirt-2"
-}
-
-{
-  "return": {
-    "arch": "x86_64"
-  },
-  "id": "libvirt-3"
-}
-
-{
-  "return": [
-    {
-      "name": "rtc-reset-reinjection"
-    },
-    {
-      "name": "query-acpi-ospm-status"
-    },
-    {
-      "name": "query-memory-devices"
-    },
-    {
-      "name": "query-memdev"
-    },
-    {
-      "name": "query-named-block-nodes"
-    },
-    {
-      "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-iothreads"
-    },
-    {
-      "name": "query-cpus"
-    },
-    {
-      "name": "query-blockstats"
-    },
-    {
-      "name": "query-block"
-    },
-    {
-      "name": "query-chardev-backends"
-    },
-    {
-      "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": "change-backing-file"
-    },
-    {
-      "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": "object-del"
-    },
-    {
-      "name": "object-add"
-    },
-    {
-      "name": "netdev_del"
-    },
-    {
-      "name": "netdev_add"
-    },
-    {
-      "name": "query-dump-guest-memory-capability"
-    },
-    {
-      "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": "DeviceNotFound",
-    "desc": "Device 'bogus' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "VSERPORT_CHANGE"
-    },
-    {
-      "name": "QUORUM_REPORT_BAD"
-    },
-    {
-      "name": "QUORUM_FAILURE"
-    },
-    {
-      "name": "GUEST_PANICKED"
-    },
-    {
-      "name": "BALLOON_CHANGE"
-    },
-    {
-      "name": "ACPI_DEVICE_OST"
-    },
-    {
-      "name": "SPICE_MIGRATE_COMPLETED"
-    },
-    {
-      "name": "SPICE_DISCONNECTED"
-    },
-    {
-      "name": "SPICE_INITIALIZED"
-    },
-    {
-      "name": "SPICE_CONNECTED"
-    },
-    {
-      "name": "VNC_DISCONNECTED"
-    },
-    {
-      "name": "VNC_INITIALIZED"
-    },
-    {
-      "name": "VNC_CONNECTED"
-    },
-    {
-      "name": "NIC_RX_FILTER_CHANGED"
-    },
-    {
-      "name": "DEVICE_DELETED"
-    },
-    {
-      "name": "WATCHDOG"
-    },
-    {
-      "name": "RTC_CHANGE"
-    },
-    {
-      "name": "WAKEUP"
-    },
-    {
-      "name": "SUSPEND_DISK"
-    },
-    {
-      "name": "SUSPEND"
-    },
-    {
-      "name": "RESUME"
-    },
-    {
-      "name": "STOP"
-    },
-    {
-      "name": "RESET"
-    },
-    {
-      "name": "POWERDOWN"
-    },
-    {
-      "name": "SHUTDOWN"
-    },
-    {
-      "name": "DEVICE_TRAY_MOVED"
-    },
-    {
-      "name": "BLOCK_JOB_READY"
-    },
-    {
-      "name": "BLOCK_JOB_ERROR"
-    },
-    {
-      "name": "BLOCK_JOB_CANCELLED"
-    },
-    {
-      "name": "BLOCK_JOB_COMPLETED"
-    },
-    {
-      "name": "BLOCK_IO_ERROR"
-    },
-    {
-      "name": "BLOCK_IMAGE_CORRUPTED"
-    }
-  ],
-  "id": "libvirt-7"
-}
-
-{
-  "return": [
-    {
-      "name": "pc-0.13-machine"
-    },
-    {
-      "name": "fw_cfg"
-    },
-    {
-      "name": "i82551"
-    },
-    {
-      "name": "i82550"
-    },
-    {
-      "name": "Westmere-x86_64-cpu"
-    },
-    {
-      "name": "xlnx,ps7-usb"
-    },
-    {
-      "name": "e1000-82540em"
-    },
-    {
-      "name": "pci-serial-4x"
-    },
-    {
-      "name": "Penryn-x86_64-cpu"
-    },
-    {
-      "name": "Haswell-x86_64-cpu"
-    },
-    {
-      "name": "iothread"
-    },
-    {
-      "name": "icc-bridge"
-    },
-    {
-      "name": "cfi.pflash01"
-    },
-    {
-      "name": "Opteron_G3-x86_64-cpu"
-    },
-    {
-      "name": "Broadwell-x86_64-cpu"
-    },
-    {
-      "name": "piix3-ide"
-    },
-    {
-      "name": "isa-parallel"
-    },
-    {
-      "name": "i2c-bus"
-    },
-    {
-      "name": "megasas"
-    },
-    {
-      "name": "usb-braille"
-    },
-    {
-      "name": "exynos4210-ehci-usb"
-    },
-    {
-      "name": "vmware-svga"
-    },
-    {
-      "name": "pc-i440fx-2.0-machine"
-    },
-    {
-      "name": "PIIX3-xen"
-    },
-    {
-      "name": "ccid-bus"
-    },
-    {
-      "name": "scsi-cd"
-    },
-    {
-      "name": "isa-serial"
-    },
-    {
-      "name": "usb-ehci"
-    },
-    {
-      "name": "user-creatable"
-    },
-    {
-      "name": "container"
-    },
-    {
-      "name": "host-x86_64-cpu"
-    },
-    {
-      "name": "pci-serial-2x"
-    },
-    {
-      "name": "piix4-ide"
-    },
-    {
-      "name": "scsi-generic"
-    },
-    {
-      "name": "pc-1.0-machine"
-    },
-    {
-      "name": "virtio-net-pci"
-    },
-    {
-      "name": "pc-dimm"
-    },
-    {
-      "name": "pc-i440fx-2.1-machine"
-    },
-    {
-      "name": "isa-debugcon"
-    },
-    {
-      "name": "ide-hd"
-    },
-    {
-      "name": "qemu64-x86_64-cpu"
-    },
-    {
-      "name": "pc-q35-1.7-machine"
-    },
-    {
-      "name": "rng-egd"
-    },
-    {
-      "name": "isa-pcspk"
-    },
-    {
-      "name": "isa-pit"
-    },
-    {
-      "name": "pc-1.1-machine"
-    },
-    {
-      "name": "ich9-usb-ehci2"
-    },
-    {
-      "name": "ich9-usb-ehci1"
-    },
-    {
-      "name": "irq"
-    },
-    {
-      "name": "cirrus-vga"
-    },
-    {
-      "name": "virtconsole"
-    },
-    {
-      "name": "virtio-rng-pci"
-    },
-    {
-      "name": "PCIE"
-    },
-    {
-      "name": "pentium3-x86_64-cpu"
-    },
-    {
-      "name": "qxl-vga"
-    },
-    {
-      "name": "ioapic"
-    },
-    {
-      "name": "kvm-pit"
-    },
-    {
-      "name": "pc-0.14-machine"
-    },
-    {
-      "name": "xen-apic"
-    },
-    {
-      "name": "pc-q35-2.0-machine"
-    },
-    {
-      "name": "usb-host"
-    },
-    {
-      "name": "usb-bus"
-    },
-    {
-      "name": "pc-i440fx-1.4-machine"
-    },
-    {
-      "name": "vhost-scsi-pci"
-    },
-    {
-      "name": "usb-kbd"
-    },
-    {
-      "name": "486-x86_64-cpu"
-    },
-    {
-      "name": "ES1370"
-    },
-    {
-      "name": "gus"
-    },
-    {
-      "name": "isa-applesmc"
-    },
-    {
-      "name": "PIIX3"
-    },
-    {
-      "name": "kvm-pci-assign"
-    },
-    {
-      "name": "xen-pci-passthrough"
-    },
-    {
-      "name": "i82559er"
-    },
-    {
-      "name": "e1000-82545em"
-    },
-    {
-      "name": "q35-pcihost"
-    },
-    {
-      "name": "tegra2-ehci-usb"
-    },
-    {
-      "name": "pc-i440fx-1.5-machine"
-    },
-    {
-      "name": "usb-bt-dongle"
-    },
-    {
-      "name": "AC97"
-    },
-    {
-      "name": "i6300esb"
-    },
-    {
-      "name": "mc146818rtc"
-    },
-    {
-      "name": "e1000-82544gc"
-    },
-    {
-      "name": "PIIX4_PM"
-    },
-    {
-      "name": "piix4-usb-uhci"
-    },
-    {
-      "name": "sysbus-ahci"
-    },
-    {
-      "name": "kvm-ioapic"
-    },
-    {
-      "name": "pvpanic"
-    },
-    {
-      "name": "core2duo-x86_64-cpu"
-    },
-    {
-      "name": "virtio-9p-pci"
-    },
-    {
-      "name": "scsi-disk"
-    },
-    {
-      "name": "acpi-device-interface"
-    },
-    {
-      "name": "sb16"
-    },
-    {
-      "name": "pc-0.15-machine"
-    },
-    {
-      "name": "xenfv-machine"
-    },
-    {
-      "name": "usb-mouse"
-    },
-    {
-      "name": "piix3-usb-uhci"
-    },
-    {
-      "name": "virtio-scsi-device"
-    },
-    {
-      "name": "virtio-blk-pci"
-    },
-    {
-      "name": "virtio-9p-device"
-    },
-    {
-      "name": "hda-output"
-    },
-    {
-      "name": "SUNW,fdtwo"
-    },
-    {
-      "name": "tpci200"
-    },
-    {
-      "name": "Opteron_G4-x86_64-cpu"
-    },
-    {
-      "name": "pc-q35-1.4-machine"
-    },
-    {
-      "name": "virtio-mmio"
-    },
-    {
-      "name": "qemu-console"
-    },
-    {
-      "name": "isa-i8259"
-    },
-    {
-      "name": "System"
-    },
-    {
-      "name": "pvscsi"
-    },
-    {
-      "name": "virtio-net-device"
-    },
-    {
-      "name": "usb-hub"
-    },
-    {
-      "name": "hda-duplex"
-    },
-    {
-      "name": "isapc-machine"
-    },
-    {
-      "name": "ipoctal232"
-    },
-    {
-      "name": "pc-1.2-machine"
-    },
-    {
-      "name": "xio3130-downstream"
-    },
-    {
-      "name": "ide-cd"
-    },
-    {
-      "name": "apic"
-    },
-    {
-      "name": "isabus-bridge"
-    },
-    {
-      "name": "memory-backend-file"
-    },
-    {
-      "name": "isa-ide"
-    },
-    {
-      "name": "isa-vga"
-    },
-    {
-      "name": "qemu:memory-region"
-    },
-    {
-      "name": "kvm-i8259"
-    },
-    {
-      "name": "rng-random"
-    },
-    {
-      "name": "hotplug-handler"
-    },
-    {
-      "name": "pci-ohci"
-    },
-    {
-      "name": "i440FX-pcihost"
-    },
-    {
-      "name": "qemu32-x86_64-cpu"
-    },
-    {
-      "name": "tpm-tis"
-    },
-    {
-      "name": "tpm-passthrough"
-    },
-    {
-      "name": "nec-usb-xhci"
-    },
-    {
-      "name": "isa-debug-exit"
-    },
-    {
-      "name": "pc-0.10-machine"
-    },
-    {
-      "name": "pc-testdev"
-    },
-    {
-      "name": "sga"
-    },
-    {
-      "name": "Opteron_G1-x86_64-cpu"
-    },
-    {
-      "name": "xen-pvdevice"
-    },
-    {
-      "name": "pcnet"
-    },
-    {
-      "name": "ivshmem"
-    },
-    {
-      "name": "hpet"
-    },
-    {
-      "name": "adlib"
-    },
-    {
-      "name": "lsi53c895a"
-    },
-    {
-      "name": "usb-audio"
-    },
-    {
-      "name": "usb-wacom-tablet"
-    },
-    {
-      "name": "pc-0.11-machine"
-    },
-    {
-      "name": "kvm-apic"
-    },
-    {
-      "name": "phenom-x86_64-cpu"
-    },
-    {
-      "name": "ioh3420"
-    },
-    {
-      "name": "cs4231a"
-    },
-    {
-      "name": "dc390"
-    },
-    {
-      "name": "nvme"
-    },
-    {
-      "name": "i82801b11-bridge"
-    },
-    {
-      "name": "kvmvapic"
-    },
-    {
-      "name": "pc-q35-2.1-machine"
-    },
-    {
-      "name": "fw-path-provider"
-    },
-    {
-      "name": "usb-net"
-    },
-    {
-      "name": "mch"
-    },
-    {
-      "name": "usb-tablet"
-    },
-    {
-      "name": "vhost-scsi"
-    },
-    {
-      "name": "usb-ccid"
-    },
-    {
-      "name": "pc-i440fx-1.7-machine"
-    },
-    {
-      "name": "virtio-mmio-bus"
-    },
-    {
-      "name": "usb-bot"
-    },
-    {
-      "name": "ICH9-LPC"
-    },
-    {
-      "name": "pci-bridge"
-    },
-    {
-      "name": "pc-i440fx-1.6-machine"
-    },
-    {
-      "name": "kvmclock"
-    },
-    {
-      "name": "lsi53c810"
-    },
-    {
-      "name": "isa-cirrus-vga"
-    },
-    {
-      "name": "virtio-serial-bus"
-    },
-    {
-      "name": "ICH9 SMB"
-    },
-    {
-      "name": "SandyBridge-x86_64-cpu"
-    },
-    {
-      "name": "esp"
-    },
-    {
-      "name": "virtio-balloon-device"
-    },
-    {
-      "name": "ccid-card-passthru"
-    },
-    {
-      "name": "qxl"
-    },
-    {
-      "name": "intel-hda"
-    },
-    {
-      "name": "vmxnet3"
-    },
-    {
-      "name": "virtio-serial-device"
-    },
-    {
-      "name": "pci-testdev"
-    },
-    {
-      "name": "ich9-usb-uhci6"
-    },
-    {
-      "name": "ib700"
-    },
-    {
-      "name": "ich9-usb-uhci4"
-    },
-    {
-      "name": "piix3-ide-xen"
-    },
-    {
-      "name": "ich9-usb-uhci5"
-    },
-    {
-      "name": "icc-bus"
-    },
-    {
-      "name": "IDE"
-    },
-    {
-      "name": "VGA"
-    },
-    {
-      "name": "ich9-usb-uhci3"
-    },
-    {
-      "name": "ich9-usb-uhci2"
-    },
-    {
-      "name": "ich9-usb-uhci1"
-    },
-    {
-      "name": "x3130-upstream"
-    },
-    {
-      "name": "none-machine"
-    },
-    {
-      "name": "sysbus-fdc"
-    },
-    {
-      "name": "SCSI"
-    },
-    {
-      "name": "n270-x86_64-cpu"
-    },
-    {
-      "name": "pci-serial"
-    },
-    {
-      "name": "xenpv-machine"
-    },
-    {
-      "name": "athlon-x86_64-cpu"
-    },
-    {
-      "name": "ISA"
-    },
-    {
-      "name": "i8042"
-    },
-    {
-      "name": "ccid-card-emulated"
-    },
-    {
-      "name": "i82559c"
-    },
-    {
-      "name": "i82559b"
-    },
-    {
-      "name": "i82559a"
-    },
-    {
-      "name": "scsi-hd"
-    },
-    {
-      "name": "pc-q35-1.5-machine"
-    },
-    {
-      "name": "virtio-balloon-pci"
-    },
-    {
-      "name": "hda-micro"
-    },
-    {
-      "name": "scsi-block"
-    },
-    {
-      "name": "virtio-scsi-pci"
-    },
-    {
-      "name": "rtl8139"
-    },
-    {
-      "name": "vmmouse"
-    },
-    {
-      "name": "ich9-intel-hda"
-    },
-    {
-      "name": "usb-mtp"
-    },
-    {
-      "name": "ide-drive"
-    },
-    {
-      "name": "PCI"
-    },
-    {
-      "name": "Opteron_G5-x86_64-cpu"
-    },
-    {
-      "name": "vmport"
-    },
-    {
-      "name": "coreduo-x86_64-cpu"
-    },
-    {
-      "name": "virtio-serial-pci"
-    },
-    {
-      "name": "pc-q35-1.6-machine"
-    },
-    {
-      "name": "xen-platform"
-    },
-    {
-      "name": "pentium2-x86_64-cpu"
-    },
-    {
-      "name": "i82558b"
-    },
-    {
-      "name": "i82558a"
-    },
-    {
-      "name": "pc-0.12-machine"
-    },
-    {
-      "name": "kvm64-x86_64-cpu"
-    },
-    {
-      "name": "port92"
-    },
-    {
-      "name": "virtio-pci-bus"
-    },
-    {
-      "name": "am53c974"
-    },
-    {
-      "name": "e1000"
-    },
-    {
-      "name": "Conroe-x86_64-cpu"
-    },
-    {
-      "name": "ne2k_isa"
-    },
-    {
-      "name": "HDA"
-    },
-    {
-      "name": "usb-storage"
-    },
-    {
-      "name": "pc-1.3-machine"
-    },
-    {
-      "name": "usb-serial"
-    },
-    {
-      "name": "sysbus-ohci"
-    },
-    {
-      "name": "usb-redir"
-    },
-    {
-      "name": "i82801"
-    },
-    {
-      "name": "usb-uas"
-    },
-    {
-      "name": "i82557b"
-    },
-    {
-      "name": "i82557c"
-    },
-    {
-      "name": "Nehalem-x86_64-cpu"
-    },
-    {
-      "name": "memory-backend-ram"
-    },
-    {
-      "name": "i82557a"
-    },
-    {
-      "name": "virtserialport"
-    },
-    {
-      "name": "i440FX"
-    },
-    {
-      "name": "ne2k_pci"
-    },
-    {
-      "name": "smbus-eeprom"
-    },
-    {
-      "name": "i82562"
-    },
-    {
-      "name": "ich9-ahci"
-    },
-    {
-      "name": "isa-fdc"
-    },
-    {
-      "name": "kvm32-x86_64-cpu"
-    },
-    {
-      "name": "Opteron_G2-x86_64-cpu"
-    },
-    {
-      "name": "virtio-rng-device"
-    },
-    {
-      "name": "IndustryPack"
-    },
-    {
-      "name": "vfio-pci"
-    },
-    {
-      "name": "vt82c686b-usb-uhci"
-    },
-    {
-      "name": "secondary-vga"
-    },
-    {
-      "name": "pentium-x86_64-cpu"
-    },
-    {
-      "name": "virtio-blk-device"
-    },
-    {
-      "name": "fusbh200-ehci-usb"
-    }
-  ],
-  "id": "libvirt-8"
-}
-
-{
-  "return": [
-    {
-      "name": "iothread",
-      "type": "link<iothread>"
-    },
-    {
-      "name": "x-data-plane",
-      "type": "bool"
-    },
-    {
-      "name": "scsi",
-      "type": "bool"
-    },
-    {
-      "name": "config-wce",
-      "type": "bool"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "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": "uint16"
-    },
-    {
-      "name": "logical_block_size",
-      "type": "uint16"
-    },
-    {
-      "name": "drive",
-      "type": "str"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-blk-device>"
-    },
-    {
-      "name": "command_serr_enable",
-      "type": "on/off"
-    },
-    {
-      "name": "multifunction",
-      "type": "on/off"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "type": "pci-devfn"
-    },
-    {
-      "name": "event_idx",
-      "type": "on/off"
-    },
-    {
-      "name": "indirect_desc",
-      "type": "on/off"
-    },
-    {
-      "name": "vectors",
-      "type": "uint32"
-    },
-    {
-      "name": "ioeventfd",
-      "type": "on/off"
-    },
-    {
-      "name": "class",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-9"
-}
-
-{
-  "return": [
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-net-device>"
-    },
-    {
-      "name": "command_serr_enable",
-      "type": "on/off"
-    },
-    {
-      "name": "multifunction",
-      "type": "on/off"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "type": "pci-devfn"
-    },
-    {
-      "name": "event_idx",
-      "type": "on/off"
-    },
-    {
-      "name": "indirect_desc",
-      "type": "on/off"
-    },
-    {
-      "name": "tx",
-      "type": "str"
-    },
-    {
-      "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_announce",
-      "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": "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": "str"
-    },
-    {
-      "name": "addr",
-      "type": "pci-devfn"
-    },
-    {
-      "name": "configfd",
-      "type": "str"
-    },
-    {
-      "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": "str"
-    },
-    {
-      "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": "max_unmap_size",
-      "type": "uint64"
-    },
-    {
-      "name": "port_index",
-      "type": "uint16"
-    },
-    {
-      "name": "port_wwn",
-      "type": "uint64"
-    },
-    {
-      "name": "wwn",
-      "type": "uint64"
-    },
-    {
-      "name": "dpofua",
-      "type": "on/off"
-    },
-    {
-      "name": "removable",
-      "type": "on/off"
-    },
-    {
-      "name": "product",
-      "type": "str"
-    },
-    {
-      "name": "vendor",
-      "type": "str"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "ver",
-      "type": "str"
-    },
-    {
-      "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": "str"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "wwn",
-      "type": "uint64"
-    },
-    {
-      "name": "ver",
-      "type": "str"
-    },
-    {
-      "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": "str"
-    },
-    {
-      "name": "addr",
-      "type": "pci-devfn"
-    },
-    {
-      "name": "memory-hotplug-support",
-      "type": "bool"
-    },
-    {
-      "name": "acpi-pci-hotplug-with-bridge-support",
-      "type": "bool"
-    },
-    {
-      "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": "msos-desc",
-      "type": "on/off"
-    },
-    {
-      "name": "full-path",
-      "type": "on/off"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "port",
-      "type": "str"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "filter",
-      "type": "str"
-    },
-    {
-      "name": "debug",
-      "type": "uint8"
-    },
-    {
-      "name": "chardev",
-      "type": "chr"
-    }
-  ],
-  "id": "libvirt-23"
-}
-
-{
-  "return": [
-    {
-      "name": "msos-desc",
-      "type": "on/off"
-    },
-    {
-      "name": "full-path",
-      "type": "on/off"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "port",
-      "type": "str"
-    },
-    {
-      "name": "pipeline",
-      "type": "on/off"
-    },
-    {
-      "name": "loglevel",
-      "type": "uint32"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "isobsize",
-      "type": "uint32"
-    },
-    {
-      "name": "isobufs",
-      "type": "uint32"
-    },
-    {
-      "name": "productid",
-      "type": "uint32"
-    },
-    {
-      "name": "vendorid",
-      "type": "uint32"
-    },
-    {
-      "name": "hostport",
-      "type": "str"
-    },
-    {
-      "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": "pci-hole64-end",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole64-start",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole-end",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole-start",
-      "type": "int"
-    },
-    {
-      "name": "pci-conf-data[0]",
-      "type": "child<qemu:memory-region>"
-    },
-    {
-      "name": "pci-conf-idx[0]",
-      "type": "child<qemu:memory-region>"
-    },
-    {
-      "name": "short_root_bus",
-      "type": "uint32"
-    },
-    {
-      "name": "pci-hole64-size",
-      "type": "size"
-    }
-  ],
-  "id": "libvirt-26"
-}
-
-{
-  "return": [
-    {
-      "name": "mcfg_size",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole64-end",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole64-start",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole-end",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole-start",
-      "type": "int"
-    },
-    {
-      "name": "mch",
-      "type": "child<mch>"
-    },
-    {
-      "name": "pci-conf-data[0]",
-      "type": "child<qemu:memory-region>"
-    },
-    {
-      "name": "pci-conf-idx[0]",
-      "type": "child<qemu:memory-region>"
-    },
-    {
-      "name": "short_root_bus",
-      "type": "uint32"
-    },
-    {
-      "name": "pci-hole64-size",
-      "type": "size"
-    },
-    {
-      "name": "MCFG",
-      "type": "uint64"
-    }
-  ],
-  "id": "libvirt-27"
-}
-
-{
-  "return": [
-    {
-      "name": "msos-desc",
-      "type": "on/off"
-    },
-    {
-      "name": "full-path",
-      "type": "on/off"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "port",
-      "type": "str"
-    },
-    {
-      "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": "uint32"
-    }
-  ],
-  "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": "guest-stats-polling-interval",
-      "type": "int"
-    },
-    {
-      "name": "guest-stats",
-      "type": "guest statistics"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-balloon-device>"
-    },
-    {
-      "name": "command_serr_enable",
-      "type": "on/off"
-    },
-    {
-      "name": "multifunction",
-      "type": "on/off"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "type": "pci-devfn"
-    },
-    {
-      "name": "event_idx",
-      "type": "on/off"
-    },
-    {
-      "name": "indirect_desc",
-      "type": "on/off"
-    },
-    {
-      "name": "class",
-      "type": "uint32"
-    }
-  ],
-  "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": "superspeed-ports-first",
-            "type": "on/off"
-        },
-        {
-            "name": "intrs",
-            "type": "uint32"
-        },
-        {
-            "name": "slots",
-            "type": "uint32"
-        },
-        {
-            "name": "2",
-            "type": "uint32"
-        },
-        {
-            "name": "p3",
-            "type": "uint32"
-        }
-    ]
-}
-
-{
-  "return": [
-    {
-      "name": "pc-1.3",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-0.12",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-1.6",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-1.5",
-      "cpu-max": 255
-    },
-    {
-      "name": "xenpv",
-      "cpu-max": 1
-    },
-    {
-      "name": "none",
-      "cpu-max": 1
-    },
-    {
-      "name": "pc-i440fx-1.6",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-1.7",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-2.1",
-      "cpu-max": 255,
-      "alias": "q35"
-    },
-    {
-      "name": "pc-0.11",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-0.10",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-1.2",
-      "cpu-max": 255
-    },
-    {
-      "name": "isapc",
-      "cpu-max": 1
-    },
-    {
-      "name": "pc-q35-1.4",
-      "cpu-max": 255
-    },
-    {
-      "name": "xenfv",
-      "cpu-max": 128
-    },
-    {
-      "name": "pc-0.15",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-1.5",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-1.4",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-2.0",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-0.14",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-1.1",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-1.7",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-2.1",
-      "is-default": true,
-      "cpu-max": 255,
-      "alias": "pc"
-    },
-    {
-      "name": "pc-1.0",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-2.0",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-0.13",
-      "cpu-max": 255
-    }
-  ],
-  "id": "libvirt-39"
-}
-
-{
-  "return": [
-    {
-      "name": "Opteron_G5"
-    },
-    {
-      "name": "Opteron_G4"
-    },
-    {
-      "name": "Opteron_G3"
-    },
-    {
-      "name": "Opteron_G2"
-    },
-    {
-      "name": "Opteron_G1"
-    },
-    {
-      "name": "Broadwell"
-    },
-    {
-      "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": [
-    "tpm-tis"
-  ],
-  "id": "libvirt-42"
-}
-
-{
-  "return": [
-    "passthrough"
-  ],
-  "id": "libvirt-43"
-}
-
-{
-  "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": [
-        {
-          "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": [
-      ],
-      "option": "smbios"
-    },
-    {
-      "parameters": [
-      ],
-      "option": "numa"
-    },
-    {
-      "parameters": [
-        {
-          "name": "debug-threads",
-          "help": "When enabled, name the individual threads; defaults off.\nNOTE: The thread names are for debugging and not a\nstable API.",
-          "type": "boolean"
-        },
-        {
-          "name": "process",
-          "help": "Sets the name of the QEMU process, as shown in top etc",
-          "type": "string"
-        },
-        {
-          "name": "guest",
-          "help": "Sets the name of the guest.\nThis name will be displayed in the SDL window caption.\nThe name will also be used for the VNC server",
-          "type": "string"
-        }
-      ],
-      "option": "name"
-    },
-    {
-      "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": "boolean"
-        },
-        {
-          "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": "maxmem",
-          "type": "size"
-        },
-        {
-          "name": "slots",
-          "type": "number"
-        },
-        {
-          "name": "size",
-          "type": "size"
-        }
-      ],
-      "option": "memory"
-    },
-    {
-      "parameters": [
-        {
-          "name": "max-ram-below-4g",
-          "help": "maximum ram below the 4G boundary (32bit boundary)",
-          "type": "size"
-        },
-        {
-          "name": "kvm-type",
-          "help": "Specifies the KVM virtualization mode (HV, PR)",
-          "type": "string"
-        },
-        {
-          "name": "firmware",
-          "help": "firmware image",
-          "type": "string"
-        },
-        {
-          "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": "werror",
-          "help": "write error action",
-          "type": "string"
-        },
-        {
-          "name": "rerror",
-          "help": "read error action",
-          "type": "string"
-        },
-        {
-          "name": "read-only",
-          "help": "open drive file as read-only",
-          "type": "boolean"
-        },
-        {
-          "name": "file",
-          "help": "file name",
-          "type": "string"
-        },
-        {
-          "name": "serial",
-          "help": "disk serial number",
-          "type": "string"
-        },
-        {
-          "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": "detect-zeroes",
-          "help": "try to optimize zero writes (off, on, unmap)",
-          "type": "string"
-        },
-        {
-          "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": "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": "snapshot",
-          "help": "enable/disable snapshot mode",
-          "type": "boolean"
-        }
-      ],
-      "option": "drive"
-    }
-  ],
-  "id": "libvirt-44"
-}
-
-{
-  "return": [
-    {
-      "state": false,
-      "capability": "xbzrle"
-    },
-    {
-      "state": false,
-      "capability": "rdma-pin-all"
-    },
-    {
-      "state": false,
-      "capability": "auto-converge"
-    },
-    {
-      "state": false,
-      "capability": "zero-blocks"
-    }
-  ],
-  "id": "libvirt-45"
-}
diff --git a/tests/qemucapabilitiesdata/caps_2.1.1-1.x86_64.xml b/tests/qemucapabilitiesdata/caps_2.1.1-1.x86_64.xml
deleted file mode 100644 (file)
index 4663e19..0000000
+++ /dev/null
@@ -1,225 +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='device'/>
-  <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='drive-readonly'/>
-  <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='rombar'/>
-  <flag name='ich9-ahci'/>
-  <flag name='no-acpi'/>
-  <flag name='fsdev-readonly'/>
-  <flag name='virtio-blk-pci.scsi'/>
-  <flag name='blk-sg-io'/>
-  <flag name='drive-copy-on-read'/>
-  <flag name='cpu-host'/>
-  <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='tpm-passthrough'/>
-  <flag name='tpm-tis'/>
-  <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='active-commit'/>
-  <flag name='change-backing-file'/>
-  <flag name='memory-backend-ram'/>
-  <flag name='numa'/>
-  <flag name='memory-backend-file'/>
-  <flag name='usb-audio'/>
-  <flag name='rtc-reset-reinjection'/>
-  <flag name='splash-timeout'/>
-  <flag name='iothread'/>
-  <flag name='migrate-rdma'/>
-  <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='pc-dimm'/>
-  <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='vserport-change-event'/>
-  <flag name='qxl.vram64_size_mb'/>
-  <flag name='qxl-vga.vram64_size_mb'/>
-  <flag name='debug-threads'/>
-  <flag name='device-tray-moved-event'/>
-  <flag name='nec-usb-xhci-ports'/>
-  <version>2001001</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='Broadwell'/>
-  <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-2.1' alias='pc' maxCpus='255'/>
-  <machine name='pc-1.3' maxCpus='255'/>
-  <machine name='pc-0.12' maxCpus='255'/>
-  <machine name='pc-q35-1.6' maxCpus='255'/>
-  <machine name='pc-q35-1.5' maxCpus='255'/>
-  <machine name='xenpv' maxCpus='1'/>
-  <machine name='pc-i440fx-1.6' maxCpus='255'/>
-  <machine name='pc-i440fx-1.7' maxCpus='255'/>
-  <machine name='pc-q35-2.1' alias='q35' maxCpus='255'/>
-  <machine name='pc-0.11' maxCpus='255'/>
-  <machine name='pc-0.10' maxCpus='255'/>
-  <machine name='pc-1.2' maxCpus='255'/>
-  <machine name='isapc' maxCpus='1'/>
-  <machine name='pc-q35-1.4' maxCpus='255'/>
-  <machine name='xenfv' maxCpus='128'/>
-  <machine name='pc-0.15' maxCpus='255'/>
-  <machine name='pc-i440fx-1.5' maxCpus='255'/>
-  <machine name='pc-i440fx-1.4' maxCpus='255'/>
-  <machine name='pc-q35-2.0' maxCpus='255'/>
-  <machine name='pc-0.14' maxCpus='255'/>
-  <machine name='pc-1.1' maxCpus='255'/>
-  <machine name='pc-q35-1.7' maxCpus='255'/>
-  <machine name='pc-1.0' maxCpus='255'/>
-  <machine name='pc-i440fx-2.0' maxCpus='255'/>
-  <machine name='pc-0.13' maxCpus='255'/>
-</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.replies b/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.replies
new file mode 100644 (file)
index 0000000..6c10ea9
--- /dev/null
@@ -0,0 +1,3603 @@
+{
+  "QMP": {
+    "version": {
+      "qemu": {
+        "micro": 1,
+        "minor": 1,
+        "major": 2
+      },
+      "package": ""
+    },
+    "capabilities": [
+    ]
+  }
+}
+
+{
+  "return": {
+  },
+  "id": "libvirt-1"
+}
+
+{
+  "return": {
+    "qemu": {
+      "micro": 1,
+      "minor": 1,
+      "major": 2
+    },
+    "package": ""
+  },
+  "id": "libvirt-2"
+}
+
+{
+  "return": {
+    "arch": "x86_64"
+  },
+  "id": "libvirt-3"
+}
+
+{
+  "return": [
+    {
+      "name": "rtc-reset-reinjection"
+    },
+    {
+      "name": "query-acpi-ospm-status"
+    },
+    {
+      "name": "query-memory-devices"
+    },
+    {
+      "name": "query-memdev"
+    },
+    {
+      "name": "query-named-block-nodes"
+    },
+    {
+      "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-iothreads"
+    },
+    {
+      "name": "query-cpus"
+    },
+    {
+      "name": "query-blockstats"
+    },
+    {
+      "name": "query-block"
+    },
+    {
+      "name": "query-chardev-backends"
+    },
+    {
+      "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": "change-backing-file"
+    },
+    {
+      "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": "object-del"
+    },
+    {
+      "name": "object-add"
+    },
+    {
+      "name": "netdev_del"
+    },
+    {
+      "name": "netdev_add"
+    },
+    {
+      "name": "query-dump-guest-memory-capability"
+    },
+    {
+      "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": "DeviceNotFound",
+    "desc": "Device 'bogus' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "VSERPORT_CHANGE"
+    },
+    {
+      "name": "QUORUM_REPORT_BAD"
+    },
+    {
+      "name": "QUORUM_FAILURE"
+    },
+    {
+      "name": "GUEST_PANICKED"
+    },
+    {
+      "name": "BALLOON_CHANGE"
+    },
+    {
+      "name": "ACPI_DEVICE_OST"
+    },
+    {
+      "name": "SPICE_MIGRATE_COMPLETED"
+    },
+    {
+      "name": "SPICE_DISCONNECTED"
+    },
+    {
+      "name": "SPICE_INITIALIZED"
+    },
+    {
+      "name": "SPICE_CONNECTED"
+    },
+    {
+      "name": "VNC_DISCONNECTED"
+    },
+    {
+      "name": "VNC_INITIALIZED"
+    },
+    {
+      "name": "VNC_CONNECTED"
+    },
+    {
+      "name": "NIC_RX_FILTER_CHANGED"
+    },
+    {
+      "name": "DEVICE_DELETED"
+    },
+    {
+      "name": "WATCHDOG"
+    },
+    {
+      "name": "RTC_CHANGE"
+    },
+    {
+      "name": "WAKEUP"
+    },
+    {
+      "name": "SUSPEND_DISK"
+    },
+    {
+      "name": "SUSPEND"
+    },
+    {
+      "name": "RESUME"
+    },
+    {
+      "name": "STOP"
+    },
+    {
+      "name": "RESET"
+    },
+    {
+      "name": "POWERDOWN"
+    },
+    {
+      "name": "SHUTDOWN"
+    },
+    {
+      "name": "DEVICE_TRAY_MOVED"
+    },
+    {
+      "name": "BLOCK_JOB_READY"
+    },
+    {
+      "name": "BLOCK_JOB_ERROR"
+    },
+    {
+      "name": "BLOCK_JOB_CANCELLED"
+    },
+    {
+      "name": "BLOCK_JOB_COMPLETED"
+    },
+    {
+      "name": "BLOCK_IO_ERROR"
+    },
+    {
+      "name": "BLOCK_IMAGE_CORRUPTED"
+    }
+  ],
+  "id": "libvirt-7"
+}
+
+{
+  "return": [
+    {
+      "name": "pc-0.13-machine"
+    },
+    {
+      "name": "fw_cfg"
+    },
+    {
+      "name": "i82551"
+    },
+    {
+      "name": "i82550"
+    },
+    {
+      "name": "Westmere-x86_64-cpu"
+    },
+    {
+      "name": "xlnx,ps7-usb"
+    },
+    {
+      "name": "e1000-82540em"
+    },
+    {
+      "name": "pci-serial-4x"
+    },
+    {
+      "name": "Penryn-x86_64-cpu"
+    },
+    {
+      "name": "Haswell-x86_64-cpu"
+    },
+    {
+      "name": "iothread"
+    },
+    {
+      "name": "icc-bridge"
+    },
+    {
+      "name": "cfi.pflash01"
+    },
+    {
+      "name": "Opteron_G3-x86_64-cpu"
+    },
+    {
+      "name": "Broadwell-x86_64-cpu"
+    },
+    {
+      "name": "piix3-ide"
+    },
+    {
+      "name": "isa-parallel"
+    },
+    {
+      "name": "i2c-bus"
+    },
+    {
+      "name": "megasas"
+    },
+    {
+      "name": "usb-braille"
+    },
+    {
+      "name": "exynos4210-ehci-usb"
+    },
+    {
+      "name": "vmware-svga"
+    },
+    {
+      "name": "pc-i440fx-2.0-machine"
+    },
+    {
+      "name": "PIIX3-xen"
+    },
+    {
+      "name": "ccid-bus"
+    },
+    {
+      "name": "scsi-cd"
+    },
+    {
+      "name": "isa-serial"
+    },
+    {
+      "name": "usb-ehci"
+    },
+    {
+      "name": "user-creatable"
+    },
+    {
+      "name": "container"
+    },
+    {
+      "name": "host-x86_64-cpu"
+    },
+    {
+      "name": "pci-serial-2x"
+    },
+    {
+      "name": "piix4-ide"
+    },
+    {
+      "name": "scsi-generic"
+    },
+    {
+      "name": "pc-1.0-machine"
+    },
+    {
+      "name": "virtio-net-pci"
+    },
+    {
+      "name": "pc-dimm"
+    },
+    {
+      "name": "pc-i440fx-2.1-machine"
+    },
+    {
+      "name": "isa-debugcon"
+    },
+    {
+      "name": "ide-hd"
+    },
+    {
+      "name": "qemu64-x86_64-cpu"
+    },
+    {
+      "name": "pc-q35-1.7-machine"
+    },
+    {
+      "name": "rng-egd"
+    },
+    {
+      "name": "isa-pcspk"
+    },
+    {
+      "name": "isa-pit"
+    },
+    {
+      "name": "pc-1.1-machine"
+    },
+    {
+      "name": "ich9-usb-ehci2"
+    },
+    {
+      "name": "ich9-usb-ehci1"
+    },
+    {
+      "name": "irq"
+    },
+    {
+      "name": "cirrus-vga"
+    },
+    {
+      "name": "virtconsole"
+    },
+    {
+      "name": "virtio-rng-pci"
+    },
+    {
+      "name": "PCIE"
+    },
+    {
+      "name": "pentium3-x86_64-cpu"
+    },
+    {
+      "name": "qxl-vga"
+    },
+    {
+      "name": "ioapic"
+    },
+    {
+      "name": "kvm-pit"
+    },
+    {
+      "name": "pc-0.14-machine"
+    },
+    {
+      "name": "xen-apic"
+    },
+    {
+      "name": "pc-q35-2.0-machine"
+    },
+    {
+      "name": "usb-host"
+    },
+    {
+      "name": "usb-bus"
+    },
+    {
+      "name": "pc-i440fx-1.4-machine"
+    },
+    {
+      "name": "vhost-scsi-pci"
+    },
+    {
+      "name": "usb-kbd"
+    },
+    {
+      "name": "486-x86_64-cpu"
+    },
+    {
+      "name": "ES1370"
+    },
+    {
+      "name": "gus"
+    },
+    {
+      "name": "isa-applesmc"
+    },
+    {
+      "name": "PIIX3"
+    },
+    {
+      "name": "kvm-pci-assign"
+    },
+    {
+      "name": "xen-pci-passthrough"
+    },
+    {
+      "name": "i82559er"
+    },
+    {
+      "name": "e1000-82545em"
+    },
+    {
+      "name": "q35-pcihost"
+    },
+    {
+      "name": "tegra2-ehci-usb"
+    },
+    {
+      "name": "pc-i440fx-1.5-machine"
+    },
+    {
+      "name": "usb-bt-dongle"
+    },
+    {
+      "name": "AC97"
+    },
+    {
+      "name": "i6300esb"
+    },
+    {
+      "name": "mc146818rtc"
+    },
+    {
+      "name": "e1000-82544gc"
+    },
+    {
+      "name": "PIIX4_PM"
+    },
+    {
+      "name": "piix4-usb-uhci"
+    },
+    {
+      "name": "sysbus-ahci"
+    },
+    {
+      "name": "kvm-ioapic"
+    },
+    {
+      "name": "pvpanic"
+    },
+    {
+      "name": "core2duo-x86_64-cpu"
+    },
+    {
+      "name": "virtio-9p-pci"
+    },
+    {
+      "name": "scsi-disk"
+    },
+    {
+      "name": "acpi-device-interface"
+    },
+    {
+      "name": "sb16"
+    },
+    {
+      "name": "pc-0.15-machine"
+    },
+    {
+      "name": "xenfv-machine"
+    },
+    {
+      "name": "usb-mouse"
+    },
+    {
+      "name": "piix3-usb-uhci"
+    },
+    {
+      "name": "virtio-scsi-device"
+    },
+    {
+      "name": "virtio-blk-pci"
+    },
+    {
+      "name": "virtio-9p-device"
+    },
+    {
+      "name": "hda-output"
+    },
+    {
+      "name": "SUNW,fdtwo"
+    },
+    {
+      "name": "tpci200"
+    },
+    {
+      "name": "Opteron_G4-x86_64-cpu"
+    },
+    {
+      "name": "pc-q35-1.4-machine"
+    },
+    {
+      "name": "virtio-mmio"
+    },
+    {
+      "name": "qemu-console"
+    },
+    {
+      "name": "isa-i8259"
+    },
+    {
+      "name": "System"
+    },
+    {
+      "name": "pvscsi"
+    },
+    {
+      "name": "virtio-net-device"
+    },
+    {
+      "name": "usb-hub"
+    },
+    {
+      "name": "hda-duplex"
+    },
+    {
+      "name": "isapc-machine"
+    },
+    {
+      "name": "ipoctal232"
+    },
+    {
+      "name": "pc-1.2-machine"
+    },
+    {
+      "name": "xio3130-downstream"
+    },
+    {
+      "name": "ide-cd"
+    },
+    {
+      "name": "apic"
+    },
+    {
+      "name": "isabus-bridge"
+    },
+    {
+      "name": "memory-backend-file"
+    },
+    {
+      "name": "isa-ide"
+    },
+    {
+      "name": "isa-vga"
+    },
+    {
+      "name": "qemu:memory-region"
+    },
+    {
+      "name": "kvm-i8259"
+    },
+    {
+      "name": "rng-random"
+    },
+    {
+      "name": "hotplug-handler"
+    },
+    {
+      "name": "pci-ohci"
+    },
+    {
+      "name": "i440FX-pcihost"
+    },
+    {
+      "name": "qemu32-x86_64-cpu"
+    },
+    {
+      "name": "tpm-tis"
+    },
+    {
+      "name": "tpm-passthrough"
+    },
+    {
+      "name": "nec-usb-xhci"
+    },
+    {
+      "name": "isa-debug-exit"
+    },
+    {
+      "name": "pc-0.10-machine"
+    },
+    {
+      "name": "pc-testdev"
+    },
+    {
+      "name": "sga"
+    },
+    {
+      "name": "Opteron_G1-x86_64-cpu"
+    },
+    {
+      "name": "xen-pvdevice"
+    },
+    {
+      "name": "pcnet"
+    },
+    {
+      "name": "ivshmem"
+    },
+    {
+      "name": "hpet"
+    },
+    {
+      "name": "adlib"
+    },
+    {
+      "name": "lsi53c895a"
+    },
+    {
+      "name": "usb-audio"
+    },
+    {
+      "name": "usb-wacom-tablet"
+    },
+    {
+      "name": "pc-0.11-machine"
+    },
+    {
+      "name": "kvm-apic"
+    },
+    {
+      "name": "phenom-x86_64-cpu"
+    },
+    {
+      "name": "ioh3420"
+    },
+    {
+      "name": "cs4231a"
+    },
+    {
+      "name": "dc390"
+    },
+    {
+      "name": "nvme"
+    },
+    {
+      "name": "i82801b11-bridge"
+    },
+    {
+      "name": "kvmvapic"
+    },
+    {
+      "name": "pc-q35-2.1-machine"
+    },
+    {
+      "name": "fw-path-provider"
+    },
+    {
+      "name": "usb-net"
+    },
+    {
+      "name": "mch"
+    },
+    {
+      "name": "usb-tablet"
+    },
+    {
+      "name": "vhost-scsi"
+    },
+    {
+      "name": "usb-ccid"
+    },
+    {
+      "name": "pc-i440fx-1.7-machine"
+    },
+    {
+      "name": "virtio-mmio-bus"
+    },
+    {
+      "name": "usb-bot"
+    },
+    {
+      "name": "ICH9-LPC"
+    },
+    {
+      "name": "pci-bridge"
+    },
+    {
+      "name": "pc-i440fx-1.6-machine"
+    },
+    {
+      "name": "kvmclock"
+    },
+    {
+      "name": "lsi53c810"
+    },
+    {
+      "name": "isa-cirrus-vga"
+    },
+    {
+      "name": "virtio-serial-bus"
+    },
+    {
+      "name": "ICH9 SMB"
+    },
+    {
+      "name": "SandyBridge-x86_64-cpu"
+    },
+    {
+      "name": "esp"
+    },
+    {
+      "name": "virtio-balloon-device"
+    },
+    {
+      "name": "ccid-card-passthru"
+    },
+    {
+      "name": "qxl"
+    },
+    {
+      "name": "intel-hda"
+    },
+    {
+      "name": "vmxnet3"
+    },
+    {
+      "name": "virtio-serial-device"
+    },
+    {
+      "name": "pci-testdev"
+    },
+    {
+      "name": "ich9-usb-uhci6"
+    },
+    {
+      "name": "ib700"
+    },
+    {
+      "name": "ich9-usb-uhci4"
+    },
+    {
+      "name": "piix3-ide-xen"
+    },
+    {
+      "name": "ich9-usb-uhci5"
+    },
+    {
+      "name": "icc-bus"
+    },
+    {
+      "name": "IDE"
+    },
+    {
+      "name": "VGA"
+    },
+    {
+      "name": "ich9-usb-uhci3"
+    },
+    {
+      "name": "ich9-usb-uhci2"
+    },
+    {
+      "name": "ich9-usb-uhci1"
+    },
+    {
+      "name": "x3130-upstream"
+    },
+    {
+      "name": "none-machine"
+    },
+    {
+      "name": "sysbus-fdc"
+    },
+    {
+      "name": "SCSI"
+    },
+    {
+      "name": "n270-x86_64-cpu"
+    },
+    {
+      "name": "pci-serial"
+    },
+    {
+      "name": "xenpv-machine"
+    },
+    {
+      "name": "athlon-x86_64-cpu"
+    },
+    {
+      "name": "ISA"
+    },
+    {
+      "name": "i8042"
+    },
+    {
+      "name": "ccid-card-emulated"
+    },
+    {
+      "name": "i82559c"
+    },
+    {
+      "name": "i82559b"
+    },
+    {
+      "name": "i82559a"
+    },
+    {
+      "name": "scsi-hd"
+    },
+    {
+      "name": "pc-q35-1.5-machine"
+    },
+    {
+      "name": "virtio-balloon-pci"
+    },
+    {
+      "name": "hda-micro"
+    },
+    {
+      "name": "scsi-block"
+    },
+    {
+      "name": "virtio-scsi-pci"
+    },
+    {
+      "name": "rtl8139"
+    },
+    {
+      "name": "vmmouse"
+    },
+    {
+      "name": "ich9-intel-hda"
+    },
+    {
+      "name": "usb-mtp"
+    },
+    {
+      "name": "ide-drive"
+    },
+    {
+      "name": "PCI"
+    },
+    {
+      "name": "Opteron_G5-x86_64-cpu"
+    },
+    {
+      "name": "vmport"
+    },
+    {
+      "name": "coreduo-x86_64-cpu"
+    },
+    {
+      "name": "virtio-serial-pci"
+    },
+    {
+      "name": "pc-q35-1.6-machine"
+    },
+    {
+      "name": "xen-platform"
+    },
+    {
+      "name": "pentium2-x86_64-cpu"
+    },
+    {
+      "name": "i82558b"
+    },
+    {
+      "name": "i82558a"
+    },
+    {
+      "name": "pc-0.12-machine"
+    },
+    {
+      "name": "kvm64-x86_64-cpu"
+    },
+    {
+      "name": "port92"
+    },
+    {
+      "name": "virtio-pci-bus"
+    },
+    {
+      "name": "am53c974"
+    },
+    {
+      "name": "e1000"
+    },
+    {
+      "name": "Conroe-x86_64-cpu"
+    },
+    {
+      "name": "ne2k_isa"
+    },
+    {
+      "name": "HDA"
+    },
+    {
+      "name": "usb-storage"
+    },
+    {
+      "name": "pc-1.3-machine"
+    },
+    {
+      "name": "usb-serial"
+    },
+    {
+      "name": "sysbus-ohci"
+    },
+    {
+      "name": "usb-redir"
+    },
+    {
+      "name": "i82801"
+    },
+    {
+      "name": "usb-uas"
+    },
+    {
+      "name": "i82557b"
+    },
+    {
+      "name": "i82557c"
+    },
+    {
+      "name": "Nehalem-x86_64-cpu"
+    },
+    {
+      "name": "memory-backend-ram"
+    },
+    {
+      "name": "i82557a"
+    },
+    {
+      "name": "virtserialport"
+    },
+    {
+      "name": "i440FX"
+    },
+    {
+      "name": "ne2k_pci"
+    },
+    {
+      "name": "smbus-eeprom"
+    },
+    {
+      "name": "i82562"
+    },
+    {
+      "name": "ich9-ahci"
+    },
+    {
+      "name": "isa-fdc"
+    },
+    {
+      "name": "kvm32-x86_64-cpu"
+    },
+    {
+      "name": "Opteron_G2-x86_64-cpu"
+    },
+    {
+      "name": "virtio-rng-device"
+    },
+    {
+      "name": "IndustryPack"
+    },
+    {
+      "name": "vfio-pci"
+    },
+    {
+      "name": "vt82c686b-usb-uhci"
+    },
+    {
+      "name": "secondary-vga"
+    },
+    {
+      "name": "pentium-x86_64-cpu"
+    },
+    {
+      "name": "virtio-blk-device"
+    },
+    {
+      "name": "fusbh200-ehci-usb"
+    }
+  ],
+  "id": "libvirt-8"
+}
+
+{
+  "return": [
+    {
+      "name": "iothread",
+      "type": "link<iothread>"
+    },
+    {
+      "name": "x-data-plane",
+      "type": "bool"
+    },
+    {
+      "name": "scsi",
+      "type": "bool"
+    },
+    {
+      "name": "config-wce",
+      "type": "bool"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "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": "uint16"
+    },
+    {
+      "name": "logical_block_size",
+      "type": "uint16"
+    },
+    {
+      "name": "drive",
+      "type": "str"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-blk-device>"
+    },
+    {
+      "name": "command_serr_enable",
+      "type": "on/off"
+    },
+    {
+      "name": "multifunction",
+      "type": "on/off"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "type": "pci-devfn"
+    },
+    {
+      "name": "event_idx",
+      "type": "on/off"
+    },
+    {
+      "name": "indirect_desc",
+      "type": "on/off"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "ioeventfd",
+      "type": "on/off"
+    },
+    {
+      "name": "class",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-9"
+}
+
+{
+  "return": [
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-net-device>"
+    },
+    {
+      "name": "command_serr_enable",
+      "type": "on/off"
+    },
+    {
+      "name": "multifunction",
+      "type": "on/off"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "type": "pci-devfn"
+    },
+    {
+      "name": "event_idx",
+      "type": "on/off"
+    },
+    {
+      "name": "indirect_desc",
+      "type": "on/off"
+    },
+    {
+      "name": "tx",
+      "type": "str"
+    },
+    {
+      "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_announce",
+      "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": "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": "str"
+    },
+    {
+      "name": "addr",
+      "type": "pci-devfn"
+    },
+    {
+      "name": "configfd",
+      "type": "str"
+    },
+    {
+      "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": "str"
+    },
+    {
+      "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": "max_unmap_size",
+      "type": "uint64"
+    },
+    {
+      "name": "port_index",
+      "type": "uint16"
+    },
+    {
+      "name": "port_wwn",
+      "type": "uint64"
+    },
+    {
+      "name": "wwn",
+      "type": "uint64"
+    },
+    {
+      "name": "dpofua",
+      "type": "on/off"
+    },
+    {
+      "name": "removable",
+      "type": "on/off"
+    },
+    {
+      "name": "product",
+      "type": "str"
+    },
+    {
+      "name": "vendor",
+      "type": "str"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "ver",
+      "type": "str"
+    },
+    {
+      "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": "str"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "wwn",
+      "type": "uint64"
+    },
+    {
+      "name": "ver",
+      "type": "str"
+    },
+    {
+      "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": "str"
+    },
+    {
+      "name": "addr",
+      "type": "pci-devfn"
+    },
+    {
+      "name": "memory-hotplug-support",
+      "type": "bool"
+    },
+    {
+      "name": "acpi-pci-hotplug-with-bridge-support",
+      "type": "bool"
+    },
+    {
+      "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": "msos-desc",
+      "type": "on/off"
+    },
+    {
+      "name": "full-path",
+      "type": "on/off"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "port",
+      "type": "str"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "filter",
+      "type": "str"
+    },
+    {
+      "name": "debug",
+      "type": "uint8"
+    },
+    {
+      "name": "chardev",
+      "type": "chr"
+    }
+  ],
+  "id": "libvirt-23"
+}
+
+{
+  "return": [
+    {
+      "name": "msos-desc",
+      "type": "on/off"
+    },
+    {
+      "name": "full-path",
+      "type": "on/off"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "port",
+      "type": "str"
+    },
+    {
+      "name": "pipeline",
+      "type": "on/off"
+    },
+    {
+      "name": "loglevel",
+      "type": "uint32"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "isobsize",
+      "type": "uint32"
+    },
+    {
+      "name": "isobufs",
+      "type": "uint32"
+    },
+    {
+      "name": "productid",
+      "type": "uint32"
+    },
+    {
+      "name": "vendorid",
+      "type": "uint32"
+    },
+    {
+      "name": "hostport",
+      "type": "str"
+    },
+    {
+      "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": "pci-hole64-end",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole64-start",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole-end",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole-start",
+      "type": "int"
+    },
+    {
+      "name": "pci-conf-data[0]",
+      "type": "child<qemu:memory-region>"
+    },
+    {
+      "name": "pci-conf-idx[0]",
+      "type": "child<qemu:memory-region>"
+    },
+    {
+      "name": "short_root_bus",
+      "type": "uint32"
+    },
+    {
+      "name": "pci-hole64-size",
+      "type": "size"
+    }
+  ],
+  "id": "libvirt-26"
+}
+
+{
+  "return": [
+    {
+      "name": "mcfg_size",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole64-end",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole64-start",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole-end",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole-start",
+      "type": "int"
+    },
+    {
+      "name": "mch",
+      "type": "child<mch>"
+    },
+    {
+      "name": "pci-conf-data[0]",
+      "type": "child<qemu:memory-region>"
+    },
+    {
+      "name": "pci-conf-idx[0]",
+      "type": "child<qemu:memory-region>"
+    },
+    {
+      "name": "short_root_bus",
+      "type": "uint32"
+    },
+    {
+      "name": "pci-hole64-size",
+      "type": "size"
+    },
+    {
+      "name": "MCFG",
+      "type": "uint64"
+    }
+  ],
+  "id": "libvirt-27"
+}
+
+{
+  "return": [
+    {
+      "name": "msos-desc",
+      "type": "on/off"
+    },
+    {
+      "name": "full-path",
+      "type": "on/off"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "port",
+      "type": "str"
+    },
+    {
+      "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": "uint32"
+    }
+  ],
+  "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": "guest-stats-polling-interval",
+      "type": "int"
+    },
+    {
+      "name": "guest-stats",
+      "type": "guest statistics"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-balloon-device>"
+    },
+    {
+      "name": "command_serr_enable",
+      "type": "on/off"
+    },
+    {
+      "name": "multifunction",
+      "type": "on/off"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "type": "pci-devfn"
+    },
+    {
+      "name": "event_idx",
+      "type": "on/off"
+    },
+    {
+      "name": "indirect_desc",
+      "type": "on/off"
+    },
+    {
+      "name": "class",
+      "type": "uint32"
+    }
+  ],
+  "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": "superspeed-ports-first",
+            "type": "on/off"
+        },
+        {
+            "name": "intrs",
+            "type": "uint32"
+        },
+        {
+            "name": "slots",
+            "type": "uint32"
+        },
+        {
+            "name": "2",
+            "type": "uint32"
+        },
+        {
+            "name": "p3",
+            "type": "uint32"
+        }
+    ]
+}
+
+{
+  "return": [
+    {
+      "name": "pc-1.3",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.12",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-1.6",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-1.5",
+      "cpu-max": 255
+    },
+    {
+      "name": "xenpv",
+      "cpu-max": 1
+    },
+    {
+      "name": "none",
+      "cpu-max": 1
+    },
+    {
+      "name": "pc-i440fx-1.6",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-1.7",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-2.1",
+      "cpu-max": 255,
+      "alias": "q35"
+    },
+    {
+      "name": "pc-0.11",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.10",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-1.2",
+      "cpu-max": 255
+    },
+    {
+      "name": "isapc",
+      "cpu-max": 1
+    },
+    {
+      "name": "pc-q35-1.4",
+      "cpu-max": 255
+    },
+    {
+      "name": "xenfv",
+      "cpu-max": 128
+    },
+    {
+      "name": "pc-0.15",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-1.5",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-1.4",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-2.0",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.14",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-1.1",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-1.7",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-2.1",
+      "is-default": true,
+      "cpu-max": 255,
+      "alias": "pc"
+    },
+    {
+      "name": "pc-1.0",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-2.0",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.13",
+      "cpu-max": 255
+    }
+  ],
+  "id": "libvirt-39"
+}
+
+{
+  "return": [
+    {
+      "name": "Opteron_G5"
+    },
+    {
+      "name": "Opteron_G4"
+    },
+    {
+      "name": "Opteron_G3"
+    },
+    {
+      "name": "Opteron_G2"
+    },
+    {
+      "name": "Opteron_G1"
+    },
+    {
+      "name": "Broadwell"
+    },
+    {
+      "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": [
+    "tpm-tis"
+  ],
+  "id": "libvirt-42"
+}
+
+{
+  "return": [
+    "passthrough"
+  ],
+  "id": "libvirt-43"
+}
+
+{
+  "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": [
+        {
+          "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": [
+      ],
+      "option": "smbios"
+    },
+    {
+      "parameters": [
+      ],
+      "option": "numa"
+    },
+    {
+      "parameters": [
+        {
+          "name": "debug-threads",
+          "help": "When enabled, name the individual threads; defaults off.\nNOTE: The thread names are for debugging and not a\nstable API.",
+          "type": "boolean"
+        },
+        {
+          "name": "process",
+          "help": "Sets the name of the QEMU process, as shown in top etc",
+          "type": "string"
+        },
+        {
+          "name": "guest",
+          "help": "Sets the name of the guest.\nThis name will be displayed in the SDL window caption.\nThe name will also be used for the VNC server",
+          "type": "string"
+        }
+      ],
+      "option": "name"
+    },
+    {
+      "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": "boolean"
+        },
+        {
+          "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": "maxmem",
+          "type": "size"
+        },
+        {
+          "name": "slots",
+          "type": "number"
+        },
+        {
+          "name": "size",
+          "type": "size"
+        }
+      ],
+      "option": "memory"
+    },
+    {
+      "parameters": [
+        {
+          "name": "max-ram-below-4g",
+          "help": "maximum ram below the 4G boundary (32bit boundary)",
+          "type": "size"
+        },
+        {
+          "name": "kvm-type",
+          "help": "Specifies the KVM virtualization mode (HV, PR)",
+          "type": "string"
+        },
+        {
+          "name": "firmware",
+          "help": "firmware image",
+          "type": "string"
+        },
+        {
+          "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": "werror",
+          "help": "write error action",
+          "type": "string"
+        },
+        {
+          "name": "rerror",
+          "help": "read error action",
+          "type": "string"
+        },
+        {
+          "name": "read-only",
+          "help": "open drive file as read-only",
+          "type": "boolean"
+        },
+        {
+          "name": "file",
+          "help": "file name",
+          "type": "string"
+        },
+        {
+          "name": "serial",
+          "help": "disk serial number",
+          "type": "string"
+        },
+        {
+          "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": "detect-zeroes",
+          "help": "try to optimize zero writes (off, on, unmap)",
+          "type": "string"
+        },
+        {
+          "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": "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": "snapshot",
+          "help": "enable/disable snapshot mode",
+          "type": "boolean"
+        }
+      ],
+      "option": "drive"
+    }
+  ],
+  "id": "libvirt-44"
+}
+
+{
+  "return": [
+    {
+      "state": false,
+      "capability": "xbzrle"
+    },
+    {
+      "state": false,
+      "capability": "rdma-pin-all"
+    },
+    {
+      "state": false,
+      "capability": "auto-converge"
+    },
+    {
+      "state": false,
+      "capability": "zero-blocks"
+    }
+  ],
+  "id": "libvirt-45"
+}
diff --git a/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml b/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml
new file mode 100644 (file)
index 0000000..4663e19
--- /dev/null
@@ -0,0 +1,225 @@
+<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='device'/>
+  <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='drive-readonly'/>
+  <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='rombar'/>
+  <flag name='ich9-ahci'/>
+  <flag name='no-acpi'/>
+  <flag name='fsdev-readonly'/>
+  <flag name='virtio-blk-pci.scsi'/>
+  <flag name='blk-sg-io'/>
+  <flag name='drive-copy-on-read'/>
+  <flag name='cpu-host'/>
+  <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='tpm-passthrough'/>
+  <flag name='tpm-tis'/>
+  <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='active-commit'/>
+  <flag name='change-backing-file'/>
+  <flag name='memory-backend-ram'/>
+  <flag name='numa'/>
+  <flag name='memory-backend-file'/>
+  <flag name='usb-audio'/>
+  <flag name='rtc-reset-reinjection'/>
+  <flag name='splash-timeout'/>
+  <flag name='iothread'/>
+  <flag name='migrate-rdma'/>
+  <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='pc-dimm'/>
+  <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='vserport-change-event'/>
+  <flag name='qxl.vram64_size_mb'/>
+  <flag name='qxl-vga.vram64_size_mb'/>
+  <flag name='debug-threads'/>
+  <flag name='device-tray-moved-event'/>
+  <flag name='nec-usb-xhci-ports'/>
+  <version>2001001</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='Broadwell'/>
+  <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-2.1' alias='pc' maxCpus='255'/>
+  <machine name='pc-1.3' maxCpus='255'/>
+  <machine name='pc-0.12' maxCpus='255'/>
+  <machine name='pc-q35-1.6' maxCpus='255'/>
+  <machine name='pc-q35-1.5' maxCpus='255'/>
+  <machine name='xenpv' maxCpus='1'/>
+  <machine name='pc-i440fx-1.6' maxCpus='255'/>
+  <machine name='pc-i440fx-1.7' maxCpus='255'/>
+  <machine name='pc-q35-2.1' alias='q35' maxCpus='255'/>
+  <machine name='pc-0.11' maxCpus='255'/>
+  <machine name='pc-0.10' maxCpus='255'/>
+  <machine name='pc-1.2' maxCpus='255'/>
+  <machine name='isapc' maxCpus='1'/>
+  <machine name='pc-q35-1.4' maxCpus='255'/>
+  <machine name='xenfv' maxCpus='128'/>
+  <machine name='pc-0.15' maxCpus='255'/>
+  <machine name='pc-i440fx-1.5' maxCpus='255'/>
+  <machine name='pc-i440fx-1.4' maxCpus='255'/>
+  <machine name='pc-q35-2.0' maxCpus='255'/>
+  <machine name='pc-0.14' maxCpus='255'/>
+  <machine name='pc-1.1' maxCpus='255'/>
+  <machine name='pc-q35-1.7' maxCpus='255'/>
+  <machine name='pc-1.0' maxCpus='255'/>
+  <machine name='pc-i440fx-2.0' maxCpus='255'/>
+  <machine name='pc-0.13' maxCpus='255'/>
+</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_2.4.0-1.x86_64.replies b/tests/qemucapabilitiesdata/caps_2.4.0-1.x86_64.replies
deleted file mode 100644 (file)
index 12feb27..0000000
+++ /dev/null
@@ -1,4396 +0,0 @@
-{
-  "QMP": {
-    "version": {
-      "qemu": {
-        "micro": 0,
-        "minor": 4,
-        "major": 2
-      },
-      "package": ""
-    },
-    "capabilities": [
-    ]
-  }
-}
-
-{
-  "return": {
-  },
-  "id": "libvirt-1"
-}
-
-{
-  "return": {
-    "qemu": {
-      "micro": 0,
-      "minor": 4,
-      "major": 2
-    },
-    "package": ""
-  },
-  "id": "libvirt-2"
-}
-
-{
-  "return": {
-    "arch": "x86_64"
-  },
-  "id": "libvirt-3"
-}
-
-{
-  "return": [
-    {
-      "name": "query-rocker-of-dpa-groups"
-    },
-    {
-      "name": "query-rocker-of-dpa-flows"
-    },
-    {
-      "name": "query-rocker-ports"
-    },
-    {
-      "name": "query-rocker"
-    },
-    {
-      "name": "block-set-write-threshold"
-    },
-    {
-      "name": "x-input-send-event"
-    },
-    {
-      "name": "trace-event-set-state"
-    },
-    {
-      "name": "trace-event-get-state"
-    },
-    {
-      "name": "rtc-reset-reinjection"
-    },
-    {
-      "name": "query-acpi-ospm-status"
-    },
-    {
-      "name": "query-memory-devices"
-    },
-    {
-      "name": "query-memdev"
-    },
-    {
-      "name": "query-named-block-nodes"
-    },
-    {
-      "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-parameters"
-    },
-    {
-      "name": "migrate-set-parameters"
-    },
-    {
-      "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-servers"
-    },
-    {
-      "name": "query-vnc"
-    },
-    {
-      "name": "query-mice"
-    },
-    {
-      "name": "query-status"
-    },
-    {
-      "name": "query-kvm"
-    },
-    {
-      "name": "query-pci"
-    },
-    {
-      "name": "query-iothreads"
-    },
-    {
-      "name": "query-cpus"
-    },
-    {
-      "name": "query-blockstats"
-    },
-    {
-      "name": "query-block"
-    },
-    {
-      "name": "query-chardev-backends"
-    },
-    {
-      "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": "change-backing-file"
-    },
-    {
-      "name": "drive-mirror"
-    },
-    {
-      "name": "blockdev-snapshot-delete-internal-sync"
-    },
-    {
-      "name": "blockdev-snapshot-internal-sync"
-    },
-    {
-      "name": "blockdev-snapshot-sync"
-    },
-    {
-      "name": "block-dirty-bitmap-clear"
-    },
-    {
-      "name": "block-dirty-bitmap-remove"
-    },
-    {
-      "name": "block-dirty-bitmap-add"
-    },
-    {
-      "name": "transaction"
-    },
-    {
-      "name": "block-job-complete"
-    },
-    {
-      "name": "block-job-resume"
-    },
-    {
-      "name": "block-job-pause"
-    },
-    {
-      "name": "block-job-cancel"
-    },
-    {
-      "name": "block-job-set-speed"
-    },
-    {
-      "name": "blockdev-backup"
-    },
-    {
-      "name": "drive-backup"
-    },
-    {
-      "name": "block-commit"
-    },
-    {
-      "name": "block-stream"
-    },
-    {
-      "name": "block_resize"
-    },
-    {
-      "name": "object-del"
-    },
-    {
-      "name": "object-add"
-    },
-    {
-      "name": "netdev_del"
-    },
-    {
-      "name": "netdev_add"
-    },
-    {
-      "name": "query-dump-guest-memory-capability"
-    },
-    {
-      "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-incoming"
-    },
-    {
-      "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": "DeviceNotFound",
-    "desc": "Device 'bogus' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "MEM_UNPLUG_ERROR"
-    },
-    {
-      "name": "VSERPORT_CHANGE"
-    },
-    {
-      "name": "QUORUM_REPORT_BAD"
-    },
-    {
-      "name": "QUORUM_FAILURE"
-    },
-    {
-      "name": "GUEST_PANICKED"
-    },
-    {
-      "name": "BALLOON_CHANGE"
-    },
-    {
-      "name": "ACPI_DEVICE_OST"
-    },
-    {
-      "name": "MIGRATION"
-    },
-    {
-      "name": "SPICE_MIGRATE_COMPLETED"
-    },
-    {
-      "name": "SPICE_DISCONNECTED"
-    },
-    {
-      "name": "SPICE_INITIALIZED"
-    },
-    {
-      "name": "SPICE_CONNECTED"
-    },
-    {
-      "name": "VNC_DISCONNECTED"
-    },
-    {
-      "name": "VNC_INITIALIZED"
-    },
-    {
-      "name": "VNC_CONNECTED"
-    },
-    {
-      "name": "NIC_RX_FILTER_CHANGED"
-    },
-    {
-      "name": "DEVICE_DELETED"
-    },
-    {
-      "name": "WATCHDOG"
-    },
-    {
-      "name": "RTC_CHANGE"
-    },
-    {
-      "name": "WAKEUP"
-    },
-    {
-      "name": "SUSPEND_DISK"
-    },
-    {
-      "name": "SUSPEND"
-    },
-    {
-      "name": "RESUME"
-    },
-    {
-      "name": "STOP"
-    },
-    {
-      "name": "RESET"
-    },
-    {
-      "name": "POWERDOWN"
-    },
-    {
-      "name": "SHUTDOWN"
-    },
-    {
-      "name": "DEVICE_TRAY_MOVED"
-    },
-    {
-      "name": "BLOCK_WRITE_THRESHOLD"
-    },
-    {
-      "name": "BLOCK_JOB_READY"
-    },
-    {
-      "name": "BLOCK_JOB_ERROR"
-    },
-    {
-      "name": "BLOCK_JOB_CANCELLED"
-    },
-    {
-      "name": "BLOCK_JOB_COMPLETED"
-    },
-    {
-      "name": "BLOCK_IO_ERROR"
-    },
-    {
-      "name": "BLOCK_IMAGE_CORRUPTED"
-    }
-  ],
-  "id": "libvirt-7"
-}
-
-{
-  "return": [
-    {
-      "name": "virtio-tablet-pci"
-    },
-    {
-      "name": "pc-0.13-machine"
-    },
-    {
-      "name": "fw_cfg"
-    },
-    {
-      "name": "generic-sdhci"
-    },
-    {
-      "name": "i82551"
-    },
-    {
-      "name": "i82550"
-    },
-    {
-      "name": "Westmere-x86_64-cpu"
-    },
-    {
-      "name": "e1000-82540em"
-    },
-    {
-      "name": "pci-serial-4x"
-    },
-    {
-      "name": "Penryn-x86_64-cpu"
-    },
-    {
-      "name": "Haswell-x86_64-cpu"
-    },
-    {
-      "name": "iothread"
-    },
-    {
-      "name": "pc-q35-2.3-machine"
-    },
-    {
-      "name": "icc-bridge"
-    },
-    {
-      "name": "cfi.pflash01"
-    },
-    {
-      "name": "virtio-gpu-device"
-    },
-    {
-      "name": "Opteron_G3-x86_64-cpu"
-    },
-    {
-      "name": "Broadwell-x86_64-cpu"
-    },
-    {
-      "name": "piix3-ide"
-    },
-    {
-      "name": "isa-parallel"
-    },
-    {
-      "name": "pc-q35-2.4-machine"
-    },
-    {
-      "name": "i2c-bus"
-    },
-    {
-      "name": "megasas"
-    },
-    {
-      "name": "usb-braille"
-    },
-    {
-      "name": "vmware-svga"
-    },
-    {
-      "name": "pc-i440fx-2.0-machine"
-    },
-    {
-      "name": "PIIX3-xen"
-    },
-    {
-      "name": "ccid-bus"
-    },
-    {
-      "name": "scsi-cd"
-    },
-    {
-      "name": "isa-serial"
-    },
-    {
-      "name": "usb-ehci"
-    },
-    {
-      "name": "user-creatable"
-    },
-    {
-      "name": "container"
-    },
-    {
-      "name": "host-x86_64-cpu"
-    },
-    {
-      "name": "pci-serial-2x"
-    },
-    {
-      "name": "piix4-ide"
-    },
-    {
-      "name": "scsi-generic"
-    },
-    {
-      "name": "pc-1.0-machine"
-    },
-    {
-      "name": "virtio-net-pci"
-    },
-    {
-      "name": "pc-dimm"
-    },
-    {
-      "name": "pc-q35-1.7-machine"
-    },
-    {
-      "name": "Haswell-noTSX-x86_64-cpu"
-    },
-    {
-      "name": "pc-i440fx-2.1-machine"
-    },
-    {
-      "name": "virtio-mouse-device"
-    },
-    {
-      "name": "virtio-mouse-pci"
-    },
-    {
-      "name": "isa-debugcon"
-    },
-    {
-      "name": "ide-hd"
-    },
-    {
-      "name": "virtio-vga"
-    },
-    {
-      "name": "qemu64-x86_64-cpu"
-    },
-    {
-      "name": "rng-egd"
-    },
-    {
-      "name": "isa-pcspk"
-    },
-    {
-      "name": "isa-pit"
-    },
-    {
-      "name": "pc-1.1-machine"
-    },
-    {
-      "name": "ich9-usb-ehci1"
-    },
-    {
-      "name": "ich9-usb-ehci2"
-    },
-    {
-      "name": "pxb-host"
-    },
-    {
-      "name": "intel-iommu"
-    },
-    {
-      "name": "irq"
-    },
-    {
-      "name": "cirrus-vga"
-    },
-    {
-      "name": "virtconsole"
-    },
-    {
-      "name": "virtio-rng-pci"
-    },
-    {
-      "name": "PCIE"
-    },
-    {
-      "name": "pentium3-x86_64-cpu"
-    },
-    {
-      "name": "qxl-vga"
-    },
-    {
-      "name": "ioapic"
-    },
-    {
-      "name": "kvm-pit"
-    },
-    {
-      "name": "pc-0.14-machine"
-    },
-    {
-      "name": "pc-i440fx-1.4-machine"
-    },
-    {
-      "name": "pc-q35-2.0-machine"
-    },
-    {
-      "name": "usb-host"
-    },
-    {
-      "name": "usb-bus"
-    },
-    {
-      "name": "vhost-scsi-pci"
-    },
-    {
-      "name": "usb-kbd"
-    },
-    {
-      "name": "486-x86_64-cpu"
-    },
-    {
-      "name": "ES1370"
-    },
-    {
-      "name": "gus"
-    },
-    {
-      "name": "PIIX3"
-    },
-    {
-      "name": "isa-applesmc"
-    },
-    {
-      "name": "kvm-pci-assign"
-    },
-    {
-      "name": "i82559er"
-    },
-    {
-      "name": "q35-pcihost"
-    },
-    {
-      "name": "e1000-82545em"
-    },
-    {
-      "name": "pc-i440fx-1.5-machine"
-    },
-    {
-      "name": "usb-bt-dongle"
-    },
-    {
-      "name": "AC97"
-    },
-    {
-      "name": "i6300esb"
-    },
-    {
-      "name": "mc146818rtc"
-    },
-    {
-      "name": "e1000-82544gc"
-    },
-    {
-      "name": "PIIX4_PM"
-    },
-    {
-      "name": "piix4-usb-uhci"
-    },
-    {
-      "name": "sysbus-ahci"
-    },
-    {
-      "name": "virtio-tablet-device"
-    },
-    {
-      "name": "kvm-ioapic"
-    },
-    {
-      "name": "pvpanic"
-    },
-    {
-      "name": "core2duo-x86_64-cpu"
-    },
-    {
-      "name": "virtio-9p-pci"
-    },
-    {
-      "name": "scsi-disk"
-    },
-    {
-      "name": "acpi-device-interface"
-    },
-    {
-      "name": "sb16"
-    },
-    {
-      "name": "pc-0.15-machine"
-    },
-    {
-      "name": "usb-mouse"
-    },
-    {
-      "name": "piix3-usb-uhci"
-    },
-    {
-      "name": "vfio-calxeda-xgmac"
-    },
-    {
-      "name": "virtio-scsi-device"
-    },
-    {
-      "name": "virtio-blk-pci"
-    },
-    {
-      "name": "virtio-9p-device"
-    },
-    {
-      "name": "hda-output"
-    },
-    {
-      "name": "SUNW,fdtwo"
-    },
-    {
-      "name": "tpci200"
-    },
-    {
-      "name": "Opteron_G4-x86_64-cpu"
-    },
-    {
-      "name": "pc-q35-1.4-machine"
-    },
-    {
-      "name": "virtio-mmio"
-    },
-    {
-      "name": "qemu-console"
-    },
-    {
-      "name": "isa-i8259"
-    },
-    {
-      "name": "System"
-    },
-    {
-      "name": "pvscsi"
-    },
-    {
-      "name": "virtio-net-device"
-    },
-    {
-      "name": "usb-hub"
-    },
-    {
-      "name": "IvyBridge-x86_64-cpu"
-    },
-    {
-      "name": "hda-duplex"
-    },
-    {
-      "name": "pc-i440fx-2.3-machine"
-    },
-    {
-      "name": "virtio-keyboard-pci"
-    },
-    {
-      "name": "pci-ohci"
-    },
-    {
-      "name": "isapc-machine"
-    },
-    {
-      "name": "ipoctal232"
-    },
-    {
-      "name": "pc-1.2-machine"
-    },
-    {
-      "name": "xio3130-downstream"
-    },
-    {
-      "name": "ide-cd"
-    },
-    {
-      "name": "pc-i440fx-2.2-machine"
-    },
-    {
-      "name": "isabus-bridge"
-    },
-    {
-      "name": "nec-usb-xhci"
-    },
-    {
-      "name": "memory-backend-file"
-    },
-    {
-      "name": "isa-ide"
-    },
-    {
-      "name": "virtio-keyboard-device"
-    },
-    {
-      "name": "megasas-gen2"
-    },
-    {
-      "name": "isa-vga"
-    },
-    {
-      "name": "qemu:memory-region"
-    },
-    {
-      "name": "rng-random"
-    },
-    {
-      "name": "hotplug-handler"
-    },
-    {
-      "name": "kvm-i8259"
-    },
-    {
-      "name": "i440FX-pcihost"
-    },
-    {
-      "name": "qemu32-x86_64-cpu"
-    },
-    {
-      "name": "tpm-tis"
-    },
-    {
-      "name": "tpm-passthrough"
-    },
-    {
-      "name": "apic"
-    },
-    {
-      "name": "isa-debug-exit"
-    },
-    {
-      "name": "pc-0.10-machine"
-    },
-    {
-      "name": "pc-testdev"
-    },
-    {
-      "name": "rocker"
-    },
-    {
-      "name": "Opteron_G1-x86_64-cpu"
-    },
-    {
-      "name": "sga"
-    },
-    {
-      "name": "pcnet"
-    },
-    {
-      "name": "ivshmem"
-    },
-    {
-      "name": "hpet"
-    },
-    {
-      "name": "adlib"
-    },
-    {
-      "name": "lsi53c895a"
-    },
-    {
-      "name": "pxb-bus"
-    },
-    {
-      "name": "usb-audio"
-    },
-    {
-      "name": "usb-wacom-tablet"
-    },
-    {
-      "name": "pc-0.11-machine"
-    },
-    {
-      "name": "kvm-apic"
-    },
-    {
-      "name": "phenom-x86_64-cpu"
-    },
-    {
-      "name": "fw_cfg_io"
-    },
-    {
-      "name": "ioh3420"
-    },
-    {
-      "name": "pc-q35-2.1-machine"
-    },
-    {
-      "name": "cs4231a"
-    },
-    {
-      "name": "dc390"
-    },
-    {
-      "name": "nvme"
-    },
-    {
-      "name": "i82801b11-bridge"
-    },
-    {
-      "name": "kvmvapic"
-    },
-    {
-      "name": "fw-path-provider"
-    },
-    {
-      "name": "usb-net"
-    },
-    {
-      "name": "pci-bridge-seat"
-    },
-    {
-      "name": "mch"
-    },
-    {
-      "name": "usb-tablet"
-    },
-    {
-      "name": "vhost-scsi"
-    },
-    {
-      "name": "usb-ccid"
-    },
-    {
-      "name": "pc-i440fx-1.7-machine"
-    },
-    {
-      "name": "tcg-accel"
-    },
-    {
-      "name": "virtio-mmio-bus"
-    },
-    {
-      "name": "pc-q35-2.2-machine"
-    },
-    {
-      "name": "usb-bot"
-    },
-    {
-      "name": "ICH9-LPC"
-    },
-    {
-      "name": "edu"
-    },
-    {
-      "name": "accel"
-    },
-    {
-      "name": "pc-i440fx-1.6-machine"
-    },
-    {
-      "name": "kvmclock"
-    },
-    {
-      "name": "lsi53c810"
-    },
-    {
-      "name": "isa-cirrus-vga"
-    },
-    {
-      "name": "virtio-serial-bus"
-    },
-    {
-      "name": "ib700"
-    },
-    {
-      "name": "SandyBridge-x86_64-cpu"
-    },
-    {
-      "name": "esp"
-    },
-    {
-      "name": "virtio-balloon-device"
-    },
-    {
-      "name": "ccid-card-passthru"
-    },
-    {
-      "name": "ich9-usb-uhci5"
-    },
-    {
-      "name": "qxl"
-    },
-    {
-      "name": "intel-hda"
-    },
-    {
-      "name": "ich9-usb-uhci6"
-    },
-    {
-      "name": "pci-bridge"
-    },
-    {
-      "name": "virtio-serial-device"
-    },
-    {
-      "name": "ich9-usb-uhci3"
-    },
-    {
-      "name": "ICH9 SMB"
-    },
-    {
-      "name": "ich9-usb-uhci4"
-    },
-    {
-      "name": "piix3-ide-xen"
-    },
-    {
-      "name": "virtio-input-host-device"
-    },
-    {
-      "name": "icc-bus"
-    },
-    {
-      "name": "vmxnet3"
-    },
-    {
-      "name": "IDE"
-    },
-    {
-      "name": "VGA"
-    },
-    {
-      "name": "pci-testdev"
-    },
-    {
-      "name": "ich9-usb-uhci2"
-    },
-    {
-      "name": "ich9-usb-uhci1"
-    },
-    {
-      "name": "x3130-upstream"
-    },
-    {
-      "name": "none-machine"
-    },
-    {
-      "name": "sysbus-fdc"
-    },
-    {
-      "name": "SCSI"
-    },
-    {
-      "name": "n270-x86_64-cpu"
-    },
-    {
-      "name": "pci-serial"
-    },
-    {
-      "name": "pc-q35-1.5-machine"
-    },
-    {
-      "name": "athlon-x86_64-cpu"
-    },
-    {
-      "name": "ISA"
-    },
-    {
-      "name": "i8042"
-    },
-    {
-      "name": "kvm-accel"
-    },
-    {
-      "name": "i82559c"
-    },
-    {
-      "name": "i82559b"
-    },
-    {
-      "name": "i82559a"
-    },
-    {
-      "name": "scsi-hd"
-    },
-    {
-      "name": "qtest-accel"
-    },
-    {
-      "name": "virtio-balloon-pci"
-    },
-    {
-      "name": "hda-micro"
-    },
-    {
-      "name": "scsi-block"
-    },
-    {
-      "name": "virtio-scsi-pci"
-    },
-    {
-      "name": "rtl8139"
-    },
-    {
-      "name": "vmmouse"
-    },
-    {
-      "name": "ich9-intel-hda"
-    },
-    {
-      "name": "usb-mtp"
-    },
-    {
-      "name": "ide-drive"
-    },
-    {
-      "name": "fw_cfg_mem"
-    },
-    {
-      "name": "PCI"
-    },
-    {
-      "name": "Opteron_G5-x86_64-cpu"
-    },
-    {
-      "name": "vmport"
-    },
-    {
-      "name": "coreduo-x86_64-cpu"
-    },
-    {
-      "name": "virtio-serial-pci"
-    },
-    {
-      "name": "pc-q35-1.6-machine"
-    },
-    {
-      "name": "virtio-input-host-pci"
-    },
-    {
-      "name": "virtio-pci-bus"
-    },
-    {
-      "name": "pentium2-x86_64-cpu"
-    },
-    {
-      "name": "nmi"
-    },
-    {
-      "name": "i82558b"
-    },
-    {
-      "name": "i82558a"
-    },
-    {
-      "name": "pc-0.12-machine"
-    },
-    {
-      "name": "am53c974"
-    },
-    {
-      "name": "sdhci-pci"
-    },
-    {
-      "name": "port92"
-    },
-    {
-      "name": "pxb"
-    },
-    {
-      "name": "kvm64-x86_64-cpu"
-    },
-    {
-      "name": "e1000"
-    },
-    {
-      "name": "Conroe-x86_64-cpu"
-    },
-    {
-      "name": "ne2k_isa"
-    },
-    {
-      "name": "pc-1.3-machine"
-    },
-    {
-      "name": "HDA"
-    },
-    {
-      "name": "usb-storage"
-    },
-    {
-      "name": "usb-serial"
-    },
-    {
-      "name": "usb-uas"
-    },
-    {
-      "name": "pc-i440fx-2.4-machine"
-    },
-    {
-      "name": "sysbus-ohci"
-    },
-    {
-      "name": "usb-redir"
-    },
-    {
-      "name": "i82801"
-    },
-    {
-      "name": "Broadwell-noTSX-x86_64-cpu"
-    },
-    {
-      "name": "i82557c"
-    },
-    {
-      "name": "i82557b"
-    },
-    {
-      "name": "i82557a"
-    },
-    {
-      "name": "Nehalem-x86_64-cpu"
-    },
-    {
-      "name": "memory-backend-ram"
-    },
-    {
-      "name": "QJSON"
-    },
-    {
-      "name": "virtserialport"
-    },
-    {
-      "name": "i440FX"
-    },
-    {
-      "name": "ne2k_pci"
-    },
-    {
-      "name": "smbus-eeprom"
-    },
-    {
-      "name": "i82562"
-    },
-    {
-      "name": "ich9-ahci"
-    },
-    {
-      "name": "virtio-rng-device"
-    },
-    {
-      "name": "isa-fdc"
-    },
-    {
-      "name": "kvm32-x86_64-cpu"
-    },
-    {
-      "name": "Opteron_G2-x86_64-cpu"
-    },
-    {
-      "name": "vfio-pci"
-    },
-    {
-      "name": "IndustryPack"
-    },
-    {
-      "name": "virtio-gpu-pci"
-    },
-    {
-      "name": "vt82c686b-usb-uhci"
-    },
-    {
-      "name": "secondary-vga"
-    },
-    {
-      "name": "pentium-x86_64-cpu"
-    },
-    {
-      "name": "virtio-blk-device"
-    }
-  ],
-  "id": "libvirt-8"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "iothread",
-      "type": "link<iothread>"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-data-plane",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "request-merging",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "scsi",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "config-wce",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "secs",
-      "type": "uint32"
-    },
-    {
-      "name": "heads",
-      "type": "uint32"
-    },
-    {
-      "name": "cyls",
-      "type": "uint32"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-blk-device>"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vectors",
-      "type": "uint32"
-    },
-    {
-      "name": "ioeventfd",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "class",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-9"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "tx",
-      "type": "str"
-    },
-    {
-      "name": "x-txburst",
-      "type": "int32"
-    },
-    {
-      "name": "x-txtimer",
-      "type": "uint32"
-    },
-    {
-      "name": "netdev",
-      "description": "ID of a netdev to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "vlan",
-      "description": "Integer VLAN id to connect to",
-      "type": "int32"
-    },
-    {
-      "name": "mac",
-      "description": "Ethernet 6-byte MAC Address, example: 52:54:00:12:34:56",
-      "type": "str"
-    },
-    {
-      "name": "mq",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_guest_offloads",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_mac_addr",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_rx_extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_vlan",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_rx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_vq",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "status",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "mrg_rxbuf",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host_ufo",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host_ecn",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host_tso6",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host_tso4",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_announce",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_ufo",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_ecn",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_tso6",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_tso4",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "gso",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_csum",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "csum",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-net-device>"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vectors",
-      "type": "uint32"
-    },
-    {
-      "name": "ioeventfd",
-      "description": "on/off",
-      "type": "bool"
-    }
-  ],
-  "id": "libvirt-10"
-}
-
-{
-    "return": [
-        {
-            "name": "iothread",
-            "type": "link<iothread>"
-        },
-        {
-            "name": "any_layout",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "notify_on_empty",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "event_idx",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "indirect_desc",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "param_change",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "hotplug",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "cmd_per_lun",
-            "type": "uint32"
-        },
-        {
-            "name": "max_sectors",
-            "type": "uint32"
-        },
-        {
-            "name": "num_queues",
-            "type": "uint32"
-        },
-        {
-            "name": "virtio-backend",
-            "type": "child<virtio-scsi-device>"
-        },
-        {
-            "name": "command_serr_enable",
-            "description":"on/off",
-            "type": "bool"
-        },
-        {
-            "name": "multifunction",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "rombar",
-            "type": "uint32"
-        },
-        {
-            "name": "romfile",
-            "type": "str"
-        },
-        {
-            "name": "addr",
-            "description": "Slot and optional function number, example: 06.0 or 06",
-            "type": "int32"
-        },
-        {
-            "name": "disable-modern",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "disable-legacy",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "virtio-pci-bus-master-bug-migration",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "vectors",
-            "type": "uint32"
-        },
-        {
-            "name": "ioeventfd",
-            "description": "on/off",
-            "type": "bool"
-        }
-    ],
-    "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": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "configfd",
-      "type": "str"
-    },
-    {
-      "name": "share_intx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "prefer_msi",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host",
-      "description": "Address (bus/device/function) of the host device, example: 04:10.0",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-18"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "x-mmap",
-      "type": "bool"
-    },
-    {
-      "name": "x-req",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-vga",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-intx-mmap-timeout-ms",
-      "type": "uint32"
-    },
-    {
-      "name": "host",
-      "description": "Address (bus/device/function) of the host device, example: 04:10.0",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-19"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "lun",
-      "type": "uint32"
-    },
-    {
-      "name": "scsi-id",
-      "type": "uint32"
-    },
-    {
-      "name": "channel",
-      "type": "uint32"
-    },
-    {
-      "name": "max_io_size",
-      "type": "uint64"
-    },
-    {
-      "name": "max_unmap_size",
-      "type": "uint64"
-    },
-    {
-      "name": "port_index",
-      "type": "uint16"
-    },
-    {
-      "name": "port_wwn",
-      "type": "uint64"
-    },
-    {
-      "name": "wwn",
-      "type": "uint64"
-    },
-    {
-      "name": "dpofua",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "removable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "product",
-      "type": "str"
-    },
-    {
-      "name": "vendor",
-      "type": "str"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "ver",
-      "type": "str"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-20"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "unit",
-      "type": "uint32"
-    },
-    {
-      "name": "model",
-      "type": "str"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "wwn",
-      "type": "uint64"
-    },
-    {
-      "name": "ver",
-      "type": "str"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-21"
-}
-
-{
-  "return": [
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "memory-hotplug-support",
-      "type": "bool"
-    },
-    {
-      "name": "acpi-pci-hotplug-with-bridge-support",
-      "type": "bool"
-    },
-    {
-      "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": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "msos-desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "full-path",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "port",
-      "type": "str"
-    },
-    {
-      "name": "filter",
-      "type": "str"
-    },
-    {
-      "name": "debug",
-      "type": "uint8"
-    },
-    {
-      "name": "chardev",
-      "description": "ID of a chardev to use as a backend",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-23"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "msos-desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "full-path",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "port",
-      "type": "str"
-    },
-    {
-      "name": "pipeline",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "loglevel",
-      "type": "uint32"
-    },
-    {
-      "name": "isobsize",
-      "type": "uint32"
-    },
-    {
-      "name": "isobufs",
-      "type": "uint32"
-    },
-    {
-      "name": "productid",
-      "type": "uint32"
-    },
-    {
-      "name": "vendorid",
-      "type": "uint32"
-    },
-    {
-      "name": "hostport",
-      "type": "str"
-    },
-    {
-      "name": "hostaddr",
-      "type": "uint32"
-    },
-    {
-      "name": "hostbus",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-24"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "lun",
-      "type": "uint32"
-    },
-    {
-      "name": "scsi-id",
-      "type": "uint32"
-    },
-    {
-      "name": "channel",
-      "type": "uint32"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-25"
-}
-
-{
-  "return": [
-    {
-      "name": "pci-hole64-end",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole64-start",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole-end",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole-start",
-      "type": "int"
-    },
-    {
-      "name": "pci-conf-data[0]",
-      "type": "child<qemu:memory-region>"
-    },
-    {
-      "name": "pci-conf-idx[0]",
-      "type": "child<qemu:memory-region>"
-    },
-    {
-      "name": "short_root_bus",
-      "type": "uint32"
-    },
-    {
-      "name": "pci-hole64-size",
-      "type": "size"
-    }
-  ],
-  "id": "libvirt-26"
-}
-
-{
-  "return": [
-    {
-      "name": "mcfg_size",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole64-end",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole64-start",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole-end",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole-start",
-      "type": "int"
-    },
-    {
-      "name": "mch",
-      "type": "child<mch>"
-    },
-    {
-      "name": "pci-conf-data[0]",
-      "type": "child<qemu:memory-region>"
-    },
-    {
-      "name": "pci-conf-idx[0]",
-      "type": "child<qemu:memory-region>"
-    },
-    {
-      "name": "pcie-mmcfg-mmio[0]",
-      "type": "child<qemu:memory-region>"
-    },
-    {
-      "name": "short_root_bus",
-      "type": "uint32"
-    },
-    {
-      "name": "pci-hole64-size",
-      "type": "size"
-    },
-    {
-      "name": "MCFG",
-      "type": "uint64"
-    }
-  ],
-  "id": "libvirt-27"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "msos-desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "full-path",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "port",
-      "type": "str"
-    },
-    {
-      "name": "removable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-28"
-}
-
-{
-  "return": [
-    {
-      "name": "lost_tick_policy",
-      "type": "LostTickPolicy"
-    },
-    {
-      "name": "iobase",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-29"
-}
-
-{
-  "return": [
-    {
-      "name": "big-endian-framebuffer",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "qemu-extended-regs",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "mmio",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vgamem_mb",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-30"
-}
-
-{
-  "return": [
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "vgamem_mb",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-31"
-}
-
-{
-  "return": [
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "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",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "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"
-}
-
-{
-  "return": [
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "max_outputs",
-      "type": "uint32"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-gpu-device>"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vectors",
-      "type": "uint32"
-    },
-    {
-      "name": "ioeventfd",
-      "description": "on/off",
-      "type": "bool"
-    }
-  ],
-  "id": "libvirt-34"
-}
-
-{
-  "return":  [
-    {
-      "type": "bool",
-      "name": "memory-hotplug-support"
-    },
-    {
-      "type": "uint32",
-      "name": "rombar"
-    },
-    {
-      "type": "uint32",
-      "name": "sci_int"
-    },
-    {
-      "type": "uint32",
-      "name": "gpe0_blk_len"
-    },
-    {
-      "type": "uint32",
-      "name": "pm_io_base"
-    },
-    {
-      "type": "bool",
-      "name": "noreboot"
-    },
-    {
-      "type": "bool",
-      "name": "multifunction",
-      "description": "on/off"
-    },
-    {
-      "type": "uint8",
-      "name": "disable_s4"
-    },
-    {
-      "type": "uint8",
-      "name": "acpi_disable_cmd"
-    },
-    {
-      "type": "str",
-      "name": "romfile"
-    },
-    {
-      "type": "uint8",
-      "name": "disable_s3"
-    },
-    {
-      "type": "uint8",
-      "name": "s4_val"
-    },
-    {
-      "type": "uint8",
-      "name": "acpi_enable_cmd"
-    },
-    {
-      "type": "bool",
-      "name": "command_serr_enable",
-      "description": "on/off"
-    },
-    {
-      "type": "int32",
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06"
-    },
-    {
-      "type": "bool",
-      "name": "enable_tco"
-    },
-    {
-      "type": "uint32",
-      "name": "gpe0_blk"
-    }
-  ],
-  "id": "libvirt-35"
-}
-
-
-{
-  "return": [
-    {
-      "name": "guest-stats-polling-interval",
-      "type": "int"
-    },
-    {
-      "name": "guest-stats",
-      "type": "guest statistics"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "deflate-on-oom",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-balloon-device>"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "class",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-36"
-}
-
-{
-  "id": "libvirt-37",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'virtio-balloon-ccw' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "guest-stats-polling-interval",
-      "type": "int"
-    },
-    {
-      "name": "guest-stats",
-      "type": "guest statistics"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "deflate-on-oom",
-      "description": "on/off",
-      "type": "bool"
-    }
-  ],
-  "id": "libvirt-38"
-}
-
-{
-    "return": [
-        {
-            "name": "msi",
-            "type": "on/off"
-        },
-        {
-            "name": "msix",
-            "type": "on/off"
-        },
-        {
-            "name": "superspeed-ports-first",
-            "type": "on/off"
-        },
-        {
-            "name": "force-pcie-endcap",
-            "type": "on/off"
-        },
-        {
-            "name": "streams",
-            "type": "on/off"
-        },
-        {
-            "name": "intrs",
-            "type": "uint32"
-        },
-        {
-            "name": "slots",
-            "type": "uint32"
-        },
-        {
-            "name": "2",
-            "type": "uint32"
-        },
-        {
-            "name": "p3",
-            "type": "uint32"
-        }
-    ]
-}
-
-{
-  "return": [
-    {
-      "name": "pc-i440fx-2.4",
-      "is-default": true,
-      "cpu-max": 255,
-      "alias": "pc"
-    },
-    {
-      "name": "pc-1.3",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-0.12",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-1.6",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-1.5",
-      "cpu-max": 255
-    },
-    {
-      "name": "none",
-      "cpu-max": 1
-    },
-    {
-      "name": "pc-i440fx-1.6",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-2.2",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-1.7",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-2.1",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-0.11",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-0.10",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-2.2",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-1.2",
-      "cpu-max": 255
-    },
-    {
-      "name": "isapc",
-      "cpu-max": 1
-    },
-    {
-      "name": "pc-i440fx-2.3",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-1.4",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-0.15",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-1.5",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-2.0",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-1.4",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-0.14",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-1.1",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-2.1",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-1.7",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-1.0",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-2.0",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-2.4",
-      "cpu-max": 255,
-      "alias": "q35"
-    },
-    {
-      "name": "pc-q35-2.3",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-0.13",
-      "cpu-max": 255
-    }
-  ],
-  "id": "libvirt-39"
-}
-
-{
-  "return": [
-    {
-      "name": "Opteron_G5"
-    },
-    {
-      "name": "Opteron_G4"
-    },
-    {
-      "name": "Opteron_G3"
-    },
-    {
-      "name": "Opteron_G2"
-    },
-    {
-      "name": "Opteron_G1"
-    },
-    {
-      "name": "Broadwell"
-    },
-    {
-      "name": "Broadwell-noTSX"
-    },
-    {
-      "name": "Haswell"
-    },
-    {
-      "name": "Haswell-noTSX"
-    },
-    {
-      "name": "IvyBridge"
-    },
-    {
-      "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": [
-    "tpm-tis"
-  ],
-  "id": "libvirt-42"
-}
-
-{
-  "return": [
-    "passthrough"
-  ],
-  "id": "libvirt-43"
-}
-
-{
-  "return": [
-    {
-      "parameters": [
-        {
-          "name": "timeout",
-          "help": "Request timeout in seconds (default 0 = no timeout)",
-          "type": "number"
-        },
-        {
-          "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": [
-        {
-          "name": "non-adaptive",
-          "type": "boolean"
-        },
-        {
-          "name": "lossy",
-          "type": "boolean"
-        },
-        {
-          "name": "acl",
-          "type": "boolean"
-        },
-        {
-          "name": "x509verify",
-          "type": "string"
-        },
-        {
-          "name": "tls",
-          "type": "boolean"
-        },
-        {
-          "name": "sasl",
-          "type": "boolean"
-        },
-        {
-          "name": "lock-key-sync",
-          "type": "boolean"
-        },
-        {
-          "name": "reverse",
-          "type": "boolean"
-        },
-        {
-          "name": "password",
-          "type": "boolean"
-        },
-        {
-          "name": "ipv6",
-          "type": "boolean"
-        },
-        {
-          "name": "ipv4",
-          "type": "boolean"
-        },
-        {
-          "name": "to",
-          "type": "number"
-        },
-        {
-          "name": "connections",
-          "type": "number"
-        },
-        {
-          "name": "head",
-          "type": "number"
-        },
-        {
-          "name": "display",
-          "type": "string"
-        },
-        {
-          "name": "share",
-          "type": "string"
-        },
-        {
-          "name": "x509",
-          "type": "string"
-        },
-        {
-          "name": "websocket",
-          "type": "string"
-        },
-        {
-          "name": "vnc",
-          "type": "string"
-        }
-      ],
-      "option": "vnc"
-    },
-    {
-      "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": [
-      ],
-      "option": "smbios"
-    },
-    {
-      "parameters": [
-        {
-          "name": "file",
-          "help": "Sets the name of the file from which\nthe fw_cfg blob will be loaded",
-          "type": "string"
-        },
-        {
-          "name": "name",
-          "help": "Sets the fw_cfg name of the blob to be inserted",
-          "type": "string"
-        }
-      ],
-      "option": "fw_cfg"
-    },
-    {
-      "parameters": [
-        {
-          "name": "arg",
-          "type": "string"
-        },
-        {
-          "name": "target",
-          "type": "string"
-        },
-        {
-          "name": "enable",
-          "type": "boolean"
-        }
-      ],
-      "option": "semihosting-config"
-    },
-    {
-      "parameters": [
-        {
-          "name": "sleep",
-          "type": "boolean"
-        },
-        {
-          "name": "align",
-          "type": "boolean"
-        },
-        {
-          "name": "shift",
-          "type": "string"
-        }
-      ],
-      "option": "icount"
-    },
-    {
-      "parameters": [
-      ],
-      "option": "numa"
-    },
-    {
-      "parameters": [
-        {
-          "name": "debug-threads",
-          "help": "When enabled, name the individual threads; defaults off.\nNOTE: The thread names are for debugging and not a\nstable API.",
-          "type": "boolean"
-        },
-        {
-          "name": "process",
-          "help": "Sets the name of the QEMU process, as shown in top etc",
-          "type": "string"
-        },
-        {
-          "name": "guest",
-          "help": "Sets the name of the guest.\nThis name will be displayed in the SDL window caption.\nThe name will also be used for the VNC server",
-          "type": "string"
-        }
-      ],
-      "option": "name"
-    },
-    {
-      "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": "boolean"
-        },
-        {
-          "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": "maxmem",
-          "type": "size"
-        },
-        {
-          "name": "slots",
-          "type": "number"
-        },
-        {
-          "name": "size",
-          "type": "size"
-        }
-      ],
-      "option": "memory"
-    },
-    {
-      "parameters": [
-        {
-          "name": "suppress-vmdesc",
-          "help": "Set on to disable self-describing migration",
-          "type": "boolean"
-        },
-        {
-          "name": "iommu",
-          "help": "Set on/off to enable/disable Intel IOMMU (VT-d)",
-          "type": "boolean"
-        },
-        {
-          "name": "firmware",
-          "help": "firmware image",
-          "type": "string"
-        },
-        {
-          "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": "reconnect",
-          "type": "number"
-        },
-        {
-          "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": "werror",
-          "help": "write error action",
-          "type": "string"
-        },
-        {
-          "name": "rerror",
-          "help": "read error action",
-          "type": "string"
-        },
-        {
-          "name": "read-only",
-          "help": "open drive file as read-only",
-          "type": "boolean"
-        },
-        {
-          "name": "file",
-          "help": "file name",
-          "type": "string"
-        },
-        {
-          "name": "serial",
-          "help": "disk serial number",
-          "type": "string"
-        },
-        {
-          "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": "detect-zeroes",
-          "help": "try to optimize zero writes (off, on, unmap)",
-          "type": "string"
-        },
-        {
-          "name": "throttling.group",
-          "help": "name of the block throttling group",
-          "type": "string"
-        },
-        {
-          "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": "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": "snapshot",
-          "help": "enable/disable snapshot mode",
-          "type": "boolean"
-        }
-      ],
-      "option": "drive"
-    }
-  ],
-  "id": "libvirt-44"
-}
-
-{
-  "return": [
-    {
-      "state": false,
-      "capability": "xbzrle"
-    },
-    {
-      "state": false,
-      "capability": "rdma-pin-all"
-    },
-    {
-      "state": false,
-      "capability": "auto-converge"
-    },
-    {
-      "state": false,
-      "capability": "zero-blocks"
-    },
-    {
-      "state": false,
-      "capability": "compress"
-    },
-    {
-      "state": false,
-      "capability": "events"
-    }
-  ],
-  "id": "libvirt-44"
-}
diff --git a/tests/qemucapabilitiesdata/caps_2.4.0-1.x86_64.xml b/tests/qemucapabilitiesdata/caps_2.4.0-1.x86_64.xml
deleted file mode 100644 (file)
index a8df7e1..0000000
+++ /dev/null
@@ -1,245 +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='device'/>
-  <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='drive-readonly'/>
-  <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-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='rombar'/>
-  <flag name='ich9-ahci'/>
-  <flag name='no-acpi'/>
-  <flag name='fsdev-readonly'/>
-  <flag name='virtio-blk-pci.scsi'/>
-  <flag name='blk-sg-io'/>
-  <flag name='drive-copy-on-read'/>
-  <flag name='cpu-host'/>
-  <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='tpm-passthrough'/>
-  <flag name='tpm-tis'/>
-  <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='active-commit'/>
-  <flag name='change-backing-file'/>
-  <flag name='memory-backend-ram'/>
-  <flag name='numa'/>
-  <flag name='memory-backend-file'/>
-  <flag name='usb-audio'/>
-  <flag name='rtc-reset-reinjection'/>
-  <flag name='splash-timeout'/>
-  <flag name='iothread'/>
-  <flag name='migrate-rdma'/>
-  <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='pc-dimm'/>
-  <flag name='machine-vmport-opt'/>
-  <flag name='pci-serial'/>
-  <flag name='vhost-user-multiqueue'/>
-  <flag name='migration-event'/>
-  <flag name='ioh3420'/>
-  <flag name='x3130-upstream'/>
-  <flag name='xio3130-downstream'/>
-  <flag name='rtl8139'/>
-  <flag name='e1000'/>
-  <flag name='virtio-net'/>
-  <flag name='incoming-defer'/>
-  <flag name='virtio-gpu'/>
-  <flag name='virtio-keyboard'/>
-  <flag name='virtio-mouse'/>
-  <flag name='virtio-tablet'/>
-  <flag name='virtio-input-host'/>
-  <flag name='ich9-disable-s3'/>
-  <flag name='ich9-disable-s4'/>
-  <flag name='vserport-change-event'/>
-  <flag name='virtio-balloon-pci.deflate-on-oom'/>
-  <flag name='qxl.vram64_size_mb'/>
-  <flag name='qxl-vga.vram64_size_mb'/>
-  <flag name='debug-threads'/>
-  <flag name='pxb'/>
-  <flag name='device-tray-moved-event'/>
-  <flag name='nec-usb-xhci-ports'/>
-  <flag name='virtio-scsi-pci.iothread'/>
-  <version>2004000</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='Broadwell'/>
-  <cpu name='Broadwell-noTSX'/>
-  <cpu name='Haswell'/>
-  <cpu name='Haswell-noTSX'/>
-  <cpu name='IvyBridge'/>
-  <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-2.4' alias='pc' maxCpus='255'/>
-  <machine name='pc-1.3' maxCpus='255'/>
-  <machine name='pc-0.12' maxCpus='255'/>
-  <machine name='pc-q35-1.6' maxCpus='255'/>
-  <machine name='pc-q35-1.5' maxCpus='255'/>
-  <machine name='pc-i440fx-1.6' maxCpus='255'/>
-  <machine name='pc-q35-2.2' maxCpus='255'/>
-  <machine name='pc-i440fx-1.7' maxCpus='255'/>
-  <machine name='pc-q35-2.1' maxCpus='255'/>
-  <machine name='pc-0.11' maxCpus='255'/>
-  <machine name='pc-0.10' maxCpus='255'/>
-  <machine name='pc-i440fx-2.2' maxCpus='255'/>
-  <machine name='pc-1.2' maxCpus='255'/>
-  <machine name='isapc' maxCpus='1'/>
-  <machine name='pc-i440fx-2.3' maxCpus='255'/>
-  <machine name='pc-q35-1.4' maxCpus='255'/>
-  <machine name='pc-0.15' maxCpus='255'/>
-  <machine name='pc-i440fx-1.5' maxCpus='255'/>
-  <machine name='pc-q35-2.0' maxCpus='255'/>
-  <machine name='pc-i440fx-1.4' maxCpus='255'/>
-  <machine name='pc-0.14' maxCpus='255'/>
-  <machine name='pc-1.1' maxCpus='255'/>
-  <machine name='pc-i440fx-2.1' maxCpus='255'/>
-  <machine name='pc-q35-1.7' maxCpus='255'/>
-  <machine name='pc-1.0' maxCpus='255'/>
-  <machine name='pc-i440fx-2.0' maxCpus='255'/>
-  <machine name='pc-q35-2.4' alias='q35' maxCpus='255'/>
-  <machine name='pc-q35-2.3' maxCpus='255'/>
-  <machine name='pc-0.13' maxCpus='255'/>
-</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.replies b/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.replies
new file mode 100644 (file)
index 0000000..12feb27
--- /dev/null
@@ -0,0 +1,4396 @@
+{
+  "QMP": {
+    "version": {
+      "qemu": {
+        "micro": 0,
+        "minor": 4,
+        "major": 2
+      },
+      "package": ""
+    },
+    "capabilities": [
+    ]
+  }
+}
+
+{
+  "return": {
+  },
+  "id": "libvirt-1"
+}
+
+{
+  "return": {
+    "qemu": {
+      "micro": 0,
+      "minor": 4,
+      "major": 2
+    },
+    "package": ""
+  },
+  "id": "libvirt-2"
+}
+
+{
+  "return": {
+    "arch": "x86_64"
+  },
+  "id": "libvirt-3"
+}
+
+{
+  "return": [
+    {
+      "name": "query-rocker-of-dpa-groups"
+    },
+    {
+      "name": "query-rocker-of-dpa-flows"
+    },
+    {
+      "name": "query-rocker-ports"
+    },
+    {
+      "name": "query-rocker"
+    },
+    {
+      "name": "block-set-write-threshold"
+    },
+    {
+      "name": "x-input-send-event"
+    },
+    {
+      "name": "trace-event-set-state"
+    },
+    {
+      "name": "trace-event-get-state"
+    },
+    {
+      "name": "rtc-reset-reinjection"
+    },
+    {
+      "name": "query-acpi-ospm-status"
+    },
+    {
+      "name": "query-memory-devices"
+    },
+    {
+      "name": "query-memdev"
+    },
+    {
+      "name": "query-named-block-nodes"
+    },
+    {
+      "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-parameters"
+    },
+    {
+      "name": "migrate-set-parameters"
+    },
+    {
+      "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-servers"
+    },
+    {
+      "name": "query-vnc"
+    },
+    {
+      "name": "query-mice"
+    },
+    {
+      "name": "query-status"
+    },
+    {
+      "name": "query-kvm"
+    },
+    {
+      "name": "query-pci"
+    },
+    {
+      "name": "query-iothreads"
+    },
+    {
+      "name": "query-cpus"
+    },
+    {
+      "name": "query-blockstats"
+    },
+    {
+      "name": "query-block"
+    },
+    {
+      "name": "query-chardev-backends"
+    },
+    {
+      "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": "change-backing-file"
+    },
+    {
+      "name": "drive-mirror"
+    },
+    {
+      "name": "blockdev-snapshot-delete-internal-sync"
+    },
+    {
+      "name": "blockdev-snapshot-internal-sync"
+    },
+    {
+      "name": "blockdev-snapshot-sync"
+    },
+    {
+      "name": "block-dirty-bitmap-clear"
+    },
+    {
+      "name": "block-dirty-bitmap-remove"
+    },
+    {
+      "name": "block-dirty-bitmap-add"
+    },
+    {
+      "name": "transaction"
+    },
+    {
+      "name": "block-job-complete"
+    },
+    {
+      "name": "block-job-resume"
+    },
+    {
+      "name": "block-job-pause"
+    },
+    {
+      "name": "block-job-cancel"
+    },
+    {
+      "name": "block-job-set-speed"
+    },
+    {
+      "name": "blockdev-backup"
+    },
+    {
+      "name": "drive-backup"
+    },
+    {
+      "name": "block-commit"
+    },
+    {
+      "name": "block-stream"
+    },
+    {
+      "name": "block_resize"
+    },
+    {
+      "name": "object-del"
+    },
+    {
+      "name": "object-add"
+    },
+    {
+      "name": "netdev_del"
+    },
+    {
+      "name": "netdev_add"
+    },
+    {
+      "name": "query-dump-guest-memory-capability"
+    },
+    {
+      "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-incoming"
+    },
+    {
+      "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": "DeviceNotFound",
+    "desc": "Device 'bogus' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "MEM_UNPLUG_ERROR"
+    },
+    {
+      "name": "VSERPORT_CHANGE"
+    },
+    {
+      "name": "QUORUM_REPORT_BAD"
+    },
+    {
+      "name": "QUORUM_FAILURE"
+    },
+    {
+      "name": "GUEST_PANICKED"
+    },
+    {
+      "name": "BALLOON_CHANGE"
+    },
+    {
+      "name": "ACPI_DEVICE_OST"
+    },
+    {
+      "name": "MIGRATION"
+    },
+    {
+      "name": "SPICE_MIGRATE_COMPLETED"
+    },
+    {
+      "name": "SPICE_DISCONNECTED"
+    },
+    {
+      "name": "SPICE_INITIALIZED"
+    },
+    {
+      "name": "SPICE_CONNECTED"
+    },
+    {
+      "name": "VNC_DISCONNECTED"
+    },
+    {
+      "name": "VNC_INITIALIZED"
+    },
+    {
+      "name": "VNC_CONNECTED"
+    },
+    {
+      "name": "NIC_RX_FILTER_CHANGED"
+    },
+    {
+      "name": "DEVICE_DELETED"
+    },
+    {
+      "name": "WATCHDOG"
+    },
+    {
+      "name": "RTC_CHANGE"
+    },
+    {
+      "name": "WAKEUP"
+    },
+    {
+      "name": "SUSPEND_DISK"
+    },
+    {
+      "name": "SUSPEND"
+    },
+    {
+      "name": "RESUME"
+    },
+    {
+      "name": "STOP"
+    },
+    {
+      "name": "RESET"
+    },
+    {
+      "name": "POWERDOWN"
+    },
+    {
+      "name": "SHUTDOWN"
+    },
+    {
+      "name": "DEVICE_TRAY_MOVED"
+    },
+    {
+      "name": "BLOCK_WRITE_THRESHOLD"
+    },
+    {
+      "name": "BLOCK_JOB_READY"
+    },
+    {
+      "name": "BLOCK_JOB_ERROR"
+    },
+    {
+      "name": "BLOCK_JOB_CANCELLED"
+    },
+    {
+      "name": "BLOCK_JOB_COMPLETED"
+    },
+    {
+      "name": "BLOCK_IO_ERROR"
+    },
+    {
+      "name": "BLOCK_IMAGE_CORRUPTED"
+    }
+  ],
+  "id": "libvirt-7"
+}
+
+{
+  "return": [
+    {
+      "name": "virtio-tablet-pci"
+    },
+    {
+      "name": "pc-0.13-machine"
+    },
+    {
+      "name": "fw_cfg"
+    },
+    {
+      "name": "generic-sdhci"
+    },
+    {
+      "name": "i82551"
+    },
+    {
+      "name": "i82550"
+    },
+    {
+      "name": "Westmere-x86_64-cpu"
+    },
+    {
+      "name": "e1000-82540em"
+    },
+    {
+      "name": "pci-serial-4x"
+    },
+    {
+      "name": "Penryn-x86_64-cpu"
+    },
+    {
+      "name": "Haswell-x86_64-cpu"
+    },
+    {
+      "name": "iothread"
+    },
+    {
+      "name": "pc-q35-2.3-machine"
+    },
+    {
+      "name": "icc-bridge"
+    },
+    {
+      "name": "cfi.pflash01"
+    },
+    {
+      "name": "virtio-gpu-device"
+    },
+    {
+      "name": "Opteron_G3-x86_64-cpu"
+    },
+    {
+      "name": "Broadwell-x86_64-cpu"
+    },
+    {
+      "name": "piix3-ide"
+    },
+    {
+      "name": "isa-parallel"
+    },
+    {
+      "name": "pc-q35-2.4-machine"
+    },
+    {
+      "name": "i2c-bus"
+    },
+    {
+      "name": "megasas"
+    },
+    {
+      "name": "usb-braille"
+    },
+    {
+      "name": "vmware-svga"
+    },
+    {
+      "name": "pc-i440fx-2.0-machine"
+    },
+    {
+      "name": "PIIX3-xen"
+    },
+    {
+      "name": "ccid-bus"
+    },
+    {
+      "name": "scsi-cd"
+    },
+    {
+      "name": "isa-serial"
+    },
+    {
+      "name": "usb-ehci"
+    },
+    {
+      "name": "user-creatable"
+    },
+    {
+      "name": "container"
+    },
+    {
+      "name": "host-x86_64-cpu"
+    },
+    {
+      "name": "pci-serial-2x"
+    },
+    {
+      "name": "piix4-ide"
+    },
+    {
+      "name": "scsi-generic"
+    },
+    {
+      "name": "pc-1.0-machine"
+    },
+    {
+      "name": "virtio-net-pci"
+    },
+    {
+      "name": "pc-dimm"
+    },
+    {
+      "name": "pc-q35-1.7-machine"
+    },
+    {
+      "name": "Haswell-noTSX-x86_64-cpu"
+    },
+    {
+      "name": "pc-i440fx-2.1-machine"
+    },
+    {
+      "name": "virtio-mouse-device"
+    },
+    {
+      "name": "virtio-mouse-pci"
+    },
+    {
+      "name": "isa-debugcon"
+    },
+    {
+      "name": "ide-hd"
+    },
+    {
+      "name": "virtio-vga"
+    },
+    {
+      "name": "qemu64-x86_64-cpu"
+    },
+    {
+      "name": "rng-egd"
+    },
+    {
+      "name": "isa-pcspk"
+    },
+    {
+      "name": "isa-pit"
+    },
+    {
+      "name": "pc-1.1-machine"
+    },
+    {
+      "name": "ich9-usb-ehci1"
+    },
+    {
+      "name": "ich9-usb-ehci2"
+    },
+    {
+      "name": "pxb-host"
+    },
+    {
+      "name": "intel-iommu"
+    },
+    {
+      "name": "irq"
+    },
+    {
+      "name": "cirrus-vga"
+    },
+    {
+      "name": "virtconsole"
+    },
+    {
+      "name": "virtio-rng-pci"
+    },
+    {
+      "name": "PCIE"
+    },
+    {
+      "name": "pentium3-x86_64-cpu"
+    },
+    {
+      "name": "qxl-vga"
+    },
+    {
+      "name": "ioapic"
+    },
+    {
+      "name": "kvm-pit"
+    },
+    {
+      "name": "pc-0.14-machine"
+    },
+    {
+      "name": "pc-i440fx-1.4-machine"
+    },
+    {
+      "name": "pc-q35-2.0-machine"
+    },
+    {
+      "name": "usb-host"
+    },
+    {
+      "name": "usb-bus"
+    },
+    {
+      "name": "vhost-scsi-pci"
+    },
+    {
+      "name": "usb-kbd"
+    },
+    {
+      "name": "486-x86_64-cpu"
+    },
+    {
+      "name": "ES1370"
+    },
+    {
+      "name": "gus"
+    },
+    {
+      "name": "PIIX3"
+    },
+    {
+      "name": "isa-applesmc"
+    },
+    {
+      "name": "kvm-pci-assign"
+    },
+    {
+      "name": "i82559er"
+    },
+    {
+      "name": "q35-pcihost"
+    },
+    {
+      "name": "e1000-82545em"
+    },
+    {
+      "name": "pc-i440fx-1.5-machine"
+    },
+    {
+      "name": "usb-bt-dongle"
+    },
+    {
+      "name": "AC97"
+    },
+    {
+      "name": "i6300esb"
+    },
+    {
+      "name": "mc146818rtc"
+    },
+    {
+      "name": "e1000-82544gc"
+    },
+    {
+      "name": "PIIX4_PM"
+    },
+    {
+      "name": "piix4-usb-uhci"
+    },
+    {
+      "name": "sysbus-ahci"
+    },
+    {
+      "name": "virtio-tablet-device"
+    },
+    {
+      "name": "kvm-ioapic"
+    },
+    {
+      "name": "pvpanic"
+    },
+    {
+      "name": "core2duo-x86_64-cpu"
+    },
+    {
+      "name": "virtio-9p-pci"
+    },
+    {
+      "name": "scsi-disk"
+    },
+    {
+      "name": "acpi-device-interface"
+    },
+    {
+      "name": "sb16"
+    },
+    {
+      "name": "pc-0.15-machine"
+    },
+    {
+      "name": "usb-mouse"
+    },
+    {
+      "name": "piix3-usb-uhci"
+    },
+    {
+      "name": "vfio-calxeda-xgmac"
+    },
+    {
+      "name": "virtio-scsi-device"
+    },
+    {
+      "name": "virtio-blk-pci"
+    },
+    {
+      "name": "virtio-9p-device"
+    },
+    {
+      "name": "hda-output"
+    },
+    {
+      "name": "SUNW,fdtwo"
+    },
+    {
+      "name": "tpci200"
+    },
+    {
+      "name": "Opteron_G4-x86_64-cpu"
+    },
+    {
+      "name": "pc-q35-1.4-machine"
+    },
+    {
+      "name": "virtio-mmio"
+    },
+    {
+      "name": "qemu-console"
+    },
+    {
+      "name": "isa-i8259"
+    },
+    {
+      "name": "System"
+    },
+    {
+      "name": "pvscsi"
+    },
+    {
+      "name": "virtio-net-device"
+    },
+    {
+      "name": "usb-hub"
+    },
+    {
+      "name": "IvyBridge-x86_64-cpu"
+    },
+    {
+      "name": "hda-duplex"
+    },
+    {
+      "name": "pc-i440fx-2.3-machine"
+    },
+    {
+      "name": "virtio-keyboard-pci"
+    },
+    {
+      "name": "pci-ohci"
+    },
+    {
+      "name": "isapc-machine"
+    },
+    {
+      "name": "ipoctal232"
+    },
+    {
+      "name": "pc-1.2-machine"
+    },
+    {
+      "name": "xio3130-downstream"
+    },
+    {
+      "name": "ide-cd"
+    },
+    {
+      "name": "pc-i440fx-2.2-machine"
+    },
+    {
+      "name": "isabus-bridge"
+    },
+    {
+      "name": "nec-usb-xhci"
+    },
+    {
+      "name": "memory-backend-file"
+    },
+    {
+      "name": "isa-ide"
+    },
+    {
+      "name": "virtio-keyboard-device"
+    },
+    {
+      "name": "megasas-gen2"
+    },
+    {
+      "name": "isa-vga"
+    },
+    {
+      "name": "qemu:memory-region"
+    },
+    {
+      "name": "rng-random"
+    },
+    {
+      "name": "hotplug-handler"
+    },
+    {
+      "name": "kvm-i8259"
+    },
+    {
+      "name": "i440FX-pcihost"
+    },
+    {
+      "name": "qemu32-x86_64-cpu"
+    },
+    {
+      "name": "tpm-tis"
+    },
+    {
+      "name": "tpm-passthrough"
+    },
+    {
+      "name": "apic"
+    },
+    {
+      "name": "isa-debug-exit"
+    },
+    {
+      "name": "pc-0.10-machine"
+    },
+    {
+      "name": "pc-testdev"
+    },
+    {
+      "name": "rocker"
+    },
+    {
+      "name": "Opteron_G1-x86_64-cpu"
+    },
+    {
+      "name": "sga"
+    },
+    {
+      "name": "pcnet"
+    },
+    {
+      "name": "ivshmem"
+    },
+    {
+      "name": "hpet"
+    },
+    {
+      "name": "adlib"
+    },
+    {
+      "name": "lsi53c895a"
+    },
+    {
+      "name": "pxb-bus"
+    },
+    {
+      "name": "usb-audio"
+    },
+    {
+      "name": "usb-wacom-tablet"
+    },
+    {
+      "name": "pc-0.11-machine"
+    },
+    {
+      "name": "kvm-apic"
+    },
+    {
+      "name": "phenom-x86_64-cpu"
+    },
+    {
+      "name": "fw_cfg_io"
+    },
+    {
+      "name": "ioh3420"
+    },
+    {
+      "name": "pc-q35-2.1-machine"
+    },
+    {
+      "name": "cs4231a"
+    },
+    {
+      "name": "dc390"
+    },
+    {
+      "name": "nvme"
+    },
+    {
+      "name": "i82801b11-bridge"
+    },
+    {
+      "name": "kvmvapic"
+    },
+    {
+      "name": "fw-path-provider"
+    },
+    {
+      "name": "usb-net"
+    },
+    {
+      "name": "pci-bridge-seat"
+    },
+    {
+      "name": "mch"
+    },
+    {
+      "name": "usb-tablet"
+    },
+    {
+      "name": "vhost-scsi"
+    },
+    {
+      "name": "usb-ccid"
+    },
+    {
+      "name": "pc-i440fx-1.7-machine"
+    },
+    {
+      "name": "tcg-accel"
+    },
+    {
+      "name": "virtio-mmio-bus"
+    },
+    {
+      "name": "pc-q35-2.2-machine"
+    },
+    {
+      "name": "usb-bot"
+    },
+    {
+      "name": "ICH9-LPC"
+    },
+    {
+      "name": "edu"
+    },
+    {
+      "name": "accel"
+    },
+    {
+      "name": "pc-i440fx-1.6-machine"
+    },
+    {
+      "name": "kvmclock"
+    },
+    {
+      "name": "lsi53c810"
+    },
+    {
+      "name": "isa-cirrus-vga"
+    },
+    {
+      "name": "virtio-serial-bus"
+    },
+    {
+      "name": "ib700"
+    },
+    {
+      "name": "SandyBridge-x86_64-cpu"
+    },
+    {
+      "name": "esp"
+    },
+    {
+      "name": "virtio-balloon-device"
+    },
+    {
+      "name": "ccid-card-passthru"
+    },
+    {
+      "name": "ich9-usb-uhci5"
+    },
+    {
+      "name": "qxl"
+    },
+    {
+      "name": "intel-hda"
+    },
+    {
+      "name": "ich9-usb-uhci6"
+    },
+    {
+      "name": "pci-bridge"
+    },
+    {
+      "name": "virtio-serial-device"
+    },
+    {
+      "name": "ich9-usb-uhci3"
+    },
+    {
+      "name": "ICH9 SMB"
+    },
+    {
+      "name": "ich9-usb-uhci4"
+    },
+    {
+      "name": "piix3-ide-xen"
+    },
+    {
+      "name": "virtio-input-host-device"
+    },
+    {
+      "name": "icc-bus"
+    },
+    {
+      "name": "vmxnet3"
+    },
+    {
+      "name": "IDE"
+    },
+    {
+      "name": "VGA"
+    },
+    {
+      "name": "pci-testdev"
+    },
+    {
+      "name": "ich9-usb-uhci2"
+    },
+    {
+      "name": "ich9-usb-uhci1"
+    },
+    {
+      "name": "x3130-upstream"
+    },
+    {
+      "name": "none-machine"
+    },
+    {
+      "name": "sysbus-fdc"
+    },
+    {
+      "name": "SCSI"
+    },
+    {
+      "name": "n270-x86_64-cpu"
+    },
+    {
+      "name": "pci-serial"
+    },
+    {
+      "name": "pc-q35-1.5-machine"
+    },
+    {
+      "name": "athlon-x86_64-cpu"
+    },
+    {
+      "name": "ISA"
+    },
+    {
+      "name": "i8042"
+    },
+    {
+      "name": "kvm-accel"
+    },
+    {
+      "name": "i82559c"
+    },
+    {
+      "name": "i82559b"
+    },
+    {
+      "name": "i82559a"
+    },
+    {
+      "name": "scsi-hd"
+    },
+    {
+      "name": "qtest-accel"
+    },
+    {
+      "name": "virtio-balloon-pci"
+    },
+    {
+      "name": "hda-micro"
+    },
+    {
+      "name": "scsi-block"
+    },
+    {
+      "name": "virtio-scsi-pci"
+    },
+    {
+      "name": "rtl8139"
+    },
+    {
+      "name": "vmmouse"
+    },
+    {
+      "name": "ich9-intel-hda"
+    },
+    {
+      "name": "usb-mtp"
+    },
+    {
+      "name": "ide-drive"
+    },
+    {
+      "name": "fw_cfg_mem"
+    },
+    {
+      "name": "PCI"
+    },
+    {
+      "name": "Opteron_G5-x86_64-cpu"
+    },
+    {
+      "name": "vmport"
+    },
+    {
+      "name": "coreduo-x86_64-cpu"
+    },
+    {
+      "name": "virtio-serial-pci"
+    },
+    {
+      "name": "pc-q35-1.6-machine"
+    },
+    {
+      "name": "virtio-input-host-pci"
+    },
+    {
+      "name": "virtio-pci-bus"
+    },
+    {
+      "name": "pentium2-x86_64-cpu"
+    },
+    {
+      "name": "nmi"
+    },
+    {
+      "name": "i82558b"
+    },
+    {
+      "name": "i82558a"
+    },
+    {
+      "name": "pc-0.12-machine"
+    },
+    {
+      "name": "am53c974"
+    },
+    {
+      "name": "sdhci-pci"
+    },
+    {
+      "name": "port92"
+    },
+    {
+      "name": "pxb"
+    },
+    {
+      "name": "kvm64-x86_64-cpu"
+    },
+    {
+      "name": "e1000"
+    },
+    {
+      "name": "Conroe-x86_64-cpu"
+    },
+    {
+      "name": "ne2k_isa"
+    },
+    {
+      "name": "pc-1.3-machine"
+    },
+    {
+      "name": "HDA"
+    },
+    {
+      "name": "usb-storage"
+    },
+    {
+      "name": "usb-serial"
+    },
+    {
+      "name": "usb-uas"
+    },
+    {
+      "name": "pc-i440fx-2.4-machine"
+    },
+    {
+      "name": "sysbus-ohci"
+    },
+    {
+      "name": "usb-redir"
+    },
+    {
+      "name": "i82801"
+    },
+    {
+      "name": "Broadwell-noTSX-x86_64-cpu"
+    },
+    {
+      "name": "i82557c"
+    },
+    {
+      "name": "i82557b"
+    },
+    {
+      "name": "i82557a"
+    },
+    {
+      "name": "Nehalem-x86_64-cpu"
+    },
+    {
+      "name": "memory-backend-ram"
+    },
+    {
+      "name": "QJSON"
+    },
+    {
+      "name": "virtserialport"
+    },
+    {
+      "name": "i440FX"
+    },
+    {
+      "name": "ne2k_pci"
+    },
+    {
+      "name": "smbus-eeprom"
+    },
+    {
+      "name": "i82562"
+    },
+    {
+      "name": "ich9-ahci"
+    },
+    {
+      "name": "virtio-rng-device"
+    },
+    {
+      "name": "isa-fdc"
+    },
+    {
+      "name": "kvm32-x86_64-cpu"
+    },
+    {
+      "name": "Opteron_G2-x86_64-cpu"
+    },
+    {
+      "name": "vfio-pci"
+    },
+    {
+      "name": "IndustryPack"
+    },
+    {
+      "name": "virtio-gpu-pci"
+    },
+    {
+      "name": "vt82c686b-usb-uhci"
+    },
+    {
+      "name": "secondary-vga"
+    },
+    {
+      "name": "pentium-x86_64-cpu"
+    },
+    {
+      "name": "virtio-blk-device"
+    }
+  ],
+  "id": "libvirt-8"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "iothread",
+      "type": "link<iothread>"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-data-plane",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "request-merging",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "scsi",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "config-wce",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "secs",
+      "type": "uint32"
+    },
+    {
+      "name": "heads",
+      "type": "uint32"
+    },
+    {
+      "name": "cyls",
+      "type": "uint32"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-blk-device>"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "ioeventfd",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "class",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-9"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "tx",
+      "type": "str"
+    },
+    {
+      "name": "x-txburst",
+      "type": "int32"
+    },
+    {
+      "name": "x-txtimer",
+      "type": "uint32"
+    },
+    {
+      "name": "netdev",
+      "description": "ID of a netdev to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "vlan",
+      "description": "Integer VLAN id to connect to",
+      "type": "int32"
+    },
+    {
+      "name": "mac",
+      "description": "Ethernet 6-byte MAC Address, example: 52:54:00:12:34:56",
+      "type": "str"
+    },
+    {
+      "name": "mq",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_guest_offloads",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_mac_addr",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_rx_extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_vlan",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_rx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_vq",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "status",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "mrg_rxbuf",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host_ufo",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host_ecn",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host_tso6",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host_tso4",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_announce",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_ufo",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_ecn",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_tso6",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_tso4",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "gso",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_csum",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "csum",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-net-device>"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "ioeventfd",
+      "description": "on/off",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-10"
+}
+
+{
+    "return": [
+        {
+            "name": "iothread",
+            "type": "link<iothread>"
+        },
+        {
+            "name": "any_layout",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "notify_on_empty",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "event_idx",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "indirect_desc",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "param_change",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "hotplug",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "cmd_per_lun",
+            "type": "uint32"
+        },
+        {
+            "name": "max_sectors",
+            "type": "uint32"
+        },
+        {
+            "name": "num_queues",
+            "type": "uint32"
+        },
+        {
+            "name": "virtio-backend",
+            "type": "child<virtio-scsi-device>"
+        },
+        {
+            "name": "command_serr_enable",
+            "description":"on/off",
+            "type": "bool"
+        },
+        {
+            "name": "multifunction",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "rombar",
+            "type": "uint32"
+        },
+        {
+            "name": "romfile",
+            "type": "str"
+        },
+        {
+            "name": "addr",
+            "description": "Slot and optional function number, example: 06.0 or 06",
+            "type": "int32"
+        },
+        {
+            "name": "disable-modern",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "disable-legacy",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "virtio-pci-bus-master-bug-migration",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "vectors",
+            "type": "uint32"
+        },
+        {
+            "name": "ioeventfd",
+            "description": "on/off",
+            "type": "bool"
+        }
+    ],
+    "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": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "configfd",
+      "type": "str"
+    },
+    {
+      "name": "share_intx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "prefer_msi",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host",
+      "description": "Address (bus/device/function) of the host device, example: 04:10.0",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-18"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "x-mmap",
+      "type": "bool"
+    },
+    {
+      "name": "x-req",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-vga",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-intx-mmap-timeout-ms",
+      "type": "uint32"
+    },
+    {
+      "name": "host",
+      "description": "Address (bus/device/function) of the host device, example: 04:10.0",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-19"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "lun",
+      "type": "uint32"
+    },
+    {
+      "name": "scsi-id",
+      "type": "uint32"
+    },
+    {
+      "name": "channel",
+      "type": "uint32"
+    },
+    {
+      "name": "max_io_size",
+      "type": "uint64"
+    },
+    {
+      "name": "max_unmap_size",
+      "type": "uint64"
+    },
+    {
+      "name": "port_index",
+      "type": "uint16"
+    },
+    {
+      "name": "port_wwn",
+      "type": "uint64"
+    },
+    {
+      "name": "wwn",
+      "type": "uint64"
+    },
+    {
+      "name": "dpofua",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "removable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "product",
+      "type": "str"
+    },
+    {
+      "name": "vendor",
+      "type": "str"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "ver",
+      "type": "str"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-20"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "unit",
+      "type": "uint32"
+    },
+    {
+      "name": "model",
+      "type": "str"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "wwn",
+      "type": "uint64"
+    },
+    {
+      "name": "ver",
+      "type": "str"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-21"
+}
+
+{
+  "return": [
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "memory-hotplug-support",
+      "type": "bool"
+    },
+    {
+      "name": "acpi-pci-hotplug-with-bridge-support",
+      "type": "bool"
+    },
+    {
+      "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": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "msos-desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "full-path",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "port",
+      "type": "str"
+    },
+    {
+      "name": "filter",
+      "type": "str"
+    },
+    {
+      "name": "debug",
+      "type": "uint8"
+    },
+    {
+      "name": "chardev",
+      "description": "ID of a chardev to use as a backend",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-23"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "msos-desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "full-path",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "port",
+      "type": "str"
+    },
+    {
+      "name": "pipeline",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "loglevel",
+      "type": "uint32"
+    },
+    {
+      "name": "isobsize",
+      "type": "uint32"
+    },
+    {
+      "name": "isobufs",
+      "type": "uint32"
+    },
+    {
+      "name": "productid",
+      "type": "uint32"
+    },
+    {
+      "name": "vendorid",
+      "type": "uint32"
+    },
+    {
+      "name": "hostport",
+      "type": "str"
+    },
+    {
+      "name": "hostaddr",
+      "type": "uint32"
+    },
+    {
+      "name": "hostbus",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-24"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "lun",
+      "type": "uint32"
+    },
+    {
+      "name": "scsi-id",
+      "type": "uint32"
+    },
+    {
+      "name": "channel",
+      "type": "uint32"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-25"
+}
+
+{
+  "return": [
+    {
+      "name": "pci-hole64-end",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole64-start",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole-end",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole-start",
+      "type": "int"
+    },
+    {
+      "name": "pci-conf-data[0]",
+      "type": "child<qemu:memory-region>"
+    },
+    {
+      "name": "pci-conf-idx[0]",
+      "type": "child<qemu:memory-region>"
+    },
+    {
+      "name": "short_root_bus",
+      "type": "uint32"
+    },
+    {
+      "name": "pci-hole64-size",
+      "type": "size"
+    }
+  ],
+  "id": "libvirt-26"
+}
+
+{
+  "return": [
+    {
+      "name": "mcfg_size",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole64-end",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole64-start",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole-end",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole-start",
+      "type": "int"
+    },
+    {
+      "name": "mch",
+      "type": "child<mch>"
+    },
+    {
+      "name": "pci-conf-data[0]",
+      "type": "child<qemu:memory-region>"
+    },
+    {
+      "name": "pci-conf-idx[0]",
+      "type": "child<qemu:memory-region>"
+    },
+    {
+      "name": "pcie-mmcfg-mmio[0]",
+      "type": "child<qemu:memory-region>"
+    },
+    {
+      "name": "short_root_bus",
+      "type": "uint32"
+    },
+    {
+      "name": "pci-hole64-size",
+      "type": "size"
+    },
+    {
+      "name": "MCFG",
+      "type": "uint64"
+    }
+  ],
+  "id": "libvirt-27"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "msos-desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "full-path",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "port",
+      "type": "str"
+    },
+    {
+      "name": "removable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-28"
+}
+
+{
+  "return": [
+    {
+      "name": "lost_tick_policy",
+      "type": "LostTickPolicy"
+    },
+    {
+      "name": "iobase",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-29"
+}
+
+{
+  "return": [
+    {
+      "name": "big-endian-framebuffer",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "qemu-extended-regs",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "mmio",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vgamem_mb",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-30"
+}
+
+{
+  "return": [
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "vgamem_mb",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-31"
+}
+
+{
+  "return": [
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "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",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "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"
+}
+
+{
+  "return": [
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "max_outputs",
+      "type": "uint32"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-gpu-device>"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "ioeventfd",
+      "description": "on/off",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-34"
+}
+
+{
+  "return":  [
+    {
+      "type": "bool",
+      "name": "memory-hotplug-support"
+    },
+    {
+      "type": "uint32",
+      "name": "rombar"
+    },
+    {
+      "type": "uint32",
+      "name": "sci_int"
+    },
+    {
+      "type": "uint32",
+      "name": "gpe0_blk_len"
+    },
+    {
+      "type": "uint32",
+      "name": "pm_io_base"
+    },
+    {
+      "type": "bool",
+      "name": "noreboot"
+    },
+    {
+      "type": "bool",
+      "name": "multifunction",
+      "description": "on/off"
+    },
+    {
+      "type": "uint8",
+      "name": "disable_s4"
+    },
+    {
+      "type": "uint8",
+      "name": "acpi_disable_cmd"
+    },
+    {
+      "type": "str",
+      "name": "romfile"
+    },
+    {
+      "type": "uint8",
+      "name": "disable_s3"
+    },
+    {
+      "type": "uint8",
+      "name": "s4_val"
+    },
+    {
+      "type": "uint8",
+      "name": "acpi_enable_cmd"
+    },
+    {
+      "type": "bool",
+      "name": "command_serr_enable",
+      "description": "on/off"
+    },
+    {
+      "type": "int32",
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06"
+    },
+    {
+      "type": "bool",
+      "name": "enable_tco"
+    },
+    {
+      "type": "uint32",
+      "name": "gpe0_blk"
+    }
+  ],
+  "id": "libvirt-35"
+}
+
+
+{
+  "return": [
+    {
+      "name": "guest-stats-polling-interval",
+      "type": "int"
+    },
+    {
+      "name": "guest-stats",
+      "type": "guest statistics"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "deflate-on-oom",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-balloon-device>"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "class",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-36"
+}
+
+{
+  "id": "libvirt-37",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'virtio-balloon-ccw' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "guest-stats-polling-interval",
+      "type": "int"
+    },
+    {
+      "name": "guest-stats",
+      "type": "guest statistics"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "deflate-on-oom",
+      "description": "on/off",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-38"
+}
+
+{
+    "return": [
+        {
+            "name": "msi",
+            "type": "on/off"
+        },
+        {
+            "name": "msix",
+            "type": "on/off"
+        },
+        {
+            "name": "superspeed-ports-first",
+            "type": "on/off"
+        },
+        {
+            "name": "force-pcie-endcap",
+            "type": "on/off"
+        },
+        {
+            "name": "streams",
+            "type": "on/off"
+        },
+        {
+            "name": "intrs",
+            "type": "uint32"
+        },
+        {
+            "name": "slots",
+            "type": "uint32"
+        },
+        {
+            "name": "2",
+            "type": "uint32"
+        },
+        {
+            "name": "p3",
+            "type": "uint32"
+        }
+    ]
+}
+
+{
+  "return": [
+    {
+      "name": "pc-i440fx-2.4",
+      "is-default": true,
+      "cpu-max": 255,
+      "alias": "pc"
+    },
+    {
+      "name": "pc-1.3",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.12",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-1.6",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-1.5",
+      "cpu-max": 255
+    },
+    {
+      "name": "none",
+      "cpu-max": 1
+    },
+    {
+      "name": "pc-i440fx-1.6",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-2.2",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-1.7",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-2.1",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.11",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.10",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-2.2",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-1.2",
+      "cpu-max": 255
+    },
+    {
+      "name": "isapc",
+      "cpu-max": 1
+    },
+    {
+      "name": "pc-i440fx-2.3",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-1.4",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.15",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-1.5",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-2.0",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-1.4",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.14",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-1.1",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-2.1",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-1.7",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-1.0",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-2.0",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-2.4",
+      "cpu-max": 255,
+      "alias": "q35"
+    },
+    {
+      "name": "pc-q35-2.3",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.13",
+      "cpu-max": 255
+    }
+  ],
+  "id": "libvirt-39"
+}
+
+{
+  "return": [
+    {
+      "name": "Opteron_G5"
+    },
+    {
+      "name": "Opteron_G4"
+    },
+    {
+      "name": "Opteron_G3"
+    },
+    {
+      "name": "Opteron_G2"
+    },
+    {
+      "name": "Opteron_G1"
+    },
+    {
+      "name": "Broadwell"
+    },
+    {
+      "name": "Broadwell-noTSX"
+    },
+    {
+      "name": "Haswell"
+    },
+    {
+      "name": "Haswell-noTSX"
+    },
+    {
+      "name": "IvyBridge"
+    },
+    {
+      "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": [
+    "tpm-tis"
+  ],
+  "id": "libvirt-42"
+}
+
+{
+  "return": [
+    "passthrough"
+  ],
+  "id": "libvirt-43"
+}
+
+{
+  "return": [
+    {
+      "parameters": [
+        {
+          "name": "timeout",
+          "help": "Request timeout in seconds (default 0 = no timeout)",
+          "type": "number"
+        },
+        {
+          "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": [
+        {
+          "name": "non-adaptive",
+          "type": "boolean"
+        },
+        {
+          "name": "lossy",
+          "type": "boolean"
+        },
+        {
+          "name": "acl",
+          "type": "boolean"
+        },
+        {
+          "name": "x509verify",
+          "type": "string"
+        },
+        {
+          "name": "tls",
+          "type": "boolean"
+        },
+        {
+          "name": "sasl",
+          "type": "boolean"
+        },
+        {
+          "name": "lock-key-sync",
+          "type": "boolean"
+        },
+        {
+          "name": "reverse",
+          "type": "boolean"
+        },
+        {
+          "name": "password",
+          "type": "boolean"
+        },
+        {
+          "name": "ipv6",
+          "type": "boolean"
+        },
+        {
+          "name": "ipv4",
+          "type": "boolean"
+        },
+        {
+          "name": "to",
+          "type": "number"
+        },
+        {
+          "name": "connections",
+          "type": "number"
+        },
+        {
+          "name": "head",
+          "type": "number"
+        },
+        {
+          "name": "display",
+          "type": "string"
+        },
+        {
+          "name": "share",
+          "type": "string"
+        },
+        {
+          "name": "x509",
+          "type": "string"
+        },
+        {
+          "name": "websocket",
+          "type": "string"
+        },
+        {
+          "name": "vnc",
+          "type": "string"
+        }
+      ],
+      "option": "vnc"
+    },
+    {
+      "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": [
+      ],
+      "option": "smbios"
+    },
+    {
+      "parameters": [
+        {
+          "name": "file",
+          "help": "Sets the name of the file from which\nthe fw_cfg blob will be loaded",
+          "type": "string"
+        },
+        {
+          "name": "name",
+          "help": "Sets the fw_cfg name of the blob to be inserted",
+          "type": "string"
+        }
+      ],
+      "option": "fw_cfg"
+    },
+    {
+      "parameters": [
+        {
+          "name": "arg",
+          "type": "string"
+        },
+        {
+          "name": "target",
+          "type": "string"
+        },
+        {
+          "name": "enable",
+          "type": "boolean"
+        }
+      ],
+      "option": "semihosting-config"
+    },
+    {
+      "parameters": [
+        {
+          "name": "sleep",
+          "type": "boolean"
+        },
+        {
+          "name": "align",
+          "type": "boolean"
+        },
+        {
+          "name": "shift",
+          "type": "string"
+        }
+      ],
+      "option": "icount"
+    },
+    {
+      "parameters": [
+      ],
+      "option": "numa"
+    },
+    {
+      "parameters": [
+        {
+          "name": "debug-threads",
+          "help": "When enabled, name the individual threads; defaults off.\nNOTE: The thread names are for debugging and not a\nstable API.",
+          "type": "boolean"
+        },
+        {
+          "name": "process",
+          "help": "Sets the name of the QEMU process, as shown in top etc",
+          "type": "string"
+        },
+        {
+          "name": "guest",
+          "help": "Sets the name of the guest.\nThis name will be displayed in the SDL window caption.\nThe name will also be used for the VNC server",
+          "type": "string"
+        }
+      ],
+      "option": "name"
+    },
+    {
+      "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": "boolean"
+        },
+        {
+          "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": "maxmem",
+          "type": "size"
+        },
+        {
+          "name": "slots",
+          "type": "number"
+        },
+        {
+          "name": "size",
+          "type": "size"
+        }
+      ],
+      "option": "memory"
+    },
+    {
+      "parameters": [
+        {
+          "name": "suppress-vmdesc",
+          "help": "Set on to disable self-describing migration",
+          "type": "boolean"
+        },
+        {
+          "name": "iommu",
+          "help": "Set on/off to enable/disable Intel IOMMU (VT-d)",
+          "type": "boolean"
+        },
+        {
+          "name": "firmware",
+          "help": "firmware image",
+          "type": "string"
+        },
+        {
+          "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": "reconnect",
+          "type": "number"
+        },
+        {
+          "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": "werror",
+          "help": "write error action",
+          "type": "string"
+        },
+        {
+          "name": "rerror",
+          "help": "read error action",
+          "type": "string"
+        },
+        {
+          "name": "read-only",
+          "help": "open drive file as read-only",
+          "type": "boolean"
+        },
+        {
+          "name": "file",
+          "help": "file name",
+          "type": "string"
+        },
+        {
+          "name": "serial",
+          "help": "disk serial number",
+          "type": "string"
+        },
+        {
+          "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": "detect-zeroes",
+          "help": "try to optimize zero writes (off, on, unmap)",
+          "type": "string"
+        },
+        {
+          "name": "throttling.group",
+          "help": "name of the block throttling group",
+          "type": "string"
+        },
+        {
+          "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": "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": "snapshot",
+          "help": "enable/disable snapshot mode",
+          "type": "boolean"
+        }
+      ],
+      "option": "drive"
+    }
+  ],
+  "id": "libvirt-44"
+}
+
+{
+  "return": [
+    {
+      "state": false,
+      "capability": "xbzrle"
+    },
+    {
+      "state": false,
+      "capability": "rdma-pin-all"
+    },
+    {
+      "state": false,
+      "capability": "auto-converge"
+    },
+    {
+      "state": false,
+      "capability": "zero-blocks"
+    },
+    {
+      "state": false,
+      "capability": "compress"
+    },
+    {
+      "state": false,
+      "capability": "events"
+    }
+  ],
+  "id": "libvirt-44"
+}
diff --git a/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml b/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml
new file mode 100644 (file)
index 0000000..a8df7e1
--- /dev/null
@@ -0,0 +1,245 @@
+<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='device'/>
+  <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='drive-readonly'/>
+  <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-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='rombar'/>
+  <flag name='ich9-ahci'/>
+  <flag name='no-acpi'/>
+  <flag name='fsdev-readonly'/>
+  <flag name='virtio-blk-pci.scsi'/>
+  <flag name='blk-sg-io'/>
+  <flag name='drive-copy-on-read'/>
+  <flag name='cpu-host'/>
+  <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='tpm-passthrough'/>
+  <flag name='tpm-tis'/>
+  <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='active-commit'/>
+  <flag name='change-backing-file'/>
+  <flag name='memory-backend-ram'/>
+  <flag name='numa'/>
+  <flag name='memory-backend-file'/>
+  <flag name='usb-audio'/>
+  <flag name='rtc-reset-reinjection'/>
+  <flag name='splash-timeout'/>
+  <flag name='iothread'/>
+  <flag name='migrate-rdma'/>
+  <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='pc-dimm'/>
+  <flag name='machine-vmport-opt'/>
+  <flag name='pci-serial'/>
+  <flag name='vhost-user-multiqueue'/>
+  <flag name='migration-event'/>
+  <flag name='ioh3420'/>
+  <flag name='x3130-upstream'/>
+  <flag name='xio3130-downstream'/>
+  <flag name='rtl8139'/>
+  <flag name='e1000'/>
+  <flag name='virtio-net'/>
+  <flag name='incoming-defer'/>
+  <flag name='virtio-gpu'/>
+  <flag name='virtio-keyboard'/>
+  <flag name='virtio-mouse'/>
+  <flag name='virtio-tablet'/>
+  <flag name='virtio-input-host'/>
+  <flag name='ich9-disable-s3'/>
+  <flag name='ich9-disable-s4'/>
+  <flag name='vserport-change-event'/>
+  <flag name='virtio-balloon-pci.deflate-on-oom'/>
+  <flag name='qxl.vram64_size_mb'/>
+  <flag name='qxl-vga.vram64_size_mb'/>
+  <flag name='debug-threads'/>
+  <flag name='pxb'/>
+  <flag name='device-tray-moved-event'/>
+  <flag name='nec-usb-xhci-ports'/>
+  <flag name='virtio-scsi-pci.iothread'/>
+  <version>2004000</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='Broadwell'/>
+  <cpu name='Broadwell-noTSX'/>
+  <cpu name='Haswell'/>
+  <cpu name='Haswell-noTSX'/>
+  <cpu name='IvyBridge'/>
+  <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-2.4' alias='pc' maxCpus='255'/>
+  <machine name='pc-1.3' maxCpus='255'/>
+  <machine name='pc-0.12' maxCpus='255'/>
+  <machine name='pc-q35-1.6' maxCpus='255'/>
+  <machine name='pc-q35-1.5' maxCpus='255'/>
+  <machine name='pc-i440fx-1.6' maxCpus='255'/>
+  <machine name='pc-q35-2.2' maxCpus='255'/>
+  <machine name='pc-i440fx-1.7' maxCpus='255'/>
+  <machine name='pc-q35-2.1' maxCpus='255'/>
+  <machine name='pc-0.11' maxCpus='255'/>
+  <machine name='pc-0.10' maxCpus='255'/>
+  <machine name='pc-i440fx-2.2' maxCpus='255'/>
+  <machine name='pc-1.2' maxCpus='255'/>
+  <machine name='isapc' maxCpus='1'/>
+  <machine name='pc-i440fx-2.3' maxCpus='255'/>
+  <machine name='pc-q35-1.4' maxCpus='255'/>
+  <machine name='pc-0.15' maxCpus='255'/>
+  <machine name='pc-i440fx-1.5' maxCpus='255'/>
+  <machine name='pc-q35-2.0' maxCpus='255'/>
+  <machine name='pc-i440fx-1.4' maxCpus='255'/>
+  <machine name='pc-0.14' maxCpus='255'/>
+  <machine name='pc-1.1' maxCpus='255'/>
+  <machine name='pc-i440fx-2.1' maxCpus='255'/>
+  <machine name='pc-q35-1.7' maxCpus='255'/>
+  <machine name='pc-1.0' maxCpus='255'/>
+  <machine name='pc-i440fx-2.0' maxCpus='255'/>
+  <machine name='pc-q35-2.4' alias='q35' maxCpus='255'/>
+  <machine name='pc-q35-2.3' maxCpus='255'/>
+  <machine name='pc-0.13' maxCpus='255'/>
+</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_2.5.0-1.x86_64.replies b/tests/qemucapabilitiesdata/caps_2.5.0-1.x86_64.replies
deleted file mode 100644 (file)
index 0d94099..0000000
+++ /dev/null
@@ -1,4436 +0,0 @@
-{
-  "QMP": {
-    "version": {
-      "qemu": {
-        "micro": 0,
-        "minor": 4,
-        "major": 2
-      },
-      "package": ""
-    },
-    "capabilities": [
-    ]
-  }
-}
-
-{
-  "return": {
-  },
-  "id": "libvirt-1"
-}
-
-{
-  "return": {
-    "qemu": {
-      "micro": 0,
-      "minor": 4,
-      "major": 2
-    },
-    "package": ""
-  },
-  "id": "libvirt-2"
-}
-
-{
-  "return": {
-    "arch": "x86_64"
-  },
-  "id": "libvirt-3"
-}
-
-{
-  "return": [
-    {
-      "name": "query-rocker-of-dpa-groups"
-    },
-    {
-      "name": "query-rocker-of-dpa-flows"
-    },
-    {
-      "name": "query-rocker-ports"
-    },
-    {
-      "name": "query-rocker"
-    },
-    {
-      "name": "block-set-write-threshold"
-    },
-    {
-      "name": "x-input-send-event"
-    },
-    {
-      "name": "trace-event-set-state"
-    },
-    {
-      "name": "trace-event-get-state"
-    },
-    {
-      "name": "rtc-reset-reinjection"
-    },
-    {
-      "name": "query-acpi-ospm-status"
-    },
-    {
-      "name": "query-memory-devices"
-    },
-    {
-      "name": "query-memdev"
-    },
-    {
-      "name": "query-named-block-nodes"
-    },
-    {
-      "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-parameters"
-    },
-    {
-      "name": "migrate-set-parameters"
-    },
-    {
-      "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-servers"
-    },
-    {
-      "name": "query-vnc"
-    },
-    {
-      "name": "query-mice"
-    },
-    {
-      "name": "query-status"
-    },
-    {
-      "name": "query-kvm"
-    },
-    {
-      "name": "query-pci"
-    },
-    {
-      "name": "query-iothreads"
-    },
-    {
-      "name": "query-cpus"
-    },
-    {
-      "name": "query-blockstats"
-    },
-    {
-      "name": "query-block"
-    },
-    {
-      "name": "query-chardev-backends"
-    },
-    {
-      "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": "change-backing-file"
-    },
-    {
-      "name": "drive-mirror"
-    },
-    {
-      "name": "blockdev-snapshot-delete-internal-sync"
-    },
-    {
-      "name": "blockdev-snapshot-internal-sync"
-    },
-    {
-      "name": "blockdev-snapshot-sync"
-    },
-    {
-      "name": "block-dirty-bitmap-clear"
-    },
-    {
-      "name": "block-dirty-bitmap-remove"
-    },
-    {
-      "name": "block-dirty-bitmap-add"
-    },
-    {
-      "name": "transaction"
-    },
-    {
-      "name": "block-job-complete"
-    },
-    {
-      "name": "block-job-resume"
-    },
-    {
-      "name": "block-job-pause"
-    },
-    {
-      "name": "block-job-cancel"
-    },
-    {
-      "name": "block-job-set-speed"
-    },
-    {
-      "name": "blockdev-backup"
-    },
-    {
-      "name": "drive-backup"
-    },
-    {
-      "name": "block-commit"
-    },
-    {
-      "name": "block-stream"
-    },
-    {
-      "name": "block_resize"
-    },
-    {
-      "name": "object-del"
-    },
-    {
-      "name": "object-add"
-    },
-    {
-      "name": "netdev_del"
-    },
-    {
-      "name": "netdev_add"
-    },
-    {
-      "name": "query-dump-guest-memory-capability"
-    },
-    {
-      "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-incoming"
-    },
-    {
-      "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": "DeviceNotFound",
-    "desc": "Device 'bogus' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "MEM_UNPLUG_ERROR"
-    },
-    {
-      "name": "VSERPORT_CHANGE"
-    },
-    {
-      "name": "QUORUM_REPORT_BAD"
-    },
-    {
-      "name": "QUORUM_FAILURE"
-    },
-    {
-      "name": "GUEST_PANICKED"
-    },
-    {
-      "name": "BALLOON_CHANGE"
-    },
-    {
-      "name": "ACPI_DEVICE_OST"
-    },
-    {
-      "name": "MIGRATION"
-    },
-    {
-      "name": "SPICE_MIGRATE_COMPLETED"
-    },
-    {
-      "name": "SPICE_DISCONNECTED"
-    },
-    {
-      "name": "SPICE_INITIALIZED"
-    },
-    {
-      "name": "SPICE_CONNECTED"
-    },
-    {
-      "name": "VNC_DISCONNECTED"
-    },
-    {
-      "name": "VNC_INITIALIZED"
-    },
-    {
-      "name": "VNC_CONNECTED"
-    },
-    {
-      "name": "NIC_RX_FILTER_CHANGED"
-    },
-    {
-      "name": "DEVICE_DELETED"
-    },
-    {
-      "name": "WATCHDOG"
-    },
-    {
-      "name": "RTC_CHANGE"
-    },
-    {
-      "name": "WAKEUP"
-    },
-    {
-      "name": "SUSPEND_DISK"
-    },
-    {
-      "name": "SUSPEND"
-    },
-    {
-      "name": "RESUME"
-    },
-    {
-      "name": "STOP"
-    },
-    {
-      "name": "RESET"
-    },
-    {
-      "name": "POWERDOWN"
-    },
-    {
-      "name": "SHUTDOWN"
-    },
-    {
-      "name": "DEVICE_TRAY_MOVED"
-    },
-    {
-      "name": "BLOCK_WRITE_THRESHOLD"
-    },
-    {
-      "name": "BLOCK_JOB_READY"
-    },
-    {
-      "name": "BLOCK_JOB_ERROR"
-    },
-    {
-      "name": "BLOCK_JOB_CANCELLED"
-    },
-    {
-      "name": "BLOCK_JOB_COMPLETED"
-    },
-    {
-      "name": "BLOCK_IO_ERROR"
-    },
-    {
-      "name": "BLOCK_IMAGE_CORRUPTED"
-    }
-  ],
-  "id": "libvirt-7"
-}
-
-{
-  "return": [
-    {
-      "name": "virtio-tablet-pci"
-    },
-    {
-      "name": "pc-0.13-machine"
-    },
-    {
-      "name": "fw_cfg"
-    },
-    {
-      "name": "generic-sdhci"
-    },
-    {
-      "name": "i82551"
-    },
-    {
-      "name": "i82550"
-    },
-    {
-      "name": "Westmere-x86_64-cpu"
-    },
-    {
-      "name": "e1000-82540em"
-    },
-    {
-      "name": "pci-serial-4x"
-    },
-    {
-      "name": "Penryn-x86_64-cpu"
-    },
-    {
-      "name": "Haswell-x86_64-cpu"
-    },
-    {
-      "name": "iothread"
-    },
-    {
-      "name": "pc-q35-2.3-machine"
-    },
-    {
-      "name": "icc-bridge"
-    },
-    {
-      "name": "cfi.pflash01"
-    },
-    {
-      "name": "virtio-gpu-device"
-    },
-    {
-      "name": "Opteron_G3-x86_64-cpu"
-    },
-    {
-      "name": "Broadwell-x86_64-cpu"
-    },
-    {
-      "name": "piix3-ide"
-    },
-    {
-      "name": "isa-parallel"
-    },
-    {
-      "name": "pc-q35-2.4-machine"
-    },
-    {
-      "name": "i2c-bus"
-    },
-    {
-      "name": "megasas"
-    },
-    {
-      "name": "usb-braille"
-    },
-    {
-      "name": "vmware-svga"
-    },
-    {
-      "name": "pc-i440fx-2.0-machine"
-    },
-    {
-      "name": "PIIX3-xen"
-    },
-    {
-      "name": "ccid-bus"
-    },
-    {
-      "name": "scsi-cd"
-    },
-    {
-      "name": "isa-serial"
-    },
-    {
-      "name": "usb-ehci"
-    },
-    {
-      "name": "user-creatable"
-    },
-    {
-      "name": "container"
-    },
-    {
-      "name": "host-x86_64-cpu"
-    },
-    {
-      "name": "pci-serial-2x"
-    },
-    {
-      "name": "piix4-ide"
-    },
-    {
-      "name": "scsi-generic"
-    },
-    {
-      "name": "pc-1.0-machine"
-    },
-    {
-      "name": "virtio-net-pci"
-    },
-    {
-      "name": "pc-dimm"
-    },
-    {
-      "name": "pc-q35-1.7-machine"
-    },
-    {
-      "name": "Haswell-noTSX-x86_64-cpu"
-    },
-    {
-      "name": "pc-i440fx-2.1-machine"
-    },
-    {
-      "name": "virtio-mouse-device"
-    },
-    {
-      "name": "virtio-mouse-pci"
-    },
-    {
-      "name": "isa-debugcon"
-    },
-    {
-      "name": "ide-hd"
-    },
-    {
-      "name": "virtio-vga"
-    },
-    {
-      "name": "qemu64-x86_64-cpu"
-    },
-    {
-      "name": "rng-egd"
-    },
-    {
-      "name": "isa-pcspk"
-    },
-    {
-      "name": "isa-pit"
-    },
-    {
-      "name": "pc-1.1-machine"
-    },
-    {
-      "name": "ich9-usb-ehci1"
-    },
-    {
-      "name": "ich9-usb-ehci2"
-    },
-    {
-      "name": "pxb-host"
-    },
-    {
-      "name": "intel-iommu"
-    },
-    {
-      "name": "irq"
-    },
-    {
-      "name": "cirrus-vga"
-    },
-    {
-      "name": "virtconsole"
-    },
-    {
-      "name": "virtio-rng-pci"
-    },
-    {
-      "name": "PCIE"
-    },
-    {
-      "name": "pentium3-x86_64-cpu"
-    },
-    {
-      "name": "qxl-vga"
-    },
-    {
-      "name": "ioapic"
-    },
-    {
-      "name": "kvm-pit"
-    },
-    {
-      "name": "pc-0.14-machine"
-    },
-    {
-      "name": "pc-i440fx-1.4-machine"
-    },
-    {
-      "name": "pc-q35-2.0-machine"
-    },
-    {
-      "name": "usb-host"
-    },
-    {
-      "name": "usb-bus"
-    },
-    {
-      "name": "vhost-scsi-pci"
-    },
-    {
-      "name": "usb-kbd"
-    },
-    {
-      "name": "486-x86_64-cpu"
-    },
-    {
-      "name": "ES1370"
-    },
-    {
-      "name": "gus"
-    },
-    {
-      "name": "PIIX3"
-    },
-    {
-      "name": "isa-applesmc"
-    },
-    {
-      "name": "kvm-pci-assign"
-    },
-    {
-      "name": "i82559er"
-    },
-    {
-      "name": "q35-pcihost"
-    },
-    {
-      "name": "e1000-82545em"
-    },
-    {
-      "name": "pc-i440fx-1.5-machine"
-    },
-    {
-      "name": "usb-bt-dongle"
-    },
-    {
-      "name": "AC97"
-    },
-    {
-      "name": "i6300esb"
-    },
-    {
-      "name": "mc146818rtc"
-    },
-    {
-      "name": "e1000-82544gc"
-    },
-    {
-      "name": "PIIX4_PM"
-    },
-    {
-      "name": "piix4-usb-uhci"
-    },
-    {
-      "name": "sysbus-ahci"
-    },
-    {
-      "name": "virtio-tablet-device"
-    },
-    {
-      "name": "kvm-ioapic"
-    },
-    {
-      "name": "pvpanic"
-    },
-    {
-      "name": "core2duo-x86_64-cpu"
-    },
-    {
-      "name": "virtio-9p-pci"
-    },
-    {
-      "name": "scsi-disk"
-    },
-    {
-      "name": "acpi-device-interface"
-    },
-    {
-      "name": "sb16"
-    },
-    {
-      "name": "pc-0.15-machine"
-    },
-    {
-      "name": "usb-mouse"
-    },
-    {
-      "name": "piix3-usb-uhci"
-    },
-    {
-      "name": "vfio-calxeda-xgmac"
-    },
-    {
-      "name": "virtio-scsi-device"
-    },
-    {
-      "name": "virtio-blk-pci"
-    },
-    {
-      "name": "virtio-9p-device"
-    },
-    {
-      "name": "hda-output"
-    },
-    {
-      "name": "SUNW,fdtwo"
-    },
-    {
-      "name": "tpci200"
-    },
-    {
-      "name": "Opteron_G4-x86_64-cpu"
-    },
-    {
-      "name": "pc-q35-1.4-machine"
-    },
-    {
-      "name": "virtio-mmio"
-    },
-    {
-      "name": "qemu-console"
-    },
-    {
-      "name": "isa-i8259"
-    },
-    {
-      "name": "System"
-    },
-    {
-      "name": "pvscsi"
-    },
-    {
-      "name": "virtio-net-device"
-    },
-    {
-      "name": "usb-hub"
-    },
-    {
-      "name": "IvyBridge-x86_64-cpu"
-    },
-    {
-      "name": "hda-duplex"
-    },
-    {
-      "name": "pc-i440fx-2.3-machine"
-    },
-    {
-      "name": "virtio-keyboard-pci"
-    },
-    {
-      "name": "pci-ohci"
-    },
-    {
-      "name": "isapc-machine"
-    },
-    {
-      "name": "ipoctal232"
-    },
-    {
-      "name": "pc-1.2-machine"
-    },
-    {
-      "name": "xio3130-downstream"
-    },
-    {
-      "name": "ide-cd"
-    },
-    {
-      "name": "pc-i440fx-2.2-machine"
-    },
-    {
-      "name": "isabus-bridge"
-    },
-    {
-      "name": "nec-usb-xhci"
-    },
-    {
-      "name": "memory-backend-file"
-    },
-    {
-      "name": "isa-ide"
-    },
-    {
-      "name": "virtio-keyboard-device"
-    },
-    {
-      "name": "megasas-gen2"
-    },
-    {
-      "name": "isa-vga"
-    },
-    {
-      "name": "qemu:memory-region"
-    },
-    {
-      "name": "rng-random"
-    },
-    {
-      "name": "hotplug-handler"
-    },
-    {
-      "name": "kvm-i8259"
-    },
-    {
-      "name": "i440FX-pcihost"
-    },
-    {
-      "name": "qemu32-x86_64-cpu"
-    },
-    {
-      "name": "tpm-tis"
-    },
-    {
-      "name": "tpm-passthrough"
-    },
-    {
-      "name": "apic"
-    },
-    {
-      "name": "isa-debug-exit"
-    },
-    {
-      "name": "pc-0.10-machine"
-    },
-    {
-      "name": "pc-testdev"
-    },
-    {
-      "name": "rocker"
-    },
-    {
-      "name": "Opteron_G1-x86_64-cpu"
-    },
-    {
-      "name": "sga"
-    },
-    {
-      "name": "pcnet"
-    },
-    {
-      "name": "ivshmem"
-    },
-    {
-      "name": "hpet"
-    },
-    {
-      "name": "adlib"
-    },
-    {
-      "name": "lsi53c895a"
-    },
-    {
-      "name": "pxb-bus"
-    },
-    {
-      "name": "usb-audio"
-    },
-    {
-      "name": "usb-wacom-tablet"
-    },
-    {
-      "name": "pc-0.11-machine"
-    },
-    {
-      "name": "kvm-apic"
-    },
-    {
-      "name": "phenom-x86_64-cpu"
-    },
-    {
-      "name": "fw_cfg_io"
-    },
-    {
-      "name": "ioh3420"
-    },
-    {
-      "name": "pc-q35-2.1-machine"
-    },
-    {
-      "name": "cs4231a"
-    },
-    {
-      "name": "dc390"
-    },
-    {
-      "name": "nvme"
-    },
-    {
-      "name": "i82801b11-bridge"
-    },
-    {
-      "name": "kvmvapic"
-    },
-    {
-      "name": "fw-path-provider"
-    },
-    {
-      "name": "usb-net"
-    },
-    {
-      "name": "pci-bridge-seat"
-    },
-    {
-      "name": "mch"
-    },
-    {
-      "name": "usb-tablet"
-    },
-    {
-      "name": "vhost-scsi"
-    },
-    {
-      "name": "usb-ccid"
-    },
-    {
-      "name": "pc-i440fx-1.7-machine"
-    },
-    {
-      "name": "tcg-accel"
-    },
-    {
-      "name": "virtio-mmio-bus"
-    },
-    {
-      "name": "pc-q35-2.2-machine"
-    },
-    {
-      "name": "usb-bot"
-    },
-    {
-      "name": "ICH9-LPC"
-    },
-    {
-      "name": "edu"
-    },
-    {
-      "name": "accel"
-    },
-    {
-      "name": "pc-i440fx-1.6-machine"
-    },
-    {
-      "name": "kvmclock"
-    },
-    {
-      "name": "lsi53c810"
-    },
-    {
-      "name": "isa-cirrus-vga"
-    },
-    {
-      "name": "virtio-serial-bus"
-    },
-    {
-      "name": "ib700"
-    },
-    {
-      "name": "SandyBridge-x86_64-cpu"
-    },
-    {
-      "name": "esp"
-    },
-    {
-      "name": "virtio-balloon-device"
-    },
-    {
-      "name": "ccid-card-passthru"
-    },
-    {
-      "name": "ich9-usb-uhci5"
-    },
-    {
-      "name": "qxl"
-    },
-    {
-      "name": "intel-hda"
-    },
-    {
-      "name": "ich9-usb-uhci6"
-    },
-    {
-      "name": "pci-bridge"
-    },
-    {
-      "name": "virtio-serial-device"
-    },
-    {
-      "name": "ich9-usb-uhci3"
-    },
-    {
-      "name": "ICH9 SMB"
-    },
-    {
-      "name": "ich9-usb-uhci4"
-    },
-    {
-      "name": "piix3-ide-xen"
-    },
-    {
-      "name": "virtio-input-host-device"
-    },
-    {
-      "name": "icc-bus"
-    },
-    {
-      "name": "vmxnet3"
-    },
-    {
-      "name": "IDE"
-    },
-    {
-      "name": "VGA"
-    },
-    {
-      "name": "pci-testdev"
-    },
-    {
-      "name": "ich9-usb-uhci2"
-    },
-    {
-      "name": "ich9-usb-uhci1"
-    },
-    {
-      "name": "x3130-upstream"
-    },
-    {
-      "name": "none-machine"
-    },
-    {
-      "name": "sysbus-fdc"
-    },
-    {
-      "name": "SCSI"
-    },
-    {
-      "name": "n270-x86_64-cpu"
-    },
-    {
-      "name": "pci-serial"
-    },
-    {
-      "name": "pc-q35-1.5-machine"
-    },
-    {
-      "name": "athlon-x86_64-cpu"
-    },
-    {
-      "name": "ISA"
-    },
-    {
-      "name": "i8042"
-    },
-    {
-      "name": "kvm-accel"
-    },
-    {
-      "name": "i82559c"
-    },
-    {
-      "name": "i82559b"
-    },
-    {
-      "name": "i82559a"
-    },
-    {
-      "name": "scsi-hd"
-    },
-    {
-      "name": "qtest-accel"
-    },
-    {
-      "name": "virtio-balloon-pci"
-    },
-    {
-      "name": "hda-micro"
-    },
-    {
-      "name": "scsi-block"
-    },
-    {
-      "name": "virtio-scsi-pci"
-    },
-    {
-      "name": "rtl8139"
-    },
-    {
-      "name": "vmmouse"
-    },
-    {
-      "name": "ich9-intel-hda"
-    },
-    {
-      "name": "usb-mtp"
-    },
-    {
-      "name": "ide-drive"
-    },
-    {
-      "name": "fw_cfg_mem"
-    },
-    {
-      "name": "PCI"
-    },
-    {
-      "name": "Opteron_G5-x86_64-cpu"
-    },
-    {
-      "name": "vmport"
-    },
-    {
-      "name": "coreduo-x86_64-cpu"
-    },
-    {
-      "name": "virtio-serial-pci"
-    },
-    {
-      "name": "pc-q35-1.6-machine"
-    },
-    {
-      "name": "virtio-input-host-pci"
-    },
-    {
-      "name": "virtio-pci-bus"
-    },
-    {
-      "name": "pentium2-x86_64-cpu"
-    },
-    {
-      "name": "nmi"
-    },
-    {
-      "name": "i82558b"
-    },
-    {
-      "name": "i82558a"
-    },
-    {
-      "name": "pc-0.12-machine"
-    },
-    {
-      "name": "am53c974"
-    },
-    {
-      "name": "sdhci-pci"
-    },
-    {
-      "name": "port92"
-    },
-    {
-      "name": "pxb"
-    },
-    {
-      "name": "kvm64-x86_64-cpu"
-    },
-    {
-      "name": "e1000"
-    },
-    {
-      "name": "Conroe-x86_64-cpu"
-    },
-    {
-      "name": "ne2k_isa"
-    },
-    {
-      "name": "pc-1.3-machine"
-    },
-    {
-      "name": "HDA"
-    },
-    {
-      "name": "usb-storage"
-    },
-    {
-      "name": "usb-serial"
-    },
-    {
-      "name": "usb-uas"
-    },
-    {
-      "name": "pc-i440fx-2.4-machine"
-    },
-    {
-      "name": "sysbus-ohci"
-    },
-    {
-      "name": "usb-redir"
-    },
-    {
-      "name": "i82801"
-    },
-    {
-      "name": "Broadwell-noTSX-x86_64-cpu"
-    },
-    {
-      "name": "i82557c"
-    },
-    {
-      "name": "i82557b"
-    },
-    {
-      "name": "i82557a"
-    },
-    {
-      "name": "Nehalem-x86_64-cpu"
-    },
-    {
-      "name": "memory-backend-ram"
-    },
-    {
-      "name": "QJSON"
-    },
-    {
-      "name": "virtserialport"
-    },
-    {
-      "name": "i440FX"
-    },
-    {
-      "name": "ne2k_pci"
-    },
-    {
-      "name": "smbus-eeprom"
-    },
-    {
-      "name": "i82562"
-    },
-    {
-      "name": "ich9-ahci"
-    },
-    {
-      "name": "virtio-rng-device"
-    },
-    {
-      "name": "isa-fdc"
-    },
-    {
-      "name": "kvm32-x86_64-cpu"
-    },
-    {
-      "name": "Opteron_G2-x86_64-cpu"
-    },
-    {
-      "name": "vfio-pci"
-    },
-    {
-      "name": "IndustryPack"
-    },
-    {
-      "name": "virtio-gpu-pci"
-    },
-    {
-      "name": "vt82c686b-usb-uhci"
-    },
-    {
-      "name": "secondary-vga"
-    },
-    {
-      "name": "pentium-x86_64-cpu"
-    },
-    {
-      "name": "virtio-blk-device"
-    }
-  ],
-  "id": "libvirt-8"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "iothread",
-      "type": "link<iothread>"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-data-plane",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "request-merging",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "scsi",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "config-wce",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "secs",
-      "type": "uint32"
-    },
-    {
-      "name": "heads",
-      "type": "uint32"
-    },
-    {
-      "name": "cyls",
-      "type": "uint32"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-blk-device>"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vectors",
-      "type": "uint32"
-    },
-    {
-      "name": "ioeventfd",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "class",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-9"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "tx",
-      "type": "str"
-    },
-    {
-      "name": "x-txburst",
-      "type": "int32"
-    },
-    {
-      "name": "x-txtimer",
-      "type": "uint32"
-    },
-    {
-      "name": "netdev",
-      "description": "ID of a netdev to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "vlan",
-      "description": "Integer VLAN id to connect to",
-      "type": "int32"
-    },
-    {
-      "name": "mac",
-      "description": "Ethernet 6-byte MAC Address, example: 52:54:00:12:34:56",
-      "type": "str"
-    },
-    {
-      "name": "mq",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_guest_offloads",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_mac_addr",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_rx_extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_vlan",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_rx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_vq",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "status",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "mrg_rxbuf",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host_ufo",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host_ecn",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host_tso6",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host_tso4",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_announce",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_ufo",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_ecn",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_tso6",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_tso4",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "gso",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_csum",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "csum",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-net-device>"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vectors",
-      "type": "uint32"
-    },
-    {
-      "name": "ioeventfd",
-      "description": "on/off",
-      "type": "bool"
-    }
-  ],
-  "id": "libvirt-10"
-}
-
-{
-    "return": [
-        {
-            "name": "iothread",
-            "type": "link<iothread>"
-        },
-        {
-            "name": "any_layout",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "notify_on_empty",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "event_idx",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "indirect_desc",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "param_change",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "hotplug",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "modern-pio-notify",
-            "description": "on/off",
-            "type":"bool"
-        },
-        {
-            "name": "cmd_per_lun",
-            "type": "uint32"
-        },
-        {
-            "name": "max_sectors",
-            "type": "uint32"
-        },
-        {
-            "name": "num_queues",
-            "type": "uint32"
-        },
-        {
-            "name": "virtio-backend",
-            "type": "child<virtio-scsi-device>"
-        },
-        {
-            "name": "command_serr_enable",
-            "description":"on/off",
-            "type": "bool"
-        },
-        {
-            "name": "multifunction",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "migrate-extra",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "migrate-extra",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "rombar",
-            "type": "uint32"
-        },
-        {
-            "name": "romfile",
-            "type": "str"
-        },
-        {
-            "name": "x-disable-pcie",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "addr",
-            "description": "Slot and optional function number, example: 06.0 or 06",
-            "type": "int32"
-        },
-        {
-            "name": "disable-modern",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "disable-legacy",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "virtio-pci-bus-master-bug-migration",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "vectors",
-            "type": "uint32"
-        },
-        {
-            "name": "ioeventfd",
-            "description": "on/off",
-            "type": "bool"
-        }
-    ],
-    "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": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "configfd",
-      "type": "str"
-    },
-    {
-      "name": "share_intx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "prefer_msi",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host",
-      "description": "Address (bus/device/function) of the host device, example: 04:10.0",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-18"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "x-mmap",
-      "type": "bool"
-    },
-    {
-      "name": "x-req",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-vga",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-intx-mmap-timeout-ms",
-      "type": "uint32"
-    },
-    {
-      "name": "host",
-      "description": "Address (bus/device/function) of the host device, example: 04:10.0",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-19"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "lun",
-      "type": "uint32"
-    },
-    {
-      "name": "scsi-id",
-      "type": "uint32"
-    },
-    {
-      "name": "channel",
-      "type": "uint32"
-    },
-    {
-      "name": "max_io_size",
-      "type": "uint64"
-    },
-    {
-      "name": "max_unmap_size",
-      "type": "uint64"
-    },
-    {
-      "name": "port_index",
-      "type": "uint16"
-    },
-    {
-      "name": "port_wwn",
-      "type": "uint64"
-    },
-    {
-      "name": "wwn",
-      "type": "uint64"
-    },
-    {
-      "name": "dpofua",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "removable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "product",
-      "type": "str"
-    },
-    {
-      "name": "vendor",
-      "type": "str"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "ver",
-      "type": "str"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-20"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "unit",
-      "type": "uint32"
-    },
-    {
-      "name": "model",
-      "type": "str"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "wwn",
-      "type": "uint64"
-    },
-    {
-      "name": "ver",
-      "type": "str"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-21"
-}
-
-{
-  "return": [
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "memory-hotplug-support",
-      "type": "bool"
-    },
-    {
-      "name": "acpi-pci-hotplug-with-bridge-support",
-      "type": "bool"
-    },
-    {
-      "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": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "msos-desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "full-path",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "port",
-      "type": "str"
-    },
-    {
-      "name": "filter",
-      "type": "str"
-    },
-    {
-      "name": "debug",
-      "type": "uint8"
-    },
-    {
-      "name": "chardev",
-      "description": "ID of a chardev to use as a backend",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-23"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "msos-desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "full-path",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "port",
-      "type": "str"
-    },
-    {
-      "name": "pipeline",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "loglevel",
-      "type": "uint32"
-    },
-    {
-      "name": "isobsize",
-      "type": "uint32"
-    },
-    {
-      "name": "isobufs",
-      "type": "uint32"
-    },
-    {
-      "name": "productid",
-      "type": "uint32"
-    },
-    {
-      "name": "vendorid",
-      "type": "uint32"
-    },
-    {
-      "name": "hostport",
-      "type": "str"
-    },
-    {
-      "name": "hostaddr",
-      "type": "uint32"
-    },
-    {
-      "name": "hostbus",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-24"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "lun",
-      "type": "uint32"
-    },
-    {
-      "name": "scsi-id",
-      "type": "uint32"
-    },
-    {
-      "name": "channel",
-      "type": "uint32"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-25"
-}
-
-{
-  "return": [
-    {
-      "name": "pci-hole64-end",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole64-start",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole-end",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole-start",
-      "type": "int"
-    },
-    {
-      "name": "pci-conf-data[0]",
-      "type": "child<qemu:memory-region>"
-    },
-    {
-      "name": "pci-conf-idx[0]",
-      "type": "child<qemu:memory-region>"
-    },
-    {
-      "name": "short_root_bus",
-      "type": "uint32"
-    },
-    {
-      "name": "pci-hole64-size",
-      "type": "size"
-    }
-  ],
-  "id": "libvirt-26"
-}
-
-{
-  "return": [
-    {
-      "name": "mcfg_size",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole64-end",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole64-start",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole-end",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole-start",
-      "type": "int"
-    },
-    {
-      "name": "mch",
-      "type": "child<mch>"
-    },
-    {
-      "name": "pci-conf-data[0]",
-      "type": "child<qemu:memory-region>"
-    },
-    {
-      "name": "pci-conf-idx[0]",
-      "type": "child<qemu:memory-region>"
-    },
-    {
-      "name": "pcie-mmcfg-mmio[0]",
-      "type": "child<qemu:memory-region>"
-    },
-    {
-      "name": "short_root_bus",
-      "type": "uint32"
-    },
-    {
-      "name": "pci-hole64-size",
-      "type": "size"
-    },
-    {
-      "name": "MCFG",
-      "type": "uint64"
-    }
-  ],
-  "id": "libvirt-27"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "msos-desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "full-path",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "port",
-      "type": "str"
-    },
-    {
-      "name": "removable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-28"
-}
-
-{
-  "return": [
-    {
-      "name": "lost_tick_policy",
-      "type": "LostTickPolicy"
-    },
-    {
-      "name": "iobase",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-29"
-}
-
-{
-  "return": [
-    {
-      "name": "big-endian-framebuffer",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "qemu-extended-regs",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "mmio",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vgamem_mb",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-30"
-}
-
-{
-  "return": [
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "vgamem_mb",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-31"
-}
-
-{
-  "return": [
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "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",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "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"
-}
-
-{
-  "return": [
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virgl",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "max_outputs",
-      "type": "uint32"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-gpu-device>"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vectors",
-      "type": "uint32"
-    },
-    {
-      "name": "ioeventfd",
-      "description": "on/off",
-      "type": "bool"
-    }
-  ],
-  "id": "libvirt-34"
-}
-
-{
-  "return":  [
-    {
-      "type": "bool",
-      "name": "memory-hotplug-support"
-    },
-    {
-      "type": "uint32",
-      "name": "rombar"
-    },
-    {
-      "type": "uint32",
-      "name": "sci_int"
-    },
-    {
-      "type": "uint32",
-      "name": "gpe0_blk_len"
-    },
-    {
-      "type": "uint32",
-      "name": "pm_io_base"
-    },
-    {
-      "type": "bool",
-      "name": "noreboot"
-    },
-    {
-      "type": "bool",
-      "name": "multifunction",
-      "description": "on/off"
-    },
-    {
-      "type": "uint8",
-      "name": "disable_s4"
-    },
-    {
-      "type": "uint8",
-      "name": "acpi_disable_cmd"
-    },
-    {
-      "type": "str",
-      "name": "romfile"
-    },
-    {
-      "type": "uint8",
-      "name": "disable_s3"
-    },
-    {
-      "type": "uint8",
-      "name": "s4_val"
-    },
-    {
-      "type": "uint8",
-      "name": "acpi_enable_cmd"
-    },
-    {
-      "type": "bool",
-      "name": "command_serr_enable",
-      "description": "on/off"
-    },
-    {
-      "type": "int32",
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06"
-    },
-    {
-      "type": "bool",
-      "name": "enable_tco"
-    },
-    {
-      "type": "uint32",
-      "name": "gpe0_blk"
-    }
-  ],
-  "id": "libvirt-35"
-}
-
-
-{
-  "return": [
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "class",
-      "type": "uint32"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest-stats-polling-interval",
-      "type": "int"
-    },
-    {
-      "name": "guest-stats",
-      "type": "guest statistics"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "migrate-extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "modern-pio-notify",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-balloon-device>"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-disable-pcie",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "deflate-on-oom",
-      "description": "on/off",
-      "type": "bool"
-    }
-  ],
-  "id": "libvirt-36"
-}
-
-{
-  "id": "libvirt-37",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'virtio-balloon-ccw' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest-stats-polling-interval",
-      "type": "int"
-    },
-    {
-      "name": "guest-stats",
-      "type": "guest statistics"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "deflate-on-oom",
-      "description": "on/off",
-      "type": "bool"
-    }
-  ],
-  "id": "libvirt-38"
-}
-
-{
-    "return": [
-        {
-            "name": "msi",
-            "type": "on/off"
-        },
-        {
-            "name": "msix",
-            "type": "on/off"
-        },
-        {
-            "name": "superspeed-ports-first",
-            "type": "on/off"
-        },
-        {
-            "name": "force-pcie-endcap",
-            "type": "on/off"
-        },
-        {
-            "name": "streams",
-            "type": "on/off"
-        },
-        {
-            "name": "intrs",
-            "type": "uint32"
-        },
-        {
-            "name": "slots",
-            "type": "uint32"
-        },
-        {
-            "name": "2",
-            "type": "uint32"
-        },
-        {
-            "name": "p3",
-            "type": "uint32"
-        }
-    ]
-}
-
-{
-  "return": [
-    {
-      "name": "pc-i440fx-2.4",
-      "is-default": true,
-      "cpu-max": 255,
-      "alias": "pc"
-    },
-    {
-      "name": "pc-1.3",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-0.12",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-1.6",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-1.5",
-      "cpu-max": 255
-    },
-    {
-      "name": "none",
-      "cpu-max": 1
-    },
-    {
-      "name": "pc-i440fx-1.6",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-2.2",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-1.7",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-2.1",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-0.11",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-0.10",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-2.2",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-1.2",
-      "cpu-max": 255
-    },
-    {
-      "name": "isapc",
-      "cpu-max": 1
-    },
-    {
-      "name": "pc-i440fx-2.3",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-1.4",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-0.15",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-1.5",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-2.0",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-1.4",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-0.14",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-1.1",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-2.1",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-1.7",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-1.0",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-2.0",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-2.4",
-      "cpu-max": 255,
-      "alias": "q35"
-    },
-    {
-      "name": "pc-q35-2.3",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-0.13",
-      "cpu-max": 255
-    }
-  ],
-  "id": "libvirt-39"
-}
-
-{
-  "return": [
-    {
-      "name": "Opteron_G5"
-    },
-    {
-      "name": "Opteron_G4"
-    },
-    {
-      "name": "Opteron_G3"
-    },
-    {
-      "name": "Opteron_G2"
-    },
-    {
-      "name": "Opteron_G1"
-    },
-    {
-      "name": "Broadwell"
-    },
-    {
-      "name": "Broadwell-noTSX"
-    },
-    {
-      "name": "Haswell"
-    },
-    {
-      "name": "Haswell-noTSX"
-    },
-    {
-      "name": "IvyBridge"
-    },
-    {
-      "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": [
-    "tpm-tis"
-  ],
-  "id": "libvirt-42"
-}
-
-{
-  "return": [
-    "passthrough"
-  ],
-  "id": "libvirt-43"
-}
-
-{
-  "return": [
-    {
-      "parameters": [
-        {
-          "name": "timeout",
-          "help": "Request timeout in seconds (default 0 = no timeout)",
-          "type": "number"
-        },
-        {
-          "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": [
-        {
-          "name": "non-adaptive",
-          "type": "boolean"
-        },
-        {
-          "name": "lossy",
-          "type": "boolean"
-        },
-        {
-          "name": "acl",
-          "type": "boolean"
-        },
-        {
-          "name": "x509verify",
-          "type": "string"
-        },
-        {
-          "name": "tls",
-          "type": "boolean"
-        },
-        {
-          "name": "sasl",
-          "type": "boolean"
-        },
-        {
-          "name": "lock-key-sync",
-          "type": "boolean"
-        },
-        {
-          "name": "reverse",
-          "type": "boolean"
-        },
-        {
-          "name": "password",
-          "type": "boolean"
-        },
-        {
-          "name": "ipv6",
-          "type": "boolean"
-        },
-        {
-          "name": "ipv4",
-          "type": "boolean"
-        },
-        {
-          "name": "to",
-          "type": "number"
-        },
-        {
-          "name": "connections",
-          "type": "number"
-        },
-        {
-          "name": "head",
-          "type": "number"
-        },
-        {
-          "name": "display",
-          "type": "string"
-        },
-        {
-          "name": "share",
-          "type": "string"
-        },
-        {
-          "name": "x509",
-          "type": "string"
-        },
-        {
-          "name": "websocket",
-          "type": "string"
-        },
-        {
-          "name": "vnc",
-          "type": "string"
-        }
-      ],
-      "option": "vnc"
-    },
-    {
-      "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": [
-      ],
-      "option": "smbios"
-    },
-    {
-      "parameters": [
-        {
-          "name": "file",
-          "help": "Sets the name of the file from which\nthe fw_cfg blob will be loaded",
-          "type": "string"
-        },
-        {
-          "name": "name",
-          "help": "Sets the fw_cfg name of the blob to be inserted",
-          "type": "string"
-        }
-      ],
-      "option": "fw_cfg"
-    },
-    {
-      "parameters": [
-        {
-          "name": "arg",
-          "type": "string"
-        },
-        {
-          "name": "target",
-          "type": "string"
-        },
-        {
-          "name": "enable",
-          "type": "boolean"
-        }
-      ],
-      "option": "semihosting-config"
-    },
-    {
-      "parameters": [
-        {
-          "name": "sleep",
-          "type": "boolean"
-        },
-        {
-          "name": "align",
-          "type": "boolean"
-        },
-        {
-          "name": "shift",
-          "type": "string"
-        }
-      ],
-      "option": "icount"
-    },
-    {
-      "parameters": [
-      ],
-      "option": "numa"
-    },
-    {
-      "parameters": [
-        {
-          "name": "debug-threads",
-          "help": "When enabled, name the individual threads; defaults off.\nNOTE: The thread names are for debugging and not a\nstable API.",
-          "type": "boolean"
-        },
-        {
-          "name": "process",
-          "help": "Sets the name of the QEMU process, as shown in top etc",
-          "type": "string"
-        },
-        {
-          "name": "guest",
-          "help": "Sets the name of the guest.\nThis name will be displayed in the SDL window caption.\nThe name will also be used for the VNC server",
-          "type": "string"
-        }
-      ],
-      "option": "name"
-    },
-    {
-      "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": "boolean"
-        },
-        {
-          "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": "maxmem",
-          "type": "size"
-        },
-        {
-          "name": "slots",
-          "type": "number"
-        },
-        {
-          "name": "size",
-          "type": "size"
-        }
-      ],
-      "option": "memory"
-    },
-    {
-      "parameters": [
-        {
-          "name": "suppress-vmdesc",
-          "help": "Set on to disable self-describing migration",
-          "type": "boolean"
-        },
-        {
-          "name": "iommu",
-          "help": "Set on/off to enable/disable Intel IOMMU (VT-d)",
-          "type": "boolean"
-        },
-        {
-          "name": "firmware",
-          "help": "firmware image",
-          "type": "string"
-        },
-        {
-          "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": "reconnect",
-          "type": "number"
-        },
-        {
-          "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": "werror",
-          "help": "write error action",
-          "type": "string"
-        },
-        {
-          "name": "rerror",
-          "help": "read error action",
-          "type": "string"
-        },
-        {
-          "name": "read-only",
-          "help": "open drive file as read-only",
-          "type": "boolean"
-        },
-        {
-          "name": "file",
-          "help": "file name",
-          "type": "string"
-        },
-        {
-          "name": "serial",
-          "help": "disk serial number",
-          "type": "string"
-        },
-        {
-          "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": "detect-zeroes",
-          "help": "try to optimize zero writes (off, on, unmap)",
-          "type": "string"
-        },
-        {
-          "name": "throttling.group",
-          "help": "name of the block throttling group",
-          "type": "string"
-        },
-        {
-          "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": "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": "snapshot",
-          "help": "enable/disable snapshot mode",
-          "type": "boolean"
-        }
-      ],
-      "option": "drive"
-    }
-  ],
-  "id": "libvirt-44"
-}
-
-{
-  "return": [
-    {
-      "state": false,
-      "capability": "xbzrle"
-    },
-    {
-      "state": false,
-      "capability": "rdma-pin-all"
-    },
-    {
-      "state": false,
-      "capability": "auto-converge"
-    },
-    {
-      "state": false,
-      "capability": "zero-blocks"
-    },
-    {
-      "state": false,
-      "capability": "compress"
-    },
-    {
-      "state": false,
-      "capability": "events"
-    }
-  ],
-  "id": "libvirt-45"
-}
diff --git a/tests/qemucapabilitiesdata/caps_2.5.0-1.x86_64.xml b/tests/qemucapabilitiesdata/caps_2.5.0-1.x86_64.xml
deleted file mode 100644 (file)
index 2160173..0000000
+++ /dev/null
@@ -1,246 +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='device'/>
-  <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='drive-readonly'/>
-  <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-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='rombar'/>
-  <flag name='ich9-ahci'/>
-  <flag name='no-acpi'/>
-  <flag name='fsdev-readonly'/>
-  <flag name='virtio-blk-pci.scsi'/>
-  <flag name='blk-sg-io'/>
-  <flag name='drive-copy-on-read'/>
-  <flag name='cpu-host'/>
-  <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='tpm-passthrough'/>
-  <flag name='tpm-tis'/>
-  <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='active-commit'/>
-  <flag name='change-backing-file'/>
-  <flag name='memory-backend-ram'/>
-  <flag name='numa'/>
-  <flag name='memory-backend-file'/>
-  <flag name='usb-audio'/>
-  <flag name='rtc-reset-reinjection'/>
-  <flag name='splash-timeout'/>
-  <flag name='iothread'/>
-  <flag name='migrate-rdma'/>
-  <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='pc-dimm'/>
-  <flag name='machine-vmport-opt'/>
-  <flag name='pci-serial'/>
-  <flag name='vhost-user-multiqueue'/>
-  <flag name='migration-event'/>
-  <flag name='ioh3420'/>
-  <flag name='x3130-upstream'/>
-  <flag name='xio3130-downstream'/>
-  <flag name='rtl8139'/>
-  <flag name='e1000'/>
-  <flag name='virtio-net'/>
-  <flag name='incoming-defer'/>
-  <flag name='virtio-gpu'/>
-  <flag name='virtio-gpu.virgl'/>
-  <flag name='virtio-keyboard'/>
-  <flag name='virtio-mouse'/>
-  <flag name='virtio-tablet'/>
-  <flag name='virtio-input-host'/>
-  <flag name='ich9-disable-s3'/>
-  <flag name='ich9-disable-s4'/>
-  <flag name='vserport-change-event'/>
-  <flag name='virtio-balloon-pci.deflate-on-oom'/>
-  <flag name='qxl.vram64_size_mb'/>
-  <flag name='qxl-vga.vram64_size_mb'/>
-  <flag name='debug-threads'/>
-  <flag name='pxb'/>
-  <flag name='device-tray-moved-event'/>
-  <flag name='nec-usb-xhci-ports'/>
-  <flag name='virtio-scsi-pci.iothread'/>
-  <version>2004000</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='Broadwell'/>
-  <cpu name='Broadwell-noTSX'/>
-  <cpu name='Haswell'/>
-  <cpu name='Haswell-noTSX'/>
-  <cpu name='IvyBridge'/>
-  <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-2.4' alias='pc' maxCpus='255'/>
-  <machine name='pc-1.3' maxCpus='255'/>
-  <machine name='pc-0.12' maxCpus='255'/>
-  <machine name='pc-q35-1.6' maxCpus='255'/>
-  <machine name='pc-q35-1.5' maxCpus='255'/>
-  <machine name='pc-i440fx-1.6' maxCpus='255'/>
-  <machine name='pc-q35-2.2' maxCpus='255'/>
-  <machine name='pc-i440fx-1.7' maxCpus='255'/>
-  <machine name='pc-q35-2.1' maxCpus='255'/>
-  <machine name='pc-0.11' maxCpus='255'/>
-  <machine name='pc-0.10' maxCpus='255'/>
-  <machine name='pc-i440fx-2.2' maxCpus='255'/>
-  <machine name='pc-1.2' maxCpus='255'/>
-  <machine name='isapc' maxCpus='1'/>
-  <machine name='pc-i440fx-2.3' maxCpus='255'/>
-  <machine name='pc-q35-1.4' maxCpus='255'/>
-  <machine name='pc-0.15' maxCpus='255'/>
-  <machine name='pc-i440fx-1.5' maxCpus='255'/>
-  <machine name='pc-q35-2.0' maxCpus='255'/>
-  <machine name='pc-i440fx-1.4' maxCpus='255'/>
-  <machine name='pc-0.14' maxCpus='255'/>
-  <machine name='pc-1.1' maxCpus='255'/>
-  <machine name='pc-i440fx-2.1' maxCpus='255'/>
-  <machine name='pc-q35-1.7' maxCpus='255'/>
-  <machine name='pc-1.0' maxCpus='255'/>
-  <machine name='pc-i440fx-2.0' maxCpus='255'/>
-  <machine name='pc-q35-2.4' alias='q35' maxCpus='255'/>
-  <machine name='pc-q35-2.3' maxCpus='255'/>
-  <machine name='pc-0.13' maxCpus='255'/>
-</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.replies b/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.replies
new file mode 100644 (file)
index 0000000..0d94099
--- /dev/null
@@ -0,0 +1,4436 @@
+{
+  "QMP": {
+    "version": {
+      "qemu": {
+        "micro": 0,
+        "minor": 4,
+        "major": 2
+      },
+      "package": ""
+    },
+    "capabilities": [
+    ]
+  }
+}
+
+{
+  "return": {
+  },
+  "id": "libvirt-1"
+}
+
+{
+  "return": {
+    "qemu": {
+      "micro": 0,
+      "minor": 4,
+      "major": 2
+    },
+    "package": ""
+  },
+  "id": "libvirt-2"
+}
+
+{
+  "return": {
+    "arch": "x86_64"
+  },
+  "id": "libvirt-3"
+}
+
+{
+  "return": [
+    {
+      "name": "query-rocker-of-dpa-groups"
+    },
+    {
+      "name": "query-rocker-of-dpa-flows"
+    },
+    {
+      "name": "query-rocker-ports"
+    },
+    {
+      "name": "query-rocker"
+    },
+    {
+      "name": "block-set-write-threshold"
+    },
+    {
+      "name": "x-input-send-event"
+    },
+    {
+      "name": "trace-event-set-state"
+    },
+    {
+      "name": "trace-event-get-state"
+    },
+    {
+      "name": "rtc-reset-reinjection"
+    },
+    {
+      "name": "query-acpi-ospm-status"
+    },
+    {
+      "name": "query-memory-devices"
+    },
+    {
+      "name": "query-memdev"
+    },
+    {
+      "name": "query-named-block-nodes"
+    },
+    {
+      "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-parameters"
+    },
+    {
+      "name": "migrate-set-parameters"
+    },
+    {
+      "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-servers"
+    },
+    {
+      "name": "query-vnc"
+    },
+    {
+      "name": "query-mice"
+    },
+    {
+      "name": "query-status"
+    },
+    {
+      "name": "query-kvm"
+    },
+    {
+      "name": "query-pci"
+    },
+    {
+      "name": "query-iothreads"
+    },
+    {
+      "name": "query-cpus"
+    },
+    {
+      "name": "query-blockstats"
+    },
+    {
+      "name": "query-block"
+    },
+    {
+      "name": "query-chardev-backends"
+    },
+    {
+      "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": "change-backing-file"
+    },
+    {
+      "name": "drive-mirror"
+    },
+    {
+      "name": "blockdev-snapshot-delete-internal-sync"
+    },
+    {
+      "name": "blockdev-snapshot-internal-sync"
+    },
+    {
+      "name": "blockdev-snapshot-sync"
+    },
+    {
+      "name": "block-dirty-bitmap-clear"
+    },
+    {
+      "name": "block-dirty-bitmap-remove"
+    },
+    {
+      "name": "block-dirty-bitmap-add"
+    },
+    {
+      "name": "transaction"
+    },
+    {
+      "name": "block-job-complete"
+    },
+    {
+      "name": "block-job-resume"
+    },
+    {
+      "name": "block-job-pause"
+    },
+    {
+      "name": "block-job-cancel"
+    },
+    {
+      "name": "block-job-set-speed"
+    },
+    {
+      "name": "blockdev-backup"
+    },
+    {
+      "name": "drive-backup"
+    },
+    {
+      "name": "block-commit"
+    },
+    {
+      "name": "block-stream"
+    },
+    {
+      "name": "block_resize"
+    },
+    {
+      "name": "object-del"
+    },
+    {
+      "name": "object-add"
+    },
+    {
+      "name": "netdev_del"
+    },
+    {
+      "name": "netdev_add"
+    },
+    {
+      "name": "query-dump-guest-memory-capability"
+    },
+    {
+      "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-incoming"
+    },
+    {
+      "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": "DeviceNotFound",
+    "desc": "Device 'bogus' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "MEM_UNPLUG_ERROR"
+    },
+    {
+      "name": "VSERPORT_CHANGE"
+    },
+    {
+      "name": "QUORUM_REPORT_BAD"
+    },
+    {
+      "name": "QUORUM_FAILURE"
+    },
+    {
+      "name": "GUEST_PANICKED"
+    },
+    {
+      "name": "BALLOON_CHANGE"
+    },
+    {
+      "name": "ACPI_DEVICE_OST"
+    },
+    {
+      "name": "MIGRATION"
+    },
+    {
+      "name": "SPICE_MIGRATE_COMPLETED"
+    },
+    {
+      "name": "SPICE_DISCONNECTED"
+    },
+    {
+      "name": "SPICE_INITIALIZED"
+    },
+    {
+      "name": "SPICE_CONNECTED"
+    },
+    {
+      "name": "VNC_DISCONNECTED"
+    },
+    {
+      "name": "VNC_INITIALIZED"
+    },
+    {
+      "name": "VNC_CONNECTED"
+    },
+    {
+      "name": "NIC_RX_FILTER_CHANGED"
+    },
+    {
+      "name": "DEVICE_DELETED"
+    },
+    {
+      "name": "WATCHDOG"
+    },
+    {
+      "name": "RTC_CHANGE"
+    },
+    {
+      "name": "WAKEUP"
+    },
+    {
+      "name": "SUSPEND_DISK"
+    },
+    {
+      "name": "SUSPEND"
+    },
+    {
+      "name": "RESUME"
+    },
+    {
+      "name": "STOP"
+    },
+    {
+      "name": "RESET"
+    },
+    {
+      "name": "POWERDOWN"
+    },
+    {
+      "name": "SHUTDOWN"
+    },
+    {
+      "name": "DEVICE_TRAY_MOVED"
+    },
+    {
+      "name": "BLOCK_WRITE_THRESHOLD"
+    },
+    {
+      "name": "BLOCK_JOB_READY"
+    },
+    {
+      "name": "BLOCK_JOB_ERROR"
+    },
+    {
+      "name": "BLOCK_JOB_CANCELLED"
+    },
+    {
+      "name": "BLOCK_JOB_COMPLETED"
+    },
+    {
+      "name": "BLOCK_IO_ERROR"
+    },
+    {
+      "name": "BLOCK_IMAGE_CORRUPTED"
+    }
+  ],
+  "id": "libvirt-7"
+}
+
+{
+  "return": [
+    {
+      "name": "virtio-tablet-pci"
+    },
+    {
+      "name": "pc-0.13-machine"
+    },
+    {
+      "name": "fw_cfg"
+    },
+    {
+      "name": "generic-sdhci"
+    },
+    {
+      "name": "i82551"
+    },
+    {
+      "name": "i82550"
+    },
+    {
+      "name": "Westmere-x86_64-cpu"
+    },
+    {
+      "name": "e1000-82540em"
+    },
+    {
+      "name": "pci-serial-4x"
+    },
+    {
+      "name": "Penryn-x86_64-cpu"
+    },
+    {
+      "name": "Haswell-x86_64-cpu"
+    },
+    {
+      "name": "iothread"
+    },
+    {
+      "name": "pc-q35-2.3-machine"
+    },
+    {
+      "name": "icc-bridge"
+    },
+    {
+      "name": "cfi.pflash01"
+    },
+    {
+      "name": "virtio-gpu-device"
+    },
+    {
+      "name": "Opteron_G3-x86_64-cpu"
+    },
+    {
+      "name": "Broadwell-x86_64-cpu"
+    },
+    {
+      "name": "piix3-ide"
+    },
+    {
+      "name": "isa-parallel"
+    },
+    {
+      "name": "pc-q35-2.4-machine"
+    },
+    {
+      "name": "i2c-bus"
+    },
+    {
+      "name": "megasas"
+    },
+    {
+      "name": "usb-braille"
+    },
+    {
+      "name": "vmware-svga"
+    },
+    {
+      "name": "pc-i440fx-2.0-machine"
+    },
+    {
+      "name": "PIIX3-xen"
+    },
+    {
+      "name": "ccid-bus"
+    },
+    {
+      "name": "scsi-cd"
+    },
+    {
+      "name": "isa-serial"
+    },
+    {
+      "name": "usb-ehci"
+    },
+    {
+      "name": "user-creatable"
+    },
+    {
+      "name": "container"
+    },
+    {
+      "name": "host-x86_64-cpu"
+    },
+    {
+      "name": "pci-serial-2x"
+    },
+    {
+      "name": "piix4-ide"
+    },
+    {
+      "name": "scsi-generic"
+    },
+    {
+      "name": "pc-1.0-machine"
+    },
+    {
+      "name": "virtio-net-pci"
+    },
+    {
+      "name": "pc-dimm"
+    },
+    {
+      "name": "pc-q35-1.7-machine"
+    },
+    {
+      "name": "Haswell-noTSX-x86_64-cpu"
+    },
+    {
+      "name": "pc-i440fx-2.1-machine"
+    },
+    {
+      "name": "virtio-mouse-device"
+    },
+    {
+      "name": "virtio-mouse-pci"
+    },
+    {
+      "name": "isa-debugcon"
+    },
+    {
+      "name": "ide-hd"
+    },
+    {
+      "name": "virtio-vga"
+    },
+    {
+      "name": "qemu64-x86_64-cpu"
+    },
+    {
+      "name": "rng-egd"
+    },
+    {
+      "name": "isa-pcspk"
+    },
+    {
+      "name": "isa-pit"
+    },
+    {
+      "name": "pc-1.1-machine"
+    },
+    {
+      "name": "ich9-usb-ehci1"
+    },
+    {
+      "name": "ich9-usb-ehci2"
+    },
+    {
+      "name": "pxb-host"
+    },
+    {
+      "name": "intel-iommu"
+    },
+    {
+      "name": "irq"
+    },
+    {
+      "name": "cirrus-vga"
+    },
+    {
+      "name": "virtconsole"
+    },
+    {
+      "name": "virtio-rng-pci"
+    },
+    {
+      "name": "PCIE"
+    },
+    {
+      "name": "pentium3-x86_64-cpu"
+    },
+    {
+      "name": "qxl-vga"
+    },
+    {
+      "name": "ioapic"
+    },
+    {
+      "name": "kvm-pit"
+    },
+    {
+      "name": "pc-0.14-machine"
+    },
+    {
+      "name": "pc-i440fx-1.4-machine"
+    },
+    {
+      "name": "pc-q35-2.0-machine"
+    },
+    {
+      "name": "usb-host"
+    },
+    {
+      "name": "usb-bus"
+    },
+    {
+      "name": "vhost-scsi-pci"
+    },
+    {
+      "name": "usb-kbd"
+    },
+    {
+      "name": "486-x86_64-cpu"
+    },
+    {
+      "name": "ES1370"
+    },
+    {
+      "name": "gus"
+    },
+    {
+      "name": "PIIX3"
+    },
+    {
+      "name": "isa-applesmc"
+    },
+    {
+      "name": "kvm-pci-assign"
+    },
+    {
+      "name": "i82559er"
+    },
+    {
+      "name": "q35-pcihost"
+    },
+    {
+      "name": "e1000-82545em"
+    },
+    {
+      "name": "pc-i440fx-1.5-machine"
+    },
+    {
+      "name": "usb-bt-dongle"
+    },
+    {
+      "name": "AC97"
+    },
+    {
+      "name": "i6300esb"
+    },
+    {
+      "name": "mc146818rtc"
+    },
+    {
+      "name": "e1000-82544gc"
+    },
+    {
+      "name": "PIIX4_PM"
+    },
+    {
+      "name": "piix4-usb-uhci"
+    },
+    {
+      "name": "sysbus-ahci"
+    },
+    {
+      "name": "virtio-tablet-device"
+    },
+    {
+      "name": "kvm-ioapic"
+    },
+    {
+      "name": "pvpanic"
+    },
+    {
+      "name": "core2duo-x86_64-cpu"
+    },
+    {
+      "name": "virtio-9p-pci"
+    },
+    {
+      "name": "scsi-disk"
+    },
+    {
+      "name": "acpi-device-interface"
+    },
+    {
+      "name": "sb16"
+    },
+    {
+      "name": "pc-0.15-machine"
+    },
+    {
+      "name": "usb-mouse"
+    },
+    {
+      "name": "piix3-usb-uhci"
+    },
+    {
+      "name": "vfio-calxeda-xgmac"
+    },
+    {
+      "name": "virtio-scsi-device"
+    },
+    {
+      "name": "virtio-blk-pci"
+    },
+    {
+      "name": "virtio-9p-device"
+    },
+    {
+      "name": "hda-output"
+    },
+    {
+      "name": "SUNW,fdtwo"
+    },
+    {
+      "name": "tpci200"
+    },
+    {
+      "name": "Opteron_G4-x86_64-cpu"
+    },
+    {
+      "name": "pc-q35-1.4-machine"
+    },
+    {
+      "name": "virtio-mmio"
+    },
+    {
+      "name": "qemu-console"
+    },
+    {
+      "name": "isa-i8259"
+    },
+    {
+      "name": "System"
+    },
+    {
+      "name": "pvscsi"
+    },
+    {
+      "name": "virtio-net-device"
+    },
+    {
+      "name": "usb-hub"
+    },
+    {
+      "name": "IvyBridge-x86_64-cpu"
+    },
+    {
+      "name": "hda-duplex"
+    },
+    {
+      "name": "pc-i440fx-2.3-machine"
+    },
+    {
+      "name": "virtio-keyboard-pci"
+    },
+    {
+      "name": "pci-ohci"
+    },
+    {
+      "name": "isapc-machine"
+    },
+    {
+      "name": "ipoctal232"
+    },
+    {
+      "name": "pc-1.2-machine"
+    },
+    {
+      "name": "xio3130-downstream"
+    },
+    {
+      "name": "ide-cd"
+    },
+    {
+      "name": "pc-i440fx-2.2-machine"
+    },
+    {
+      "name": "isabus-bridge"
+    },
+    {
+      "name": "nec-usb-xhci"
+    },
+    {
+      "name": "memory-backend-file"
+    },
+    {
+      "name": "isa-ide"
+    },
+    {
+      "name": "virtio-keyboard-device"
+    },
+    {
+      "name": "megasas-gen2"
+    },
+    {
+      "name": "isa-vga"
+    },
+    {
+      "name": "qemu:memory-region"
+    },
+    {
+      "name": "rng-random"
+    },
+    {
+      "name": "hotplug-handler"
+    },
+    {
+      "name": "kvm-i8259"
+    },
+    {
+      "name": "i440FX-pcihost"
+    },
+    {
+      "name": "qemu32-x86_64-cpu"
+    },
+    {
+      "name": "tpm-tis"
+    },
+    {
+      "name": "tpm-passthrough"
+    },
+    {
+      "name": "apic"
+    },
+    {
+      "name": "isa-debug-exit"
+    },
+    {
+      "name": "pc-0.10-machine"
+    },
+    {
+      "name": "pc-testdev"
+    },
+    {
+      "name": "rocker"
+    },
+    {
+      "name": "Opteron_G1-x86_64-cpu"
+    },
+    {
+      "name": "sga"
+    },
+    {
+      "name": "pcnet"
+    },
+    {
+      "name": "ivshmem"
+    },
+    {
+      "name": "hpet"
+    },
+    {
+      "name": "adlib"
+    },
+    {
+      "name": "lsi53c895a"
+    },
+    {
+      "name": "pxb-bus"
+    },
+    {
+      "name": "usb-audio"
+    },
+    {
+      "name": "usb-wacom-tablet"
+    },
+    {
+      "name": "pc-0.11-machine"
+    },
+    {
+      "name": "kvm-apic"
+    },
+    {
+      "name": "phenom-x86_64-cpu"
+    },
+    {
+      "name": "fw_cfg_io"
+    },
+    {
+      "name": "ioh3420"
+    },
+    {
+      "name": "pc-q35-2.1-machine"
+    },
+    {
+      "name": "cs4231a"
+    },
+    {
+      "name": "dc390"
+    },
+    {
+      "name": "nvme"
+    },
+    {
+      "name": "i82801b11-bridge"
+    },
+    {
+      "name": "kvmvapic"
+    },
+    {
+      "name": "fw-path-provider"
+    },
+    {
+      "name": "usb-net"
+    },
+    {
+      "name": "pci-bridge-seat"
+    },
+    {
+      "name": "mch"
+    },
+    {
+      "name": "usb-tablet"
+    },
+    {
+      "name": "vhost-scsi"
+    },
+    {
+      "name": "usb-ccid"
+    },
+    {
+      "name": "pc-i440fx-1.7-machine"
+    },
+    {
+      "name": "tcg-accel"
+    },
+    {
+      "name": "virtio-mmio-bus"
+    },
+    {
+      "name": "pc-q35-2.2-machine"
+    },
+    {
+      "name": "usb-bot"
+    },
+    {
+      "name": "ICH9-LPC"
+    },
+    {
+      "name": "edu"
+    },
+    {
+      "name": "accel"
+    },
+    {
+      "name": "pc-i440fx-1.6-machine"
+    },
+    {
+      "name": "kvmclock"
+    },
+    {
+      "name": "lsi53c810"
+    },
+    {
+      "name": "isa-cirrus-vga"
+    },
+    {
+      "name": "virtio-serial-bus"
+    },
+    {
+      "name": "ib700"
+    },
+    {
+      "name": "SandyBridge-x86_64-cpu"
+    },
+    {
+      "name": "esp"
+    },
+    {
+      "name": "virtio-balloon-device"
+    },
+    {
+      "name": "ccid-card-passthru"
+    },
+    {
+      "name": "ich9-usb-uhci5"
+    },
+    {
+      "name": "qxl"
+    },
+    {
+      "name": "intel-hda"
+    },
+    {
+      "name": "ich9-usb-uhci6"
+    },
+    {
+      "name": "pci-bridge"
+    },
+    {
+      "name": "virtio-serial-device"
+    },
+    {
+      "name": "ich9-usb-uhci3"
+    },
+    {
+      "name": "ICH9 SMB"
+    },
+    {
+      "name": "ich9-usb-uhci4"
+    },
+    {
+      "name": "piix3-ide-xen"
+    },
+    {
+      "name": "virtio-input-host-device"
+    },
+    {
+      "name": "icc-bus"
+    },
+    {
+      "name": "vmxnet3"
+    },
+    {
+      "name": "IDE"
+    },
+    {
+      "name": "VGA"
+    },
+    {
+      "name": "pci-testdev"
+    },
+    {
+      "name": "ich9-usb-uhci2"
+    },
+    {
+      "name": "ich9-usb-uhci1"
+    },
+    {
+      "name": "x3130-upstream"
+    },
+    {
+      "name": "none-machine"
+    },
+    {
+      "name": "sysbus-fdc"
+    },
+    {
+      "name": "SCSI"
+    },
+    {
+      "name": "n270-x86_64-cpu"
+    },
+    {
+      "name": "pci-serial"
+    },
+    {
+      "name": "pc-q35-1.5-machine"
+    },
+    {
+      "name": "athlon-x86_64-cpu"
+    },
+    {
+      "name": "ISA"
+    },
+    {
+      "name": "i8042"
+    },
+    {
+      "name": "kvm-accel"
+    },
+    {
+      "name": "i82559c"
+    },
+    {
+      "name": "i82559b"
+    },
+    {
+      "name": "i82559a"
+    },
+    {
+      "name": "scsi-hd"
+    },
+    {
+      "name": "qtest-accel"
+    },
+    {
+      "name": "virtio-balloon-pci"
+    },
+    {
+      "name": "hda-micro"
+    },
+    {
+      "name": "scsi-block"
+    },
+    {
+      "name": "virtio-scsi-pci"
+    },
+    {
+      "name": "rtl8139"
+    },
+    {
+      "name": "vmmouse"
+    },
+    {
+      "name": "ich9-intel-hda"
+    },
+    {
+      "name": "usb-mtp"
+    },
+    {
+      "name": "ide-drive"
+    },
+    {
+      "name": "fw_cfg_mem"
+    },
+    {
+      "name": "PCI"
+    },
+    {
+      "name": "Opteron_G5-x86_64-cpu"
+    },
+    {
+      "name": "vmport"
+    },
+    {
+      "name": "coreduo-x86_64-cpu"
+    },
+    {
+      "name": "virtio-serial-pci"
+    },
+    {
+      "name": "pc-q35-1.6-machine"
+    },
+    {
+      "name": "virtio-input-host-pci"
+    },
+    {
+      "name": "virtio-pci-bus"
+    },
+    {
+      "name": "pentium2-x86_64-cpu"
+    },
+    {
+      "name": "nmi"
+    },
+    {
+      "name": "i82558b"
+    },
+    {
+      "name": "i82558a"
+    },
+    {
+      "name": "pc-0.12-machine"
+    },
+    {
+      "name": "am53c974"
+    },
+    {
+      "name": "sdhci-pci"
+    },
+    {
+      "name": "port92"
+    },
+    {
+      "name": "pxb"
+    },
+    {
+      "name": "kvm64-x86_64-cpu"
+    },
+    {
+      "name": "e1000"
+    },
+    {
+      "name": "Conroe-x86_64-cpu"
+    },
+    {
+      "name": "ne2k_isa"
+    },
+    {
+      "name": "pc-1.3-machine"
+    },
+    {
+      "name": "HDA"
+    },
+    {
+      "name": "usb-storage"
+    },
+    {
+      "name": "usb-serial"
+    },
+    {
+      "name": "usb-uas"
+    },
+    {
+      "name": "pc-i440fx-2.4-machine"
+    },
+    {
+      "name": "sysbus-ohci"
+    },
+    {
+      "name": "usb-redir"
+    },
+    {
+      "name": "i82801"
+    },
+    {
+      "name": "Broadwell-noTSX-x86_64-cpu"
+    },
+    {
+      "name": "i82557c"
+    },
+    {
+      "name": "i82557b"
+    },
+    {
+      "name": "i82557a"
+    },
+    {
+      "name": "Nehalem-x86_64-cpu"
+    },
+    {
+      "name": "memory-backend-ram"
+    },
+    {
+      "name": "QJSON"
+    },
+    {
+      "name": "virtserialport"
+    },
+    {
+      "name": "i440FX"
+    },
+    {
+      "name": "ne2k_pci"
+    },
+    {
+      "name": "smbus-eeprom"
+    },
+    {
+      "name": "i82562"
+    },
+    {
+      "name": "ich9-ahci"
+    },
+    {
+      "name": "virtio-rng-device"
+    },
+    {
+      "name": "isa-fdc"
+    },
+    {
+      "name": "kvm32-x86_64-cpu"
+    },
+    {
+      "name": "Opteron_G2-x86_64-cpu"
+    },
+    {
+      "name": "vfio-pci"
+    },
+    {
+      "name": "IndustryPack"
+    },
+    {
+      "name": "virtio-gpu-pci"
+    },
+    {
+      "name": "vt82c686b-usb-uhci"
+    },
+    {
+      "name": "secondary-vga"
+    },
+    {
+      "name": "pentium-x86_64-cpu"
+    },
+    {
+      "name": "virtio-blk-device"
+    }
+  ],
+  "id": "libvirt-8"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "iothread",
+      "type": "link<iothread>"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-data-plane",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "request-merging",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "scsi",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "config-wce",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "secs",
+      "type": "uint32"
+    },
+    {
+      "name": "heads",
+      "type": "uint32"
+    },
+    {
+      "name": "cyls",
+      "type": "uint32"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-blk-device>"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "ioeventfd",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "class",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-9"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "tx",
+      "type": "str"
+    },
+    {
+      "name": "x-txburst",
+      "type": "int32"
+    },
+    {
+      "name": "x-txtimer",
+      "type": "uint32"
+    },
+    {
+      "name": "netdev",
+      "description": "ID of a netdev to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "vlan",
+      "description": "Integer VLAN id to connect to",
+      "type": "int32"
+    },
+    {
+      "name": "mac",
+      "description": "Ethernet 6-byte MAC Address, example: 52:54:00:12:34:56",
+      "type": "str"
+    },
+    {
+      "name": "mq",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_guest_offloads",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_mac_addr",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_rx_extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_vlan",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_rx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_vq",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "status",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "mrg_rxbuf",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host_ufo",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host_ecn",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host_tso6",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host_tso4",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_announce",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_ufo",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_ecn",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_tso6",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_tso4",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "gso",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_csum",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "csum",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-net-device>"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "ioeventfd",
+      "description": "on/off",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-10"
+}
+
+{
+    "return": [
+        {
+            "name": "iothread",
+            "type": "link<iothread>"
+        },
+        {
+            "name": "any_layout",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "notify_on_empty",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "event_idx",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "indirect_desc",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "param_change",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "hotplug",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "modern-pio-notify",
+            "description": "on/off",
+            "type":"bool"
+        },
+        {
+            "name": "cmd_per_lun",
+            "type": "uint32"
+        },
+        {
+            "name": "max_sectors",
+            "type": "uint32"
+        },
+        {
+            "name": "num_queues",
+            "type": "uint32"
+        },
+        {
+            "name": "virtio-backend",
+            "type": "child<virtio-scsi-device>"
+        },
+        {
+            "name": "command_serr_enable",
+            "description":"on/off",
+            "type": "bool"
+        },
+        {
+            "name": "multifunction",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "migrate-extra",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "migrate-extra",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "rombar",
+            "type": "uint32"
+        },
+        {
+            "name": "romfile",
+            "type": "str"
+        },
+        {
+            "name": "x-disable-pcie",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "addr",
+            "description": "Slot and optional function number, example: 06.0 or 06",
+            "type": "int32"
+        },
+        {
+            "name": "disable-modern",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "disable-legacy",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "virtio-pci-bus-master-bug-migration",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "vectors",
+            "type": "uint32"
+        },
+        {
+            "name": "ioeventfd",
+            "description": "on/off",
+            "type": "bool"
+        }
+    ],
+    "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": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "configfd",
+      "type": "str"
+    },
+    {
+      "name": "share_intx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "prefer_msi",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host",
+      "description": "Address (bus/device/function) of the host device, example: 04:10.0",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-18"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "x-mmap",
+      "type": "bool"
+    },
+    {
+      "name": "x-req",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-vga",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-intx-mmap-timeout-ms",
+      "type": "uint32"
+    },
+    {
+      "name": "host",
+      "description": "Address (bus/device/function) of the host device, example: 04:10.0",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-19"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "lun",
+      "type": "uint32"
+    },
+    {
+      "name": "scsi-id",
+      "type": "uint32"
+    },
+    {
+      "name": "channel",
+      "type": "uint32"
+    },
+    {
+      "name": "max_io_size",
+      "type": "uint64"
+    },
+    {
+      "name": "max_unmap_size",
+      "type": "uint64"
+    },
+    {
+      "name": "port_index",
+      "type": "uint16"
+    },
+    {
+      "name": "port_wwn",
+      "type": "uint64"
+    },
+    {
+      "name": "wwn",
+      "type": "uint64"
+    },
+    {
+      "name": "dpofua",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "removable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "product",
+      "type": "str"
+    },
+    {
+      "name": "vendor",
+      "type": "str"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "ver",
+      "type": "str"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-20"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "unit",
+      "type": "uint32"
+    },
+    {
+      "name": "model",
+      "type": "str"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "wwn",
+      "type": "uint64"
+    },
+    {
+      "name": "ver",
+      "type": "str"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-21"
+}
+
+{
+  "return": [
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "memory-hotplug-support",
+      "type": "bool"
+    },
+    {
+      "name": "acpi-pci-hotplug-with-bridge-support",
+      "type": "bool"
+    },
+    {
+      "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": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "msos-desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "full-path",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "port",
+      "type": "str"
+    },
+    {
+      "name": "filter",
+      "type": "str"
+    },
+    {
+      "name": "debug",
+      "type": "uint8"
+    },
+    {
+      "name": "chardev",
+      "description": "ID of a chardev to use as a backend",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-23"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "msos-desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "full-path",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "port",
+      "type": "str"
+    },
+    {
+      "name": "pipeline",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "loglevel",
+      "type": "uint32"
+    },
+    {
+      "name": "isobsize",
+      "type": "uint32"
+    },
+    {
+      "name": "isobufs",
+      "type": "uint32"
+    },
+    {
+      "name": "productid",
+      "type": "uint32"
+    },
+    {
+      "name": "vendorid",
+      "type": "uint32"
+    },
+    {
+      "name": "hostport",
+      "type": "str"
+    },
+    {
+      "name": "hostaddr",
+      "type": "uint32"
+    },
+    {
+      "name": "hostbus",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-24"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "lun",
+      "type": "uint32"
+    },
+    {
+      "name": "scsi-id",
+      "type": "uint32"
+    },
+    {
+      "name": "channel",
+      "type": "uint32"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-25"
+}
+
+{
+  "return": [
+    {
+      "name": "pci-hole64-end",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole64-start",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole-end",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole-start",
+      "type": "int"
+    },
+    {
+      "name": "pci-conf-data[0]",
+      "type": "child<qemu:memory-region>"
+    },
+    {
+      "name": "pci-conf-idx[0]",
+      "type": "child<qemu:memory-region>"
+    },
+    {
+      "name": "short_root_bus",
+      "type": "uint32"
+    },
+    {
+      "name": "pci-hole64-size",
+      "type": "size"
+    }
+  ],
+  "id": "libvirt-26"
+}
+
+{
+  "return": [
+    {
+      "name": "mcfg_size",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole64-end",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole64-start",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole-end",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole-start",
+      "type": "int"
+    },
+    {
+      "name": "mch",
+      "type": "child<mch>"
+    },
+    {
+      "name": "pci-conf-data[0]",
+      "type": "child<qemu:memory-region>"
+    },
+    {
+      "name": "pci-conf-idx[0]",
+      "type": "child<qemu:memory-region>"
+    },
+    {
+      "name": "pcie-mmcfg-mmio[0]",
+      "type": "child<qemu:memory-region>"
+    },
+    {
+      "name": "short_root_bus",
+      "type": "uint32"
+    },
+    {
+      "name": "pci-hole64-size",
+      "type": "size"
+    },
+    {
+      "name": "MCFG",
+      "type": "uint64"
+    }
+  ],
+  "id": "libvirt-27"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "msos-desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "full-path",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "port",
+      "type": "str"
+    },
+    {
+      "name": "removable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-28"
+}
+
+{
+  "return": [
+    {
+      "name": "lost_tick_policy",
+      "type": "LostTickPolicy"
+    },
+    {
+      "name": "iobase",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-29"
+}
+
+{
+  "return": [
+    {
+      "name": "big-endian-framebuffer",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "qemu-extended-regs",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "mmio",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vgamem_mb",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-30"
+}
+
+{
+  "return": [
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "vgamem_mb",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-31"
+}
+
+{
+  "return": [
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "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",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "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"
+}
+
+{
+  "return": [
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virgl",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "max_outputs",
+      "type": "uint32"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-gpu-device>"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "ioeventfd",
+      "description": "on/off",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-34"
+}
+
+{
+  "return":  [
+    {
+      "type": "bool",
+      "name": "memory-hotplug-support"
+    },
+    {
+      "type": "uint32",
+      "name": "rombar"
+    },
+    {
+      "type": "uint32",
+      "name": "sci_int"
+    },
+    {
+      "type": "uint32",
+      "name": "gpe0_blk_len"
+    },
+    {
+      "type": "uint32",
+      "name": "pm_io_base"
+    },
+    {
+      "type": "bool",
+      "name": "noreboot"
+    },
+    {
+      "type": "bool",
+      "name": "multifunction",
+      "description": "on/off"
+    },
+    {
+      "type": "uint8",
+      "name": "disable_s4"
+    },
+    {
+      "type": "uint8",
+      "name": "acpi_disable_cmd"
+    },
+    {
+      "type": "str",
+      "name": "romfile"
+    },
+    {
+      "type": "uint8",
+      "name": "disable_s3"
+    },
+    {
+      "type": "uint8",
+      "name": "s4_val"
+    },
+    {
+      "type": "uint8",
+      "name": "acpi_enable_cmd"
+    },
+    {
+      "type": "bool",
+      "name": "command_serr_enable",
+      "description": "on/off"
+    },
+    {
+      "type": "int32",
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06"
+    },
+    {
+      "type": "bool",
+      "name": "enable_tco"
+    },
+    {
+      "type": "uint32",
+      "name": "gpe0_blk"
+    }
+  ],
+  "id": "libvirt-35"
+}
+
+
+{
+  "return": [
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "class",
+      "type": "uint32"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest-stats-polling-interval",
+      "type": "int"
+    },
+    {
+      "name": "guest-stats",
+      "type": "guest statistics"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "migrate-extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "modern-pio-notify",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-balloon-device>"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-disable-pcie",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "deflate-on-oom",
+      "description": "on/off",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-36"
+}
+
+{
+  "id": "libvirt-37",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'virtio-balloon-ccw' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest-stats-polling-interval",
+      "type": "int"
+    },
+    {
+      "name": "guest-stats",
+      "type": "guest statistics"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "deflate-on-oom",
+      "description": "on/off",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-38"
+}
+
+{
+    "return": [
+        {
+            "name": "msi",
+            "type": "on/off"
+        },
+        {
+            "name": "msix",
+            "type": "on/off"
+        },
+        {
+            "name": "superspeed-ports-first",
+            "type": "on/off"
+        },
+        {
+            "name": "force-pcie-endcap",
+            "type": "on/off"
+        },
+        {
+            "name": "streams",
+            "type": "on/off"
+        },
+        {
+            "name": "intrs",
+            "type": "uint32"
+        },
+        {
+            "name": "slots",
+            "type": "uint32"
+        },
+        {
+            "name": "2",
+            "type": "uint32"
+        },
+        {
+            "name": "p3",
+            "type": "uint32"
+        }
+    ]
+}
+
+{
+  "return": [
+    {
+      "name": "pc-i440fx-2.4",
+      "is-default": true,
+      "cpu-max": 255,
+      "alias": "pc"
+    },
+    {
+      "name": "pc-1.3",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.12",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-1.6",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-1.5",
+      "cpu-max": 255
+    },
+    {
+      "name": "none",
+      "cpu-max": 1
+    },
+    {
+      "name": "pc-i440fx-1.6",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-2.2",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-1.7",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-2.1",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.11",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.10",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-2.2",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-1.2",
+      "cpu-max": 255
+    },
+    {
+      "name": "isapc",
+      "cpu-max": 1
+    },
+    {
+      "name": "pc-i440fx-2.3",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-1.4",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.15",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-1.5",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-2.0",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-1.4",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.14",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-1.1",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-2.1",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-1.7",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-1.0",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-2.0",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-2.4",
+      "cpu-max": 255,
+      "alias": "q35"
+    },
+    {
+      "name": "pc-q35-2.3",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.13",
+      "cpu-max": 255
+    }
+  ],
+  "id": "libvirt-39"
+}
+
+{
+  "return": [
+    {
+      "name": "Opteron_G5"
+    },
+    {
+      "name": "Opteron_G4"
+    },
+    {
+      "name": "Opteron_G3"
+    },
+    {
+      "name": "Opteron_G2"
+    },
+    {
+      "name": "Opteron_G1"
+    },
+    {
+      "name": "Broadwell"
+    },
+    {
+      "name": "Broadwell-noTSX"
+    },
+    {
+      "name": "Haswell"
+    },
+    {
+      "name": "Haswell-noTSX"
+    },
+    {
+      "name": "IvyBridge"
+    },
+    {
+      "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": [
+    "tpm-tis"
+  ],
+  "id": "libvirt-42"
+}
+
+{
+  "return": [
+    "passthrough"
+  ],
+  "id": "libvirt-43"
+}
+
+{
+  "return": [
+    {
+      "parameters": [
+        {
+          "name": "timeout",
+          "help": "Request timeout in seconds (default 0 = no timeout)",
+          "type": "number"
+        },
+        {
+          "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": [
+        {
+          "name": "non-adaptive",
+          "type": "boolean"
+        },
+        {
+          "name": "lossy",
+          "type": "boolean"
+        },
+        {
+          "name": "acl",
+          "type": "boolean"
+        },
+        {
+          "name": "x509verify",
+          "type": "string"
+        },
+        {
+          "name": "tls",
+          "type": "boolean"
+        },
+        {
+          "name": "sasl",
+          "type": "boolean"
+        },
+        {
+          "name": "lock-key-sync",
+          "type": "boolean"
+        },
+        {
+          "name": "reverse",
+          "type": "boolean"
+        },
+        {
+          "name": "password",
+          "type": "boolean"
+        },
+        {
+          "name": "ipv6",
+          "type": "boolean"
+        },
+        {
+          "name": "ipv4",
+          "type": "boolean"
+        },
+        {
+          "name": "to",
+          "type": "number"
+        },
+        {
+          "name": "connections",
+          "type": "number"
+        },
+        {
+          "name": "head",
+          "type": "number"
+        },
+        {
+          "name": "display",
+          "type": "string"
+        },
+        {
+          "name": "share",
+          "type": "string"
+        },
+        {
+          "name": "x509",
+          "type": "string"
+        },
+        {
+          "name": "websocket",
+          "type": "string"
+        },
+        {
+          "name": "vnc",
+          "type": "string"
+        }
+      ],
+      "option": "vnc"
+    },
+    {
+      "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": [
+      ],
+      "option": "smbios"
+    },
+    {
+      "parameters": [
+        {
+          "name": "file",
+          "help": "Sets the name of the file from which\nthe fw_cfg blob will be loaded",
+          "type": "string"
+        },
+        {
+          "name": "name",
+          "help": "Sets the fw_cfg name of the blob to be inserted",
+          "type": "string"
+        }
+      ],
+      "option": "fw_cfg"
+    },
+    {
+      "parameters": [
+        {
+          "name": "arg",
+          "type": "string"
+        },
+        {
+          "name": "target",
+          "type": "string"
+        },
+        {
+          "name": "enable",
+          "type": "boolean"
+        }
+      ],
+      "option": "semihosting-config"
+    },
+    {
+      "parameters": [
+        {
+          "name": "sleep",
+          "type": "boolean"
+        },
+        {
+          "name": "align",
+          "type": "boolean"
+        },
+        {
+          "name": "shift",
+          "type": "string"
+        }
+      ],
+      "option": "icount"
+    },
+    {
+      "parameters": [
+      ],
+      "option": "numa"
+    },
+    {
+      "parameters": [
+        {
+          "name": "debug-threads",
+          "help": "When enabled, name the individual threads; defaults off.\nNOTE: The thread names are for debugging and not a\nstable API.",
+          "type": "boolean"
+        },
+        {
+          "name": "process",
+          "help": "Sets the name of the QEMU process, as shown in top etc",
+          "type": "string"
+        },
+        {
+          "name": "guest",
+          "help": "Sets the name of the guest.\nThis name will be displayed in the SDL window caption.\nThe name will also be used for the VNC server",
+          "type": "string"
+        }
+      ],
+      "option": "name"
+    },
+    {
+      "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": "boolean"
+        },
+        {
+          "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": "maxmem",
+          "type": "size"
+        },
+        {
+          "name": "slots",
+          "type": "number"
+        },
+        {
+          "name": "size",
+          "type": "size"
+        }
+      ],
+      "option": "memory"
+    },
+    {
+      "parameters": [
+        {
+          "name": "suppress-vmdesc",
+          "help": "Set on to disable self-describing migration",
+          "type": "boolean"
+        },
+        {
+          "name": "iommu",
+          "help": "Set on/off to enable/disable Intel IOMMU (VT-d)",
+          "type": "boolean"
+        },
+        {
+          "name": "firmware",
+          "help": "firmware image",
+          "type": "string"
+        },
+        {
+          "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": "reconnect",
+          "type": "number"
+        },
+        {
+          "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": "werror",
+          "help": "write error action",
+          "type": "string"
+        },
+        {
+          "name": "rerror",
+          "help": "read error action",
+          "type": "string"
+        },
+        {
+          "name": "read-only",
+          "help": "open drive file as read-only",
+          "type": "boolean"
+        },
+        {
+          "name": "file",
+          "help": "file name",
+          "type": "string"
+        },
+        {
+          "name": "serial",
+          "help": "disk serial number",
+          "type": "string"
+        },
+        {
+          "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": "detect-zeroes",
+          "help": "try to optimize zero writes (off, on, unmap)",
+          "type": "string"
+        },
+        {
+          "name": "throttling.group",
+          "help": "name of the block throttling group",
+          "type": "string"
+        },
+        {
+          "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": "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": "snapshot",
+          "help": "enable/disable snapshot mode",
+          "type": "boolean"
+        }
+      ],
+      "option": "drive"
+    }
+  ],
+  "id": "libvirt-44"
+}
+
+{
+  "return": [
+    {
+      "state": false,
+      "capability": "xbzrle"
+    },
+    {
+      "state": false,
+      "capability": "rdma-pin-all"
+    },
+    {
+      "state": false,
+      "capability": "auto-converge"
+    },
+    {
+      "state": false,
+      "capability": "zero-blocks"
+    },
+    {
+      "state": false,
+      "capability": "compress"
+    },
+    {
+      "state": false,
+      "capability": "events"
+    }
+  ],
+  "id": "libvirt-45"
+}
diff --git a/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml b/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml
new file mode 100644 (file)
index 0000000..2160173
--- /dev/null
@@ -0,0 +1,246 @@
+<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='device'/>
+  <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='drive-readonly'/>
+  <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-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='rombar'/>
+  <flag name='ich9-ahci'/>
+  <flag name='no-acpi'/>
+  <flag name='fsdev-readonly'/>
+  <flag name='virtio-blk-pci.scsi'/>
+  <flag name='blk-sg-io'/>
+  <flag name='drive-copy-on-read'/>
+  <flag name='cpu-host'/>
+  <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='tpm-passthrough'/>
+  <flag name='tpm-tis'/>
+  <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='active-commit'/>
+  <flag name='change-backing-file'/>
+  <flag name='memory-backend-ram'/>
+  <flag name='numa'/>
+  <flag name='memory-backend-file'/>
+  <flag name='usb-audio'/>
+  <flag name='rtc-reset-reinjection'/>
+  <flag name='splash-timeout'/>
+  <flag name='iothread'/>
+  <flag name='migrate-rdma'/>
+  <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='pc-dimm'/>
+  <flag name='machine-vmport-opt'/>
+  <flag name='pci-serial'/>
+  <flag name='vhost-user-multiqueue'/>
+  <flag name='migration-event'/>
+  <flag name='ioh3420'/>
+  <flag name='x3130-upstream'/>
+  <flag name='xio3130-downstream'/>
+  <flag name='rtl8139'/>
+  <flag name='e1000'/>
+  <flag name='virtio-net'/>
+  <flag name='incoming-defer'/>
+  <flag name='virtio-gpu'/>
+  <flag name='virtio-gpu.virgl'/>
+  <flag name='virtio-keyboard'/>
+  <flag name='virtio-mouse'/>
+  <flag name='virtio-tablet'/>
+  <flag name='virtio-input-host'/>
+  <flag name='ich9-disable-s3'/>
+  <flag name='ich9-disable-s4'/>
+  <flag name='vserport-change-event'/>
+  <flag name='virtio-balloon-pci.deflate-on-oom'/>
+  <flag name='qxl.vram64_size_mb'/>
+  <flag name='qxl-vga.vram64_size_mb'/>
+  <flag name='debug-threads'/>
+  <flag name='pxb'/>
+  <flag name='device-tray-moved-event'/>
+  <flag name='nec-usb-xhci-ports'/>
+  <flag name='virtio-scsi-pci.iothread'/>
+  <version>2004000</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='Broadwell'/>
+  <cpu name='Broadwell-noTSX'/>
+  <cpu name='Haswell'/>
+  <cpu name='Haswell-noTSX'/>
+  <cpu name='IvyBridge'/>
+  <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-2.4' alias='pc' maxCpus='255'/>
+  <machine name='pc-1.3' maxCpus='255'/>
+  <machine name='pc-0.12' maxCpus='255'/>
+  <machine name='pc-q35-1.6' maxCpus='255'/>
+  <machine name='pc-q35-1.5' maxCpus='255'/>
+  <machine name='pc-i440fx-1.6' maxCpus='255'/>
+  <machine name='pc-q35-2.2' maxCpus='255'/>
+  <machine name='pc-i440fx-1.7' maxCpus='255'/>
+  <machine name='pc-q35-2.1' maxCpus='255'/>
+  <machine name='pc-0.11' maxCpus='255'/>
+  <machine name='pc-0.10' maxCpus='255'/>
+  <machine name='pc-i440fx-2.2' maxCpus='255'/>
+  <machine name='pc-1.2' maxCpus='255'/>
+  <machine name='isapc' maxCpus='1'/>
+  <machine name='pc-i440fx-2.3' maxCpus='255'/>
+  <machine name='pc-q35-1.4' maxCpus='255'/>
+  <machine name='pc-0.15' maxCpus='255'/>
+  <machine name='pc-i440fx-1.5' maxCpus='255'/>
+  <machine name='pc-q35-2.0' maxCpus='255'/>
+  <machine name='pc-i440fx-1.4' maxCpus='255'/>
+  <machine name='pc-0.14' maxCpus='255'/>
+  <machine name='pc-1.1' maxCpus='255'/>
+  <machine name='pc-i440fx-2.1' maxCpus='255'/>
+  <machine name='pc-q35-1.7' maxCpus='255'/>
+  <machine name='pc-1.0' maxCpus='255'/>
+  <machine name='pc-i440fx-2.0' maxCpus='255'/>
+  <machine name='pc-q35-2.4' alias='q35' maxCpus='255'/>
+  <machine name='pc-q35-2.3' maxCpus='255'/>
+  <machine name='pc-0.13' maxCpus='255'/>
+</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_2.6.0-1.aarch64.replies b/tests/qemucapabilitiesdata/caps_2.6.0-1.aarch64.replies
deleted file mode 100644 (file)
index 9e22177..0000000
+++ /dev/null
@@ -1,4940 +0,0 @@
-{
-  "QMP": {
-    "version": {
-      "qemu": {
-        "micro": 94,
-        "minor": 5,
-        "major": 2
-      },
-      "package": ""
-    },
-    "capabilities": [
-    ]
-  }
-}
-
-{
-  "return": {
-  },
-  "id": "libvirt-1"
-}
-
-{
-  "return": {
-    "qemu": {
-      "micro": 94,
-      "minor": 5,
-      "major": 2
-    },
-    "package": ""
-  },
-  "id": "libvirt-2"
-}
-
-{
-  "return": {
-    "arch": "aarch64"
-  },
-  "id": "libvirt-3"
-}
-
-{
-  "return": [
-    {
-      "name": "query-gic-capabilities"
-    },
-    {
-      "name": "query-rocker-of-dpa-groups"
-    },
-    {
-      "name": "query-rocker-of-dpa-flows"
-    },
-    {
-      "name": "query-rocker-ports"
-    },
-    {
-      "name": "query-rocker"
-    },
-    {
-      "name": "block-set-write-threshold"
-    },
-    {
-      "name": "input-send-event"
-    },
-    {
-      "name": "trace-event-set-state"
-    },
-    {
-      "name": "trace-event-get-state"
-    },
-    {
-      "name": "query-acpi-ospm-status"
-    },
-    {
-      "name": "query-memory-devices"
-    },
-    {
-      "name": "query-memdev"
-    },
-    {
-      "name": "blockdev-change-medium"
-    },
-    {
-      "name": "query-named-block-nodes"
-    },
-    {
-      "name": "x-blockdev-insert-medium"
-    },
-    {
-      "name": "x-blockdev-remove-medium"
-    },
-    {
-      "name": "blockdev-close-tray"
-    },
-    {
-      "name": "blockdev-open-tray"
-    },
-    {
-      "name": "x-blockdev-del"
-    },
-    {
-      "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-parameters"
-    },
-    {
-      "name": "migrate-set-parameters"
-    },
-    {
-      "name": "query-migrate-capabilities"
-    },
-    {
-      "name": "migrate-set-capabilities"
-    },
-    {
-      "name": "query-migrate"
-    },
-    {
-      "name": "query-command-line-options"
-    },
-    {
-      "name": "query-uuid"
-    },
-    {
-      "name": "query-name"
-    },
-    {
-      "name": "query-vnc-servers"
-    },
-    {
-      "name": "query-vnc"
-    },
-    {
-      "name": "query-mice"
-    },
-    {
-      "name": "query-status"
-    },
-    {
-      "name": "query-kvm"
-    },
-    {
-      "name": "query-pci"
-    },
-    {
-      "name": "query-iothreads"
-    },
-    {
-      "name": "query-cpus"
-    },
-    {
-      "name": "query-blockstats"
-    },
-    {
-      "name": "query-block"
-    },
-    {
-      "name": "query-chardev-backends"
-    },
-    {
-      "name": "query-chardev"
-    },
-    {
-      "name": "query-qmp-schema"
-    },
-    {
-      "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": "change-backing-file"
-    },
-    {
-      "name": "blockdev-mirror"
-    },
-    {
-      "name": "drive-mirror"
-    },
-    {
-      "name": "blockdev-snapshot-delete-internal-sync"
-    },
-    {
-      "name": "blockdev-snapshot-internal-sync"
-    },
-    {
-      "name": "blockdev-snapshot"
-    },
-    {
-      "name": "blockdev-snapshot-sync"
-    },
-    {
-      "name": "block-dirty-bitmap-clear"
-    },
-    {
-      "name": "block-dirty-bitmap-remove"
-    },
-    {
-      "name": "block-dirty-bitmap-add"
-    },
-    {
-      "name": "transaction"
-    },
-    {
-      "name": "block-job-complete"
-    },
-    {
-      "name": "block-job-resume"
-    },
-    {
-      "name": "block-job-pause"
-    },
-    {
-      "name": "block-job-cancel"
-    },
-    {
-      "name": "block-job-set-speed"
-    },
-    {
-      "name": "blockdev-backup"
-    },
-    {
-      "name": "drive-backup"
-    },
-    {
-      "name": "block-commit"
-    },
-    {
-      "name": "block-stream"
-    },
-    {
-      "name": "block_resize"
-    },
-    {
-      "name": "object-del"
-    },
-    {
-      "name": "object-add"
-    },
-    {
-      "name": "netdev_del"
-    },
-    {
-      "name": "netdev_add"
-    },
-    {
-      "name": "query-dump"
-    },
-    {
-      "name": "query-dump-guest-memory-capability"
-    },
-    {
-      "name": "dump-guest-memory"
-    },
-    {
-      "name": "client_migrate_info"
-    },
-    {
-      "name": "migrate_set_downtime"
-    },
-    {
-      "name": "migrate_set_speed"
-    },
-    {
-      "name": "query-migrate-cache-size"
-    },
-    {
-      "name": "migrate-start-postcopy"
-    },
-    {
-      "name": "migrate-set-cache-size"
-    },
-    {
-      "name": "migrate-incoming"
-    },
-    {
-      "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": 15,
-    "fdset-id": 0
-  },
-  "id": "libvirt-5"
-}
-
-{
-  "id": "libvirt-6",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'bogus' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "WATCHDOG"
-    },
-    {
-      "name": "WAKEUP"
-    },
-    {
-      "name": "VSERPORT_CHANGE"
-    },
-    {
-      "name": "VNC_INITIALIZED"
-    },
-    {
-      "name": "VNC_DISCONNECTED"
-    },
-    {
-      "name": "VNC_CONNECTED"
-    },
-    {
-      "name": "SUSPEND_DISK"
-    },
-    {
-      "name": "SUSPEND"
-    },
-    {
-      "name": "STOP"
-    },
-    {
-      "name": "SPICE_MIGRATE_COMPLETED"
-    },
-    {
-      "name": "SPICE_INITIALIZED"
-    },
-    {
-      "name": "SPICE_DISCONNECTED"
-    },
-    {
-      "name": "SPICE_CONNECTED"
-    },
-    {
-      "name": "SHUTDOWN"
-    },
-    {
-      "name": "RTC_CHANGE"
-    },
-    {
-      "name": "RESUME"
-    },
-    {
-      "name": "RESET"
-    },
-    {
-      "name": "QUORUM_REPORT_BAD"
-    },
-    {
-      "name": "QUORUM_FAILURE"
-    },
-    {
-      "name": "POWERDOWN"
-    },
-    {
-      "name": "NIC_RX_FILTER_CHANGED"
-    },
-    {
-      "name": "MIGRATION_PASS"
-    },
-    {
-      "name": "MIGRATION"
-    },
-    {
-      "name": "MEM_UNPLUG_ERROR"
-    },
-    {
-      "name": "GUEST_PANICKED"
-    },
-    {
-      "name": "DUMP_COMPLETED"
-    },
-    {
-      "name": "DEVICE_TRAY_MOVED"
-    },
-    {
-      "name": "DEVICE_DELETED"
-    },
-    {
-      "name": "BLOCK_WRITE_THRESHOLD"
-    },
-    {
-      "name": "BLOCK_JOB_READY"
-    },
-    {
-      "name": "BLOCK_JOB_ERROR"
-    },
-    {
-      "name": "BLOCK_JOB_COMPLETED"
-    },
-    {
-      "name": "BLOCK_JOB_CANCELLED"
-    },
-    {
-      "name": "BLOCK_IO_ERROR"
-    },
-    {
-      "name": "BLOCK_IMAGE_CORRUPTED"
-    },
-    {
-      "name": "BALLOON_CHANGE"
-    },
-    {
-      "name": "ACPI_DEVICE_OST"
-    }
-  ],
-  "id": "libvirt-7"
-}
-
-{
-  "return": [
-    {
-      "name": "virtio-mmio"
-    },
-    {
-      "name": "scsi-generic"
-    },
-    {
-      "name": "qio-channel-tls"
-    },
-    {
-      "name": "scsi-hd"
-    },
-    {
-      "name": "pxa270-arm-cpu"
-    },
-    {
-      "name": "pxa270-a1-arm-cpu"
-    },
-    {
-      "name": "digic"
-    },
-    {
-      "name": "mv88w8618_flashcfg"
-    },
-    {
-      "name": "at25df641"
-    },
-    {
-      "name": "usb-bot"
-    },
-    {
-      "name": "lm3s811evb-machine"
-    },
-    {
-      "name": "mx25l3205d"
-    },
-    {
-      "name": "bcm2835-property"
-    },
-    {
-      "name": "pxa2xx-pcmcia"
-    },
-    {
-      "name": "canon-a1100-machine"
-    },
-    {
-      "name": "n25q512a"
-    },
-    {
-      "name": "lsi53c895a"
-    },
-    {
-      "name": "virtio-keyboard-pci"
-    },
-    {
-      "name": "mx25l6405d"
-    },
-    {
-      "name": "w25q256"
-    },
-    {
-      "name": "s25fl064k"
-    },
-    {
-      "name": "musicpal_gpio"
-    },
-    {
-      "name": "ide-hd"
-    },
-    {
-      "name": "virtio-net-device"
-    },
-    {
-      "name": "virtio-serial-pci"
-    },
-    {
-      "name": "cortex-r5-arm-cpu"
-    },
-    {
-      "name": "vexpress-a15-machine"
-    },
-    {
-      "name": "at45db081d"
-    },
-    {
-      "name": "en25p32"
-    },
-    {
-      "name": "pxa2xx-i2c-slave"
-    },
-    {
-      "name": "arm946-arm-cpu"
-    },
-    {
-      "name": "gpex-pcihost"
-    },
-    {
-      "name": "m25pe80"
-    },
-    {
-      "name": "pxa270-b0-arm-cpu"
-    },
-    {
-      "name": "s25fl256s1"
-    },
-    {
-      "name": "s25fl256s0"
-    },
-    {
-      "name": "platform-bus-device"
-    },
-    {
-      "name": "usb-host"
-    },
-    {
-      "name": "ich9-usb-uhci2"
-    },
-    {
-      "name": "usb-bt-dongle"
-    },
-    {
-      "name": "s25fl129p1"
-    },
-    {
-      "name": "s25fl129p0"
-    },
-    {
-      "name": "ccid-card-emulated"
-    },
-    {
-      "name": "virtio-input-host-pci"
-    },
-    {
-      "name": "kvm-arm-gicv3"
-    },
-    {
-      "name": "usb-mtp"
-    },
-    {
-      "name": "ich9-usb-uhci6"
-    },
-    {
-      "name": "SSI"
-    },
-    {
-      "name": "ich9-usb-uhci4"
-    },
-    {
-      "name": "e1000"
-    },
-    {
-      "name": "xlnx,ps7-usb"
-    },
-    {
-      "name": "s25sl12801"
-    },
-    {
-      "name": "s25sl12800"
-    },
-    {
-      "name": "ich9-usb-uhci5"
-    },
-    {
-      "name": "pxa2xx_rtc"
-    },
-    {
-      "name": "xlnx,zynq-xadc"
-    },
-    {
-      "name": "cortex-m4-arm-cpu"
-    },
-    {
-      "name": "sysbus-ahci"
-    },
-    {
-      "name": "ich9-usb-uhci3"
-    },
-    {
-      "name": "kvm-arm-gic"
-    },
-    {
-      "name": "imx.fec"
-    },
-    {
-      "name": "ich9-usb-uhci1"
-    },
-    {
-      "name": "tpci200"
-    },
-    {
-      "name": "spitz-lcdtg"
-    },
-    {
-      "name": "memory-backend-file"
-    },
-    {
-      "name": "stm32f2xx-usart"
-    },
-    {
-      "name": "cortex-m3-arm-cpu"
-    },
-    {
-      "name": "s25sl064p"
-    },
-    {
-      "name": "stm32f2xx-syscfg"
-    },
-    {
-      "name": "rtl8139"
-    },
-    {
-      "name": "exynos4210.i2c"
-    },
-    {
-      "name": "lan9118"
-    },
-    {
-      "name": "vexpress-a9-machine"
-    },
-    {
-      "name": "corgi-ssp"
-    },
-    {
-      "name": "megasas"
-    },
-    {
-      "name": "pxa2xx-fir"
-    },
-    {
-      "name": "s25sl064a"
-    },
-    {
-      "name": "container"
-    },
-    {
-      "name": "scsi-block"
-    },
-    {
-      "name": "omap-intc"
-    },
-    {
-      "name": "strongarm_pic"
-    },
-    {
-      "name": "sst25wf512"
-    },
-    {
-      "name": "max7310"
-    },
-    {
-      "name": "scsi-cd"
-    },
-    {
-      "name": "pxb-bus"
-    },
-    {
-      "name": "usb-audio"
-    },
-    {
-      "name": "accel"
-    },
-    {
-      "name": "pxa270-b1-arm-cpu"
-    },
-    {
-      "name": "m45pe80"
-    },
-    {
-      "name": "pxa2xx-dma"
-    },
-    {
-      "name": "filter-redirector"
-    },
-    {
-      "name": "imx.gpio"
-    },
-    {
-      "name": "arm-linux-boot-if"
-    },
-    {
-      "name": "isa-serial"
-    },
-    {
-      "name": "virtio-serial-device"
-    },
-    {
-      "name": "tegra2-ehci-usb"
-    },
-    {
-      "name": "vhost-scsi-pci"
-    },
-    {
-      "name": "integrator_debug"
-    },
-    {
-      "name": "imx25.ccm"
-    },
-    {
-      "name": "a15mpcore_priv"
-    },
-    {
-      "name": "tls-creds-anon"
-    },
-    {
-      "name": "fw_cfg_mem"
-    },
-    {
-      "name": "digic-timer"
-    },
-    {
-      "name": "usb-uas"
-    },
-    {
-      "name": "ide-cd"
-    },
-    {
-      "name": "usb-ccid"
-    },
-    {
-      "name": "cadence_uart"
-    },
-    {
-      "name": "virtio-balloon-pci"
-    },
-    {
-      "name": "gpio_i2c"
-    },
-    {
-      "name": "iothread"
-    },
-    {
-      "name": "spitz-keyboard"
-    },
-    {
-      "name": "xlnx-ep108-machine"
-    },
-    {
-      "name": "n25q256a"
-    },
-    {
-      "name": "lm8323"
-    },
-    {
-      "name": "bcm2835-ic"
-    },
-    {
-      "name": "xilinx-zynq-a9-machine"
-    },
-    {
-      "name": "arm1026-arm-cpu"
-    },
-    {
-      "name": "twl92230"
-    },
-    {
-      "name": "sdhci-pci"
-    },
-    {
-      "name": "virtio-input-host-device"
-    },
-    {
-      "name": "i82559er"
-    },
-    {
-      "name": "pci-bridge"
-    },
-    {
-      "name": "ivshmem-doorbell"
-    },
-    {
-      "name": "versatile_pci_host"
-    },
-    {
-      "name": "w25x80"
-    },
-    {
-      "name": "mv88w8618_wlan"
-    },
-    {
-      "name": "virtio-rng-device"
-    },
-    {
-      "name": "en25q32b"
-    },
-    {
-      "name": "pxa270-c0-arm-cpu"
-    },
-    {
-      "name": "mx25l1606e"
-    },
-    {
-      "name": "nand"
-    },
-    {
-      "name": "arm-gicv2m"
-    },
-    {
-      "name": "pxa27x-timer"
-    },
-    {
-      "name": "hda-micro"
-    },
-    {
-      "name": "pci-bridge-seat"
-    },
-    {
-      "name": "dc390"
-    },
-    {
-      "name": "stm32f2xx-timer"
-    },
-    {
-      "name": "pl190"
-    },
-    {
-      "name": "IDE"
-    },
-    {
-      "name": "at25256a-nonjedec"
-    },
-    {
-      "name": "fw_cfg_io"
-    },
-    {
-      "name": "integrator_core"
-    },
-    {
-      "name": "m25pe20"
-    },
-    {
-      "name": "ads7846"
-    },
-    {
-      "name": "sst25wf080"
-    },
-    {
-      "name": "memory-backend-ram"
-    },
-    {
-      "name": "am53c974"
-    },
-    {
-      "name": "connex-machine"
-    },
-    {
-      "name": "stellaris-adc"
-    },
-    {
-      "name": "exynos4210.mct"
-    },
-    {
-      "name": "virtio-blk-device"
-    },
-    {
-      "name": "at25128a-nonjedec"
-    },
-    {
-      "name": "cortex-a8-arm-cpu"
-    },
-    {
-      "name": "imx6.ccm"
-    },
-    {
-      "name": "qio-channel-file"
-    },
-    {
-      "name": "qio-channel-websock"
-    },
-    {
-      "name": "icp-ctrl-regs"
-    },
-    {
-      "name": "stellaris-gptm"
-    },
-    {
-      "name": "arm_gic"
-    },
-    {
-      "name": "pl181"
-    },
-    {
-      "name": "sl-nand"
-    },
-    {
-      "name": "m25pe16"
-    },
-    {
-      "name": "gpio-key"
-    },
-    {
-      "name": "hda-output"
-    },
-    {
-      "name": "w25x64"
-    },
-    {
-      "name": "VGA"
-    },
-    {
-      "name": "s25fl016k"
-    },
-    {
-      "name": "n800-machine"
-    },
-    {
-      "name": "m25p80"
-    },
-    {
-      "name": "at25df321a"
-    },
-    {
-      "name": "pxa2xx-mmci-bus"
-    },
-    {
-      "name": "lm3s6965evb-machine"
-    },
-    {
-      "name": "mptsas1068"
-    },
-    {
-      "name": "bcm2835-fb"
-    },
-    {
-      "name": "edu"
-    },
-    {
-      "name": "versatileab-machine"
-    },
-    {
-      "name": "virtio-mouse-pci"
-    },
-    {
-      "name": "strongarm-uart"
-    },
-    {
-      "name": "pl330"
-    },
-    {
-      "name": "ast2400"
-    },
-    {
-      "name": "mv88w8618_pit"
-    },
-    {
-      "name": "HDA"
-    },
-    {
-      "name": "qemu:memory-region"
-    },
-    {
-      "name": "mv88w8618_pic"
-    },
-    {
-      "name": "ssd0323"
-    },
-    {
-      "name": "omap2-intc"
-    },
-    {
-      "name": "sysbus-ohci"
-    },
-    {
-      "name": "borzoi-machine"
-    },
-    {
-      "name": "stellaris-i2c"
-    },
-    {
-      "name": "pl081"
-    },
-    {
-      "name": "pl080"
-    },
-    {
-      "name": "qtest-accel"
-    },
-    {
-      "name": "qio-channel-command"
-    },
-    {
-      "name": "m25p64"
-    },
-    {
-      "name": "w25x40"
-    },
-    {
-      "name": "tosa-machine"
-    },
-    {
-      "name": "pxb-host"
-    },
-    {
-      "name": "xio3130-downstream"
-    },
-    {
-      "name": "n25q128a13"
-    },
-    {
-      "name": "virtio-blk-pci"
-    },
-    {
-      "name": "cortex-a9-arm-cpu"
-    },
-    {
-      "name": "virtio-gpu-device"
-    },
-    {
-      "name": "QJSON"
-    },
-    {
-      "name": "n25q128a11"
-    },
-    {
-      "name": "lsi53c810"
-    },
-    {
-      "name": "strongarm-gpio"
-    },
-    {
-      "name": "cheetah-machine"
-    },
-    {
-      "name": "m45pe16"
-    },
-    {
-      "name": "pxa270-c5-arm-cpu"
-    },
-    {
-      "name": "System"
-    },
-    {
-      "name": "usb-serial"
-    },
-    {
-      "name": "m45pe10"
-    },
-    {
-      "name": "vt82c686b-usb-uhci"
-    },
-    {
-      "name": "sst25wf040"
-    },
-    {
-      "name": "w25x32"
-    },
-    {
-      "name": "s25sl032p"
-    },
-    {
-      "name": "ccid-card-passthru"
-    },
-    {
-      "name": "ccid-bus"
-    },
-    {
-      "name": "PCIE"
-    },
-    {
-      "name": "exynos4210.rtc"
-    },
-    {
-      "name": "sa1100-arm-cpu"
-    },
-    {
-      "name": "ssd0303"
-    },
-    {
-      "name": "s25sl032a"
-    },
-    {
-      "name": "gpex-root"
-    },
-    {
-      "name": "s25sl016a"
-    },
-    {
-      "name": "mv88w8618_audio"
-    },
-    {
-      "name": "s25sl008a"
-    },
-    {
-      "name": "virtio-serial-bus"
-    },
-    {
-      "name": "ssi-sd"
-    },
-    {
-      "name": "secondary-vga"
-    },
-    {
-      "name": "vhost-scsi"
-    },
-    {
-      "name": "pl061"
-    },
-    {
-      "name": "exynos4210-ehci-usb"
-    },
-    {
-      "name": "pci-ohci"
-    },
-    {
-      "name": "cfi.pflash02"
-    },
-    {
-      "name": "s25fl512s"
-    },
-    {
-      "name": "s70fl01gs"
-    },
-    {
-      "name": "cfi.pflash01"
-    },
-    {
-      "name": "w25x20"
-    },
-    {
-      "name": "usb-hub"
-    },
-    {
-      "name": "m25p40"
-    },
-    {
-      "name": "mx25l12855e"
-    },
-    {
-      "name": "exynos4210.pwm"
-    },
-    {
-      "name": "nmi"
-    },
-    {
-      "name": "midway-machine"
-    },
-    {
-      "name": "bcm2835-aux"
-    },
-    {
-      "name": "input-linux"
-    },
-    {
-      "name": "musicpal-misc"
-    },
-    {
-      "name": "w25x16"
-    },
-    {
-      "name": "SCSI"
-    },
-    {
-      "name": "w25x10"
-    },
-    {
-      "name": "sst25wf020"
-    },
-    {
-      "name": "vfio-amd-xgbe"
-    },
-    {
-      "name": "m25p32"
-    },
-    {
-      "name": "pxa2xx-gpio"
-    },
-    {
-      "name": "palmetto-bmc-machine"
-    },
-    {
-      "name": "mainstone-machine"
-    },
-    {
-      "name": "n810-machine"
-    },
-    {
-      "name": "pci-serial"
-    },
-    {
-      "name": "at26df161a"
-    },
-    {
-      "name": "terrier-machine"
-    },
-    {
-      "name": "max1111"
-    },
-    {
-      "name": "netduino2-machine"
-    },
-    {
-      "name": "max1110"
-    },
-    {
-      "name": "i82559c"
-    },
-    {
-      "name": "i82559b"
-    },
-    {
-      "name": "i82559a"
-    },
-    {
-      "name": "xlnx,zynqmp"
-    },
-    {
-      "name": "realview_pci"
-    },
-    {
-      "name": "pl041"
-    },
-    {
-      "name": "rocker"
-    },
-    {
-      "name": "pcnet"
-    },
-    {
-      "name": "n25q032a13"
-    },
-    {
-      "name": "n25q032a11"
-    },
-    {
-      "name": "filter-dump"
-    },
-    {
-      "name": "sst25wf010"
-    },
-    {
-      "name": "rng-egd"
-    },
-    {
-      "name": "gd25q64"
-    },
-    {
-      "name": "exynos4210.gic"
-    },
-    {
-      "name": "m25p20"
-    },
-    {
-      "name": "l2x0"
-    },
-    {
-      "name": "n25q064"
-    },
-    {
-      "name": "pl031"
-    },
-    {
-      "name": "arm_mptimer"
-    },
-    {
-      "name": "n25q064a13"
-    },
-    {
-      "name": "n25q064a11"
-    },
-    {
-      "name": "raspi2-machine"
-    },
-    {
-      "name": "scoop"
-    },
-    {
-      "name": "strongarm-ssp"
-    },
-    {
-      "name": "i82558b"
-    },
-    {
-      "name": "i82558a"
-    },
-    {
-      "name": "exynos4210.fimd"
-    },
-    {
-      "name": "pl111"
-    },
-    {
-      "name": "smbus-eeprom"
-    },
-    {
-      "name": "pl110"
-    },
-    {
-      "name": "tosa_dac"
-    },
-    {
-      "name": "onenand"
-    },
-    {
-      "name": "m25p16"
-    },
-    {
-      "name": "bcm2835-dma"
-    },
-    {
-      "name": "allwinner-A10-timer"
-    },
-    {
-      "name": "m25p10"
-    },
-    {
-      "name": "i82801"
-    },
-    {
-      "name": "tls-creds-x509"
-    },
-    {
-      "name": "virtio-net-pci"
-    },
-    {
-      "name": "virtio-keyboard-device"
-    },
-    {
-      "name": "i82562"
-    },
-    {
-      "name": "usb-net"
-    },
-    {
-      "name": "highbank-machine"
-    },
-    {
-      "name": "at26df081a"
-    },
-    {
-      "name": "digic-uart"
-    },
-    {
-      "name": "i82557c"
-    },
-    {
-      "name": "cortex-a53-arm-cpu"
-    },
-    {
-      "name": "s25sl004a"
-    },
-    {
-      "name": "arm1176-arm-cpu"
-    },
-    {
-      "name": "i82557b"
-    },
-    {
-      "name": "i82557a"
-    },
-    {
-      "name": "pl022"
-    },
-    {
-      "name": "virtio-gpu-pci"
-    },
-    {
-      "name": "sdhci-bus"
-    },
-    {
-      "name": "pl061_luminary"
-    },
-    {
-      "name": "usb-mouse"
-    },
-    {
-      "name": "m25p05"
-    },
-    {
-      "name": "strongarm-rtc"
-    },
-    {
-      "name": "n25q128"
-    },
-    {
-      "name": "imx.epit"
-    },
-    {
-      "name": "i82551"
-    },
-    {
-      "name": "i82550"
-    },
-    {
-      "name": "armv7m_nvic"
-    },
-    {
-      "name": "cubieboard-machine"
-    },
-    {
-      "name": "fsl,imx31"
-    },
-    {
-      "name": "imx.i2c"
-    },
-    {
-      "name": "highbank-regs"
-    },
-    {
-      "name": "virt-2.6-machine"
-    },
-    {
-      "name": "sa1110-arm-cpu"
-    },
-    {
-      "name": "ich9-usb-ehci2"
-    },
-    {
-      "name": "user-creatable"
-    },
-    {
-      "name": "pl011"
-    },
-    {
-      "name": "ich9-usb-ehci1"
-    },
-    {
-      "name": "vfio-pci"
-    },
-    {
-      "name": "filter-mirror"
-    },
-    {
-      "name": "tusb6010"
-    },
-    {
-      "name": "realview_mpcore"
-    },
-    {
-      "name": "w25q32dw"
-    },
-    {
-      "name": "sx1-v1-machine"
-    },
-    {
-      "name": "fsl,imx25"
-    },
-    {
-      "name": "gd25q32"
-    },
-    {
-      "name": "cortex-a57-arm-cpu"
-    },
-    {
-      "name": "irq"
-    },
-    {
-      "name": "n25q032"
-    },
-    {
-      "name": "cadence_ttc"
-    },
-    {
-      "name": "pxa2xx_pic"
-    },
-    {
-      "name": "arm.cortex-a9-global-timer"
-    },
-    {
-      "name": "nec-usb-xhci"
-    },
-    {
-      "name": "qio-channel-socket"
-    },
-    {
-      "name": "ti925t-arm-cpu"
-    },
-    {
-      "name": "piix3-usb-uhci"
-    },
-    {
-      "name": "virtserialport"
-    },
-    {
-      "name": "pvscsi"
-    },
-    {
-      "name": "sd-bus"
-    },
-    {
-      "name": "sx1-machine"
-    },
-    {
-      "name": "320s33b"
-    },
-    {
-      "name": "dscm1xxxx"
-    },
-    {
-      "name": "ich9-ahci"
-    },
-    {
-      "name": "isa-dma"
-    },
-    {
-      "name": "realview-eb-mpcore-machine"
-    },
-    {
-      "name": "IndustryPack"
-    },
-    {
-      "name": "mx25l8005"
-    },
-    {
-      "name": "pl050_keyboard"
-    },
-    {
-      "name": "kzm-machine"
-    },
-    {
-      "name": "pxa250-arm-cpu"
-    },
-    {
-      "name": "virtio-rng-pci"
-    },
-    {
-      "name": "usb-ehci"
-    },
-    {
-      "name": "realview_sysctl"
-    },
-    {
-      "name": "smc91c111"
-    },
-    {
-      "name": "arm11mpcore-arm-cpu"
-    },
-    {
-      "name": "versatile_pci"
-    },
-    {
-      "name": "pxa2xx-mmci"
-    },
-    {
-      "name": "xgmac"
-    },
-    {
-      "name": "sst25vf080b"
-    },
-    {
-      "name": "akita-machine"
-    },
-    {
-      "name": "imx.gpt"
-    },
-    {
-      "name": "allwinner-a10"
-    },
-    {
-      "name": "e1000-82545em"
-    },
-    {
-      "name": "sp804"
-    },
-    {
-      "name": "tmp105"
-    },
-    {
-      "name": "w25q80"
-    },
-    {
-      "name": "integrator_pit"
-    },
-    {
-      "name": "e1000-82544gc"
-    },
-    {
-      "name": "pci-serial-4x"
-    },
-    {
-      "name": "mv88w8618_eth"
-    },
-    {
-      "name": "versatilepb_sic"
-    },
-    {
-      "name": "ioh3420"
-    },
-    {
-      "name": "virtio-9p-pci"
-    },
-    {
-      "name": "integrator_pic"
-    },
-    {
-      "name": "virtio-9p-device"
-    },
-    {
-      "name": "m25p128"
-    },
-    {
-      "name": "en25f32"
-    },
-    {
-      "name": "filter-buffer"
-    },
-    {
-      "name": "versatile_i2c"
-    },
-    {
-      "name": "acpi-device-interface"
-    },
-    {
-      "name": "z2-machine"
-    },
-    {
-      "name": "xilinx,zynq_slcr"
-    },
-    {
-      "name": "ich9-intel-hda"
-    },
-    {
-      "name": "at26f004"
-    },
-    {
-      "name": "ivshmem"
-    },
-    {
-      "name": "n25q256a13"
-    },
-    {
-      "name": "160s33b"
-    },
-    {
-      "name": "n25q256a11"
-    },
-    {
-      "name": "exynos4210.irq_gate"
-    },
-    {
-      "name": "musicpal-machine"
-    },
-    {
-      "name": "exynos4210.combiner"
-    },
-    {
-      "name": "arm926-arm-cpu"
-    },
-    {
-      "name": "virtio-tablet-pci"
-    },
-    {
-      "name": "exynos4210.pmu"
-    },
-    {
-      "name": "secret"
-    },
-    {
-      "name": "ipoctal232"
-    },
-    {
-      "name": "omap_i2c"
-    },
-    {
-      "name": "omap-gpio"
-    },
-    {
-      "name": "virtio-tablet-device"
-    },
-    {
-      "name": "w25q64"
-    },
-    {
-      "name": "virtio-pci-bus"
-    },
-    {
-      "name": "virtio-scsi-pci"
-    },
-    {
-      "name": "at25df041a"
-    },
-    {
-      "name": "mx25l12805d"
-    },
-    {
-      "name": "x3130-upstream"
-    },
-    {
-      "name": "ES1370"
-    },
-    {
-      "name": "pci-testdev"
-    },
-    {
-      "name": "at25fs040"
-    },
-    {
-      "name": "qemu-console"
-    },
-    {
-      "name": "xlnx.ps7-spi"
-    },
-    {
-      "name": "ISA"
-    },
-    {
-      "name": "piix4-usb-uhci"
-    },
-    {
-      "name": "ARM,bitband-memory"
-    },
-    {
-      "name": "tcg-accel"
-    },
-    {
-      "name": "virtconsole"
-    },
-    {
-      "name": "mx25l25655e"
-    },
-    {
-      "name": "aspeed.timer"
-    },
-    {
-      "name": "pci-serial-2x"
-    },
-    {
-      "name": "bcm2836-control"
-    },
-    {
-      "name": "bcm2835-peripherals"
-    },
-    {
-      "name": "musicpal_key"
-    },
-    {
-      "name": "realview-pb-a8-machine"
-    },
-    {
-      "name": "virtio-mmio-bus"
-    },
-    {
-      "name": "pxa25x-timer"
-    },
-    {
-      "name": "usb-bus"
-    },
-    {
-      "name": "versatilepb-machine"
-    },
-    {
-      "name": "w25q80bl"
-    },
-    {
-      "name": "pxa255-arm-cpu"
-    },
-    {
-      "name": "allwinner-emac"
-    },
-    {
-      "name": "at26df321"
-    },
-    {
-      "name": "pxa261-arm-cpu"
-    },
-    {
-      "name": "strongarm-ppc"
-    },
-    {
-      "name": "hotplug-handler"
-    },
-    {
-      "name": "tosa-ssp"
-    },
-    {
-      "name": "pl050_mouse"
-    },
-    {
-      "name": "i82801b11-bridge"
-    },
-    {
-      "name": "PCI"
-    },
-    {
-      "name": "usb-storage"
-    },
-    {
-      "name": "fusbh200-ehci-usb"
-    },
-    {
-      "name": "arm1136-r2-arm-cpu"
-    },
-    {
-      "name": "pxa260-arm-cpu"
-    },
-    {
-      "name": "esp"
-    },
-    {
-      "name": "realview-eb-machine"
-    },
-    {
-      "name": "musicpal_lcd"
-    },
-    {
-      "name": "isabus-bridge"
-    },
-    {
-      "name": "ne2k_pci"
-    },
-    {
-      "name": "realview-pbx-a9-machine"
-    },
-    {
-      "name": "ivshmem-plain"
-    },
-    {
-      "name": "usb-kbd"
-    },
-    {
-      "name": "pxa2xx_i2c"
-    },
-    {
-      "name": "stellaris_enet"
-    },
-    {
-      "name": "imx31.ccm"
-    },
-    {
-      "name": "cortex-a15-arm-cpu"
-    },
-    {
-      "name": "spitz-machine"
-    },
-    {
-      "name": "hda-duplex"
-    },
-    {
-      "name": "a9-scu"
-    },
-    {
-      "name": "stm32f205-soc"
-    },
-    {
-      "name": "w25q32"
-    },
-    {
-      "name": "wm8750"
-    },
-    {
-      "name": "virtio-balloon-device"
-    },
-    {
-      "name": "none-machine"
-    },
-    {
-      "name": "megasas-gen2"
-    },
-    {
-      "name": "allwinner-ahci"
-    },
-    {
-      "name": "m25px64"
-    },
-    {
-      "name": "pl011_luminary"
-    },
-    {
-      "name": "at25fs010"
-    },
-    {
-      "name": "allwinner-a10-pic"
-    },
-    {
-      "name": "imx25-pdk-machine"
-    },
-    {
-      "name": "nvme"
-    },
-    {
-      "name": "arm1136-arm-cpu"
-    },
-    {
-      "name": "mx25l4005a"
-    },
-    {
-      "name": "usb-tablet"
-    },
-    {
-      "name": "usb-braille"
-    },
-    {
-      "name": "qio-channel-buffer"
-    },
-    {
-      "name": "en25q64"
-    },
-    {
-      "name": "scsi-disk"
-    },
-    {
-      "name": "fw_cfg"
-    },
-    {
-      "name": "intel-hda"
-    },
-    {
-      "name": "collie-machine"
-    },
-    {
-      "name": "arm11mpcore_priv"
-    },
-    {
-      "name": "kvm-accel"
-    },
-    {
-      "name": "pxb-pcie-bus"
-    },
-    {
-      "name": "virtio-scsi-device"
-    },
-    {
-      "name": "realview_gic"
-    },
-    {
-      "name": "smdkc210-machine"
-    },
-    {
-      "name": "bcm2835-mbox"
-    },
-    {
-      "name": "AC97"
-    },
-    {
-      "name": "usb-wacom-tablet"
-    },
-    {
-      "name": "pxa270-a0-arm-cpu"
-    },
-    {
-      "name": "ds1338"
-    },
-    {
-      "name": "pxa262-arm-cpu"
-    },
-    {
-      "name": "i2c-bus"
-    },
-    {
-      "name": "exynos4210.uart"
-    },
-    {
-      "name": "virtio-mouse-device"
-    },
-    {
-      "name": "mx25l25635e"
-    },
-    {
-      "name": "pxb-pcie"
-    },
-    {
-      "name": "640s33b"
-    },
-    {
-      "name": "pl110_versatile"
-    },
-    {
-      "name": "mx25l2005a"
-    },
-    {
-      "name": "a9mpcore_priv"
-    },
-    {
-      "name": "generic-sdhci"
-    },
-    {
-      "name": "aspeed.vic"
-    },
-    {
-      "name": "mainstone-fpga"
-    },
-    {
-      "name": "cadence_gem"
-    },
-    {
-      "name": "sst25vf040b"
-    },
-    {
-      "name": "ide-drive"
-    },
-    {
-      "name": "sst25vf032b"
-    },
-    {
-      "name": "bcm2836"
-    },
-    {
-      "name": "sst25vf016b"
-    },
-    {
-      "name": "pxb"
-    },
-    {
-      "name": "omap2-gpio"
-    },
-    {
-      "name": "imx.serial"
-    },
-    {
-      "name": "xlnx.ps7-qspi"
-    },
-    {
-      "name": "en25p64"
-    },
-    {
-      "name": "pxa2xx-ssp"
-    },
-    {
-      "name": "arm11-scu"
-    },
-    {
-      "name": "i6300esb"
-    },
-    {
-      "name": "sd-card"
-    },
-    {
-      "name": "verdex-machine"
-    },
-    {
-      "name": "m25px32"
-    },
-    {
-      "name": "m25px32-s1"
-    },
-    {
-      "name": "m25px32-s0"
-    },
-    {
-      "name": "vmxnet3"
-    },
-    {
-      "name": "vfio-calxeda-xgmac"
-    },
-    {
-      "name": "imx.avic"
-    },
-    {
-      "name": "nuri-machine"
-    },
-    {
-      "name": "integratorcp-machine"
-    },
-    {
-      "name": "rng-random"
-    },
-    {
-      "name": "fw-path-provider"
-    }
-  ],
-  "id": "libvirt-8"
-}
-
-{
-  "return": [
-    {
-      "name": "request-merging",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "secs",
-      "type": "uint32"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "heads",
-      "type": "uint32"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "ioeventfd",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "scsi",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "cyls",
-      "type": "uint32"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "x-disable-pcie",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "iothread",
-      "type": "link<iothread>"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "class",
-      "type": "uint32"
-    },
-    {
-      "name": "migrate-extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "modern-pio-notify",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vectors",
-      "type": "uint32"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-blk-device>"
-    },
-    {
-      "name": "config-wce",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-9"
-}
-
-{
-  "return": [
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-txtimer",
-      "type": "uint32"
-    },
-    {
-      "name": "guest_ufo",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "mq",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "status",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host_ecn",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ioeventfd",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "tx",
-      "type": "str"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "ctrl_rx_extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_vq",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "mac",
-      "description": "Ethernet 6-byte MAC Address, example: 52:54:00:12:34:56",
-      "type": "str"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-disable-pcie",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_tso6",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "gso",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_ecn",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_rx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_tso4",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_csum",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_announce",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-txburst",
-      "type": "int32"
-    },
-    {
-      "name": "ctrl_vlan",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "csum",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "mrg_rxbuf",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_guest_offloads",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host_tso6",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_mac_addr",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "migrate-extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "modern-pio-notify",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vectors",
-      "type": "uint32"
-    },
-    {
-      "name": "vlan",
-      "description": "Integer VLAN id to connect to",
-      "type": "int32"
-    },
-    {
-      "name": "host_tso4",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host_ufo",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-net-device>"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "netdev",
-      "description": "ID of a netdev to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-10"
-}
-
-{
-  "return": [
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ioeventfd",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "cmd_per_lun",
-      "type": "uint32"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "param_change",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "iothread",
-      "type": "link<iothread>"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "migrate-extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "hotplug",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "modern-pio-notify",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "num_queues",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-scsi-device>"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vectors",
-      "type": "uint32"
-    },
-    {
-      "name": "x-disable-pcie",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "max_sectors",
-      "type": "uint32"
-    },
-    {
-      "name": "rombar",
-      "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"
-  }
-}
-
-{
-  "id": "libvirt-18",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'kvm-pci-assign' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "x-pci-sub-device-id",
-      "type": "uint32"
-    },
-    {
-      "name": "x-no-kvm-msi",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "x-vga",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-pci-vendor-id",
-      "type": "uint32"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "x-req",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "x-no-kvm-intx",
-      "type": "bool"
-    },
-    {
-      "name": "x-pci-device-id",
-      "type": "uint32"
-    },
-    {
-      "name": "host",
-      "description": "Address (bus/device/function) of the host device, example: 04:10.0",
-      "type": "str"
-    },
-    {
-      "name": "x-no-kvm-msix",
-      "type": "bool"
-    },
-    {
-      "name": "x-intx-mmap-timeout-ms",
-      "type": "uint32"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "x-pci-sub-vendor-id",
-      "type": "uint32"
-    },
-    {
-      "name": "sysfsdev",
-      "type": "str"
-    },
-    {
-      "name": "x-no-mmap",
-      "type": "bool"
-    }
-  ],
-  "id": "libvirt-19"
-}
-
-{
-  "return": [
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "port_index",
-      "type": "uint16"
-    },
-    {
-      "name": "dpofua",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "lun",
-      "type": "uint32"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "port_wwn",
-      "type": "uint64"
-    },
-    {
-      "name": "max_unmap_size",
-      "type": "uint64"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "product",
-      "type": "str"
-    },
-    {
-      "name": "vendor",
-      "type": "str"
-    },
-    {
-      "name": "channel",
-      "type": "uint32"
-    },
-    {
-      "name": "wwn",
-      "type": "uint64"
-    },
-    {
-      "name": "removable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "scsi-id",
-      "type": "uint32"
-    },
-    {
-      "name": "ver",
-      "type": "str"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "max_io_size",
-      "type": "uint64"
-    }
-  ],
-  "id": "libvirt-20"
-}
-
-{
-  "return": [
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "unit",
-      "type": "uint32"
-    },
-    {
-      "name": "wwn",
-      "type": "uint64"
-    },
-    {
-      "name": "model",
-      "type": "str"
-    },
-    {
-      "name": "ver",
-      "type": "str"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    }
-  ],
-  "id": "libvirt-21"
-}
-
-{
-  "id": "libvirt-22",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'PIIX4_PM' not found"
-  }
-}
-
-{
-  "id": "libvirt-23",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'usb-redir' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "isobufs",
-      "type": "uint32"
-    },
-    {
-      "name": "hostaddr",
-      "type": "uint32"
-    },
-    {
-      "name": "msos-desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "productid",
-      "type": "uint32"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "isobsize",
-      "type": "uint32"
-    },
-    {
-      "name": "port",
-      "type": "str"
-    },
-    {
-      "name": "vendorid",
-      "type": "uint32"
-    },
-    {
-      "name": "pipeline",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "hostport",
-      "type": "str"
-    },
-    {
-      "name": "full-path",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "loglevel",
-      "type": "uint32"
-    },
-    {
-      "name": "hostbus",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-24"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "lun",
-      "type": "uint32"
-    },
-    {
-      "name": "channel",
-      "type": "uint32"
-    },
-    {
-      "name": "scsi-id",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-25"
-}
-
-{
-  "id": "libvirt-26",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'i440FX-pcihost' not found"
-  }
-}
-
-{
-  "id": "libvirt-27",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'q35-pcihost' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "msos-desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "port",
-      "type": "str"
-    },
-    {
-      "name": "full-path",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "removable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    }
-  ],
-  "id": "libvirt-28"
-}
-
-{
-  "id": "libvirt-29",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'kvm-pit' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "mmio",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "qemu-extended-regs",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "big-endian-framebuffer",
-      "type": "bool"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "vgamem_mb",
-      "type": "uint32"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    }
-  ],
-  "id": "libvirt-30"
-}
-
-{
-  "id": "libvirt-31",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'vmware-svga' not found"
-  }
-}
-
-{
-  "id": "libvirt-32",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'qxl' not found"
-  }
-}
-
-{
-  "id": "libvirt-33",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'qxl-vga' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ioeventfd",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "migrate-extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "modern-pio-notify",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-gpu-device>"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vectors",
-      "type": "uint32"
-    },
-    {
-      "name": "x-disable-pcie",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "max_outputs",
-      "type": "uint32"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-34"
-}
-
-{
-  "id": "libvirt-35",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'ICH9-LPC' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "class",
-      "type": "uint32"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest-stats-polling-interval",
-      "type": "int"
-    },
-    {
-      "name": "guest-stats",
-      "type": "guest statistics"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "migrate-extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "modern-pio-notify",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-balloon-device>"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-disable-pcie",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "deflate-on-oom",
-      "description": "on/off",
-      "type": "bool"
-    }
-  ],
-  "id": "libvirt-36"
-}
-
-{
-  "id": "libvirt-37",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'virtio-balloon-ccw' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest-stats",
-      "type": "guest statistics"
-    },
-    {
-      "name": "guest-stats-polling-interval",
-      "type": "int"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "deflate-on-oom",
-      "description": "on/off",
-      "type": "bool"
-    }
-  ],
-  "id": "libvirt-38"
-}
-
-{
-  "return": [
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "intrs",
-      "type": "uint32"
-    },
-    {
-      "name": "msix",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "msi",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "superspeed-ports-first",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "streams",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "force-pcie-endcap",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "p3",
-      "type": "uint32"
-    },
-    {
-      "name": "p2",
-      "type": "uint32"
-    },
-    {
-      "name": "slots",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-39"
-}
-
-{
-  "return": [
-    {
-      "name": "integratorcp",
-      "cpu-max": 1
-    },
-    {
-      "name": "nuri",
-      "cpu-max": 2
-    },
-    {
-      "name": "verdex",
-      "cpu-max": 1
-    },
-    {
-      "name": "smdkc210",
-      "cpu-max": 2
-    },
-    {
-      "name": "collie",
-      "cpu-max": 1
-    },
-    {
-      "name": "imx25-pdk",
-      "cpu-max": 1
-    },
-    {
-      "name": "none",
-      "cpu-max": 1
-    },
-    {
-      "name": "spitz",
-      "cpu-max": 1
-    },
-    {
-      "name": "realview-pbx-a9",
-      "cpu-max": 4
-    },
-    {
-      "name": "realview-eb",
-      "cpu-max": 1
-    },
-    {
-      "name": "versatilepb",
-      "cpu-max": 1
-    },
-    {
-      "name": "realview-pb-a8",
-      "cpu-max": 1
-    },
-    {
-      "name": "musicpal",
-      "cpu-max": 1
-    },
-    {
-      "name": "z2",
-      "cpu-max": 1
-    },
-    {
-      "name": "akita",
-      "cpu-max": 1
-    },
-    {
-      "name": "kzm",
-      "cpu-max": 1
-    },
-    {
-      "name": "realview-eb-mpcore",
-      "cpu-max": 4
-    },
-    {
-      "name": "sx1",
-      "cpu-max": 1
-    },
-    {
-      "name": "sx1-v1",
-      "cpu-max": 1
-    },
-    {
-      "name": "virt-2.6",
-      "cpu-max": 255,
-      "alias": "virt"
-    },
-    {
-      "name": "cubieboard",
-      "cpu-max": 1
-    },
-    {
-      "name": "highbank",
-      "cpu-max": 4
-    },
-    {
-      "name": "raspi2",
-      "cpu-max": 4
-    },
-    {
-      "name": "netduino2",
-      "cpu-max": 1
-    },
-    {
-      "name": "terrier",
-      "cpu-max": 1
-    },
-    {
-      "name": "n810",
-      "cpu-max": 1
-    },
-    {
-      "name": "mainstone",
-      "cpu-max": 1
-    },
-    {
-      "name": "palmetto-bmc",
-      "cpu-max": 1
-    },
-    {
-      "name": "midway",
-      "cpu-max": 4
-    },
-    {
-      "name": "cheetah",
-      "cpu-max": 1
-    },
-    {
-      "name": "tosa",
-      "cpu-max": 1
-    },
-    {
-      "name": "borzoi",
-      "cpu-max": 1
-    },
-    {
-      "name": "versatileab",
-      "cpu-max": 1
-    },
-    {
-      "name": "lm3s6965evb",
-      "cpu-max": 1
-    },
-    {
-      "name": "n800",
-      "cpu-max": 1
-    },
-    {
-      "name": "connex",
-      "cpu-max": 1
-    },
-    {
-      "name": "xilinx-zynq-a9",
-      "cpu-max": 1
-    },
-    {
-      "name": "xlnx-ep108",
-      "cpu-max": 1
-    },
-    {
-      "name": "vexpress-a9",
-      "cpu-max": 4
-    },
-    {
-      "name": "vexpress-a15",
-      "cpu-max": 4
-    },
-    {
-      "name": "canon-a1100",
-      "cpu-max": 1
-    },
-    {
-      "name": "lm3s811evb",
-      "cpu-max": 1
-    }
-  ],
-  "id": "libvirt-40"
-}
-
-{
-  "return": [
-    {
-      "name": "pxa262"
-    },
-    {
-      "name": "pxa270-a0"
-    },
-    {
-      "name": "arm1136"
-    },
-    {
-      "name": "cortex-a15"
-    },
-    {
-      "name": "pxa260"
-    },
-    {
-      "name": "arm1136-r2"
-    },
-    {
-      "name": "pxa261"
-    },
-    {
-      "name": "pxa255"
-    },
-    {
-      "name": "arm926"
-    },
-    {
-      "name": "arm11mpcore"
-    },
-    {
-      "name": "pxa250"
-    },
-    {
-      "name": "ti925t"
-    },
-    {
-      "name": "cortex-a57"
-    },
-    {
-      "name": "sa1110"
-    },
-    {
-      "name": "arm1176"
-    },
-    {
-      "name": "cortex-a53"
-    },
-    {
-      "name": "sa1100"
-    },
-    {
-      "name": "pxa270-c5"
-    },
-    {
-      "name": "cortex-a9"
-    },
-    {
-      "name": "cortex-a8"
-    },
-    {
-      "name": "pxa270-c0"
-    },
-    {
-      "name": "arm1026"
-    },
-    {
-      "name": "pxa270-b1"
-    },
-    {
-      "name": "cortex-m3"
-    },
-    {
-      "name": "cortex-m4"
-    },
-    {
-      "name": "pxa270-b0"
-    },
-    {
-      "name": "arm946"
-    },
-    {
-      "name": "cortex-r5"
-    },
-    {
-      "name": "pxa270-a1"
-    },
-    {
-      "name": "pxa270"
-    }
-  ],
-  "id": "libvirt-41"
-}
-
-{
-  "return": {
-    "enabled": false,
-    "present": true
-  },
-  "id": "libvirt-42"
-}
-
-{
-  "return": [
-  ],
-  "id": "libvirt-43"
-}
-
-{
-  "return": [
-  ],
-  "id": "libvirt-44"
-}
-
-{
-  "return": [
-    {
-      "parameters": [
-        {
-          "name": "timeout",
-          "help": "Request timeout in seconds (default 0 = no timeout)",
-          "type": "number"
-        },
-        {
-          "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-secret",
-          "help": "ID of the secret providing password for CHAP authentication to target",
-          "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": [
-        {
-          "name": "non-adaptive",
-          "type": "boolean"
-        },
-        {
-          "name": "lossy",
-          "type": "boolean"
-        },
-        {
-          "name": "acl",
-          "type": "boolean"
-        },
-        {
-          "name": "x509verify",
-          "type": "string"
-        },
-        {
-          "name": "tls",
-          "type": "boolean"
-        },
-        {
-          "name": "sasl",
-          "type": "boolean"
-        },
-        {
-          "name": "lock-key-sync",
-          "type": "boolean"
-        },
-        {
-          "name": "reverse",
-          "type": "boolean"
-        },
-        {
-          "name": "password",
-          "type": "boolean"
-        },
-        {
-          "name": "ipv6",
-          "type": "boolean"
-        },
-        {
-          "name": "ipv4",
-          "type": "boolean"
-        },
-        {
-          "name": "to",
-          "type": "number"
-        },
-        {
-          "name": "connections",
-          "type": "number"
-        },
-        {
-          "name": "head",
-          "type": "number"
-        },
-        {
-          "name": "display",
-          "type": "string"
-        },
-        {
-          "name": "share",
-          "type": "string"
-        },
-        {
-          "name": "x509",
-          "type": "string"
-        },
-        {
-          "name": "tls-creds",
-          "type": "string"
-        },
-        {
-          "name": "websocket",
-          "type": "string"
-        },
-        {
-          "name": "vnc",
-          "type": "string"
-        }
-      ],
-      "option": "vnc"
-    },
-    {
-      "parameters": [
-      ],
-      "option": "smbios"
-    },
-    {
-      "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": "string",
-          "help": "Sets content of the blob to be inserted from a string",
-          "type": "string"
-        },
-        {
-          "name": "file",
-          "help": "Sets the name of the file from which\nthe fw_cfg blob will be loaded",
-          "type": "string"
-        },
-        {
-          "name": "name",
-          "help": "Sets the fw_cfg name of the blob to be inserted",
-          "type": "string"
-        }
-      ],
-      "option": "fw_cfg"
-    },
-    {
-      "parameters": [
-        {
-          "name": "arg",
-          "type": "string"
-        },
-        {
-          "name": "target",
-          "type": "string"
-        },
-        {
-          "name": "enable",
-          "type": "boolean"
-        }
-      ],
-      "option": "semihosting-config"
-    },
-    {
-      "parameters": [
-        {
-          "name": "rrfile",
-          "type": "string"
-        },
-        {
-          "name": "rr",
-          "type": "string"
-        },
-        {
-          "name": "sleep",
-          "type": "boolean"
-        },
-        {
-          "name": "align",
-          "type": "boolean"
-        },
-        {
-          "name": "shift",
-          "type": "string"
-        }
-      ],
-      "option": "icount"
-    },
-    {
-      "parameters": [
-      ],
-      "option": "numa"
-    },
-    {
-      "parameters": [
-        {
-          "name": "debug-threads",
-          "help": "When enabled, name the individual threads; defaults off.\nNOTE: The thread names are for debugging and not a\nstable API.",
-          "type": "boolean"
-        },
-        {
-          "name": "process",
-          "help": "Sets the name of the QEMU process, as shown in top etc",
-          "type": "string"
-        },
-        {
-          "name": "guest",
-          "help": "Sets the name of the guest.\nThis name will be displayed in the SDL window caption.\nThe name will also be used for the VNC server",
-          "type": "string"
-        }
-      ],
-      "option": "name"
-    },
-    {
-      "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": "boolean"
-        },
-        {
-          "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": "maxmem",
-          "type": "size"
-        },
-        {
-          "name": "slots",
-          "type": "number"
-        },
-        {
-          "name": "size",
-          "type": "size"
-        }
-      ],
-      "option": "memory"
-    },
-    {
-      "parameters": [
-        {
-          "name": "dea-key-wrap",
-          "help": "enable/disable DEA key wrapping using the CPACF wrapping key",
-          "type": "boolean"
-        },
-        {
-          "name": "aes-key-wrap",
-          "help": "enable/disable AES key wrapping using the CPACF wrapping key",
-          "type": "boolean"
-        },
-        {
-          "name": "suppress-vmdesc",
-          "help": "Set on to disable self-describing migration",
-          "type": "boolean"
-        },
-        {
-          "name": "iommu",
-          "help": "Set on/off to enable/disable Intel IOMMU (VT-d)",
-          "type": "boolean"
-        },
-        {
-          "name": "firmware",
-          "help": "firmware image",
-          "type": "string"
-        },
-        {
-          "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"
-        },
-        {
-          "name": "enable",
-          "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": "logappend",
-          "type": "boolean"
-        },
-        {
-          "name": "logfile",
-          "type": "string"
-        },
-        {
-          "name": "append",
-          "type": "boolean"
-        },
-        {
-          "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": "tls-creds",
-          "type": "string"
-        },
-        {
-          "name": "telnet",
-          "type": "boolean"
-        },
-        {
-          "name": "reconnect",
-          "type": "number"
-        },
-        {
-          "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": "werror",
-          "help": "write error action",
-          "type": "string"
-        },
-        {
-          "name": "rerror",
-          "help": "read error action",
-          "type": "string"
-        },
-        {
-          "name": "read-only",
-          "help": "open drive file as read-only",
-          "type": "boolean"
-        },
-        {
-          "name": "file",
-          "help": "file name",
-          "type": "string"
-        },
-        {
-          "name": "serial",
-          "help": "disk serial number",
-          "type": "string"
-        },
-        {
-          "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": "stats-account-failed",
-          "help": "whether to account for failed I/O operations in the statistics",
-          "type": "boolean"
-        },
-        {
-          "name": "stats-account-invalid",
-          "help": "whether to account for invalid I/O operations in the statistics",
-          "type": "boolean"
-        },
-        {
-          "name": "detect-zeroes",
-          "help": "try to optimize zero writes (off, on, unmap)",
-          "type": "string"
-        },
-        {
-          "name": "throttling.group",
-          "help": "name of the block throttling group",
-          "type": "string"
-        },
-        {
-          "name": "throttling.iops-size",
-          "help": "when limiting by iops max size of an I/O in bytes",
-          "type": "number"
-        },
-        {
-          "name": "throttling.bps-write-max-length",
-          "help": "length of the bps-write-max burst period, in seconds",
-          "type": "number"
-        },
-        {
-          "name": "throttling.bps-read-max-length",
-          "help": "length of the bps-read-max burst period, in seconds",
-          "type": "number"
-        },
-        {
-          "name": "throttling.bps-total-max-length",
-          "help": "length of the bps-total-max burst period, in seconds",
-          "type": "number"
-        },
-        {
-          "name": "throttling.iops-write-max-length",
-          "help": "length of the iops-write-max burst period, in seconds",
-          "type": "number"
-        },
-        {
-          "name": "throttling.iops-read-max-length",
-          "help": "length of the iops-read-max burst period, in seconds",
-          "type": "number"
-        },
-        {
-          "name": "throttling.iops-total-max-length",
-          "help": "length of the iops-total-max burst period, in seconds",
-          "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": "format",
-          "help": "disk format (raw, qcow2, ...)",
-          "type": "string"
-        },
-        {
-          "name": "cache.writeback",
-          "help": "Enable writeback mode",
-          "type": "boolean"
-        },
-        {
-          "name": "aio",
-          "help": "host AIO implementation (threads, native)",
-          "type": "string"
-        },
-        {
-          "name": "discard",
-          "help": "discard operation (ignore/off, unmap/on)",
-          "type": "string"
-        },
-        {
-          "name": "snapshot",
-          "help": "enable/disable snapshot mode",
-          "type": "boolean"
-        }
-      ],
-      "option": "drive"
-    }
-  ],
-  "id": "libvirt-45"
-}
-
-{
-  "return": [
-    {
-      "state": false,
-      "capability": "xbzrle"
-    },
-    {
-      "state": false,
-      "capability": "rdma-pin-all"
-    },
-    {
-      "state": false,
-      "capability": "auto-converge"
-    },
-    {
-      "state": false,
-      "capability": "zero-blocks"
-    },
-    {
-      "state": false,
-      "capability": "compress"
-    },
-    {
-      "state": false,
-      "capability": "events"
-    },
-    {
-      "state": false,
-      "capability": "postcopy-ram"
-    }
-  ],
-  "id": "libvirt-46"
-}
-
-{
-  "return": [
-    {
-      "emulated": false,
-      "version": 3,
-      "kernel": false
-    },
-    {
-      "emulated": true,
-      "version": 2,
-      "kernel": true
-    }
-  ],
-  "id": "libvirt-47"
-}
diff --git a/tests/qemucapabilitiesdata/caps_2.6.0-1.aarch64.xml b/tests/qemucapabilitiesdata/caps_2.6.0-1.aarch64.xml
deleted file mode 100644 (file)
index f4e6db1..0000000
+++ /dev/null
@@ -1,238 +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='device'/>
-  <flag name='sdl'/>
-  <flag name='smp-topology'/>
-  <flag name='netdev'/>
-  <flag name='rtc'/>
-  <flag name='vhost-net'/>
-  <flag name='nodefconfig'/>
-  <flag name='boot-menu'/>
-  <flag name='fsdev'/>
-  <flag name='name-process'/>
-  <flag name='drive-readonly'/>
-  <flag name='smbios-type'/>
-  <flag name='vga-none'/>
-  <flag name='boot-index'/>
-  <flag name='hda-duplex'/>
-  <flag name='drive-aio'/>
-  <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='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='fsdev-readonly'/>
-  <flag name='virtio-blk-pci.scsi'/>
-  <flag name='blk-sg-io'/>
-  <flag name='drive-copy-on-read'/>
-  <flag name='cpu-host'/>
-  <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='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-host.bootindex'/>
-  <flag name='blockdev-snapshot-sync'/>
-  <flag name='VGA'/>
-  <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='usb-storage'/>
-  <flag name='usb-storage.removable'/>
-  <flag name='virtio-mmio'/>
-  <flag name='ich9-intel-hda'/>
-  <flag name='boot-strict'/>
-  <flag name='spiceport'/>
-  <flag name='usb-kbd'/>
-  <flag name='host-pci-multidomain'/>
-  <flag name='msg-timestamp'/>
-  <flag name='active-commit'/>
-  <flag name='change-backing-file'/>
-  <flag name='memory-backend-ram'/>
-  <flag name='numa'/>
-  <flag name='memory-backend-file'/>
-  <flag name='usb-audio'/>
-  <flag name='splash-timeout'/>
-  <flag name='iothread'/>
-  <flag name='migrate-rdma'/>
-  <flag name='ivshmem'/>
-  <flag name='drive-iotune-max'/>
-  <flag name='VGA.vgamem_mb'/>
-  <flag name='machine-vmport-opt'/>
-  <flag name='aes-key-wrap'/>
-  <flag name='dea-key-wrap'/>
-  <flag name='pci-serial'/>
-  <flag name='aarch64-off'/>
-  <flag name='vhost-user-multiqueue'/>
-  <flag name='migration-event'/>
-  <flag name='gpex-pcihost'/>
-  <flag name='ioh3420'/>
-  <flag name='x3130-upstream'/>
-  <flag name='xio3130-downstream'/>
-  <flag name='rtl8139'/>
-  <flag name='e1000'/>
-  <flag name='virtio-net'/>
-  <flag name='gic-version'/>
-  <flag name='incoming-defer'/>
-  <flag name='virtio-gpu'/>
-  <flag name='virtio-keyboard'/>
-  <flag name='virtio-mouse'/>
-  <flag name='virtio-tablet'/>
-  <flag name='virtio-input-host'/>
-  <flag name='chardev-file-append'/>
-  <flag name='vserport-change-event'/>
-  <flag name='virtio-balloon-pci.deflate-on-oom'/>
-  <flag name='mptsas1068'/>
-  <flag name='chardev-logfile'/>
-  <flag name='debug-threads'/>
-  <flag name='secret'/>
-  <flag name='pxb'/>
-  <flag name='pxb-pcie'/>
-  <flag name='device-tray-moved-event'/>
-  <flag name='nec-usb-xhci-ports'/>
-  <flag name='virtio-scsi-pci.iothread'/>
-  <version>2005094</version>
-  <kvmVersion>0</kvmVersion>
-  <package></package>
-  <arch>aarch64</arch>
-  <cpu name='pxa262'/>
-  <cpu name='pxa270-a0'/>
-  <cpu name='arm1136'/>
-  <cpu name='cortex-a15'/>
-  <cpu name='pxa260'/>
-  <cpu name='arm1136-r2'/>
-  <cpu name='pxa261'/>
-  <cpu name='pxa255'/>
-  <cpu name='arm926'/>
-  <cpu name='arm11mpcore'/>
-  <cpu name='pxa250'/>
-  <cpu name='ti925t'/>
-  <cpu name='cortex-a57'/>
-  <cpu name='sa1110'/>
-  <cpu name='arm1176'/>
-  <cpu name='cortex-a53'/>
-  <cpu name='sa1100'/>
-  <cpu name='pxa270-c5'/>
-  <cpu name='cortex-a9'/>
-  <cpu name='cortex-a8'/>
-  <cpu name='pxa270-c0'/>
-  <cpu name='arm1026'/>
-  <cpu name='pxa270-b1'/>
-  <cpu name='cortex-m3'/>
-  <cpu name='cortex-m4'/>
-  <cpu name='pxa270-b0'/>
-  <cpu name='arm946'/>
-  <cpu name='cortex-r5'/>
-  <cpu name='pxa270-a1'/>
-  <cpu name='pxa270'/>
-  <machine name='integratorcp' maxCpus='1'/>
-  <machine name='nuri' maxCpus='2'/>
-  <machine name='verdex' maxCpus='1'/>
-  <machine name='smdkc210' maxCpus='2'/>
-  <machine name='collie' maxCpus='1'/>
-  <machine name='imx25-pdk' maxCpus='1'/>
-  <machine name='spitz' maxCpus='1'/>
-  <machine name='realview-pbx-a9' maxCpus='4'/>
-  <machine name='realview-eb' maxCpus='1'/>
-  <machine name='versatilepb' maxCpus='1'/>
-  <machine name='realview-pb-a8' maxCpus='1'/>
-  <machine name='musicpal' maxCpus='1'/>
-  <machine name='z2' maxCpus='1'/>
-  <machine name='akita' maxCpus='1'/>
-  <machine name='kzm' maxCpus='1'/>
-  <machine name='realview-eb-mpcore' maxCpus='4'/>
-  <machine name='sx1' maxCpus='1'/>
-  <machine name='sx1-v1' maxCpus='1'/>
-  <machine name='virt-2.6' alias='virt' maxCpus='255'/>
-  <machine name='cubieboard' maxCpus='1'/>
-  <machine name='highbank' maxCpus='4'/>
-  <machine name='raspi2' maxCpus='4'/>
-  <machine name='netduino2' maxCpus='1'/>
-  <machine name='terrier' maxCpus='1'/>
-  <machine name='n810' maxCpus='1'/>
-  <machine name='mainstone' maxCpus='1'/>
-  <machine name='palmetto-bmc' maxCpus='1'/>
-  <machine name='midway' maxCpus='4'/>
-  <machine name='cheetah' maxCpus='1'/>
-  <machine name='tosa' maxCpus='1'/>
-  <machine name='borzoi' maxCpus='1'/>
-  <machine name='versatileab' maxCpus='1'/>
-  <machine name='lm3s6965evb' maxCpus='1'/>
-  <machine name='n800' maxCpus='1'/>
-  <machine name='connex' maxCpus='1'/>
-  <machine name='xilinx-zynq-a9' maxCpus='1'/>
-  <machine name='xlnx-ep108' maxCpus='1'/>
-  <machine name='vexpress-a9' maxCpus='4'/>
-  <machine name='vexpress-a15' maxCpus='4'/>
-  <machine name='canon-a1100' maxCpus='1'/>
-  <machine name='lm3s811evb' maxCpus='1'/>
-  <gic version='3' kernel='no' emulated='no'/>
-  <gic version='2' kernel='yes' emulated='yes'/>
-</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_2.6.0-1.ppc64le.replies b/tests/qemucapabilitiesdata/caps_2.6.0-1.ppc64le.replies
deleted file mode 100644 (file)
index 372dfd5..0000000
+++ /dev/null
@@ -1,6163 +0,0 @@
-{
-  "QMP": {
-    "version": {
-      "qemu": {
-        "micro": 94,
-        "minor": 5,
-        "major": 2
-      },
-      "package": ""
-    },
-    "capabilities": [
-    ]
-  }
-}
-
-{
-  "return": {
-  },
-  "id": "libvirt-1"
-}
-
-{
-  "return": {
-    "qemu": {
-      "micro": 94,
-      "minor": 5,
-      "major": 2
-    },
-    "package": ""
-  },
-  "id": "libvirt-2"
-}
-
-{
-  "return": {
-    "arch": "ppc64"
-  },
-  "id": "libvirt-3"
-}
-
-{
-  "return": [
-    {
-      "name": "query-rocker-of-dpa-groups"
-    },
-    {
-      "name": "query-rocker-of-dpa-flows"
-    },
-    {
-      "name": "query-rocker-ports"
-    },
-    {
-      "name": "query-rocker"
-    },
-    {
-      "name": "block-set-write-threshold"
-    },
-    {
-      "name": "input-send-event"
-    },
-    {
-      "name": "trace-event-set-state"
-    },
-    {
-      "name": "trace-event-get-state"
-    },
-    {
-      "name": "query-acpi-ospm-status"
-    },
-    {
-      "name": "query-memory-devices"
-    },
-    {
-      "name": "query-memdev"
-    },
-    {
-      "name": "blockdev-change-medium"
-    },
-    {
-      "name": "query-named-block-nodes"
-    },
-    {
-      "name": "x-blockdev-insert-medium"
-    },
-    {
-      "name": "x-blockdev-remove-medium"
-    },
-    {
-      "name": "blockdev-close-tray"
-    },
-    {
-      "name": "blockdev-open-tray"
-    },
-    {
-      "name": "x-blockdev-del"
-    },
-    {
-      "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-parameters"
-    },
-    {
-      "name": "migrate-set-parameters"
-    },
-    {
-      "name": "query-migrate-capabilities"
-    },
-    {
-      "name": "migrate-set-capabilities"
-    },
-    {
-      "name": "query-migrate"
-    },
-    {
-      "name": "query-command-line-options"
-    },
-    {
-      "name": "query-uuid"
-    },
-    {
-      "name": "query-name"
-    },
-    {
-      "name": "query-vnc-servers"
-    },
-    {
-      "name": "query-vnc"
-    },
-    {
-      "name": "query-mice"
-    },
-    {
-      "name": "query-status"
-    },
-    {
-      "name": "query-kvm"
-    },
-    {
-      "name": "query-pci"
-    },
-    {
-      "name": "query-iothreads"
-    },
-    {
-      "name": "query-cpus"
-    },
-    {
-      "name": "query-blockstats"
-    },
-    {
-      "name": "query-block"
-    },
-    {
-      "name": "query-chardev-backends"
-    },
-    {
-      "name": "query-chardev"
-    },
-    {
-      "name": "query-qmp-schema"
-    },
-    {
-      "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": "change-backing-file"
-    },
-    {
-      "name": "blockdev-mirror"
-    },
-    {
-      "name": "drive-mirror"
-    },
-    {
-      "name": "blockdev-snapshot-delete-internal-sync"
-    },
-    {
-      "name": "blockdev-snapshot-internal-sync"
-    },
-    {
-      "name": "blockdev-snapshot"
-    },
-    {
-      "name": "blockdev-snapshot-sync"
-    },
-    {
-      "name": "block-dirty-bitmap-clear"
-    },
-    {
-      "name": "block-dirty-bitmap-remove"
-    },
-    {
-      "name": "block-dirty-bitmap-add"
-    },
-    {
-      "name": "transaction"
-    },
-    {
-      "name": "block-job-complete"
-    },
-    {
-      "name": "block-job-resume"
-    },
-    {
-      "name": "block-job-pause"
-    },
-    {
-      "name": "block-job-cancel"
-    },
-    {
-      "name": "block-job-set-speed"
-    },
-    {
-      "name": "blockdev-backup"
-    },
-    {
-      "name": "drive-backup"
-    },
-    {
-      "name": "block-commit"
-    },
-    {
-      "name": "block-stream"
-    },
-    {
-      "name": "block_resize"
-    },
-    {
-      "name": "object-del"
-    },
-    {
-      "name": "object-add"
-    },
-    {
-      "name": "netdev_del"
-    },
-    {
-      "name": "netdev_add"
-    },
-    {
-      "name": "query-dump"
-    },
-    {
-      "name": "query-dump-guest-memory-capability"
-    },
-    {
-      "name": "dump-guest-memory"
-    },
-    {
-      "name": "client_migrate_info"
-    },
-    {
-      "name": "migrate_set_downtime"
-    },
-    {
-      "name": "migrate_set_speed"
-    },
-    {
-      "name": "query-migrate-cache-size"
-    },
-    {
-      "name": "migrate-start-postcopy"
-    },
-    {
-      "name": "migrate-set-cache-size"
-    },
-    {
-      "name": "migrate-incoming"
-    },
-    {
-      "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": 13,
-    "fdset-id": 0
-  },
-  "id": "libvirt-5"
-}
-
-{
-  "id": "libvirt-6",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'bogus' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "WATCHDOG"
-    },
-    {
-      "name": "WAKEUP"
-    },
-    {
-      "name": "VSERPORT_CHANGE"
-    },
-    {
-      "name": "VNC_INITIALIZED"
-    },
-    {
-      "name": "VNC_DISCONNECTED"
-    },
-    {
-      "name": "VNC_CONNECTED"
-    },
-    {
-      "name": "SUSPEND_DISK"
-    },
-    {
-      "name": "SUSPEND"
-    },
-    {
-      "name": "STOP"
-    },
-    {
-      "name": "SPICE_MIGRATE_COMPLETED"
-    },
-    {
-      "name": "SPICE_INITIALIZED"
-    },
-    {
-      "name": "SPICE_DISCONNECTED"
-    },
-    {
-      "name": "SPICE_CONNECTED"
-    },
-    {
-      "name": "SHUTDOWN"
-    },
-    {
-      "name": "RTC_CHANGE"
-    },
-    {
-      "name": "RESUME"
-    },
-    {
-      "name": "RESET"
-    },
-    {
-      "name": "QUORUM_REPORT_BAD"
-    },
-    {
-      "name": "QUORUM_FAILURE"
-    },
-    {
-      "name": "POWERDOWN"
-    },
-    {
-      "name": "NIC_RX_FILTER_CHANGED"
-    },
-    {
-      "name": "MIGRATION_PASS"
-    },
-    {
-      "name": "MIGRATION"
-    },
-    {
-      "name": "MEM_UNPLUG_ERROR"
-    },
-    {
-      "name": "GUEST_PANICKED"
-    },
-    {
-      "name": "DUMP_COMPLETED"
-    },
-    {
-      "name": "DEVICE_TRAY_MOVED"
-    },
-    {
-      "name": "DEVICE_DELETED"
-    },
-    {
-      "name": "BLOCK_WRITE_THRESHOLD"
-    },
-    {
-      "name": "BLOCK_JOB_READY"
-    },
-    {
-      "name": "BLOCK_JOB_ERROR"
-    },
-    {
-      "name": "BLOCK_JOB_COMPLETED"
-    },
-    {
-      "name": "BLOCK_JOB_CANCELLED"
-    },
-    {
-      "name": "BLOCK_IO_ERROR"
-    },
-    {
-      "name": "BLOCK_IMAGE_CORRUPTED"
-    },
-    {
-      "name": "BALLOON_CHANGE"
-    },
-    {
-      "name": "ACPI_DEVICE_OST"
-    }
-  ],
-  "id": "libvirt-7"
-}
-
-{
-  "return": [
-    {
-      "name": "scsi-generic"
-    },
-    {
-      "name": "qio-channel-tls"
-    },
-    {
-      "name": "virtio-mmio"
-    },
-    {
-      "name": "scsi-hd"
-    },
-    {
-      "name": "MPC8541E_v11-powerpc64-cpu"
-    },
-    {
-      "name": "isa-m48t59"
-    },
-    {
-      "name": "405GPb-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8544E_v11-powerpc64-cpu"
-    },
-    {
-      "name": "usb-bot"
-    },
-    {
-      "name": "750_v3.1-powerpc64-cpu"
-    },
-    {
-      "name": "dec-21154"
-    },
-    {
-      "name": "spapr-pci-vfio-host-bridge"
-    },
-    {
-      "name": "e300c2-powerpc64-cpu"
-    },
-    {
-      "name": "lsi53c895a"
-    },
-    {
-      "name": "MPC8568-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8379-powerpc64-cpu"
-    },
-    {
-      "name": "virtio-keyboard-pci"
-    },
-    {
-      "name": "401-powerpc64-cpu"
-    },
-    {
-      "name": "750cxe_v3.1-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8349EA-powerpc64-cpu"
-    },
-    {
-      "name": "750cxr-powerpc64-cpu"
-    },
-    {
-      "name": "750cl_v2.0-powerpc64-cpu"
-    },
-    {
-      "name": "G2HiP4-powerpc64-cpu"
-    },
-    {
-      "name": "745_v1.0-powerpc64-cpu"
-    },
-    {
-      "name": "STB04-powerpc64-cpu"
-    },
-    {
-      "name": "ide-hd"
-    },
-    {
-      "name": "virtio-net-device"
-    },
-    {
-      "name": "601_v0-powerpc64-cpu"
-    },
-    {
-      "name": "ppc4xx-pcihost"
-    },
-    {
-      "name": "spapr-vio-bus"
-    },
-    {
-      "name": "ppc4xx-host-bridge"
-    },
-    {
-      "name": "750fx_v2.1-powerpc64-cpu"
-    },
-    {
-      "name": "macio-newworld"
-    },
-    {
-      "name": "MPC8377E-powerpc64-cpu"
-    },
-    {
-      "name": "970fx_v2.1-powerpc64-cpu"
-    },
-    {
-      "name": "440EPa-powerpc64-cpu"
-    },
-    {
-      "name": "SUNW,fdtwo"
-    },
-    {
-      "name": "virtio-serial-pci"
-    },
-    {
-      "name": "isa-pcspk"
-    },
-    {
-      "name": "dec-21154-p2p-bridge"
-    },
-    {
-      "name": "7445_v3.3-powerpc64-cpu"
-    },
-    {
-      "name": "603e_v4.1-powerpc64-cpu"
-    },
-    {
-      "name": "G2leGP3-powerpc64-cpu"
-    },
-    {
-      "name": "spapr-vscsi"
-    },
-    {
-      "name": "xlnx.xps-ethernetlite"
-    },
-    {
-      "name": "7410_v1.0-powerpc64-cpu"
-    },
-    {
-      "name": "platform-bus-device"
-    },
-    {
-      "name": "xics"
-    },
-    {
-      "name": "MPC5200_v10-powerpc64-cpu"
-    },
-    {
-      "name": "750cxe_v2.4b-powerpc64-cpu"
-    },
-    {
-      "name": "ics"
-    },
-    {
-      "name": "403GA-powerpc64-cpu"
-    },
-    {
-      "name": "icp"
-    },
-    {
-      "name": "MPC8610-powerpc64-cpu"
-    },
-    {
-      "name": "usb-host"
-    },
-    {
-      "name": "MPC8548E_v20-powerpc64-cpu"
-    },
-    {
-      "name": "745_v2.5-powerpc64-cpu"
-    },
-    {
-      "name": "7447_v1.0-powerpc64-cpu"
-    },
-    {
-      "name": "970fx_v3.1-powerpc64-cpu"
-    },
-    {
-      "name": "7457_v1.2-powerpc64-cpu"
-    },
-    {
-      "name": "usb-bt-dongle"
-    },
-    {
-      "name": "virtio-input-host-pci"
-    },
-    {
-      "name": "xlnx.xps-intc"
-    },
-    {
-      "name": "MPC8343EA-powerpc64-cpu"
-    },
-    {
-      "name": "e1000"
-    },
-    {
-      "name": "mpc8xxx_gpio"
-    },
-    {
-      "name": "401F2-powerpc64-cpu"
-    },
-    {
-      "name": "pseries-2.1-machine"
-    },
-    {
-      "name": "ich9-usb-uhci6"
-    },
-    {
-      "name": "ich9-usb-uhci5"
-    },
-    {
-      "name": "usb-mtp"
-    },
-    {
-      "name": "ich9-usb-uhci3"
-    },
-    {
-      "name": "cmd646-ide"
-    },
-    {
-      "name": "ich9-usb-uhci4"
-    },
-    {
-      "name": "sysbus-ahci"
-    },
-    {
-      "name": "e500v2_v22-powerpc64-cpu"
-    },
-    {
-      "name": "ich9-usb-uhci2"
-    },
-    {
-      "name": "ich9-usb-uhci1"
-    },
-    {
-      "name": "MPC8533E_v11-powerpc64-cpu"
-    },
-    {
-      "name": "7447A_v1.2-powerpc64-cpu"
-    },
-    {
-      "name": "tpci200"
-    },
-    {
-      "name": "memory-backend-file"
-    },
-    {
-      "name": "604r-powerpc64-cpu"
-    },
-    {
-      "name": "603e7v2-powerpc64-cpu"
-    },
-    {
-      "name": "970mp_v1.1-powerpc64-cpu"
-    },
-    {
-      "name": "sysbus-m48t59"
-    },
-    {
-      "name": "rtl8139"
-    },
-    {
-      "name": "usb-audio"
-    },
-    {
-      "name": "uni-north-internal-pci-pcihost"
-    },
-    {
-      "name": "MPC8347EAT-powerpc64-cpu"
-    },
-    {
-      "name": "megasas"
-    },
-    {
-      "name": "405GPc-powerpc64-cpu"
-    },
-    {
-      "name": "7455_v2.1-powerpc64-cpu"
-    },
-    {
-      "name": "7400_v2.8-powerpc64-cpu"
-    },
-    {
-      "name": "u3-agp"
-    },
-    {
-      "name": "container"
-    },
-    {
-      "name": "7450_v2.0-powerpc64-cpu"
-    },
-    {
-      "name": "scsi-block"
-    },
-    {
-      "name": "7451_v2.3-powerpc64-cpu"
-    },
-    {
-      "name": "pci-bridge"
-    },
-    {
-      "name": "603e_v1.1-powerpc64-cpu"
-    },
-    {
-      "name": "eTSEC"
-    },
-    {
-      "name": "scsi-cd"
-    },
-    {
-      "name": "pxb-bus"
-    },
-    {
-      "name": "uni-north-agp"
-    },
-    {
-      "name": "440EPX-powerpc64-cpu"
-    },
-    {
-      "name": "MPC5200B_v20-powerpc64-cpu"
-    },
-    {
-      "name": "accel"
-    },
-    {
-      "name": "740p-powerpc64-cpu"
-    },
-    {
-      "name": "virtio-vga"
-    },
-    {
-      "name": "440-Xilinx-powerpc64-cpu"
-    },
-    {
-      "name": "spapr-rng"
-    },
-    {
-      "name": "xlnx.xps-timer"
-    },
-    {
-      "name": "isa-serial"
-    },
-    {
-      "name": "virtio-serial-device"
-    },
-    {
-      "name": "970_v2.2-powerpc64-cpu"
-    },
-    {
-      "name": "vhost-scsi-pci"
-    },
-    {
-      "name": "tls-creds-anon"
-    },
-    {
-      "name": "pc-testdev"
-    },
-    {
-      "name": "icskvm"
-    },
-    {
-      "name": "escc"
-    },
-    {
-      "name": "usb-uas"
-    },
-    {
-      "name": "fw_cfg_mem"
-    },
-    {
-      "name": "603e_v3-powerpc64-cpu"
-    },
-    {
-      "name": "pseries-2.3-machine"
-    },
-    {
-      "name": "MPC8347T-powerpc64-cpu"
-    },
-    {
-      "name": "taihu-machine"
-    },
-    {
-      "name": "icp-kvm"
-    },
-    {
-      "name": "MPC8555_v10-powerpc64-cpu"
-    },
-    {
-      "name": "G2-powerpc64-cpu"
-    },
-    {
-      "name": "virtio-balloon-pci"
-    },
-    {
-      "name": "ide-cd"
-    },
-    {
-      "name": "usb-ccid"
-    },
-    {
-      "name": "7445_v3.4-powerpc64-cpu"
-    },
-    {
-      "name": "745_v2.1-powerpc64-cpu"
-    },
-    {
-      "name": "pseries-2.2-machine"
-    },
-    {
-      "name": "750p-powerpc64-cpu"
-    },
-    {
-      "name": "403GCX-powerpc64-cpu"
-    },
-    {
-      "name": "iothread"
-    },
-    {
-      "name": "sb16"
-    },
-    {
-      "name": "750gl-powerpc64-cpu"
-    },
-    {
-      "name": "filter-redirector"
-    },
-    {
-      "name": "7410_v1.1-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8347EP-powerpc64-cpu"
-    },
-    {
-      "name": "755_v2.3-powerpc64-cpu"
-    },
-    {
-      "name": "MPC5200_v11-powerpc64-cpu"
-    },
-    {
-      "name": "7450_v1.0-powerpc64-cpu"
-    },
-    {
-      "name": "750_v2.2-powerpc64-cpu"
-    },
-    {
-      "name": "POWER7_v2.3-powerpc64-cpu"
-    },
-    {
-      "name": "i82559er"
-    },
-    {
-      "name": "MPC8545E_v21-powerpc64-cpu"
-    },
-    {
-      "name": "sdhci-pci"
-    },
-    {
-      "name": "virtio-input-host-device"
-    },
-    {
-      "name": "403GB-powerpc64-cpu"
-    },
-    {
-      "name": "G2le-powerpc64-cpu"
-    },
-    {
-      "name": "745_v2.6-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8548E_v21-powerpc64-cpu"
-    },
-    {
-      "name": "cs4231a"
-    },
-    {
-      "name": "755_v2.8-powerpc64-cpu"
-    },
-    {
-      "name": "604e_v2.4-powerpc64-cpu"
-    },
-    {
-      "name": "ivshmem-doorbell"
-    },
-    {
-      "name": "750cxe_v2.2-powerpc64-cpu"
-    },
-    {
-      "name": "750cx_v1.0-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8343-powerpc64-cpu"
-    },
-    {
-      "name": "virtio-rng-device"
-    },
-    {
-      "name": "G2leLS-powerpc64-cpu"
-    },
-    {
-      "name": "isa-parallel"
-    },
-    {
-      "name": "MPC8548E_v10-powerpc64-cpu"
-    },
-    {
-      "name": "adlib"
-    },
-    {
-      "name": "602-powerpc64-cpu"
-    },
-    {
-      "name": "pci-bridge-seat"
-    },
-    {
-      "name": "hda-micro"
-    },
-    {
-      "name": "fw_cfg_io"
-    },
-    {
-      "name": "dc390"
-    },
-    {
-      "name": "POWER5+_v2.1-powerpc64-cpu"
-    },
-    {
-      "name": "740_v3.0-powerpc64-cpu"
-    },
-    {
-      "name": "7441_v2.1-powerpc64-cpu"
-    },
-    {
-      "name": "IDE"
-    },
-    {
-      "name": "MPC8533_v10-powerpc64-cpu"
-    },
-    {
-      "name": "e300c3-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8641D-powerpc64-cpu"
-    },
-    {
-      "name": "401E2-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8347EAP-powerpc64-cpu"
-    },
-    {
-      "name": "spapr-pci-host-bridge"
-    },
-    {
-      "name": "memory-backend-ram"
-    },
-    {
-      "name": "am53c974"
-    },
-    {
-      "name": "pseries-2.5-machine"
-    },
-    {
-      "name": "750cx_v2.0-powerpc64-cpu"
-    },
-    {
-      "name": "POWER7+_v2.1-powerpc64-cpu"
-    },
-    {
-      "name": "virtio-blk-device"
-    },
-    {
-      "name": "745_v1.1-powerpc64-cpu"
-    },
-    {
-      "name": "601_v1-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8544_v10-powerpc64-cpu"
-    },
-    {
-      "name": "740_v1.0-powerpc64-cpu"
-    },
-    {
-      "name": "qio-channel-websock"
-    },
-    {
-      "name": "pseries-2.4-machine"
-    },
-    {
-      "name": "mc146818rtc"
-    },
-    {
-      "name": "spapr-nvram"
-    },
-    {
-      "name": "qio-channel-file"
-    },
-    {
-      "name": "uni-north-pci"
-    },
-    {
-      "name": "750fx_v2.2-powerpc64-cpu"
-    },
-    {
-      "name": "603e_v1.2-powerpc64-cpu"
-    },
-    {
-      "name": "hda-output"
-    },
-    {
-      "name": "MPC603-powerpc64-cpu"
-    },
-    {
-      "name": "sysbus-m48t08"
-    },
-    {
-      "name": "raven"
-    },
-    {
-      "name": "440EPb-powerpc64-cpu"
-    },
-    {
-      "name": "VGA"
-    },
-    {
-      "name": "i8257"
-    },
-    {
-      "name": "sysbus-m48t02"
-    },
-    {
-      "name": "pc87312"
-    },
-    {
-      "name": "mptsas1068"
-    },
-    {
-      "name": "edu"
-    },
-    {
-      "name": "MPC8347P-powerpc64-cpu"
-    },
-    {
-      "name": "virtio-mouse-pci"
-    },
-    {
-      "name": "740_v2.0-powerpc64-cpu"
-    },
-    {
-      "name": "7455_v3.2-powerpc64-cpu"
-    },
-    {
-      "name": "spapr-vlan"
-    },
-    {
-      "name": "603e_v4-powerpc64-cpu"
-    },
-    {
-      "name": "HDA"
-    },
-    {
-      "name": "603e_v2.2-powerpc64-cpu"
-    },
-    {
-      "name": "7447_v1.1-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8543E_v20-powerpc64-cpu"
-    },
-    {
-      "name": "macio-oldworld"
-    },
-    {
-      "name": "qemu:memory-region"
-    },
-    {
-      "name": "adb-keyboard"
-    },
-    {
-      "name": "G2LS-powerpc64-cpu"
-    },
-    {
-      "name": "sysbus-ohci"
-    },
-    {
-      "name": "7445_v1.0-powerpc64-cpu"
-    },
-    {
-      "name": "755_v2.4-powerpc64-cpu"
-    },
-    {
-      "name": "7450_v1.1-powerpc64-cpu"
-    },
-    {
-      "name": "e600-powerpc64-cpu"
-    },
-    {
-      "name": "qio-channel-command"
-    },
-    {
-      "name": "usb-serial"
-    },
-    {
-      "name": "x2vp20-powerpc64-cpu"
-    },
-    {
-      "name": "qtest-accel"
-    },
-    {
-      "name": "pseries-2.6-machine"
-    },
-    {
-      "name": "750l_v2.0-powerpc64-cpu"
-    },
-    {
-      "name": "750fl-powerpc64-cpu"
-    },
-    {
-      "name": "vt82c686b-usb-uhci"
-    },
-    {
-      "name": "pxb-host"
-    },
-    {
-      "name": "405D2-powerpc64-cpu"
-    },
-    {
-      "name": "virtio-blk-pci"
-    },
-    {
-      "name": "virtio-gpu-device"
-    },
-    {
-      "name": "MPC8560_v20-powerpc64-cpu"
-    },
-    {
-      "name": "750gx_v1.0-powerpc64-cpu"
-    },
-    {
-      "name": "QJSON"
-    },
-    {
-      "name": "System"
-    },
-    {
-      "name": "lsi53c810"
-    },
-    {
-      "name": "uni-north-agp-pcihost"
-    },
-    {
-      "name": "IOP480-powerpc64-cpu"
-    },
-    {
-      "name": "603e7t-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8548E_v11-powerpc64-cpu"
-    },
-    {
-      "name": "405GPd-powerpc64-cpu"
-    },
-    {
-      "name": "603-powerpc64-cpu"
-    },
-    {
-      "name": "G2GP-powerpc64-cpu"
-    },
-    {
-      "name": "7400_v2.9-powerpc64-cpu"
-    },
-    {
-      "name": "750cxe_v3.1b-powerpc64-cpu"
-    },
-    {
-      "name": "G2leGP-powerpc64-cpu"
-    },
-    {
-      "name": "7450_v2.1-powerpc64-cpu"
-    },
-    {
-      "name": "7448_v2.0-powerpc64-cpu"
-    },
-    {
-      "name": "mac99-machine"
-    },
-    {
-      "name": "e300c4-powerpc64-cpu"
-    },
-    {
-      "name": "750l_v3.0-powerpc64-cpu"
-    },
-    {
-      "name": "MPC5200B_v21-powerpc64-cpu"
-    },
-    {
-      "name": "PCIE"
-    },
-    {
-      "name": "750cx_v2.1-powerpc64-cpu"
-    },
-    {
-      "name": "cuda"
-    },
-    {
-      "name": "604e_v1.0-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8572E-powerpc64-cpu"
-    },
-    {
-      "name": "virtio-serial-bus"
-    },
-    {
-      "name": "vhost-scsi"
-    },
-    {
-      "name": "secondary-vga"
-    },
-    {
-      "name": "401D2-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8544_v11-powerpc64-cpu"
-    },
-    {
-      "name": "e500-ccsr"
-    },
-    {
-      "name": "601_v2-powerpc64-cpu"
-    },
-    {
-      "name": "405EP-powerpc64-cpu"
-    },
-    {
-      "name": "ccid-bus"
-    },
-    {
-      "name": "pci-ohci"
-    },
-    {
-      "name": "cfi.pflash02"
-    },
-    {
-      "name": "cfi.pflash01"
-    },
-    {
-      "name": "usb-hub"
-    },
-    {
-      "name": "750fx_v2.3-powerpc64-cpu"
-    },
-    {
-      "name": "405LP-powerpc64-cpu"
-    },
-    {
-      "name": "nmi"
-    },
-    {
-      "name": "MPC8541_v10-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8555_v11-powerpc64-cpu"
-    },
-    {
-      "name": "input-linux"
-    },
-    {
-      "name": "x2vp4-powerpc64-cpu"
-    },
-    {
-      "name": "7410_v1.2-powerpc64-cpu"
-    },
-    {
-      "name": "xics-kvm"
-    },
-    {
-      "name": "7400_v1.0-powerpc64-cpu"
-    },
-    {
-      "name": "745_v2.2-powerpc64-cpu"
-    },
-    {
-      "name": "vfio-amd-xgbe"
-    },
-    {
-      "name": "740_v2.1-powerpc64-cpu"
-    },
-    {
-      "name": "MPC5200_v12-powerpc64-cpu"
-    },
-    {
-      "name": "7448_v1.0-powerpc64-cpu"
-    },
-    {
-      "name": "e5500-powerpc64-cpu"
-    },
-    {
-      "name": "xlnx.xps-uartlite"
-    },
-    {
-      "name": "403GC-powerpc64-cpu"
-    },
-    {
-      "name": "pci-serial"
-    },
-    {
-      "name": "745_v2.7-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8543_v20-powerpc64-cpu"
-    },
-    {
-      "name": "i8042"
-    },
-    {
-      "name": "750cxe_v2.3-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8543E_v21-powerpc64-cpu"
-    },
-    {
-      "name": "i82559c"
-    },
-    {
-      "name": "i82559b"
-    },
-    {
-      "name": "i82559a"
-    },
-    {
-      "name": "SCSI"
-    },
-    {
-      "name": "rocker"
-    },
-    {
-      "name": "pcnet"
-    },
-    {
-      "name": "rng-egd"
-    },
-    {
-      "name": "MPC8543E_v10-powerpc64-cpu"
-    },
-    {
-      "name": "405CRa-powerpc64-cpu"
-    },
-    {
-      "name": "spapr-tce-table"
-    },
-    {
-      "name": "7400_v2.0-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8349-powerpc64-cpu"
-    },
-    {
-      "name": "e200z5-powerpc64-cpu"
-    },
-    {
-      "name": "740_v3.1-powerpc64-cpu"
-    },
-    {
-      "name": "filter-dump"
-    },
-    {
-      "name": "MPC8533_v11-powerpc64-cpu"
-    },
-    {
-      "name": "i82558b"
-    },
-    {
-      "name": "G2H4-powerpc64-cpu"
-    },
-    {
-      "name": "i82558a"
-    },
-    {
-      "name": "MPC8560_v21-powerpc64-cpu"
-    },
-    {
-      "name": "smbus-eeprom"
-    },
-    {
-      "name": "i82801"
-    },
-    {
-      "name": "tls-creds-x509"
-    },
-    {
-      "name": "virtio-net-pci"
-    },
-    {
-      "name": "virtio-keyboard-device"
-    },
-    {
-      "name": "i82562"
-    },
-    {
-      "name": "usb-net"
-    },
-    {
-      "name": "MPC8560_v10-powerpc64-cpu"
-    },
-    {
-      "name": "603e_v1.3-powerpc64-cpu"
-    },
-    {
-      "name": "755_v1.0-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8568E-powerpc64-cpu"
-    },
-    {
-      "name": "i82557c"
-    },
-    {
-      "name": "i82557b"
-    },
-    {
-      "name": "i82557a"
-    },
-    {
-      "name": "isa-i8259"
-    },
-    {
-      "name": "virtio-gpu-pci"
-    },
-    {
-      "name": "usb-mouse"
-    },
-    {
-      "name": "sdhci-bus"
-    },
-    {
-      "name": "i82551"
-    },
-    {
-      "name": "i82550"
-    },
-    {
-      "name": "405EZ-powerpc64-cpu"
-    },
-    {
-      "name": "7455_v3.3-powerpc64-cpu"
-    },
-    {
-      "name": "apple-desktop-bus"
-    },
-    {
-      "name": "e500v2_v30-powerpc64-cpu"
-    },
-    {
-      "name": "macio-ide"
-    },
-    {
-      "name": "401C2-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8541_v11-powerpc64-cpu"
-    },
-    {
-      "name": "nec-usb-xhci"
-    },
-    {
-      "name": "755_v2.0-powerpc64-cpu"
-    },
-    {
-      "name": "filter-mirror"
-    },
-    {
-      "name": "user-creatable"
-    },
-    {
-      "name": "ich9-usb-ehci2"
-    },
-    {
-      "name": "ich9-usb-ehci1"
-    },
-    {
-      "name": "vfio-pci"
-    },
-    {
-      "name": "prep-machine"
-    },
-    {
-      "name": "irq"
-    },
-    {
-      "name": "isa-ide"
-    },
-    {
-      "name": "405GPR-powerpc64-cpu"
-    },
-    {
-      "name": "750l_v2.1-powerpc64-cpu"
-    },
-    {
-      "name": "745_v2.3-powerpc64-cpu"
-    },
-    {
-      "name": "7410_v1.3-powerpc64-cpu"
-    },
-    {
-      "name": "755_v2.5-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8572-powerpc64-cpu"
-    },
-    {
-      "name": "7450_v1.2-powerpc64-cpu"
-    },
-    {
-      "name": "7457_v1.0-powerpc64-cpu"
-    },
-    {
-      "name": "7457A_v1.0-powerpc64-cpu"
-    },
-    {
-      "name": "POWER8NVL_v1.0-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8347AT-powerpc64-cpu"
-    },
-    {
-      "name": "qio-channel-socket"
-    },
-    {
-      "name": "piix3-usb-uhci"
-    },
-    {
-      "name": "sd-bus"
-    },
-    {
-      "name": "virtserialport"
-    },
-    {
-      "name": "pvscsi"
-    },
-    {
-      "name": "MPC8548_v20-powerpc64-cpu"
-    },
-    {
-      "name": "750cxe_v2.4-powerpc64-cpu"
-    },
-    {
-      "name": "i82378"
-    },
-    {
-      "name": "MPC8543E_v11-powerpc64-cpu"
-    },
-    {
-      "name": "750gx_v1.1-powerpc64-cpu"
-    },
-    {
-      "name": "ich9-ahci"
-    },
-    {
-      "name": "e500_v20-powerpc64-cpu"
-    },
-    {
-      "name": "7445_v2.1-powerpc64-cpu"
-    },
-    {
-      "name": "i82374"
-    },
-    {
-      "name": "7447A_v1.0-powerpc64-cpu"
-    },
-    {
-      "name": "gus"
-    },
-    {
-      "name": "pc-dimm"
-    },
-    {
-      "name": "MPC8543_v10-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8540_v20-powerpc64-cpu"
-    },
-    {
-      "name": "604-powerpc64-cpu"
-    },
-    {
-      "name": "405CRb-powerpc64-cpu"
-    },
-    {
-      "name": "g3beige-machine"
-    },
-    {
-      "name": "7400_v2.1-powerpc64-cpu"
-    },
-    {
-      "name": "isa-dma"
-    },
-    {
-      "name": "xics-common"
-    },
-    {
-      "name": "7441_v2.3-powerpc64-cpu"
-    },
-    {
-      "name": "7448_v2.1-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8377-powerpc64-cpu"
-    },
-    {
-      "name": "401A1-powerpc64-cpu"
-    },
-    {
-      "name": "603e7-powerpc64-cpu"
-    },
-    {
-      "name": "IndustryPack"
-    },
-    {
-      "name": "adb-mouse"
-    },
-    {
-      "name": "Npe405L-powerpc64-cpu"
-    },
-    {
-      "name": "nvram"
-    },
-    {
-      "name": "750cx_v2.2-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8343E-powerpc64-cpu"
-    },
-    {
-      "name": "7451_v2.10-powerpc64-cpu"
-    },
-    {
-      "name": "virtio-rng-pci"
-    },
-    {
-      "name": "usb-ehci"
-    },
-    {
-      "name": "bamboo-machine"
-    },
-    {
-      "name": "G2leGP1-powerpc64-cpu"
-    },
-    {
-      "name": "603e_v1.4-powerpc64-cpu"
-    },
-    {
-      "name": "dec-21154-sysbus"
-    },
-    {
-      "name": "spapr-vty"
-    },
-    {
-      "name": "e1000-82545em"
-    },
-    {
-      "name": "7441_v2.10-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8567E-powerpc64-cpu"
-    },
-    {
-      "name": "virtio-9p-pci"
-    },
-    {
-      "name": "7400_v1.1-powerpc64-cpu"
-    },
-    {
-      "name": "e1000-82544gc"
-    },
-    {
-      "name": "740_v2.2-powerpc64-cpu"
-    },
-    {
-      "name": "7448_v1.1-powerpc64-cpu"
-    },
-    {
-      "name": "7455_v3.4-powerpc64-cpu"
-    },
-    {
-      "name": "e500-spin"
-    },
-    {
-      "name": "745_v2.8-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8547E_v20-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8543_v21-powerpc64-cpu"
-    },
-    {
-      "name": "755_v2.1-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8349E-powerpc64-cpu"
-    },
-    {
-      "name": "401B2-powerpc64-cpu"
-    },
-    {
-      "name": "filter-buffer"
-    },
-    {
-      "name": "mpc8544ds-machine"
-    },
-    {
-      "name": "pci-serial-4x"
-    },
-    {
-      "name": "ich9-intel-hda"
-    },
-    {
-      "name": "virtio-9p-device"
-    },
-    {
-      "name": "MPC8347AP-powerpc64-cpu"
-    },
-    {
-      "name": "ivshmem"
-    },
-    {
-      "name": "e500v2_v20-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8379E-powerpc64-cpu"
-    },
-    {
-      "name": "virtio-scsi-pci"
-    },
-    {
-      "name": "e200z6-powerpc64-cpu"
-    },
-    {
-      "name": "7457A_v1.1-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8555E_v10-powerpc64-cpu"
-    },
-    {
-      "name": "qemu-console"
-    },
-    {
-      "name": "ppce500-machine"
-    },
-    {
-      "name": "virtio-pci-bus"
-    },
-    {
-      "name": "750l_v2.2-powerpc64-cpu"
-    },
-    {
-      "name": "ISA"
-    },
-    {
-      "name": "MPC8541E_v10-powerpc64-cpu"
-    },
-    {
-      "name": "ipoctal232"
-    },
-    {
-      "name": "mpc8544-guts"
-    },
-    {
-      "name": "uni-north-pci-pcihost"
-    },
-    {
-      "name": "MPC8548_v21-powerpc64-cpu"
-    },
-    {
-      "name": "pci-testdev"
-    },
-    {
-      "name": "405GPa-powerpc64-cpu"
-    },
-    {
-      "name": "piix4-usb-uhci"
-    },
-    {
-      "name": "7400_v2.6-powerpc64-cpu"
-    },
-    {
-      "name": "virtio-tablet-device"
-    },
-    {
-      "name": "Npe405H-powerpc64-cpu"
-    },
-    {
-      "name": "750_v3.0-powerpc64-cpu"
-    },
-    {
-      "name": "Npe405H2-powerpc64-cpu"
-    },
-    {
-      "name": "603e7v-powerpc64-cpu"
-    },
-    {
-      "name": "ES1370"
-    },
-    {
-      "name": "openpic"
-    },
-    {
-      "name": "755_v1.1-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8548_v10-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8545_v20-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8567-powerpc64-cpu"
-    },
-    {
-      "name": "STB03-powerpc64-cpu"
-    },
-    {
-      "name": "e500_v10-powerpc64-cpu"
-    },
-    {
-      "name": "750cxe_v3.0-powerpc64-cpu"
-    },
-    {
-      "name": "G2HiP3-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8378-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8343A-powerpc64-cpu"
-    },
-    {
-      "name": "tcg-accel"
-    },
-    {
-      "name": "750_v1.0-powerpc64-cpu"
-    },
-    {
-      "name": "virtconsole"
-    },
-    {
-      "name": "MPC8540_v10-powerpc64-cpu"
-    },
-    {
-      "name": "750l_v3.2-powerpc64-cpu"
-    },
-    {
-      "name": "pci-serial-2x"
-    },
-    {
-      "name": "ne2k_isa"
-    },
-    {
-      "name": "isa-fdc"
-    },
-    {
-      "name": "virtio-mmio-bus"
-    },
-    {
-      "name": "virtio-tablet-pci"
-    },
-    {
-      "name": "usb-bus"
-    },
-    {
-      "name": "7445_v3.2-powerpc64-cpu"
-    },
-    {
-      "name": "hotplug-handler"
-    },
-    {
-      "name": "PCI"
-    },
-    {
-      "name": "kvm-openpic"
-    },
-    {
-      "name": "usb-storage"
-    },
-    {
-      "name": "esp"
-    },
-    {
-      "name": "virtex-ml507-machine"
-    },
-    {
-      "name": "750_v2.0-powerpc64-cpu"
-    },
-    {
-      "name": "e500-host-bridge"
-    },
-    {
-      "name": "745_v2.4-powerpc64-cpu"
-    },
-    {
-      "name": "usb-kbd"
-    },
-    {
-      "name": "ne2k_pci"
-    },
-    {
-      "name": "Npe4GS3-powerpc64-cpu"
-    },
-    {
-      "name": "7410_v1.4-powerpc64-cpu"
-    },
-    {
-      "name": "isabus-bridge"
-    },
-    {
-      "name": "ivshmem-plain"
-    },
-    {
-      "name": "755_v2.6-powerpc64-cpu"
-    },
-    {
-      "name": "604e_v2.2-powerpc64-cpu"
-    },
-    {
-      "name": "qio-channel-buffer"
-    },
-    {
-      "name": "970fx_v3.0-powerpc64-cpu"
-    },
-    {
-      "name": "7457_v1.1-powerpc64-cpu"
-    },
-    {
-      "name": "u3-agp-pcihost"
-    },
-    {
-      "name": "spapr-vio-bridge"
-    },
-    {
-      "name": "secret"
-    },
-    {
-      "name": "pxb-pcie-bus"
-    },
-    {
-      "name": "hda-duplex"
-    },
-    {
-      "name": "scsi-disk"
-    },
-    {
-      "name": "spapr-dr-connector"
-    },
-    {
-      "name": "allwinner-ahci"
-    },
-    {
-      "name": "raven-pcihost"
-    },
-    {
-      "name": "sysbus-fdc"
-    },
-    {
-      "name": "405D4-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8544E_v10-powerpc64-cpu"
-    },
-    {
-      "name": "virtio-balloon-device"
-    },
-    {
-      "name": "MPC8641-powerpc64-cpu"
-    },
-    {
-      "name": "none-machine"
-    },
-    {
-      "name": "750fx_v1.0-powerpc64-cpu"
-    },
-    {
-      "name": "750gx_v1.2-powerpc64-cpu"
-    },
-    {
-      "name": "megasas-gen2"
-    },
-    {
-      "name": "AC97"
-    },
-    {
-      "name": "usb-tablet"
-    },
-    {
-      "name": "970fx_v1.0-powerpc64-cpu"
-    },
-    {
-      "name": "7400_v2.2-powerpc64-cpu"
-    },
-    {
-      "name": "e300c1-powerpc64-cpu"
-    },
-    {
-      "name": "e500v2_v21-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8540_v21-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8533E_v10-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8543_v11-powerpc64-cpu"
-    },
-    {
-      "name": "nvme"
-    },
-    {
-      "name": "7447A_v1.1-powerpc64-cpu"
-    },
-    {
-      "name": "405CRc-powerpc64-cpu"
-    },
-    {
-      "name": "740e-powerpc64-cpu"
-    },
-    {
-      "name": "usb-braille"
-    },
-    {
-      "name": "440-Xilinx-w-dfpu-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8555E_v11-powerpc64-cpu"
-    },
-    {
-      "name": "970mp_v1.0-powerpc64-cpu"
-    },
-    {
-      "name": "fw_cfg"
-    },
-    {
-      "name": "603e7v1-powerpc64-cpu"
-    },
-    {
-      "name": "e500mc-powerpc64-cpu"
-    },
-    {
-      "name": "e500v2_v10-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8378E-powerpc64-cpu"
-    },
-    {
-      "name": "intel-hda"
-    },
-    {
-      "name": "kvm-accel"
-    },
-    {
-      "name": "7400_v2.7-powerpc64-cpu"
-    },
-    {
-      "name": "virtio-scsi-device"
-    },
-    {
-      "name": "603p-powerpc64-cpu"
-    },
-    {
-      "name": "grackle"
-    },
-    {
-      "name": "Cobra-powerpc64-cpu"
-    },
-    {
-      "name": "POWER8E_v2.1-powerpc64-cpu"
-    },
-    {
-      "name": "750fx_v2.0-powerpc64-cpu"
-    },
-    {
-      "name": "usb-wacom-tablet"
-    },
-    {
-      "name": "970fx_v2.0-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8548_v11-powerpc64-cpu"
-    },
-    {
-      "name": "MPC8545_v21-powerpc64-cpu"
-    },
-    {
-      "name": "i2c-bus"
-    },
-    {
-      "name": "virtio-mouse-device"
-    },
-    {
-      "name": "pxb-pcie"
-    },
-    {
-      "name": "750e-powerpc64-cpu"
-    },
-    {
-      "name": "macio-nvram"
-    },
-    {
-      "name": "isa-pit"
-    },
-    {
-      "name": "i6300esb"
-    },
-    {
-      "name": "ide-drive"
-    },
-    {
-      "name": "generic-sdhci"
-    },
-    {
-      "name": "ref405ep-machine"
-    },
-    {
-      "name": "MPC8349A-powerpc64-cpu"
-    },
-    {
-      "name": "401G2-powerpc64-cpu"
-    },
-    {
-      "name": "pxb"
-    },
-    {
-      "name": "POWER8_v2.0-powerpc64-cpu"
-    },
-    {
-      "name": "sd-card"
-    },
-    {
-      "name": "STB25-powerpc64-cpu"
-    },
-    {
-      "name": "grackle-pcihost"
-    },
-    {
-      "name": "MPC8547E_v21-powerpc64-cpu"
-    },
-    {
-      "name": "7455_v1.0-powerpc64-cpu"
-    },
-    {
-      "name": "745_v2.0-powerpc64-cpu"
-    },
-    {
-      "name": "755_v2.2-powerpc64-cpu"
-    },
-    {
-      "name": "e500-pcihost"
-    },
-    {
-      "name": "vmxnet3"
-    },
-    {
-      "name": "750_v2.1-powerpc64-cpu"
-    },
-    {
-      "name": "vfio-calxeda-xgmac"
-    },
-    {
-      "name": "MPC8545E_v20-powerpc64-cpu"
-    },
-    {
-      "name": "uni-north-internal-pci"
-    },
-    {
-      "name": "spapr-rtc"
-    },
-    {
-      "name": "MPC8347ET-powerpc64-cpu"
-    },
-    {
-      "name": "755_v2.7-powerpc64-cpu"
-    },
-    {
-      "name": "7457A_v1.2-powerpc64-cpu"
-    },
-    {
-      "name": "750cxe_v2.1-powerpc64-cpu"
-    },
-    {
-      "name": "rng-random"
-    },
-    {
-      "name": "750cl_v1.0-powerpc64-cpu"
-    },
-    {
-      "name": "fw-path-provider"
-    }
-  ],
-  "id": "libvirt-8"
-}
-
-{
-  "return": [
-    {
-      "name": "request-merging",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "secs",
-      "type": "uint32"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "heads",
-      "type": "uint32"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "ioeventfd",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "scsi",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "cyls",
-      "type": "uint32"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "x-disable-pcie",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "iothread",
-      "type": "link<iothread>"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "class",
-      "type": "uint32"
-    },
-    {
-      "name": "migrate-extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "modern-pio-notify",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vectors",
-      "type": "uint32"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-blk-device>"
-    },
-    {
-      "name": "config-wce",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-9"
-}
-
-{
-  "return": [
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-txtimer",
-      "type": "uint32"
-    },
-    {
-      "name": "guest_ufo",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "mq",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "status",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host_ecn",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ioeventfd",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "tx",
-      "type": "str"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "ctrl_rx_extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_vq",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "mac",
-      "description": "Ethernet 6-byte MAC Address, example: 52:54:00:12:34:56",
-      "type": "str"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-disable-pcie",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_tso6",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "gso",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_ecn",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_rx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_tso4",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_csum",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_announce",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-txburst",
-      "type": "int32"
-    },
-    {
-      "name": "ctrl_vlan",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "csum",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "mrg_rxbuf",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_guest_offloads",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host_tso6",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_mac_addr",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "migrate-extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "modern-pio-notify",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vectors",
-      "type": "uint32"
-    },
-    {
-      "name": "vlan",
-      "description": "Integer VLAN id to connect to",
-      "type": "int32"
-    },
-    {
-      "name": "host_tso4",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host_ufo",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-net-device>"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "netdev",
-      "description": "ID of a netdev to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-10"
-}
-
-{
-  "return": [
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ioeventfd",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "cmd_per_lun",
-      "type": "uint32"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "param_change",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "iothread",
-      "type": "link<iothread>"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "migrate-extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "hotplug",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "modern-pio-notify",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "num_queues",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-scsi-device>"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vectors",
-      "type": "uint32"
-    },
-    {
-      "name": "x-disable-pcie",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "max_sectors",
-      "type": "uint32"
-    },
-    {
-      "name": "rombar",
-      "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"
-  }
-}
-
-{
-  "id": "libvirt-18",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'kvm-pci-assign' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "x-pci-sub-device-id",
-      "type": "uint32"
-    },
-    {
-      "name": "x-no-kvm-msi",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "x-vga",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-pci-vendor-id",
-      "type": "uint32"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "x-req",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "x-no-kvm-intx",
-      "type": "bool"
-    },
-    {
-      "name": "x-pci-device-id",
-      "type": "uint32"
-    },
-    {
-      "name": "host",
-      "description": "Address (bus/device/function) of the host device, example: 04:10.0",
-      "type": "str"
-    },
-    {
-      "name": "x-no-kvm-msix",
-      "type": "bool"
-    },
-    {
-      "name": "x-intx-mmap-timeout-ms",
-      "type": "uint32"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "x-pci-sub-vendor-id",
-      "type": "uint32"
-    },
-    {
-      "name": "sysfsdev",
-      "type": "str"
-    },
-    {
-      "name": "x-no-mmap",
-      "type": "bool"
-    }
-  ],
-  "id": "libvirt-19"
-}
-
-{
-  "return": [
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "port_index",
-      "type": "uint16"
-    },
-    {
-      "name": "dpofua",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "lun",
-      "type": "uint32"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "port_wwn",
-      "type": "uint64"
-    },
-    {
-      "name": "max_unmap_size",
-      "type": "uint64"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "product",
-      "type": "str"
-    },
-    {
-      "name": "vendor",
-      "type": "str"
-    },
-    {
-      "name": "channel",
-      "type": "uint32"
-    },
-    {
-      "name": "wwn",
-      "type": "uint64"
-    },
-    {
-      "name": "removable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "scsi-id",
-      "type": "uint32"
-    },
-    {
-      "name": "ver",
-      "type": "str"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "max_io_size",
-      "type": "uint64"
-    }
-  ],
-  "id": "libvirt-20"
-}
-
-{
-  "return": [
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "unit",
-      "type": "uint32"
-    },
-    {
-      "name": "wwn",
-      "type": "uint64"
-    },
-    {
-      "name": "model",
-      "type": "str"
-    },
-    {
-      "name": "ver",
-      "type": "str"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    }
-  ],
-  "id": "libvirt-21"
-}
-
-{
-  "id": "libvirt-22",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'PIIX4_PM' not found"
-  }
-}
-
-{
-  "id": "libvirt-23",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'usb-redir' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "isobufs",
-      "type": "uint32"
-    },
-    {
-      "name": "hostaddr",
-      "type": "uint32"
-    },
-    {
-      "name": "msos-desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "productid",
-      "type": "uint32"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "isobsize",
-      "type": "uint32"
-    },
-    {
-      "name": "port",
-      "type": "str"
-    },
-    {
-      "name": "vendorid",
-      "type": "uint32"
-    },
-    {
-      "name": "pipeline",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "hostport",
-      "type": "str"
-    },
-    {
-      "name": "full-path",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "loglevel",
-      "type": "uint32"
-    },
-    {
-      "name": "hostbus",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-24"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "lun",
-      "type": "uint32"
-    },
-    {
-      "name": "channel",
-      "type": "uint32"
-    },
-    {
-      "name": "scsi-id",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-25"
-}
-
-{
-  "id": "libvirt-26",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'i440FX-pcihost' not found"
-  }
-}
-
-{
-  "id": "libvirt-27",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'q35-pcihost' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "msos-desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "port",
-      "type": "str"
-    },
-    {
-      "name": "full-path",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "removable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    }
-  ],
-  "id": "libvirt-28"
-}
-
-{
-  "id": "libvirt-29",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'kvm-pit' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "mmio",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "qemu-extended-regs",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "big-endian-framebuffer",
-      "type": "bool"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "vgamem_mb",
-      "type": "uint32"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    }
-  ],
-  "id": "libvirt-30"
-}
-
-{
-  "id": "libvirt-31",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'vmware-svga' not found"
-  }
-}
-
-{
-  "id": "libvirt-32",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'qxl' not found"
-  }
-}
-
-{
-  "id": "libvirt-33",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'qxl-vga' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ioeventfd",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "migrate-extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "modern-pio-notify",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-gpu-device>"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vectors",
-      "type": "uint32"
-    },
-    {
-      "name": "x-disable-pcie",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "max_outputs",
-      "type": "uint32"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-34"
-}
-
-{
-  "id": "libvirt-35",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'ICH9-LPC' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "class",
-      "type": "uint32"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest-stats-polling-interval",
-      "type": "int"
-    },
-    {
-      "name": "guest-stats",
-      "type": "guest statistics"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "migrate-extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "modern-pio-notify",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-balloon-device>"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-disable-pcie",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "deflate-on-oom",
-      "description": "on/off",
-      "type": "bool"
-    }
-  ],
-  "id": "libvirt-36"
-}
-
-{
-  "id": "libvirt-37",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'virtio-balloon-ccw' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest-stats",
-      "type": "guest statistics"
-    },
-    {
-      "name": "guest-stats-polling-interval",
-      "type": "int"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "deflate-on-oom",
-      "description": "on/off",
-      "type": "bool"
-    }
-  ],
-  "id": "libvirt-38"
-}
-
-{
-  "return": [
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "intrs",
-      "type": "uint32"
-    },
-    {
-      "name": "msix",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "msi",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "superspeed-ports-first",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "streams",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "force-pcie-endcap",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "p3",
-      "type": "uint32"
-    },
-    {
-      "name": "p2",
-      "type": "uint32"
-    },
-    {
-      "name": "slots",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-39"
-}
-
-{
-  "return": [
-    {
-      "name": "ref405ep",
-      "cpu-max": 1
-    },
-    {
-      "name": "none",
-      "cpu-max": 1
-    },
-    {
-      "name": "virtex-ml507",
-      "cpu-max": 1
-    },
-    {
-      "name": "ppce500",
-      "cpu-max": 32
-    },
-    {
-      "name": "mpc8544ds",
-      "cpu-max": 15
-    },
-    {
-      "name": "bamboo",
-      "cpu-max": 1
-    },
-    {
-      "name": "g3beige",
-      "cpu-max": 1
-    },
-    {
-      "name": "prep",
-      "cpu-max": 1
-    },
-    {
-      "name": "mac99",
-      "cpu-max": 1
-    },
-    {
-      "name": "pseries-2.6",
-      "is-default": true,
-      "cpu-max": 255,
-      "alias": "pseries"
-    },
-    {
-      "name": "pseries-2.4",
-      "cpu-max": 255
-    },
-    {
-      "name": "pseries-2.5",
-      "cpu-max": 255
-    },
-    {
-      "name": "pseries-2.2",
-      "cpu-max": 255
-    },
-    {
-      "name": "taihu",
-      "cpu-max": 1
-    },
-    {
-      "name": "pseries-2.3",
-      "cpu-max": 255
-    },
-    {
-      "name": "pseries-2.1",
-      "cpu-max": 255
-    }
-  ],
-  "id": "libvirt-40"
-}
-
-{
-  "return": [
-    {
-      "name": "default"
-    },
-    {
-      "name": "ppc"
-    },
-    {
-      "name": "ppc32"
-    },
-    {
-      "name": "ppc64"
-    },
-    {
-      "name": "970mp"
-    },
-    {
-      "name": "970fx"
-    },
-    {
-      "name": "970"
-    },
-    {
-      "name": "POWER8NVL"
-    },
-    {
-      "name": "POWER8"
-    },
-    {
-      "name": "POWER8E"
-    },
-    {
-      "name": "POWER7+"
-    },
-    {
-      "name": "POWER7"
-    },
-    {
-      "name": "POWER5gs"
-    },
-    {
-      "name": "POWER5+"
-    },
-    {
-      "name": "Apollo7PM"
-    },
-    {
-      "name": "7457A"
-    },
-    {
-      "name": "7447A"
-    },
-    {
-      "name": "Apollo7"
-    },
-    {
-      "name": "7457"
-    },
-    {
-      "name": "Apollo6"
-    },
-    {
-      "name": "7455"
-    },
-    {
-      "name": "7445"
-    },
-    {
-      "name": "7451"
-    },
-    {
-      "name": "7441"
-    },
-    {
-      "name": "Vger"
-    },
-    {
-      "name": "7450"
-    },
-    {
-      "name": "7448"
-    },
-    {
-      "name": "Nitro"
-    },
-    {
-      "name": "7410"
-    },
-    {
-      "name": "G4"
-    },
-    {
-      "name": "Max"
-    },
-    {
-      "name": "7400"
-    },
-    {
-      "name": "Goldfinger"
-    },
-    {
-      "name": "755"
-    },
-    {
-      "name": "745"
-    },
-    {
-      "name": "LoneStar"
-    },
-    {
-      "name": "750l"
-    },
-    {
-      "name": "750gx"
-    },
-    {
-      "name": "750fx"
-    },
-    {
-      "name": "750cxe"
-    },
-    {
-      "name": "750cx"
-    },
-    {
-      "name": "750cl"
-    },
-    {
-      "name": "Conan/Doyle"
-    },
-    {
-      "name": "G3"
-    },
-    {
-      "name": "Typhoon"
-    },
-    {
-      "name": "750"
-    },
-    {
-      "name": "Arthur"
-    },
-    {
-      "name": "740"
-    },
-    {
-      "name": "Mach5"
-    },
-    {
-      "name": "Sirocco"
-    },
-    {
-      "name": "604e"
-    },
-    {
-      "name": "Goldeneye"
-    },
-    {
-      "name": "603r"
-    },
-    {
-      "name": "Vaillant"
-    },
-    {
-      "name": "Stretch"
-    },
-    {
-      "name": "603e"
-    },
-    {
-      "name": "Vanilla"
-    },
-    {
-      "name": "601v"
-    },
-    {
-      "name": "601"
-    },
-    {
-      "name": "MPC8560"
-    },
-    {
-      "name": "MPC8555E"
-    },
-    {
-      "name": "MPC8555"
-    },
-    {
-      "name": "MPC8548E"
-    },
-    {
-      "name": "MPC8548"
-    },
-    {
-      "name": "MPC8547E"
-    },
-    {
-      "name": "MPC8545E"
-    },
-    {
-      "name": "MPC8545"
-    },
-    {
-      "name": "MPC8544E"
-    },
-    {
-      "name": "MPC8544"
-    },
-    {
-      "name": "MPC8543E"
-    },
-    {
-      "name": "MPC8543"
-    },
-    {
-      "name": "MPC8541E"
-    },
-    {
-      "name": "MPC8541"
-    },
-    {
-      "name": "MPC8540"
-    },
-    {
-      "name": "MPC8533E"
-    },
-    {
-      "name": "MPC8533"
-    },
-    {
-      "name": "e500v2"
-    },
-    {
-      "name": "e500v1"
-    },
-    {
-      "name": "e500"
-    },
-    {
-      "name": "MPC8347EA"
-    },
-    {
-      "name": "MPC8347E"
-    },
-    {
-      "name": "MPC8347A"
-    },
-    {
-      "name": "MPC8347"
-    },
-    {
-      "name": "e300"
-    },
-    {
-      "name": "e200"
-    },
-    {
-      "name": "MPC8280"
-    },
-    {
-      "name": "MPC8275"
-    },
-    {
-      "name": "MPC8272"
-    },
-    {
-      "name": "MPC8271"
-    },
-    {
-      "name": "MPC8270"
-    },
-    {
-      "name": "MPC8266_HiP4"
-    },
-    {
-      "name": "MPC8266_HiP3"
-    },
-    {
-      "name": "MPC8266"
-    },
-    {
-      "name": "MPC8265_HiP4"
-    },
-    {
-      "name": "MPC8265_HiP3"
-    },
-    {
-      "name": "MPC8265"
-    },
-    {
-      "name": "MPC8264_HiP4"
-    },
-    {
-      "name": "MPC8264_HiP3"
-    },
-    {
-      "name": "MPC8264"
-    },
-    {
-      "name": "MPC8260_HiP4"
-    },
-    {
-      "name": "MPC8260_HiP3"
-    },
-    {
-      "name": "MPC8260"
-    },
-    {
-      "name": "MPC8255_HiP4"
-    },
-    {
-      "name": "MPC8255_HiP3"
-    },
-    {
-      "name": "MPC8255"
-    },
-    {
-      "name": "MPC8250_HiP4"
-    },
-    {
-      "name": "MPC8250_HiP3"
-    },
-    {
-      "name": "MPC8250"
-    },
-    {
-      "name": "MPC8248"
-    },
-    {
-      "name": "MPC8247"
-    },
-    {
-      "name": "MPC8245"
-    },
-    {
-      "name": "MPC8241"
-    },
-    {
-      "name": "PowerQUICC-II"
-    },
-    {
-      "name": "MPC82xx"
-    },
-    {
-      "name": "MPC5200B"
-    },
-    {
-      "name": "MPC5200"
-    },
-    {
-      "name": "MPC52xx"
-    },
-    {
-      "name": "MPC8240"
-    },
-    {
-      "name": "440EP"
-    },
-    {
-      "name": "x2vp50"
-    },
-    {
-      "name": "x2vp7"
-    },
-    {
-      "name": "405GPe"
-    },
-    {
-      "name": "405GP"
-    },
-    {
-      "name": "405CR"
-    },
-    {
-      "name": "405"
-    },
-    {
-      "name": "403"
-    },
-    {
-      "name": "750cl_v1.0"
-    },
-    {
-      "name": "750cxe_v2.1"
-    },
-    {
-      "name": "7457A_v1.2"
-    },
-    {
-      "name": "755_v2.7"
-    },
-    {
-      "name": "MPC8347ET"
-    },
-    {
-      "name": "MPC8545E_v20"
-    },
-    {
-      "name": "750_v2.1"
-    },
-    {
-      "name": "755_v2.2"
-    },
-    {
-      "name": "745_v2.0"
-    },
-    {
-      "name": "7455_v1.0"
-    },
-    {
-      "name": "MPC8547E_v21"
-    },
-    {
-      "name": "STB25"
-    },
-    {
-      "name": "POWER8_v2.0"
-    },
-    {
-      "name": "401G2"
-    },
-    {
-      "name": "MPC8349A"
-    },
-    {
-      "name": "750e"
-    },
-    {
-      "name": "MPC8545_v21"
-    },
-    {
-      "name": "MPC8548_v11"
-    },
-    {
-      "name": "970fx_v2.0"
-    },
-    {
-      "name": "750fx_v2.0"
-    },
-    {
-      "name": "POWER8E_v2.1"
-    },
-    {
-      "name": "Cobra"
-    },
-    {
-      "name": "603p"
-    },
-    {
-      "name": "7400_v2.7"
-    },
-    {
-      "name": "MPC8378E"
-    },
-    {
-      "name": "e500v2_v10"
-    },
-    {
-      "name": "e500mc"
-    },
-    {
-      "name": "603e7v1"
-    },
-    {
-      "name": "970mp_v1.0"
-    },
-    {
-      "name": "MPC8555E_v11"
-    },
-    {
-      "name": "440-Xilinx-w-dfpu"
-    },
-    {
-      "name": "740e"
-    },
-    {
-      "name": "405CRc"
-    },
-    {
-      "name": "7447A_v1.1"
-    },
-    {
-      "name": "MPC8543_v11"
-    },
-    {
-      "name": "MPC8533E_v10"
-    },
-    {
-      "name": "MPC8540_v21"
-    },
-    {
-      "name": "e500v2_v21"
-    },
-    {
-      "name": "e300c1"
-    },
-    {
-      "name": "7400_v2.2"
-    },
-    {
-      "name": "970fx_v1.0"
-    },
-    {
-      "name": "750gx_v1.2"
-    },
-    {
-      "name": "750fx_v1.0"
-    },
-    {
-      "name": "MPC8641"
-    },
-    {
-      "name": "MPC8544E_v10"
-    },
-    {
-      "name": "405D4"
-    },
-    {
-      "name": "7457_v1.1"
-    },
-    {
-      "name": "970fx_v3.0"
-    },
-    {
-      "name": "604e_v2.2"
-    },
-    {
-      "name": "755_v2.6"
-    },
-    {
-      "name": "7410_v1.4"
-    },
-    {
-      "name": "Npe4GS3"
-    },
-    {
-      "name": "745_v2.4"
-    },
-    {
-      "name": "750_v2.0"
-    },
-    {
-      "name": "7445_v3.2"
-    },
-    {
-      "name": "750l_v3.2"
-    },
-    {
-      "name": "MPC8540_v10"
-    },
-    {
-      "name": "750_v1.0"
-    },
-    {
-      "name": "MPC8343A"
-    },
-    {
-      "name": "MPC8378"
-    },
-    {
-      "name": "G2HiP3"
-    },
-    {
-      "name": "750cxe_v3.0"
-    },
-    {
-      "name": "e500_v10"
-    },
-    {
-      "name": "STB03"
-    },
-    {
-      "name": "MPC8567"
-    },
-    {
-      "name": "MPC8545_v20"
-    },
-    {
-      "name": "MPC8548_v10"
-    },
-    {
-      "name": "755_v1.1"
-    },
-    {
-      "name": "603e7v"
-    },
-    {
-      "name": "Npe405H2"
-    },
-    {
-      "name": "750_v3.0"
-    },
-    {
-      "name": "Npe405H"
-    },
-    {
-      "name": "7400_v2.6"
-    },
-    {
-      "name": "405GPa"
-    },
-    {
-      "name": "MPC8548_v21"
-    },
-    {
-      "name": "MPC8541E_v10"
-    },
-    {
-      "name": "750l_v2.2"
-    },
-    {
-      "name": "MPC8555E_v10"
-    },
-    {
-      "name": "7457A_v1.1"
-    },
-    {
-      "name": "e200z6"
-    },
-    {
-      "name": "MPC8379E"
-    },
-    {
-      "name": "e500v2_v20"
-    },
-    {
-      "name": "MPC8347AP"
-    },
-    {
-      "name": "401B2"
-    },
-    {
-      "name": "MPC8349E"
-    },
-    {
-      "name": "755_v2.1"
-    },
-    {
-      "name": "MPC8543_v21"
-    },
-    {
-      "name": "MPC8547E_v20"
-    },
-    {
-      "name": "745_v2.8"
-    },
-    {
-      "name": "7455_v3.4"
-    },
-    {
-      "name": "7448_v1.1"
-    },
-    {
-      "name": "740_v2.2"
-    },
-    {
-      "name": "7400_v1.1"
-    },
-    {
-      "name": "MPC8567E"
-    },
-    {
-      "name": "7441_v2.10"
-    },
-    {
-      "name": "603e_v1.4"
-    },
-    {
-      "name": "G2leGP1"
-    },
-    {
-      "name": "7451_v2.10"
-    },
-    {
-      "name": "MPC8343E"
-    },
-    {
-      "name": "750cx_v2.2"
-    },
-    {
-      "name": "Npe405L"
-    },
-    {
-      "name": "603e7"
-    },
-    {
-      "name": "401A1"
-    },
-    {
-      "name": "MPC8377"
-    },
-    {
-      "name": "7448_v2.1"
-    },
-    {
-      "name": "7441_v2.3"
-    },
-    {
-      "name": "7400_v2.1"
-    },
-    {
-      "name": "405CRb"
-    },
-    {
-      "name": "604"
-    },
-    {
-      "name": "MPC8540_v20"
-    },
-    {
-      "name": "MPC8543_v10"
-    },
-    {
-      "name": "7447A_v1.0"
-    },
-    {
-      "name": "7445_v2.1"
-    },
-    {
-      "name": "e500_v20"
-    },
-    {
-      "name": "750gx_v1.1"
-    },
-    {
-      "name": "MPC8543E_v11"
-    },
-    {
-      "name": "750cxe_v2.4"
-    },
-    {
-      "name": "MPC8548_v20"
-    },
-    {
-      "name": "MPC8347AT"
-    },
-    {
-      "name": "POWER8NVL_v1.0"
-    },
-    {
-      "name": "7457A_v1.0"
-    },
-    {
-      "name": "7457_v1.0"
-    },
-    {
-      "name": "7450_v1.2"
-    },
-    {
-      "name": "MPC8572"
-    },
-    {
-      "name": "755_v2.5"
-    },
-    {
-      "name": "7410_v1.3"
-    },
-    {
-      "name": "745_v2.3"
-    },
-    {
-      "name": "750l_v2.1"
-    },
-    {
-      "name": "405GPR"
-    },
-    {
-      "name": "755_v2.0"
-    },
-    {
-      "name": "MPC8541_v11"
-    },
-    {
-      "name": "401C2"
-    },
-    {
-      "name": "e500v2_v30"
-    },
-    {
-      "name": "7455_v3.3"
-    },
-    {
-      "name": "405EZ"
-    },
-    {
-      "name": "MPC8568E"
-    },
-    {
-      "name": "755_v1.0"
-    },
-    {
-      "name": "603e_v1.3"
-    },
-    {
-      "name": "MPC8560_v10"
-    },
-    {
-      "name": "MPC8560_v21"
-    },
-    {
-      "name": "G2H4"
-    },
-    {
-      "name": "MPC8533_v11"
-    },
-    {
-      "name": "740_v3.1"
-    },
-    {
-      "name": "e200z5"
-    },
-    {
-      "name": "MPC8349"
-    },
-    {
-      "name": "7400_v2.0"
-    },
-    {
-      "name": "405CRa"
-    },
-    {
-      "name": "MPC8543E_v10"
-    },
-    {
-      "name": "MPC8543E_v21"
-    },
-    {
-      "name": "750cxe_v2.3"
-    },
-    {
-      "name": "MPC8543_v20"
-    },
-    {
-      "name": "745_v2.7"
-    },
-    {
-      "name": "403GC"
-    },
-    {
-      "name": "e5500"
-    },
-    {
-      "name": "7448_v1.0"
-    },
-    {
-      "name": "MPC5200_v12"
-    },
-    {
-      "name": "740_v2.1"
-    },
-    {
-      "name": "745_v2.2"
-    },
-    {
-      "name": "7400_v1.0"
-    },
-    {
-      "name": "7410_v1.2"
-    },
-    {
-      "name": "x2vp4"
-    },
-    {
-      "name": "MPC8555_v11"
-    },
-    {
-      "name": "MPC8541_v10"
-    },
-    {
-      "name": "405LP"
-    },
-    {
-      "name": "750fx_v2.3"
-    },
-    {
-      "name": "405EP"
-    },
-    {
-      "name": "601_v2"
-    },
-    {
-      "name": "MPC8544_v11"
-    },
-    {
-      "name": "401D2"
-    },
-    {
-      "name": "MPC8572E"
-    },
-    {
-      "name": "604e_v1.0"
-    },
-    {
-      "name": "750cx_v2.1"
-    },
-    {
-      "name": "MPC5200B_v21"
-    },
-    {
-      "name": "750l_v3.0"
-    },
-    {
-      "name": "e300c4"
-    },
-    {
-      "name": "7448_v2.0"
-    },
-    {
-      "name": "7450_v2.1"
-    },
-    {
-      "name": "G2leGP"
-    },
-    {
-      "name": "750cxe_v3.1b"
-    },
-    {
-      "name": "7400_v2.9"
-    },
-    {
-      "name": "G2GP"
-    },
-    {
-      "name": "603"
-    },
-    {
-      "name": "405GPd"
-    },
-    {
-      "name": "MPC8548E_v11"
-    },
-    {
-      "name": "603e7t"
-    },
-    {
-      "name": "IOP480"
-    },
-    {
-      "name": "750gx_v1.0"
-    },
-    {
-      "name": "MPC8560_v20"
-    },
-    {
-      "name": "405D2"
-    },
-    {
-      "name": "750fl"
-    },
-    {
-      "name": "750l_v2.0"
-    },
-    {
-      "name": "x2vp20"
-    },
-    {
-      "name": "e600"
-    },
-    {
-      "name": "7450_v1.1"
-    },
-    {
-      "name": "755_v2.4"
-    },
-    {
-      "name": "7445_v1.0"
-    },
-    {
-      "name": "G2LS"
-    },
-    {
-      "name": "MPC8543E_v20"
-    },
-    {
-      "name": "7447_v1.1"
-    },
-    {
-      "name": "603e_v2.2"
-    },
-    {
-      "name": "603e_v4"
-    },
-    {
-      "name": "7455_v3.2"
-    },
-    {
-      "name": "740_v2.0"
-    },
-    {
-      "name": "MPC8347P"
-    },
-    {
-      "name": "440EPb"
-    },
-    {
-      "name": "MPC603"
-    },
-    {
-      "name": "603e_v1.2"
-    },
-    {
-      "name": "750fx_v2.2"
-    },
-    {
-      "name": "740_v1.0"
-    },
-    {
-      "name": "MPC8544_v10"
-    },
-    {
-      "name": "601_v1"
-    },
-    {
-      "name": "745_v1.1"
-    },
-    {
-      "name": "POWER7+_v2.1"
-    },
-    {
-      "name": "750cx_v2.0"
-    },
-    {
-      "name": "MPC8347EAP"
-    },
-    {
-      "name": "401E2"
-    },
-    {
-      "name": "MPC8641D"
-    },
-    {
-      "name": "e300c3"
-    },
-    {
-      "name": "MPC8533_v10"
-    },
-    {
-      "name": "7441_v2.1"
-    },
-    {
-      "name": "740_v3.0"
-    },
-    {
-      "name": "POWER5+_v2.1"
-    },
-    {
-      "name": "602"
-    },
-    {
-      "name": "MPC8548E_v10"
-    },
-    {
-      "name": "G2leLS"
-    },
-    {
-      "name": "MPC8343"
-    },
-    {
-      "name": "750cx_v1.0"
-    },
-    {
-      "name": "750cxe_v2.2"
-    },
-    {
-      "name": "604e_v2.4"
-    },
-    {
-      "name": "755_v2.8"
-    },
-    {
-      "name": "MPC8548E_v21"
-    },
-    {
-      "name": "745_v2.6"
-    },
-    {
-      "name": "G2le"
-    },
-    {
-      "name": "403GB"
-    },
-    {
-      "name": "MPC8545E_v21"
-    },
-    {
-      "name": "POWER7_v2.3"
-    },
-    {
-      "name": "750_v2.2"
-    },
-    {
-      "name": "7450_v1.0"
-    },
-    {
-      "name": "MPC5200_v11"
-    },
-    {
-      "name": "755_v2.3"
-    },
-    {
-      "name": "MPC8347EP"
-    },
-    {
-      "name": "7410_v1.1"
-    },
-    {
-      "name": "750gl"
-    },
-    {
-      "name": "403GCX"
-    },
-    {
-      "name": "750p"
-    },
-    {
-      "name": "745_v2.1"
-    },
-    {
-      "name": "7445_v3.4"
-    },
-    {
-      "name": "G2"
-    },
-    {
-      "name": "MPC8555_v10"
-    },
-    {
-      "name": "MPC8347T"
-    },
-    {
-      "name": "603e_v3"
-    },
-    {
-      "name": "970_v2.2"
-    },
-    {
-      "name": "440-Xilinx"
-    },
-    {
-      "name": "740p"
-    },
-    {
-      "name": "MPC5200B_v20"
-    },
-    {
-      "name": "440EPX"
-    },
-    {
-      "name": "603e_v1.1"
-    },
-    {
-      "name": "7451_v2.3"
-    },
-    {
-      "name": "7450_v2.0"
-    },
-    {
-      "name": "7400_v2.8"
-    },
-    {
-      "name": "7455_v2.1"
-    },
-    {
-      "name": "405GPc"
-    },
-    {
-      "name": "MPC8347EAT"
-    },
-    {
-      "name": "970mp_v1.1"
-    },
-    {
-      "name": "603e7v2"
-    },
-    {
-      "name": "604r"
-    },
-    {
-      "name": "7447A_v1.2"
-    },
-    {
-      "name": "MPC8533E_v11"
-    },
-    {
-      "name": "e500v2_v22"
-    },
-    {
-      "name": "401F2"
-    },
-    {
-      "name": "MPC8343EA"
-    },
-    {
-      "name": "7457_v1.2"
-    },
-    {
-      "name": "970fx_v3.1"
-    },
-    {
-      "name": "7447_v1.0"
-    },
-    {
-      "name": "745_v2.5"
-    },
-    {
-      "name": "MPC8548E_v20"
-    },
-    {
-      "name": "MPC8610"
-    },
-    {
-      "name": "403GA"
-    },
-    {
-      "name": "750cxe_v2.4b"
-    },
-    {
-      "name": "MPC5200_v10"
-    },
-    {
-      "name": "7410_v1.0"
-    },
-    {
-      "name": "G2leGP3"
-    },
-    {
-      "name": "603e_v4.1"
-    },
-    {
-      "name": "7445_v3.3"
-    },
-    {
-      "name": "440EPa"
-    },
-    {
-      "name": "970fx_v2.1"
-    },
-    {
-      "name": "MPC8377E"
-    },
-    {
-      "name": "750fx_v2.1"
-    },
-    {
-      "name": "601_v0"
-    },
-    {
-      "name": "STB04"
-    },
-    {
-      "name": "745_v1.0"
-    },
-    {
-      "name": "G2HiP4"
-    },
-    {
-      "name": "750cl_v2.0"
-    },
-    {
-      "name": "750cxr"
-    },
-    {
-      "name": "MPC8349EA"
-    },
-    {
-      "name": "750cxe_v3.1"
-    },
-    {
-      "name": "401"
-    },
-    {
-      "name": "MPC8379"
-    },
-    {
-      "name": "MPC8568"
-    },
-    {
-      "name": "e300c2"
-    },
-    {
-      "name": "750_v3.1"
-    },
-    {
-      "name": "MPC8544E_v11"
-    },
-    {
-      "name": "405GPb"
-    },
-    {
-      "name": "MPC8541E_v11"
-    }
-  ],
-  "id": "libvirt-41"
-}
-
-{
-  "return": {
-    "enabled": false,
-    "present": true
-  },
-  "id": "libvirt-42"
-}
-
-{
-  "return": [
-  ],
-  "id": "libvirt-43"
-}
-
-{
-  "return": [
-  ],
-  "id": "libvirt-44"
-}
-
-{
-  "return": [
-    {
-      "parameters": [
-        {
-          "name": "timeout",
-          "help": "Request timeout in seconds (default 0 = no timeout)",
-          "type": "number"
-        },
-        {
-          "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-secret",
-          "help": "ID of the secret providing password for CHAP authentication to target",
-          "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": [
-        {
-          "name": "non-adaptive",
-          "type": "boolean"
-        },
-        {
-          "name": "lossy",
-          "type": "boolean"
-        },
-        {
-          "name": "acl",
-          "type": "boolean"
-        },
-        {
-          "name": "x509verify",
-          "type": "string"
-        },
-        {
-          "name": "tls",
-          "type": "boolean"
-        },
-        {
-          "name": "sasl",
-          "type": "boolean"
-        },
-        {
-          "name": "lock-key-sync",
-          "type": "boolean"
-        },
-        {
-          "name": "reverse",
-          "type": "boolean"
-        },
-        {
-          "name": "password",
-          "type": "boolean"
-        },
-        {
-          "name": "ipv6",
-          "type": "boolean"
-        },
-        {
-          "name": "ipv4",
-          "type": "boolean"
-        },
-        {
-          "name": "to",
-          "type": "number"
-        },
-        {
-          "name": "connections",
-          "type": "number"
-        },
-        {
-          "name": "head",
-          "type": "number"
-        },
-        {
-          "name": "display",
-          "type": "string"
-        },
-        {
-          "name": "share",
-          "type": "string"
-        },
-        {
-          "name": "x509",
-          "type": "string"
-        },
-        {
-          "name": "tls-creds",
-          "type": "string"
-        },
-        {
-          "name": "websocket",
-          "type": "string"
-        },
-        {
-          "name": "vnc",
-          "type": "string"
-        }
-      ],
-      "option": "vnc"
-    },
-    {
-      "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": "string",
-          "help": "Sets content of the blob to be inserted from a string",
-          "type": "string"
-        },
-        {
-          "name": "file",
-          "help": "Sets the name of the file from which\nthe fw_cfg blob will be loaded",
-          "type": "string"
-        },
-        {
-          "name": "name",
-          "help": "Sets the fw_cfg name of the blob to be inserted",
-          "type": "string"
-        }
-      ],
-      "option": "fw_cfg"
-    },
-    {
-      "parameters": [
-        {
-          "name": "arg",
-          "type": "string"
-        },
-        {
-          "name": "target",
-          "type": "string"
-        },
-        {
-          "name": "enable",
-          "type": "boolean"
-        }
-      ],
-      "option": "semihosting-config"
-    },
-    {
-      "parameters": [
-        {
-          "name": "rrfile",
-          "type": "string"
-        },
-        {
-          "name": "rr",
-          "type": "string"
-        },
-        {
-          "name": "sleep",
-          "type": "boolean"
-        },
-        {
-          "name": "align",
-          "type": "boolean"
-        },
-        {
-          "name": "shift",
-          "type": "string"
-        }
-      ],
-      "option": "icount"
-    },
-    {
-      "parameters": [
-      ],
-      "option": "numa"
-    },
-    {
-      "parameters": [
-        {
-          "name": "debug-threads",
-          "help": "When enabled, name the individual threads; defaults off.\nNOTE: The thread names are for debugging and not a\nstable API.",
-          "type": "boolean"
-        },
-        {
-          "name": "process",
-          "help": "Sets the name of the QEMU process, as shown in top etc",
-          "type": "string"
-        },
-        {
-          "name": "guest",
-          "help": "Sets the name of the guest.\nThis name will be displayed in the SDL window caption.\nThe name will also be used for the VNC server",
-          "type": "string"
-        }
-      ],
-      "option": "name"
-    },
-    {
-      "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": "boolean"
-        },
-        {
-          "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": "maxmem",
-          "type": "size"
-        },
-        {
-          "name": "slots",
-          "type": "number"
-        },
-        {
-          "name": "size",
-          "type": "size"
-        }
-      ],
-      "option": "memory"
-    },
-    {
-      "parameters": [
-        {
-          "name": "dea-key-wrap",
-          "help": "enable/disable DEA key wrapping using the CPACF wrapping key",
-          "type": "boolean"
-        },
-        {
-          "name": "aes-key-wrap",
-          "help": "enable/disable AES key wrapping using the CPACF wrapping key",
-          "type": "boolean"
-        },
-        {
-          "name": "suppress-vmdesc",
-          "help": "Set on to disable self-describing migration",
-          "type": "boolean"
-        },
-        {
-          "name": "iommu",
-          "help": "Set on/off to enable/disable Intel IOMMU (VT-d)",
-          "type": "boolean"
-        },
-        {
-          "name": "firmware",
-          "help": "firmware image",
-          "type": "string"
-        },
-        {
-          "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"
-        },
-        {
-          "name": "enable",
-          "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": "logappend",
-          "type": "boolean"
-        },
-        {
-          "name": "logfile",
-          "type": "string"
-        },
-        {
-          "name": "append",
-          "type": "boolean"
-        },
-        {
-          "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": "tls-creds",
-          "type": "string"
-        },
-        {
-          "name": "telnet",
-          "type": "boolean"
-        },
-        {
-          "name": "reconnect",
-          "type": "number"
-        },
-        {
-          "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": "werror",
-          "help": "write error action",
-          "type": "string"
-        },
-        {
-          "name": "rerror",
-          "help": "read error action",
-          "type": "string"
-        },
-        {
-          "name": "read-only",
-          "help": "open drive file as read-only",
-          "type": "boolean"
-        },
-        {
-          "name": "file",
-          "help": "file name",
-          "type": "string"
-        },
-        {
-          "name": "serial",
-          "help": "disk serial number",
-          "type": "string"
-        },
-        {
-          "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": "stats-account-failed",
-          "help": "whether to account for failed I/O operations in the statistics",
-          "type": "boolean"
-        },
-        {
-          "name": "stats-account-invalid",
-          "help": "whether to account for invalid I/O operations in the statistics",
-          "type": "boolean"
-        },
-        {
-          "name": "detect-zeroes",
-          "help": "try to optimize zero writes (off, on, unmap)",
-          "type": "string"
-        },
-        {
-          "name": "throttling.group",
-          "help": "name of the block throttling group",
-          "type": "string"
-        },
-        {
-          "name": "throttling.iops-size",
-          "help": "when limiting by iops max size of an I/O in bytes",
-          "type": "number"
-        },
-        {
-          "name": "throttling.bps-write-max-length",
-          "help": "length of the bps-write-max burst period, in seconds",
-          "type": "number"
-        },
-        {
-          "name": "throttling.bps-read-max-length",
-          "help": "length of the bps-read-max burst period, in seconds",
-          "type": "number"
-        },
-        {
-          "name": "throttling.bps-total-max-length",
-          "help": "length of the bps-total-max burst period, in seconds",
-          "type": "number"
-        },
-        {
-          "name": "throttling.iops-write-max-length",
-          "help": "length of the iops-write-max burst period, in seconds",
-          "type": "number"
-        },
-        {
-          "name": "throttling.iops-read-max-length",
-          "help": "length of the iops-read-max burst period, in seconds",
-          "type": "number"
-        },
-        {
-          "name": "throttling.iops-total-max-length",
-          "help": "length of the iops-total-max burst period, in seconds",
-          "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": "format",
-          "help": "disk format (raw, qcow2, ...)",
-          "type": "string"
-        },
-        {
-          "name": "cache.writeback",
-          "help": "Enable writeback mode",
-          "type": "boolean"
-        },
-        {
-          "name": "aio",
-          "help": "host AIO implementation (threads, native)",
-          "type": "string"
-        },
-        {
-          "name": "discard",
-          "help": "discard operation (ignore/off, unmap/on)",
-          "type": "string"
-        },
-        {
-          "name": "snapshot",
-          "help": "enable/disable snapshot mode",
-          "type": "boolean"
-        }
-      ],
-      "option": "drive"
-    }
-  ],
-  "id": "libvirt-45"
-}
-
-{
-  "return": [
-    {
-      "state": false,
-      "capability": "xbzrle"
-    },
-    {
-      "state": false,
-      "capability": "rdma-pin-all"
-    },
-    {
-      "state": false,
-      "capability": "auto-converge"
-    },
-    {
-      "state": false,
-      "capability": "zero-blocks"
-    },
-    {
-      "state": false,
-      "capability": "compress"
-    },
-    {
-      "state": false,
-      "capability": "events"
-    },
-    {
-      "state": false,
-      "capability": "postcopy-ram"
-    }
-  ],
-  "id": "libvirt-46"
-}
diff --git a/tests/qemucapabilitiesdata/caps_2.6.0-1.ppc64le.xml b/tests/qemucapabilitiesdata/caps_2.6.0-1.ppc64le.xml
deleted file mode 100644 (file)
index 96a02a5..0000000
+++ /dev/null
@@ -1,604 +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='device'/>
-  <flag name='sdl'/>
-  <flag name='smp-topology'/>
-  <flag name='netdev'/>
-  <flag name='rtc'/>
-  <flag name='vhost-net'/>
-  <flag name='nodefconfig'/>
-  <flag name='boot-menu'/>
-  <flag name='fsdev'/>
-  <flag name='name-process'/>
-  <flag name='drive-readonly'/>
-  <flag name='smbios-type'/>
-  <flag name='vga-none'/>
-  <flag name='boot-index'/>
-  <flag name='hda-duplex'/>
-  <flag name='drive-aio'/>
-  <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='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='fsdev-readonly'/>
-  <flag name='virtio-blk-pci.scsi'/>
-  <flag name='blk-sg-io'/>
-  <flag name='drive-copy-on-read'/>
-  <flag name='cpu-host'/>
-  <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='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-host.bootindex'/>
-  <flag name='blockdev-snapshot-sync'/>
-  <flag name='VGA'/>
-  <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='nvram'/>
-  <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='usb-storage'/>
-  <flag name='usb-storage.removable'/>
-  <flag name='virtio-mmio'/>
-  <flag name='ich9-intel-hda'/>
-  <flag name='boot-strict'/>
-  <flag name='spiceport'/>
-  <flag name='usb-kbd'/>
-  <flag name='host-pci-multidomain'/>
-  <flag name='msg-timestamp'/>
-  <flag name='active-commit'/>
-  <flag name='change-backing-file'/>
-  <flag name='memory-backend-ram'/>
-  <flag name='numa'/>
-  <flag name='memory-backend-file'/>
-  <flag name='usb-audio'/>
-  <flag name='splash-timeout'/>
-  <flag name='iothread'/>
-  <flag name='migrate-rdma'/>
-  <flag name='ivshmem'/>
-  <flag name='drive-iotune-max'/>
-  <flag name='VGA.vgamem_mb'/>
-  <flag name='pc-dimm'/>
-  <flag name='machine-vmport-opt'/>
-  <flag name='aes-key-wrap'/>
-  <flag name='dea-key-wrap'/>
-  <flag name='pci-serial'/>
-  <flag name='vhost-user-multiqueue'/>
-  <flag name='migration-event'/>
-  <flag name='rtl8139'/>
-  <flag name='e1000'/>
-  <flag name='virtio-net'/>
-  <flag name='gic-version'/>
-  <flag name='incoming-defer'/>
-  <flag name='virtio-gpu'/>
-  <flag name='virtio-keyboard'/>
-  <flag name='virtio-mouse'/>
-  <flag name='virtio-tablet'/>
-  <flag name='virtio-input-host'/>
-  <flag name='chardev-file-append'/>
-  <flag name='vserport-change-event'/>
-  <flag name='virtio-balloon-pci.deflate-on-oom'/>
-  <flag name='mptsas1068'/>
-  <flag name='chardev-logfile'/>
-  <flag name='debug-threads'/>
-  <flag name='secret'/>
-  <flag name='pxb'/>
-  <flag name='pxb-pcie'/>
-  <flag name='device-tray-moved-event'/>
-  <flag name='nec-usb-xhci-ports'/>
-  <flag name='virtio-scsi-pci.iothread'/>
-  <version>2005094</version>
-  <kvmVersion>0</kvmVersion>
-  <package></package>
-  <arch>ppc64</arch>
-  <cpu name='default'/>
-  <cpu name='ppc'/>
-  <cpu name='ppc32'/>
-  <cpu name='ppc64'/>
-  <cpu name='970mp'/>
-  <cpu name='970fx'/>
-  <cpu name='970'/>
-  <cpu name='POWER8NVL'/>
-  <cpu name='POWER8'/>
-  <cpu name='POWER8E'/>
-  <cpu name='POWER7+'/>
-  <cpu name='POWER7'/>
-  <cpu name='POWER5gs'/>
-  <cpu name='POWER5+'/>
-  <cpu name='Apollo7PM'/>
-  <cpu name='7457A'/>
-  <cpu name='7447A'/>
-  <cpu name='Apollo7'/>
-  <cpu name='7457'/>
-  <cpu name='Apollo6'/>
-  <cpu name='7455'/>
-  <cpu name='7445'/>
-  <cpu name='7451'/>
-  <cpu name='7441'/>
-  <cpu name='Vger'/>
-  <cpu name='7450'/>
-  <cpu name='7448'/>
-  <cpu name='Nitro'/>
-  <cpu name='7410'/>
-  <cpu name='G4'/>
-  <cpu name='Max'/>
-  <cpu name='7400'/>
-  <cpu name='Goldfinger'/>
-  <cpu name='755'/>
-  <cpu name='745'/>
-  <cpu name='LoneStar'/>
-  <cpu name='750l'/>
-  <cpu name='750gx'/>
-  <cpu name='750fx'/>
-  <cpu name='750cxe'/>
-  <cpu name='750cx'/>
-  <cpu name='750cl'/>
-  <cpu name='Conan/Doyle'/>
-  <cpu name='G3'/>
-  <cpu name='Typhoon'/>
-  <cpu name='750'/>
-  <cpu name='Arthur'/>
-  <cpu name='740'/>
-  <cpu name='Mach5'/>
-  <cpu name='Sirocco'/>
-  <cpu name='604e'/>
-  <cpu name='Goldeneye'/>
-  <cpu name='603r'/>
-  <cpu name='Vaillant'/>
-  <cpu name='Stretch'/>
-  <cpu name='603e'/>
-  <cpu name='Vanilla'/>
-  <cpu name='601v'/>
-  <cpu name='601'/>
-  <cpu name='MPC8560'/>
-  <cpu name='MPC8555E'/>
-  <cpu name='MPC8555'/>
-  <cpu name='MPC8548E'/>
-  <cpu name='MPC8548'/>
-  <cpu name='MPC8547E'/>
-  <cpu name='MPC8545E'/>
-  <cpu name='MPC8545'/>
-  <cpu name='MPC8544E'/>
-  <cpu name='MPC8544'/>
-  <cpu name='MPC8543E'/>
-  <cpu name='MPC8543'/>
-  <cpu name='MPC8541E'/>
-  <cpu name='MPC8541'/>
-  <cpu name='MPC8540'/>
-  <cpu name='MPC8533E'/>
-  <cpu name='MPC8533'/>
-  <cpu name='e500v2'/>
-  <cpu name='e500v1'/>
-  <cpu name='e500'/>
-  <cpu name='MPC8347EA'/>
-  <cpu name='MPC8347E'/>
-  <cpu name='MPC8347A'/>
-  <cpu name='MPC8347'/>
-  <cpu name='e300'/>
-  <cpu name='e200'/>
-  <cpu name='MPC8280'/>
-  <cpu name='MPC8275'/>
-  <cpu name='MPC8272'/>
-  <cpu name='MPC8271'/>
-  <cpu name='MPC8270'/>
-  <cpu name='MPC8266_HiP4'/>
-  <cpu name='MPC8266_HiP3'/>
-  <cpu name='MPC8266'/>
-  <cpu name='MPC8265_HiP4'/>
-  <cpu name='MPC8265_HiP3'/>
-  <cpu name='MPC8265'/>
-  <cpu name='MPC8264_HiP4'/>
-  <cpu name='MPC8264_HiP3'/>
-  <cpu name='MPC8264'/>
-  <cpu name='MPC8260_HiP4'/>
-  <cpu name='MPC8260_HiP3'/>
-  <cpu name='MPC8260'/>
-  <cpu name='MPC8255_HiP4'/>
-  <cpu name='MPC8255_HiP3'/>
-  <cpu name='MPC8255'/>
-  <cpu name='MPC8250_HiP4'/>
-  <cpu name='MPC8250_HiP3'/>
-  <cpu name='MPC8250'/>
-  <cpu name='MPC8248'/>
-  <cpu name='MPC8247'/>
-  <cpu name='MPC8245'/>
-  <cpu name='MPC8241'/>
-  <cpu name='PowerQUICC-II'/>
-  <cpu name='MPC82xx'/>
-  <cpu name='MPC5200B'/>
-  <cpu name='MPC5200'/>
-  <cpu name='MPC52xx'/>
-  <cpu name='MPC8240'/>
-  <cpu name='440EP'/>
-  <cpu name='x2vp50'/>
-  <cpu name='x2vp7'/>
-  <cpu name='405GPe'/>
-  <cpu name='405GP'/>
-  <cpu name='405CR'/>
-  <cpu name='405'/>
-  <cpu name='403'/>
-  <cpu name='750cl_v1.0'/>
-  <cpu name='750cxe_v2.1'/>
-  <cpu name='7457A_v1.2'/>
-  <cpu name='755_v2.7'/>
-  <cpu name='MPC8347ET'/>
-  <cpu name='MPC8545E_v20'/>
-  <cpu name='750_v2.1'/>
-  <cpu name='755_v2.2'/>
-  <cpu name='745_v2.0'/>
-  <cpu name='7455_v1.0'/>
-  <cpu name='MPC8547E_v21'/>
-  <cpu name='STB25'/>
-  <cpu name='POWER8_v2.0'/>
-  <cpu name='401G2'/>
-  <cpu name='MPC8349A'/>
-  <cpu name='750e'/>
-  <cpu name='MPC8545_v21'/>
-  <cpu name='MPC8548_v11'/>
-  <cpu name='970fx_v2.0'/>
-  <cpu name='750fx_v2.0'/>
-  <cpu name='POWER8E_v2.1'/>
-  <cpu name='Cobra'/>
-  <cpu name='603p'/>
-  <cpu name='7400_v2.7'/>
-  <cpu name='MPC8378E'/>
-  <cpu name='e500v2_v10'/>
-  <cpu name='e500mc'/>
-  <cpu name='603e7v1'/>
-  <cpu name='970mp_v1.0'/>
-  <cpu name='MPC8555E_v11'/>
-  <cpu name='440-Xilinx-w-dfpu'/>
-  <cpu name='740e'/>
-  <cpu name='405CRc'/>
-  <cpu name='7447A_v1.1'/>
-  <cpu name='MPC8543_v11'/>
-  <cpu name='MPC8533E_v10'/>
-  <cpu name='MPC8540_v21'/>
-  <cpu name='e500v2_v21'/>
-  <cpu name='e300c1'/>
-  <cpu name='7400_v2.2'/>
-  <cpu name='970fx_v1.0'/>
-  <cpu name='750gx_v1.2'/>
-  <cpu name='750fx_v1.0'/>
-  <cpu name='MPC8641'/>
-  <cpu name='MPC8544E_v10'/>
-  <cpu name='405D4'/>
-  <cpu name='7457_v1.1'/>
-  <cpu name='970fx_v3.0'/>
-  <cpu name='604e_v2.2'/>
-  <cpu name='755_v2.6'/>
-  <cpu name='7410_v1.4'/>
-  <cpu name='Npe4GS3'/>
-  <cpu name='745_v2.4'/>
-  <cpu name='750_v2.0'/>
-  <cpu name='7445_v3.2'/>
-  <cpu name='750l_v3.2'/>
-  <cpu name='MPC8540_v10'/>
-  <cpu name='750_v1.0'/>
-  <cpu name='MPC8343A'/>
-  <cpu name='MPC8378'/>
-  <cpu name='G2HiP3'/>
-  <cpu name='750cxe_v3.0'/>
-  <cpu name='e500_v10'/>
-  <cpu name='STB03'/>
-  <cpu name='MPC8567'/>
-  <cpu name='MPC8545_v20'/>
-  <cpu name='MPC8548_v10'/>
-  <cpu name='755_v1.1'/>
-  <cpu name='603e7v'/>
-  <cpu name='Npe405H2'/>
-  <cpu name='750_v3.0'/>
-  <cpu name='Npe405H'/>
-  <cpu name='7400_v2.6'/>
-  <cpu name='405GPa'/>
-  <cpu name='MPC8548_v21'/>
-  <cpu name='MPC8541E_v10'/>
-  <cpu name='750l_v2.2'/>
-  <cpu name='MPC8555E_v10'/>
-  <cpu name='7457A_v1.1'/>
-  <cpu name='e200z6'/>
-  <cpu name='MPC8379E'/>
-  <cpu name='e500v2_v20'/>
-  <cpu name='MPC8347AP'/>
-  <cpu name='401B2'/>
-  <cpu name='MPC8349E'/>
-  <cpu name='755_v2.1'/>
-  <cpu name='MPC8543_v21'/>
-  <cpu name='MPC8547E_v20'/>
-  <cpu name='745_v2.8'/>
-  <cpu name='7455_v3.4'/>
-  <cpu name='7448_v1.1'/>
-  <cpu name='740_v2.2'/>
-  <cpu name='7400_v1.1'/>
-  <cpu name='MPC8567E'/>
-  <cpu name='7441_v2.10'/>
-  <cpu name='603e_v1.4'/>
-  <cpu name='G2leGP1'/>
-  <cpu name='7451_v2.10'/>
-  <cpu name='MPC8343E'/>
-  <cpu name='750cx_v2.2'/>
-  <cpu name='Npe405L'/>
-  <cpu name='603e7'/>
-  <cpu name='401A1'/>
-  <cpu name='MPC8377'/>
-  <cpu name='7448_v2.1'/>
-  <cpu name='7441_v2.3'/>
-  <cpu name='7400_v2.1'/>
-  <cpu name='405CRb'/>
-  <cpu name='604'/>
-  <cpu name='MPC8540_v20'/>
-  <cpu name='MPC8543_v10'/>
-  <cpu name='7447A_v1.0'/>
-  <cpu name='7445_v2.1'/>
-  <cpu name='e500_v20'/>
-  <cpu name='750gx_v1.1'/>
-  <cpu name='MPC8543E_v11'/>
-  <cpu name='750cxe_v2.4'/>
-  <cpu name='MPC8548_v20'/>
-  <cpu name='MPC8347AT'/>
-  <cpu name='POWER8NVL_v1.0'/>
-  <cpu name='7457A_v1.0'/>
-  <cpu name='7457_v1.0'/>
-  <cpu name='7450_v1.2'/>
-  <cpu name='MPC8572'/>
-  <cpu name='755_v2.5'/>
-  <cpu name='7410_v1.3'/>
-  <cpu name='745_v2.3'/>
-  <cpu name='750l_v2.1'/>
-  <cpu name='405GPR'/>
-  <cpu name='755_v2.0'/>
-  <cpu name='MPC8541_v11'/>
-  <cpu name='401C2'/>
-  <cpu name='e500v2_v30'/>
-  <cpu name='7455_v3.3'/>
-  <cpu name='405EZ'/>
-  <cpu name='MPC8568E'/>
-  <cpu name='755_v1.0'/>
-  <cpu name='603e_v1.3'/>
-  <cpu name='MPC8560_v10'/>
-  <cpu name='MPC8560_v21'/>
-  <cpu name='G2H4'/>
-  <cpu name='MPC8533_v11'/>
-  <cpu name='740_v3.1'/>
-  <cpu name='e200z5'/>
-  <cpu name='MPC8349'/>
-  <cpu name='7400_v2.0'/>
-  <cpu name='405CRa'/>
-  <cpu name='MPC8543E_v10'/>
-  <cpu name='MPC8543E_v21'/>
-  <cpu name='750cxe_v2.3'/>
-  <cpu name='MPC8543_v20'/>
-  <cpu name='745_v2.7'/>
-  <cpu name='403GC'/>
-  <cpu name='e5500'/>
-  <cpu name='7448_v1.0'/>
-  <cpu name='MPC5200_v12'/>
-  <cpu name='740_v2.1'/>
-  <cpu name='745_v2.2'/>
-  <cpu name='7400_v1.0'/>
-  <cpu name='7410_v1.2'/>
-  <cpu name='x2vp4'/>
-  <cpu name='MPC8555_v11'/>
-  <cpu name='MPC8541_v10'/>
-  <cpu name='405LP'/>
-  <cpu name='750fx_v2.3'/>
-  <cpu name='405EP'/>
-  <cpu name='601_v2'/>
-  <cpu name='MPC8544_v11'/>
-  <cpu name='401D2'/>
-  <cpu name='MPC8572E'/>
-  <cpu name='604e_v1.0'/>
-  <cpu name='750cx_v2.1'/>
-  <cpu name='MPC5200B_v21'/>
-  <cpu name='750l_v3.0'/>
-  <cpu name='e300c4'/>
-  <cpu name='7448_v2.0'/>
-  <cpu name='7450_v2.1'/>
-  <cpu name='G2leGP'/>
-  <cpu name='750cxe_v3.1b'/>
-  <cpu name='7400_v2.9'/>
-  <cpu name='G2GP'/>
-  <cpu name='603'/>
-  <cpu name='405GPd'/>
-  <cpu name='MPC8548E_v11'/>
-  <cpu name='603e7t'/>
-  <cpu name='IOP480'/>
-  <cpu name='750gx_v1.0'/>
-  <cpu name='MPC8560_v20'/>
-  <cpu name='405D2'/>
-  <cpu name='750fl'/>
-  <cpu name='750l_v2.0'/>
-  <cpu name='x2vp20'/>
-  <cpu name='e600'/>
-  <cpu name='7450_v1.1'/>
-  <cpu name='755_v2.4'/>
-  <cpu name='7445_v1.0'/>
-  <cpu name='G2LS'/>
-  <cpu name='MPC8543E_v20'/>
-  <cpu name='7447_v1.1'/>
-  <cpu name='603e_v2.2'/>
-  <cpu name='603e_v4'/>
-  <cpu name='7455_v3.2'/>
-  <cpu name='740_v2.0'/>
-  <cpu name='MPC8347P'/>
-  <cpu name='440EPb'/>
-  <cpu name='MPC603'/>
-  <cpu name='603e_v1.2'/>
-  <cpu name='750fx_v2.2'/>
-  <cpu name='740_v1.0'/>
-  <cpu name='MPC8544_v10'/>
-  <cpu name='601_v1'/>
-  <cpu name='745_v1.1'/>
-  <cpu name='POWER7+_v2.1'/>
-  <cpu name='750cx_v2.0'/>
-  <cpu name='MPC8347EAP'/>
-  <cpu name='401E2'/>
-  <cpu name='MPC8641D'/>
-  <cpu name='e300c3'/>
-  <cpu name='MPC8533_v10'/>
-  <cpu name='7441_v2.1'/>
-  <cpu name='740_v3.0'/>
-  <cpu name='POWER5+_v2.1'/>
-  <cpu name='602'/>
-  <cpu name='MPC8548E_v10'/>
-  <cpu name='G2leLS'/>
-  <cpu name='MPC8343'/>
-  <cpu name='750cx_v1.0'/>
-  <cpu name='750cxe_v2.2'/>
-  <cpu name='604e_v2.4'/>
-  <cpu name='755_v2.8'/>
-  <cpu name='MPC8548E_v21'/>
-  <cpu name='745_v2.6'/>
-  <cpu name='G2le'/>
-  <cpu name='403GB'/>
-  <cpu name='MPC8545E_v21'/>
-  <cpu name='POWER7_v2.3'/>
-  <cpu name='750_v2.2'/>
-  <cpu name='7450_v1.0'/>
-  <cpu name='MPC5200_v11'/>
-  <cpu name='755_v2.3'/>
-  <cpu name='MPC8347EP'/>
-  <cpu name='7410_v1.1'/>
-  <cpu name='750gl'/>
-  <cpu name='403GCX'/>
-  <cpu name='750p'/>
-  <cpu name='745_v2.1'/>
-  <cpu name='7445_v3.4'/>
-  <cpu name='G2'/>
-  <cpu name='MPC8555_v10'/>
-  <cpu name='MPC8347T'/>
-  <cpu name='603e_v3'/>
-  <cpu name='970_v2.2'/>
-  <cpu name='440-Xilinx'/>
-  <cpu name='740p'/>
-  <cpu name='MPC5200B_v20'/>
-  <cpu name='440EPX'/>
-  <cpu name='603e_v1.1'/>
-  <cpu name='7451_v2.3'/>
-  <cpu name='7450_v2.0'/>
-  <cpu name='7400_v2.8'/>
-  <cpu name='7455_v2.1'/>
-  <cpu name='405GPc'/>
-  <cpu name='MPC8347EAT'/>
-  <cpu name='970mp_v1.1'/>
-  <cpu name='603e7v2'/>
-  <cpu name='604r'/>
-  <cpu name='7447A_v1.2'/>
-  <cpu name='MPC8533E_v11'/>
-  <cpu name='e500v2_v22'/>
-  <cpu name='401F2'/>
-  <cpu name='MPC8343EA'/>
-  <cpu name='7457_v1.2'/>
-  <cpu name='970fx_v3.1'/>
-  <cpu name='7447_v1.0'/>
-  <cpu name='745_v2.5'/>
-  <cpu name='MPC8548E_v20'/>
-  <cpu name='MPC8610'/>
-  <cpu name='403GA'/>
-  <cpu name='750cxe_v2.4b'/>
-  <cpu name='MPC5200_v10'/>
-  <cpu name='7410_v1.0'/>
-  <cpu name='G2leGP3'/>
-  <cpu name='603e_v4.1'/>
-  <cpu name='7445_v3.3'/>
-  <cpu name='440EPa'/>
-  <cpu name='970fx_v2.1'/>
-  <cpu name='MPC8377E'/>
-  <cpu name='750fx_v2.1'/>
-  <cpu name='601_v0'/>
-  <cpu name='STB04'/>
-  <cpu name='745_v1.0'/>
-  <cpu name='G2HiP4'/>
-  <cpu name='750cl_v2.0'/>
-  <cpu name='750cxr'/>
-  <cpu name='MPC8349EA'/>
-  <cpu name='750cxe_v3.1'/>
-  <cpu name='401'/>
-  <cpu name='MPC8379'/>
-  <cpu name='MPC8568'/>
-  <cpu name='e300c2'/>
-  <cpu name='750_v3.1'/>
-  <cpu name='MPC8544E_v11'/>
-  <cpu name='405GPb'/>
-  <cpu name='MPC8541E_v11'/>
-  <machine name='pseries-2.6' alias='pseries' maxCpus='255'/>
-  <machine name='ref405ep' maxCpus='1'/>
-  <machine name='virtex-ml507' maxCpus='1'/>
-  <machine name='ppce500' maxCpus='32'/>
-  <machine name='mpc8544ds' maxCpus='15'/>
-  <machine name='bamboo' maxCpus='1'/>
-  <machine name='g3beige' maxCpus='1'/>
-  <machine name='prep' maxCpus='1'/>
-  <machine name='mac99' maxCpus='1'/>
-  <machine name='pseries-2.4' maxCpus='255'/>
-  <machine name='pseries-2.5' maxCpus='255'/>
-  <machine name='pseries-2.2' maxCpus='255'/>
-  <machine name='taihu' maxCpus='1'/>
-  <machine name='pseries-2.3' maxCpus='255'/>
-  <machine name='pseries-2.1' maxCpus='255'/>
-</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_2.6.0-1.x86_64.replies b/tests/qemucapabilitiesdata/caps_2.6.0-1.x86_64.replies
deleted file mode 100644 (file)
index 583a5af..0000000
+++ /dev/null
@@ -1,4445 +0,0 @@
-{
-  "QMP": {
-    "version": {
-      "qemu": {
-        "micro": 50,
-        "minor": 5,
-        "major": 2
-      },
-      "package": ""
-    },
-    "capabilities": [
-    ]
-  }
-}
-
-{
-  "return": {
-  },
-  "id": "libvirt-1"
-}
-
-{
-  "return": {
-    "qemu": {
-      "micro": 50,
-      "minor": 5,
-      "major": 2
-    },
-    "package": ""
-  },
-  "id": "libvirt-2"
-}
-
-{
-  "return": {
-    "arch": "x86_64"
-  },
-  "id": "libvirt-3"
-}
-
-{
-  "return": [
-    {
-      "name": "query-rocker-of-dpa-groups"
-    },
-    {
-      "name": "query-rocker-of-dpa-flows"
-    },
-    {
-      "name": "query-rocker-ports"
-    },
-    {
-      "name": "query-rocker"
-    },
-    {
-      "name": "block-set-write-threshold"
-    },
-    {
-      "name": "x-input-send-event"
-    },
-    {
-      "name": "trace-event-set-state"
-    },
-    {
-      "name": "trace-event-get-state"
-    },
-    {
-      "name": "rtc-reset-reinjection"
-    },
-    {
-      "name": "query-acpi-ospm-status"
-    },
-    {
-      "name": "query-memory-devices"
-    },
-    {
-      "name": "query-memdev"
-    },
-    {
-      "name": "query-named-block-nodes"
-    },
-    {
-      "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-parameters"
-    },
-    {
-      "name": "migrate-set-parameters"
-    },
-    {
-      "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-servers"
-    },
-    {
-      "name": "query-vnc"
-    },
-    {
-      "name": "query-mice"
-    },
-    {
-      "name": "query-status"
-    },
-    {
-      "name": "query-kvm"
-    },
-    {
-      "name": "query-pci"
-    },
-    {
-      "name": "query-iothreads"
-    },
-    {
-      "name": "query-cpus"
-    },
-    {
-      "name": "query-blockstats"
-    },
-    {
-      "name": "query-block"
-    },
-    {
-      "name": "query-chardev-backends"
-    },
-    {
-      "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": "change-backing-file"
-    },
-    {
-      "name": "drive-mirror"
-    },
-    {
-      "name": "blockdev-snapshot-delete-internal-sync"
-    },
-    {
-      "name": "blockdev-snapshot-internal-sync"
-    },
-    {
-      "name": "blockdev-snapshot-sync"
-    },
-    {
-      "name": "block-dirty-bitmap-clear"
-    },
-    {
-      "name": "block-dirty-bitmap-remove"
-    },
-    {
-      "name": "block-dirty-bitmap-add"
-    },
-    {
-      "name": "transaction"
-    },
-    {
-      "name": "block-job-complete"
-    },
-    {
-      "name": "block-job-resume"
-    },
-    {
-      "name": "block-job-pause"
-    },
-    {
-      "name": "block-job-cancel"
-    },
-    {
-      "name": "block-job-set-speed"
-    },
-    {
-      "name": "blockdev-backup"
-    },
-    {
-      "name": "drive-backup"
-    },
-    {
-      "name": "block-commit"
-    },
-    {
-      "name": "block-stream"
-    },
-    {
-      "name": "block_resize"
-    },
-    {
-      "name": "object-del"
-    },
-    {
-      "name": "object-add"
-    },
-    {
-      "name": "netdev_del"
-    },
-    {
-      "name": "netdev_add"
-    },
-    {
-      "name": "query-dump-guest-memory-capability"
-    },
-    {
-      "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-incoming"
-    },
-    {
-      "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": "DeviceNotFound",
-    "desc": "Device 'bogus' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "MEM_UNPLUG_ERROR"
-    },
-    {
-      "name": "VSERPORT_CHANGE"
-    },
-    {
-      "name": "QUORUM_REPORT_BAD"
-    },
-    {
-      "name": "QUORUM_FAILURE"
-    },
-    {
-      "name": "GUEST_PANICKED"
-    },
-    {
-      "name": "BALLOON_CHANGE"
-    },
-    {
-      "name": "ACPI_DEVICE_OST"
-    },
-    {
-      "name": "MIGRATION"
-    },
-    {
-      "name": "SPICE_MIGRATE_COMPLETED"
-    },
-    {
-      "name": "SPICE_DISCONNECTED"
-    },
-    {
-      "name": "SPICE_INITIALIZED"
-    },
-    {
-      "name": "SPICE_CONNECTED"
-    },
-    {
-      "name": "VNC_DISCONNECTED"
-    },
-    {
-      "name": "VNC_INITIALIZED"
-    },
-    {
-      "name": "VNC_CONNECTED"
-    },
-    {
-      "name": "NIC_RX_FILTER_CHANGED"
-    },
-    {
-      "name": "DEVICE_DELETED"
-    },
-    {
-      "name": "WATCHDOG"
-    },
-    {
-      "name": "RTC_CHANGE"
-    },
-    {
-      "name": "WAKEUP"
-    },
-    {
-      "name": "SUSPEND_DISK"
-    },
-    {
-      "name": "SUSPEND"
-    },
-    {
-      "name": "RESUME"
-    },
-    {
-      "name": "STOP"
-    },
-    {
-      "name": "RESET"
-    },
-    {
-      "name": "POWERDOWN"
-    },
-    {
-      "name": "SHUTDOWN"
-    },
-    {
-      "name": "DEVICE_TRAY_MOVED"
-    },
-    {
-      "name": "BLOCK_WRITE_THRESHOLD"
-    },
-    {
-      "name": "BLOCK_JOB_READY"
-    },
-    {
-      "name": "BLOCK_JOB_ERROR"
-    },
-    {
-      "name": "BLOCK_JOB_CANCELLED"
-    },
-    {
-      "name": "BLOCK_JOB_COMPLETED"
-    },
-    {
-      "name": "BLOCK_IO_ERROR"
-    },
-    {
-      "name": "BLOCK_IMAGE_CORRUPTED"
-    }
-  ],
-  "id": "libvirt-7"
-}
-
-{
-  "return": [
-    {
-      "name": "virtio-tablet-pci"
-    },
-    {
-      "name": "pc-0.13-machine"
-    },
-    {
-      "name": "fw_cfg"
-    },
-    {
-      "name": "generic-sdhci"
-    },
-    {
-      "name": "i82551"
-    },
-    {
-      "name": "i82550"
-    },
-    {
-      "name": "Westmere-x86_64-cpu"
-    },
-    {
-      "name": "e1000-82540em"
-    },
-    {
-      "name": "pci-serial-4x"
-    },
-    {
-      "name": "Penryn-x86_64-cpu"
-    },
-    {
-      "name": "Haswell-x86_64-cpu"
-    },
-    {
-      "name": "iothread"
-    },
-    {
-      "name": "pc-q35-2.3-machine"
-    },
-    {
-      "name": "icc-bridge"
-    },
-    {
-      "name": "cfi.pflash01"
-    },
-    {
-      "name": "virtio-gpu-device"
-    },
-    {
-      "name": "Opteron_G3-x86_64-cpu"
-    },
-    {
-      "name": "Broadwell-x86_64-cpu"
-    },
-    {
-      "name": "piix3-ide"
-    },
-    {
-      "name": "isa-parallel"
-    },
-    {
-      "name": "pc-q35-2.4-machine"
-    },
-    {
-      "name": "i2c-bus"
-    },
-    {
-      "name": "megasas"
-    },
-    {
-      "name": "usb-braille"
-    },
-    {
-      "name": "vmware-svga"
-    },
-    {
-      "name": "pc-i440fx-2.0-machine"
-    },
-    {
-      "name": "PIIX3-xen"
-    },
-    {
-      "name": "ccid-bus"
-    },
-    {
-      "name": "scsi-cd"
-    },
-    {
-      "name": "isa-serial"
-    },
-    {
-      "name": "usb-ehci"
-    },
-    {
-      "name": "user-creatable"
-    },
-    {
-      "name": "container"
-    },
-    {
-      "name": "host-x86_64-cpu"
-    },
-    {
-      "name": "pci-serial-2x"
-    },
-    {
-      "name": "piix4-ide"
-    },
-    {
-      "name": "scsi-generic"
-    },
-    {
-      "name": "pc-1.0-machine"
-    },
-    {
-      "name": "virtio-net-pci"
-    },
-    {
-      "name": "pc-dimm"
-    },
-    {
-      "name": "pc-q35-1.7-machine"
-    },
-    {
-      "name": "Haswell-noTSX-x86_64-cpu"
-    },
-    {
-      "name": "pc-i440fx-2.1-machine"
-    },
-    {
-      "name": "virtio-mouse-device"
-    },
-    {
-      "name": "virtio-mouse-pci"
-    },
-    {
-      "name": "isa-debugcon"
-    },
-    {
-      "name": "ide-hd"
-    },
-    {
-      "name": "virtio-vga"
-    },
-    {
-      "name": "qemu64-x86_64-cpu"
-    },
-    {
-      "name": "rng-egd"
-    },
-    {
-      "name": "isa-pcspk"
-    },
-    {
-      "name": "isa-pit"
-    },
-    {
-      "name": "pc-1.1-machine"
-    },
-    {
-      "name": "ich9-usb-ehci1"
-    },
-    {
-      "name": "ich9-usb-ehci2"
-    },
-    {
-      "name": "pxb-host"
-    },
-    {
-      "name": "intel-iommu"
-    },
-    {
-      "name": "irq"
-    },
-    {
-      "name": "cirrus-vga"
-    },
-    {
-      "name": "virtconsole"
-    },
-    {
-      "name": "virtio-rng-pci"
-    },
-    {
-      "name": "PCIE"
-    },
-    {
-      "name": "pentium3-x86_64-cpu"
-    },
-    {
-      "name": "qxl-vga"
-    },
-    {
-      "name": "ioapic"
-    },
-    {
-      "name": "kvm-pit"
-    },
-    {
-      "name": "pc-0.14-machine"
-    },
-    {
-      "name": "pc-i440fx-1.4-machine"
-    },
-    {
-      "name": "pc-q35-2.0-machine"
-    },
-    {
-      "name": "usb-host"
-    },
-    {
-      "name": "usb-bus"
-    },
-    {
-      "name": "vhost-scsi-pci"
-    },
-    {
-      "name": "usb-kbd"
-    },
-    {
-      "name": "486-x86_64-cpu"
-    },
-    {
-      "name": "ES1370"
-    },
-    {
-      "name": "gus"
-    },
-    {
-      "name": "PIIX3"
-    },
-    {
-      "name": "isa-applesmc"
-    },
-    {
-      "name": "kvm-pci-assign"
-    },
-    {
-      "name": "i82559er"
-    },
-    {
-      "name": "q35-pcihost"
-    },
-    {
-      "name": "e1000-82545em"
-    },
-    {
-      "name": "pc-i440fx-1.5-machine"
-    },
-    {
-      "name": "usb-bt-dongle"
-    },
-    {
-      "name": "AC97"
-    },
-    {
-      "name": "i6300esb"
-    },
-    {
-      "name": "mc146818rtc"
-    },
-    {
-      "name": "e1000-82544gc"
-    },
-    {
-      "name": "PIIX4_PM"
-    },
-    {
-      "name": "piix4-usb-uhci"
-    },
-    {
-      "name": "sysbus-ahci"
-    },
-    {
-      "name": "virtio-tablet-device"
-    },
-    {
-      "name": "kvm-ioapic"
-    },
-    {
-      "name": "pvpanic"
-    },
-    {
-      "name": "core2duo-x86_64-cpu"
-    },
-    {
-      "name": "virtio-9p-pci"
-    },
-    {
-      "name": "scsi-disk"
-    },
-    {
-      "name": "acpi-device-interface"
-    },
-    {
-      "name": "sb16"
-    },
-    {
-      "name": "pc-0.15-machine"
-    },
-    {
-      "name": "usb-mouse"
-    },
-    {
-      "name": "piix3-usb-uhci"
-    },
-    {
-      "name": "vfio-calxeda-xgmac"
-    },
-    {
-      "name": "virtio-scsi-device"
-    },
-    {
-      "name": "virtio-blk-pci"
-    },
-    {
-      "name": "virtio-9p-device"
-    },
-    {
-      "name": "hda-output"
-    },
-    {
-      "name": "SUNW,fdtwo"
-    },
-    {
-      "name": "tpci200"
-    },
-    {
-      "name": "Opteron_G4-x86_64-cpu"
-    },
-    {
-      "name": "pc-q35-1.4-machine"
-    },
-    {
-      "name": "virtio-mmio"
-    },
-    {
-      "name": "qemu-console"
-    },
-    {
-      "name": "isa-i8259"
-    },
-    {
-      "name": "System"
-    },
-    {
-      "name": "pvscsi"
-    },
-    {
-      "name": "virtio-net-device"
-    },
-    {
-      "name": "usb-hub"
-    },
-    {
-      "name": "IvyBridge-x86_64-cpu"
-    },
-    {
-      "name": "hda-duplex"
-    },
-    {
-      "name": "pc-i440fx-2.3-machine"
-    },
-    {
-      "name": "virtio-keyboard-pci"
-    },
-    {
-      "name": "pci-ohci"
-    },
-    {
-      "name": "isapc-machine"
-    },
-    {
-      "name": "ipoctal232"
-    },
-    {
-      "name": "pc-1.2-machine"
-    },
-    {
-      "name": "xio3130-downstream"
-    },
-    {
-      "name": "ide-cd"
-    },
-    {
-      "name": "pc-i440fx-2.2-machine"
-    },
-    {
-      "name": "isabus-bridge"
-    },
-    {
-      "name": "nec-usb-xhci"
-    },
-    {
-      "name": "memory-backend-file"
-    },
-    {
-      "name": "isa-ide"
-    },
-    {
-      "name": "virtio-keyboard-device"
-    },
-    {
-      "name": "megasas-gen2"
-    },
-    {
-      "name": "isa-vga"
-    },
-    {
-      "name": "qemu:memory-region"
-    },
-    {
-      "name": "rng-random"
-    },
-    {
-      "name": "hotplug-handler"
-    },
-    {
-      "name": "kvm-i8259"
-    },
-    {
-      "name": "i440FX-pcihost"
-    },
-    {
-      "name": "qemu32-x86_64-cpu"
-    },
-    {
-      "name": "tpm-tis"
-    },
-    {
-      "name": "tpm-passthrough"
-    },
-    {
-      "name": "apic"
-    },
-    {
-      "name": "isa-debug-exit"
-    },
-    {
-      "name": "pc-0.10-machine"
-    },
-    {
-      "name": "pc-testdev"
-    },
-    {
-      "name": "rocker"
-    },
-    {
-      "name": "Opteron_G1-x86_64-cpu"
-    },
-    {
-      "name": "sga"
-    },
-    {
-      "name": "pcnet"
-    },
-    {
-      "name": "ivshmem"
-    },
-    {
-      "name": "hpet"
-    },
-    {
-      "name": "adlib"
-    },
-    {
-      "name": "lsi53c895a"
-    },
-    {
-      "name": "pxb-bus"
-    },
-    {
-      "name": "usb-audio"
-    },
-    {
-      "name": "usb-wacom-tablet"
-    },
-    {
-      "name": "pc-0.11-machine"
-    },
-    {
-      "name": "kvm-apic"
-    },
-    {
-      "name": "phenom-x86_64-cpu"
-    },
-    {
-      "name": "fw_cfg_io"
-    },
-    {
-      "name": "ioh3420"
-    },
-    {
-      "name": "pc-q35-2.1-machine"
-    },
-    {
-      "name": "cs4231a"
-    },
-    {
-      "name": "dc390"
-    },
-    {
-      "name": "nvme"
-    },
-    {
-      "name": "i82801b11-bridge"
-    },
-    {
-      "name": "kvmvapic"
-    },
-    {
-      "name": "fw-path-provider"
-    },
-    {
-      "name": "usb-net"
-    },
-    {
-      "name": "pci-bridge-seat"
-    },
-    {
-      "name": "mch"
-    },
-    {
-      "name": "usb-tablet"
-    },
-    {
-      "name": "vhost-scsi"
-    },
-    {
-      "name": "usb-ccid"
-    },
-    {
-      "name": "pc-i440fx-1.7-machine"
-    },
-    {
-      "name": "tcg-accel"
-    },
-    {
-      "name": "virtio-mmio-bus"
-    },
-    {
-      "name": "pc-q35-2.2-machine"
-    },
-    {
-      "name": "usb-bot"
-    },
-    {
-      "name": "ICH9-LPC"
-    },
-    {
-      "name": "edu"
-    },
-    {
-      "name": "accel"
-    },
-    {
-      "name": "pc-i440fx-1.6-machine"
-    },
-    {
-      "name": "kvmclock"
-    },
-    {
-      "name": "lsi53c810"
-    },
-    {
-      "name": "isa-cirrus-vga"
-    },
-    {
-      "name": "virtio-serial-bus"
-    },
-    {
-      "name": "ib700"
-    },
-    {
-      "name": "SandyBridge-x86_64-cpu"
-    },
-    {
-      "name": "esp"
-    },
-    {
-      "name": "virtio-balloon-device"
-    },
-    {
-      "name": "ccid-card-passthru"
-    },
-    {
-      "name": "ich9-usb-uhci5"
-    },
-    {
-      "name": "qxl"
-    },
-    {
-      "name": "intel-hda"
-    },
-    {
-      "name": "ich9-usb-uhci6"
-    },
-    {
-      "name": "pci-bridge"
-    },
-    {
-      "name": "virtio-serial-device"
-    },
-    {
-      "name": "ich9-usb-uhci3"
-    },
-    {
-      "name": "ICH9 SMB"
-    },
-    {
-      "name": "ich9-usb-uhci4"
-    },
-    {
-      "name": "piix3-ide-xen"
-    },
-    {
-      "name": "virtio-input-host-device"
-    },
-    {
-      "name": "icc-bus"
-    },
-    {
-      "name": "vmxnet3"
-    },
-    {
-      "name": "IDE"
-    },
-    {
-      "name": "VGA"
-    },
-    {
-      "name": "pci-testdev"
-    },
-    {
-      "name": "ich9-usb-uhci2"
-    },
-    {
-      "name": "ich9-usb-uhci1"
-    },
-    {
-      "name": "x3130-upstream"
-    },
-    {
-      "name": "none-machine"
-    },
-    {
-      "name": "sysbus-fdc"
-    },
-    {
-      "name": "SCSI"
-    },
-    {
-      "name": "n270-x86_64-cpu"
-    },
-    {
-      "name": "pci-serial"
-    },
-    {
-      "name": "pc-q35-1.5-machine"
-    },
-    {
-      "name": "athlon-x86_64-cpu"
-    },
-    {
-      "name": "ISA"
-    },
-    {
-      "name": "i8042"
-    },
-    {
-      "name": "kvm-accel"
-    },
-    {
-      "name": "secret"
-    },
-    {
-      "name": "i82559c"
-    },
-    {
-      "name": "i82559b"
-    },
-    {
-      "name": "i82559a"
-    },
-    {
-      "name": "scsi-hd"
-    },
-    {
-      "name": "qtest-accel"
-    },
-    {
-      "name": "virtio-balloon-pci"
-    },
-    {
-      "name": "hda-micro"
-    },
-    {
-      "name": "scsi-block"
-    },
-    {
-      "name": "virtio-scsi-pci"
-    },
-    {
-      "name": "rtl8139"
-    },
-    {
-      "name": "vmmouse"
-    },
-    {
-      "name": "ich9-intel-hda"
-    },
-    {
-      "name": "usb-mtp"
-    },
-    {
-      "name": "ide-drive"
-    },
-    {
-      "name": "fw_cfg_mem"
-    },
-    {
-      "name": "PCI"
-    },
-    {
-      "name": "Opteron_G5-x86_64-cpu"
-    },
-    {
-      "name": "vmport"
-    },
-    {
-      "name": "coreduo-x86_64-cpu"
-    },
-    {
-      "name": "virtio-serial-pci"
-    },
-    {
-      "name": "pc-q35-1.6-machine"
-    },
-    {
-      "name": "virtio-input-host-pci"
-    },
-    {
-      "name": "virtio-pci-bus"
-    },
-    {
-      "name": "pentium2-x86_64-cpu"
-    },
-    {
-      "name": "nmi"
-    },
-    {
-      "name": "i82558b"
-    },
-    {
-      "name": "i82558a"
-    },
-    {
-      "name": "pc-0.12-machine"
-    },
-    {
-      "name": "am53c974"
-    },
-    {
-      "name": "sdhci-pci"
-    },
-    {
-      "name": "port92"
-    },
-    {
-      "name": "pxb"
-    },
-    {
-      "name": "pxb-pcie"
-    },
-    {
-      "name": "kvm64-x86_64-cpu"
-    },
-    {
-      "name": "e1000"
-    },
-    {
-      "name": "Conroe-x86_64-cpu"
-    },
-    {
-      "name": "ne2k_isa"
-    },
-    {
-      "name": "pc-1.3-machine"
-    },
-    {
-      "name": "HDA"
-    },
-    {
-      "name": "usb-storage"
-    },
-    {
-      "name": "usb-serial"
-    },
-    {
-      "name": "usb-uas"
-    },
-    {
-      "name": "pc-i440fx-2.4-machine"
-    },
-    {
-      "name": "sysbus-ohci"
-    },
-    {
-      "name": "usb-redir"
-    },
-    {
-      "name": "i82801"
-    },
-    {
-      "name": "Broadwell-noTSX-x86_64-cpu"
-    },
-    {
-      "name": "i82557c"
-    },
-    {
-      "name": "i82557b"
-    },
-    {
-      "name": "i82557a"
-    },
-    {
-      "name": "Nehalem-x86_64-cpu"
-    },
-    {
-      "name": "memory-backend-ram"
-    },
-    {
-      "name": "QJSON"
-    },
-    {
-      "name": "virtserialport"
-    },
-    {
-      "name": "i440FX"
-    },
-    {
-      "name": "ne2k_pci"
-    },
-    {
-      "name": "smbus-eeprom"
-    },
-    {
-      "name": "i82562"
-    },
-    {
-      "name": "ich9-ahci"
-    },
-    {
-      "name": "virtio-rng-device"
-    },
-    {
-      "name": "isa-fdc"
-    },
-    {
-      "name": "kvm32-x86_64-cpu"
-    },
-    {
-      "name": "Opteron_G2-x86_64-cpu"
-    },
-    {
-      "name": "vfio-pci"
-    },
-    {
-      "name": "IndustryPack"
-    },
-    {
-      "name": "virtio-gpu-pci"
-    },
-    {
-      "name": "vt82c686b-usb-uhci"
-    },
-    {
-      "name": "secondary-vga"
-    },
-    {
-      "name": "pentium-x86_64-cpu"
-    },
-    {
-      "name": "virtio-blk-device"
-    }
-  ],
-  "id": "libvirt-8"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "iothread",
-      "type": "link<iothread>"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-data-plane",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "request-merging",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "scsi",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "config-wce",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "secs",
-      "type": "uint32"
-    },
-    {
-      "name": "heads",
-      "type": "uint32"
-    },
-    {
-      "name": "cyls",
-      "type": "uint32"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-blk-device>"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vectors",
-      "type": "uint32"
-    },
-    {
-      "name": "ioeventfd",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "class",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-9"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "tx",
-      "type": "str"
-    },
-    {
-      "name": "x-txburst",
-      "type": "int32"
-    },
-    {
-      "name": "x-txtimer",
-      "type": "uint32"
-    },
-    {
-      "name": "netdev",
-      "description": "ID of a netdev to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "vlan",
-      "description": "Integer VLAN id to connect to",
-      "type": "int32"
-    },
-    {
-      "name": "mac",
-      "description": "Ethernet 6-byte MAC Address, example: 52:54:00:12:34:56",
-      "type": "str"
-    },
-    {
-      "name": "mq",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_guest_offloads",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_mac_addr",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_rx_extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_vlan",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_rx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_vq",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "status",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "mrg_rxbuf",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host_ufo",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host_ecn",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host_tso6",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host_tso4",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_announce",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_ufo",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_ecn",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_tso6",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_tso4",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "gso",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_csum",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "csum",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-net-device>"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vectors",
-      "type": "uint32"
-    },
-    {
-      "name": "ioeventfd",
-      "description": "on/off",
-      "type": "bool"
-    }
-  ],
-  "id": "libvirt-10"
-}
-
-{
-    "return": [
-        {
-            "name": "disable-modern",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "ioeventfd",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "virtio-pci-bus-master-bug-migration",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "event_idx",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "cmd_per_lun",
-            "type": "uint32"
-        },
-        {
-            "name": "indirect_desc",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "param_change",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "iothread",
-            "type": "link<iothread>"
-        },
-        {
-            "name": "multifunction",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "migrate-extra",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "notify_on_empty",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "hotplug",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "modern-pio-notify",
-            "description": "on/off",
-            "type":"bool"
-        },
-        {
-            "name": "num_queues",
-            "type": "uint32"
-        },
-        {
-            "name": "romfile",
-            "type": "str"
-        },
-        {
-            "name": "virtio-backend",
-            "type": "child<virtio-scsi-device>"
-        },
-        {
-            "name": "disable-legacy",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "command_serr_enable",
-            "description":"on/off",
-            "type": "bool"
-        },
-        {
-            "name": "vectors",
-            "type": "uint32"
-        },
-        {
-            "name": "x-disable-pcie",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "addr",
-            "description": "Slot and optional function number, example: 06.0 or 06",
-            "type": "int32"
-        },
-        {
-            "name": "any_layout",
-            "description": "on/off",
-            "type": "bool"
-        },
-        {
-            "name": "max_sectors",
-            "type": "uint32"
-        },
-        {
-            "name": "rombar",
-            "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": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "configfd",
-      "type": "str"
-    },
-    {
-      "name": "share_intx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "prefer_msi",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host",
-      "description": "Address (bus/device/function) of the host device, example: 04:10.0",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-18"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "x-mmap",
-      "type": "bool"
-    },
-    {
-      "name": "x-req",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-vga",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-intx-mmap-timeout-ms",
-      "type": "uint32"
-    },
-    {
-      "name": "host",
-      "description": "Address (bus/device/function) of the host device, example: 04:10.0",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-19"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "lun",
-      "type": "uint32"
-    },
-    {
-      "name": "scsi-id",
-      "type": "uint32"
-    },
-    {
-      "name": "channel",
-      "type": "uint32"
-    },
-    {
-      "name": "max_io_size",
-      "type": "uint64"
-    },
-    {
-      "name": "max_unmap_size",
-      "type": "uint64"
-    },
-    {
-      "name": "port_index",
-      "type": "uint16"
-    },
-    {
-      "name": "port_wwn",
-      "type": "uint64"
-    },
-    {
-      "name": "wwn",
-      "type": "uint64"
-    },
-    {
-      "name": "dpofua",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "removable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "product",
-      "type": "str"
-    },
-    {
-      "name": "vendor",
-      "type": "str"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "ver",
-      "type": "str"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-20"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "unit",
-      "type": "uint32"
-    },
-    {
-      "name": "model",
-      "type": "str"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "wwn",
-      "type": "uint64"
-    },
-    {
-      "name": "ver",
-      "type": "str"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-21"
-}
-
-{
-  "return": [
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "memory-hotplug-support",
-      "type": "bool"
-    },
-    {
-      "name": "acpi-pci-hotplug-with-bridge-support",
-      "type": "bool"
-    },
-    {
-      "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": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "msos-desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "full-path",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "port",
-      "type": "str"
-    },
-    {
-      "name": "filter",
-      "type": "str"
-    },
-    {
-      "name": "debug",
-      "type": "uint8"
-    },
-    {
-      "name": "chardev",
-      "description": "ID of a chardev to use as a backend",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-23"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "msos-desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "full-path",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "port",
-      "type": "str"
-    },
-    {
-      "name": "pipeline",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "loglevel",
-      "type": "uint32"
-    },
-    {
-      "name": "isobsize",
-      "type": "uint32"
-    },
-    {
-      "name": "isobufs",
-      "type": "uint32"
-    },
-    {
-      "name": "productid",
-      "type": "uint32"
-    },
-    {
-      "name": "vendorid",
-      "type": "uint32"
-    },
-    {
-      "name": "hostport",
-      "type": "str"
-    },
-    {
-      "name": "hostaddr",
-      "type": "uint32"
-    },
-    {
-      "name": "hostbus",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-24"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "lun",
-      "type": "uint32"
-    },
-    {
-      "name": "scsi-id",
-      "type": "uint32"
-    },
-    {
-      "name": "channel",
-      "type": "uint32"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-25"
-}
-
-{
-  "return": [
-    {
-      "name": "pci-hole64-end",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole64-start",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole-end",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole-start",
-      "type": "int"
-    },
-    {
-      "name": "pci-conf-data[0]",
-      "type": "child<qemu:memory-region>"
-    },
-    {
-      "name": "pci-conf-idx[0]",
-      "type": "child<qemu:memory-region>"
-    },
-    {
-      "name": "short_root_bus",
-      "type": "uint32"
-    },
-    {
-      "name": "pci-hole64-size",
-      "type": "size"
-    }
-  ],
-  "id": "libvirt-26"
-}
-
-{
-  "return": [
-    {
-      "name": "mcfg_size",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole64-end",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole64-start",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole-end",
-      "type": "int"
-    },
-    {
-      "name": "pci-hole-start",
-      "type": "int"
-    },
-    {
-      "name": "mch",
-      "type": "child<mch>"
-    },
-    {
-      "name": "pci-conf-data[0]",
-      "type": "child<qemu:memory-region>"
-    },
-    {
-      "name": "pci-conf-idx[0]",
-      "type": "child<qemu:memory-region>"
-    },
-    {
-      "name": "pcie-mmcfg-mmio[0]",
-      "type": "child<qemu:memory-region>"
-    },
-    {
-      "name": "short_root_bus",
-      "type": "uint32"
-    },
-    {
-      "name": "pci-hole64-size",
-      "type": "size"
-    },
-    {
-      "name": "MCFG",
-      "type": "uint64"
-    }
-  ],
-  "id": "libvirt-27"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "msos-desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "full-path",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "port",
-      "type": "str"
-    },
-    {
-      "name": "removable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-28"
-}
-
-{
-  "return": [
-    {
-      "name": "lost_tick_policy",
-      "type": "LostTickPolicy"
-    },
-    {
-      "name": "iobase",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-29"
-}
-
-{
-  "return": [
-    {
-      "name": "big-endian-framebuffer",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "qemu-extended-regs",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "mmio",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vgamem_mb",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-30"
-}
-
-{
-  "return": [
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "vgamem_mb",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-31"
-}
-
-{
-  "return": [
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "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",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "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"
-}
-
-{
-  "return": [
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virgl",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "max_outputs",
-      "type": "uint32"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-gpu-device>"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vectors",
-      "type": "uint32"
-    },
-    {
-      "name": "ioeventfd",
-      "description": "on/off",
-      "type": "bool"
-    }
-  ],
-  "id": "libvirt-34"
-}
-
-{
-  "return":  [
-    {
-      "type": "bool",
-      "name": "memory-hotplug-support"
-    },
-    {
-      "type": "uint32",
-      "name": "rombar"
-    },
-    {
-      "type": "uint32",
-      "name": "sci_int"
-    },
-    {
-      "type": "uint32",
-      "name": "gpe0_blk_len"
-    },
-    {
-      "type": "uint32",
-      "name": "pm_io_base"
-    },
-    {
-      "type": "bool",
-      "name": "noreboot"
-    },
-    {
-      "type": "bool",
-      "name": "multifunction",
-      "description": "on/off"
-    },
-    {
-      "type": "uint8",
-      "name": "disable_s4"
-    },
-    {
-      "type": "uint8",
-      "name": "acpi_disable_cmd"
-    },
-    {
-      "type": "str",
-      "name": "romfile"
-    },
-    {
-      "type": "uint8",
-      "name": "disable_s3"
-    },
-    {
-      "type": "uint8",
-      "name": "s4_val"
-    },
-    {
-      "type": "uint8",
-      "name": "acpi_enable_cmd"
-    },
-    {
-      "type": "bool",
-      "name": "command_serr_enable",
-      "description": "on/off"
-    },
-    {
-      "type": "int32",
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06"
-    },
-    {
-      "type": "bool",
-      "name": "enable_tco"
-    },
-    {
-      "type": "uint32",
-      "name": "gpe0_blk"
-    }
-  ],
-  "id": "libvirt-35"
-}
-
-
-{
-  "return": [
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "class",
-      "type": "uint32"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest-stats-polling-interval",
-      "type": "int"
-    },
-    {
-      "name": "guest-stats",
-      "type": "guest statistics"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "migrate-extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "modern-pio-notify",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-balloon-device>"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-disable-pcie",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "deflate-on-oom",
-      "description": "on/off",
-      "type": "bool"
-    }
-  ],
-  "id": "libvirt-36"
-}
-
-{
-  "id": "libvirt-37",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'virtio-balloon-ccw' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest-stats-polling-interval",
-      "type": "int"
-    },
-    {
-      "name": "guest-stats",
-      "type": "guest statistics"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "deflate-on-oom",
-      "description": "on/off",
-      "type": "bool"
-    }
-  ],
-  "id": "libvirt-38"
-}
-
-{
-    "return": [
-        {
-            "name": "msi",
-            "type": "on/off"
-        },
-        {
-            "name": "msix",
-            "type": "on/off"
-        },
-        {
-            "name": "superspeed-ports-first",
-            "type": "on/off"
-        },
-        {
-            "name": "force-pcie-endcap",
-            "type": "on/off"
-        },
-        {
-            "name": "streams",
-            "type": "on/off"
-        },
-        {
-            "name": "intrs",
-            "type": "uint32"
-        },
-        {
-            "name": "slots",
-            "type": "uint32"
-        },
-        {
-            "name": "2",
-            "type": "uint32"
-        },
-        {
-            "name": "p3",
-            "type": "uint32"
-        }
-    ]
-}
-
-{
-  "return": [
-    {
-      "name": "pc-i440fx-2.4",
-      "is-default": true,
-      "cpu-max": 255,
-      "alias": "pc"
-    },
-    {
-      "name": "pc-1.3",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-0.12",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-1.6",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-1.5",
-      "cpu-max": 255
-    },
-    {
-      "name": "none",
-      "cpu-max": 1
-    },
-    {
-      "name": "pc-i440fx-1.6",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-2.2",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-1.7",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-2.1",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-0.11",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-0.10",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-2.2",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-1.2",
-      "cpu-max": 255
-    },
-    {
-      "name": "isapc",
-      "cpu-max": 1
-    },
-    {
-      "name": "pc-i440fx-2.3",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-1.4",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-0.15",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-1.5",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-2.0",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-1.4",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-0.14",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-1.1",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-2.1",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-1.7",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-1.0",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-i440fx-2.0",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-q35-2.4",
-      "cpu-max": 255,
-      "alias": "q35"
-    },
-    {
-      "name": "pc-q35-2.3",
-      "cpu-max": 255
-    },
-    {
-      "name": "pc-0.13",
-      "cpu-max": 255
-    }
-  ],
-  "id": "libvirt-39"
-}
-
-{
-  "return": [
-    {
-      "name": "Opteron_G5"
-    },
-    {
-      "name": "Opteron_G4"
-    },
-    {
-      "name": "Opteron_G3"
-    },
-    {
-      "name": "Opteron_G2"
-    },
-    {
-      "name": "Opteron_G1"
-    },
-    {
-      "name": "Broadwell"
-    },
-    {
-      "name": "Broadwell-noTSX"
-    },
-    {
-      "name": "Haswell"
-    },
-    {
-      "name": "Haswell-noTSX"
-    },
-    {
-      "name": "IvyBridge"
-    },
-    {
-      "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": [
-    "tpm-tis"
-  ],
-  "id": "libvirt-42"
-}
-
-{
-  "return": [
-    "passthrough"
-  ],
-  "id": "libvirt-43"
-}
-
-{
-  "return": [
-    {
-      "parameters": [
-        {
-          "name": "timeout",
-          "help": "Request timeout in seconds (default 0 = no timeout)",
-          "type": "number"
-        },
-        {
-          "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": [
-        {
-          "name": "non-adaptive",
-          "type": "boolean"
-        },
-        {
-          "name": "lossy",
-          "type": "boolean"
-        },
-        {
-          "name": "acl",
-          "type": "boolean"
-        },
-        {
-          "name": "x509verify",
-          "type": "string"
-        },
-        {
-          "name": "tls",
-          "type": "boolean"
-        },
-        {
-          "name": "sasl",
-          "type": "boolean"
-        },
-        {
-          "name": "lock-key-sync",
-          "type": "boolean"
-        },
-        {
-          "name": "reverse",
-          "type": "boolean"
-        },
-        {
-          "name": "password",
-          "type": "boolean"
-        },
-        {
-          "name": "ipv6",
-          "type": "boolean"
-        },
-        {
-          "name": "ipv4",
-          "type": "boolean"
-        },
-        {
-          "name": "to",
-          "type": "number"
-        },
-        {
-          "name": "connections",
-          "type": "number"
-        },
-        {
-          "name": "head",
-          "type": "number"
-        },
-        {
-          "name": "display",
-          "type": "string"
-        },
-        {
-          "name": "share",
-          "type": "string"
-        },
-        {
-          "name": "x509",
-          "type": "string"
-        },
-        {
-          "name": "websocket",
-          "type": "string"
-        },
-        {
-          "name": "vnc",
-          "type": "string"
-        }
-      ],
-      "option": "vnc"
-    },
-    {
-      "parameters": [
-        {
-          "name": "gl",
-          "type": "boolean"
-        },
-        {
-          "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": [
-      ],
-      "option": "smbios"
-    },
-    {
-      "parameters": [
-        {
-          "name": "file",
-          "help": "Sets the name of the file from which\nthe fw_cfg blob will be loaded",
-          "type": "string"
-        },
-        {
-          "name": "name",
-          "help": "Sets the fw_cfg name of the blob to be inserted",
-          "type": "string"
-        }
-      ],
-      "option": "fw_cfg"
-    },
-    {
-      "parameters": [
-        {
-          "name": "arg",
-          "type": "string"
-        },
-        {
-          "name": "target",
-          "type": "string"
-        },
-        {
-          "name": "enable",
-          "type": "boolean"
-        }
-      ],
-      "option": "semihosting-config"
-    },
-    {
-      "parameters": [
-        {
-          "name": "sleep",
-          "type": "boolean"
-        },
-        {
-          "name": "align",
-          "type": "boolean"
-        },
-        {
-          "name": "shift",
-          "type": "string"
-        }
-      ],
-      "option": "icount"
-    },
-    {
-      "parameters": [
-      ],
-      "option": "numa"
-    },
-    {
-      "parameters": [
-        {
-          "name": "debug-threads",
-          "help": "When enabled, name the individual threads; defaults off.\nNOTE: The thread names are for debugging and not a\nstable API.",
-          "type": "boolean"
-        },
-        {
-          "name": "process",
-          "help": "Sets the name of the QEMU process, as shown in top etc",
-          "type": "string"
-        },
-        {
-          "name": "guest",
-          "help": "Sets the name of the guest.\nThis name will be displayed in the SDL window caption.\nThe name will also be used for the VNC server",
-          "type": "string"
-        }
-      ],
-      "option": "name"
-    },
-    {
-      "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": "boolean"
-        },
-        {
-          "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": "maxmem",
-          "type": "size"
-        },
-        {
-          "name": "slots",
-          "type": "number"
-        },
-        {
-          "name": "size",
-          "type": "size"
-        }
-      ],
-      "option": "memory"
-    },
-    {
-      "parameters": [
-        {
-          "name": "suppress-vmdesc",
-          "help": "Set on to disable self-describing migration",
-          "type": "boolean"
-        },
-        {
-          "name": "iommu",
-          "help": "Set on/off to enable/disable Intel IOMMU (VT-d)",
-          "type": "boolean"
-        },
-        {
-          "name": "firmware",
-          "help": "firmware image",
-          "type": "string"
-        },
-        {
-          "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": "append",
-          "type": "bool"
-        },
-        {
-          "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": "reconnect",
-          "type": "number"
-        },
-        {
-          "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": "werror",
-          "help": "write error action",
-          "type": "string"
-        },
-        {
-          "name": "rerror",
-          "help": "read error action",
-          "type": "string"
-        },
-        {
-          "name": "read-only",
-          "help": "open drive file as read-only",
-          "type": "boolean"
-        },
-        {
-          "name": "file",
-          "help": "file name",
-          "type": "string"
-        },
-        {
-          "name": "serial",
-          "help": "disk serial number",
-          "type": "string"
-        },
-        {
-          "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": "detect-zeroes",
-          "help": "try to optimize zero writes (off, on, unmap)",
-          "type": "string"
-        },
-        {
-          "name": "throttling.group",
-          "help": "name of the block throttling group",
-          "type": "string"
-        },
-        {
-          "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": "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": "snapshot",
-          "help": "enable/disable snapshot mode",
-          "type": "boolean"
-        }
-      ],
-      "option": "drive"
-    }
-  ],
-  "id": "libvirt-44"
-}
-
-{
-  "return": [
-    {
-      "state": false,
-      "capability": "xbzrle"
-    },
-    {
-      "state": false,
-      "capability": "rdma-pin-all"
-    },
-    {
-      "state": false,
-      "capability": "auto-converge"
-    },
-    {
-      "state": false,
-      "capability": "zero-blocks"
-    },
-    {
-      "state": false,
-      "capability": "compress"
-    },
-    {
-      "state": false,
-      "capability": "events"
-    }
-  ],
-  "id": "libvirt-45"
-}
diff --git a/tests/qemucapabilitiesdata/caps_2.6.0-1.x86_64.xml b/tests/qemucapabilitiesdata/caps_2.6.0-1.x86_64.xml
deleted file mode 100644 (file)
index 9024d63..0000000
+++ /dev/null
@@ -1,251 +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='device'/>
-  <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='drive-readonly'/>
-  <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-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='rombar'/>
-  <flag name='ich9-ahci'/>
-  <flag name='no-acpi'/>
-  <flag name='fsdev-readonly'/>
-  <flag name='virtio-blk-pci.scsi'/>
-  <flag name='blk-sg-io'/>
-  <flag name='drive-copy-on-read'/>
-  <flag name='cpu-host'/>
-  <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='tpm-passthrough'/>
-  <flag name='tpm-tis'/>
-  <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='active-commit'/>
-  <flag name='change-backing-file'/>
-  <flag name='memory-backend-ram'/>
-  <flag name='numa'/>
-  <flag name='memory-backend-file'/>
-  <flag name='usb-audio'/>
-  <flag name='rtc-reset-reinjection'/>
-  <flag name='splash-timeout'/>
-  <flag name='iothread'/>
-  <flag name='migrate-rdma'/>
-  <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='pc-dimm'/>
-  <flag name='machine-vmport-opt'/>
-  <flag name='pci-serial'/>
-  <flag name='vhost-user-multiqueue'/>
-  <flag name='migration-event'/>
-  <flag name='ioh3420'/>
-  <flag name='x3130-upstream'/>
-  <flag name='xio3130-downstream'/>
-  <flag name='rtl8139'/>
-  <flag name='e1000'/>
-  <flag name='virtio-net'/>
-  <flag name='gic-version'/>
-  <flag name='incoming-defer'/>
-  <flag name='virtio-gpu'/>
-  <flag name='virtio-gpu.virgl'/>
-  <flag name='virtio-keyboard'/>
-  <flag name='virtio-mouse'/>
-  <flag name='virtio-tablet'/>
-  <flag name='virtio-input-host'/>
-  <flag name='chardev-file-append'/>
-  <flag name='ich9-disable-s3'/>
-  <flag name='ich9-disable-s4'/>
-  <flag name='vserport-change-event'/>
-  <flag name='virtio-balloon-pci.deflate-on-oom'/>
-  <flag name='spice-gl'/>
-  <flag name='qxl.vram64_size_mb'/>
-  <flag name='qxl-vga.vram64_size_mb'/>
-  <flag name='debug-threads'/>
-  <flag name='secret'/>
-  <flag name='pxb'/>
-  <flag name='pxb-pcie'/>
-  <flag name='device-tray-moved-event'/>
-  <flag name='nec-usb-xhci-ports'/>
-  <flag name='virtio-scsi-pci.iothread'/>
-  <version>2005050</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='Broadwell'/>
-  <cpu name='Broadwell-noTSX'/>
-  <cpu name='Haswell'/>
-  <cpu name='Haswell-noTSX'/>
-  <cpu name='IvyBridge'/>
-  <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-2.4' alias='pc' maxCpus='255'/>
-  <machine name='pc-1.3' maxCpus='255'/>
-  <machine name='pc-0.12' maxCpus='255'/>
-  <machine name='pc-q35-1.6' maxCpus='255'/>
-  <machine name='pc-q35-1.5' maxCpus='255'/>
-  <machine name='pc-i440fx-1.6' maxCpus='255'/>
-  <machine name='pc-q35-2.2' maxCpus='255'/>
-  <machine name='pc-i440fx-1.7' maxCpus='255'/>
-  <machine name='pc-q35-2.1' maxCpus='255'/>
-  <machine name='pc-0.11' maxCpus='255'/>
-  <machine name='pc-0.10' maxCpus='255'/>
-  <machine name='pc-i440fx-2.2' maxCpus='255'/>
-  <machine name='pc-1.2' maxCpus='255'/>
-  <machine name='isapc' maxCpus='1'/>
-  <machine name='pc-i440fx-2.3' maxCpus='255'/>
-  <machine name='pc-q35-1.4' maxCpus='255'/>
-  <machine name='pc-0.15' maxCpus='255'/>
-  <machine name='pc-i440fx-1.5' maxCpus='255'/>
-  <machine name='pc-q35-2.0' maxCpus='255'/>
-  <machine name='pc-i440fx-1.4' maxCpus='255'/>
-  <machine name='pc-0.14' maxCpus='255'/>
-  <machine name='pc-1.1' maxCpus='255'/>
-  <machine name='pc-i440fx-2.1' maxCpus='255'/>
-  <machine name='pc-q35-1.7' maxCpus='255'/>
-  <machine name='pc-1.0' maxCpus='255'/>
-  <machine name='pc-i440fx-2.0' maxCpus='255'/>
-  <machine name='pc-q35-2.4' alias='q35' maxCpus='255'/>
-  <machine name='pc-q35-2.3' maxCpus='255'/>
-  <machine name='pc-0.13' maxCpus='255'/>
-</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_2.6.0-2.aarch64.replies b/tests/qemucapabilitiesdata/caps_2.6.0-2.aarch64.replies
deleted file mode 100644 (file)
index c92815a..0000000
+++ /dev/null
@@ -1,4940 +0,0 @@
-{
-  "QMP": {
-    "version": {
-      "qemu": {
-        "micro": 94,
-        "minor": 5,
-        "major": 2
-      },
-      "package": ""
-    },
-    "capabilities": [
-    ]
-  }
-}
-
-{
-  "return": {
-  },
-  "id": "libvirt-1"
-}
-
-{
-  "return": {
-    "qemu": {
-      "micro": 94,
-      "minor": 5,
-      "major": 2
-    },
-    "package": ""
-  },
-  "id": "libvirt-2"
-}
-
-{
-  "return": {
-    "arch": "aarch64"
-  },
-  "id": "libvirt-3"
-}
-
-{
-  "return": [
-    {
-      "name": "query-gic-capabilities"
-    },
-    {
-      "name": "query-rocker-of-dpa-groups"
-    },
-    {
-      "name": "query-rocker-of-dpa-flows"
-    },
-    {
-      "name": "query-rocker-ports"
-    },
-    {
-      "name": "query-rocker"
-    },
-    {
-      "name": "block-set-write-threshold"
-    },
-    {
-      "name": "input-send-event"
-    },
-    {
-      "name": "trace-event-set-state"
-    },
-    {
-      "name": "trace-event-get-state"
-    },
-    {
-      "name": "query-acpi-ospm-status"
-    },
-    {
-      "name": "query-memory-devices"
-    },
-    {
-      "name": "query-memdev"
-    },
-    {
-      "name": "blockdev-change-medium"
-    },
-    {
-      "name": "query-named-block-nodes"
-    },
-    {
-      "name": "x-blockdev-insert-medium"
-    },
-    {
-      "name": "x-blockdev-remove-medium"
-    },
-    {
-      "name": "blockdev-close-tray"
-    },
-    {
-      "name": "blockdev-open-tray"
-    },
-    {
-      "name": "x-blockdev-del"
-    },
-    {
-      "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-parameters"
-    },
-    {
-      "name": "migrate-set-parameters"
-    },
-    {
-      "name": "query-migrate-capabilities"
-    },
-    {
-      "name": "migrate-set-capabilities"
-    },
-    {
-      "name": "query-migrate"
-    },
-    {
-      "name": "query-command-line-options"
-    },
-    {
-      "name": "query-uuid"
-    },
-    {
-      "name": "query-name"
-    },
-    {
-      "name": "query-vnc-servers"
-    },
-    {
-      "name": "query-vnc"
-    },
-    {
-      "name": "query-mice"
-    },
-    {
-      "name": "query-status"
-    },
-    {
-      "name": "query-kvm"
-    },
-    {
-      "name": "query-pci"
-    },
-    {
-      "name": "query-iothreads"
-    },
-    {
-      "name": "query-cpus"
-    },
-    {
-      "name": "query-blockstats"
-    },
-    {
-      "name": "query-block"
-    },
-    {
-      "name": "query-chardev-backends"
-    },
-    {
-      "name": "query-chardev"
-    },
-    {
-      "name": "query-qmp-schema"
-    },
-    {
-      "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": "change-backing-file"
-    },
-    {
-      "name": "blockdev-mirror"
-    },
-    {
-      "name": "drive-mirror"
-    },
-    {
-      "name": "blockdev-snapshot-delete-internal-sync"
-    },
-    {
-      "name": "blockdev-snapshot-internal-sync"
-    },
-    {
-      "name": "blockdev-snapshot"
-    },
-    {
-      "name": "blockdev-snapshot-sync"
-    },
-    {
-      "name": "block-dirty-bitmap-clear"
-    },
-    {
-      "name": "block-dirty-bitmap-remove"
-    },
-    {
-      "name": "block-dirty-bitmap-add"
-    },
-    {
-      "name": "transaction"
-    },
-    {
-      "name": "block-job-complete"
-    },
-    {
-      "name": "block-job-resume"
-    },
-    {
-      "name": "block-job-pause"
-    },
-    {
-      "name": "block-job-cancel"
-    },
-    {
-      "name": "block-job-set-speed"
-    },
-    {
-      "name": "blockdev-backup"
-    },
-    {
-      "name": "drive-backup"
-    },
-    {
-      "name": "block-commit"
-    },
-    {
-      "name": "block-stream"
-    },
-    {
-      "name": "block_resize"
-    },
-    {
-      "name": "object-del"
-    },
-    {
-      "name": "object-add"
-    },
-    {
-      "name": "netdev_del"
-    },
-    {
-      "name": "netdev_add"
-    },
-    {
-      "name": "query-dump"
-    },
-    {
-      "name": "query-dump-guest-memory-capability"
-    },
-    {
-      "name": "dump-guest-memory"
-    },
-    {
-      "name": "client_migrate_info"
-    },
-    {
-      "name": "migrate_set_downtime"
-    },
-    {
-      "name": "migrate_set_speed"
-    },
-    {
-      "name": "query-migrate-cache-size"
-    },
-    {
-      "name": "migrate-start-postcopy"
-    },
-    {
-      "name": "migrate-set-cache-size"
-    },
-    {
-      "name": "migrate-incoming"
-    },
-    {
-      "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": 15,
-    "fdset-id": 0
-  },
-  "id": "libvirt-5"
-}
-
-{
-  "id": "libvirt-6",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'bogus' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "WATCHDOG"
-    },
-    {
-      "name": "WAKEUP"
-    },
-    {
-      "name": "VSERPORT_CHANGE"
-    },
-    {
-      "name": "VNC_INITIALIZED"
-    },
-    {
-      "name": "VNC_DISCONNECTED"
-    },
-    {
-      "name": "VNC_CONNECTED"
-    },
-    {
-      "name": "SUSPEND_DISK"
-    },
-    {
-      "name": "SUSPEND"
-    },
-    {
-      "name": "STOP"
-    },
-    {
-      "name": "SPICE_MIGRATE_COMPLETED"
-    },
-    {
-      "name": "SPICE_INITIALIZED"
-    },
-    {
-      "name": "SPICE_DISCONNECTED"
-    },
-    {
-      "name": "SPICE_CONNECTED"
-    },
-    {
-      "name": "SHUTDOWN"
-    },
-    {
-      "name": "RTC_CHANGE"
-    },
-    {
-      "name": "RESUME"
-    },
-    {
-      "name": "RESET"
-    },
-    {
-      "name": "QUORUM_REPORT_BAD"
-    },
-    {
-      "name": "QUORUM_FAILURE"
-    },
-    {
-      "name": "POWERDOWN"
-    },
-    {
-      "name": "NIC_RX_FILTER_CHANGED"
-    },
-    {
-      "name": "MIGRATION_PASS"
-    },
-    {
-      "name": "MIGRATION"
-    },
-    {
-      "name": "MEM_UNPLUG_ERROR"
-    },
-    {
-      "name": "GUEST_PANICKED"
-    },
-    {
-      "name": "DUMP_COMPLETED"
-    },
-    {
-      "name": "DEVICE_TRAY_MOVED"
-    },
-    {
-      "name": "DEVICE_DELETED"
-    },
-    {
-      "name": "BLOCK_WRITE_THRESHOLD"
-    },
-    {
-      "name": "BLOCK_JOB_READY"
-    },
-    {
-      "name": "BLOCK_JOB_ERROR"
-    },
-    {
-      "name": "BLOCK_JOB_COMPLETED"
-    },
-    {
-      "name": "BLOCK_JOB_CANCELLED"
-    },
-    {
-      "name": "BLOCK_IO_ERROR"
-    },
-    {
-      "name": "BLOCK_IMAGE_CORRUPTED"
-    },
-    {
-      "name": "BALLOON_CHANGE"
-    },
-    {
-      "name": "ACPI_DEVICE_OST"
-    }
-  ],
-  "id": "libvirt-7"
-}
-
-{
-  "return": [
-    {
-      "name": "virtio-mmio"
-    },
-    {
-      "name": "scsi-generic"
-    },
-    {
-      "name": "qio-channel-tls"
-    },
-    {
-      "name": "scsi-hd"
-    },
-    {
-      "name": "pxa270-arm-cpu"
-    },
-    {
-      "name": "pxa270-a1-arm-cpu"
-    },
-    {
-      "name": "digic"
-    },
-    {
-      "name": "mv88w8618_flashcfg"
-    },
-    {
-      "name": "at25df641"
-    },
-    {
-      "name": "usb-bot"
-    },
-    {
-      "name": "lm3s811evb-machine"
-    },
-    {
-      "name": "mx25l3205d"
-    },
-    {
-      "name": "bcm2835-property"
-    },
-    {
-      "name": "pxa2xx-pcmcia"
-    },
-    {
-      "name": "canon-a1100-machine"
-    },
-    {
-      "name": "n25q512a"
-    },
-    {
-      "name": "lsi53c895a"
-    },
-    {
-      "name": "virtio-keyboard-pci"
-    },
-    {
-      "name": "mx25l6405d"
-    },
-    {
-      "name": "w25q256"
-    },
-    {
-      "name": "s25fl064k"
-    },
-    {
-      "name": "musicpal_gpio"
-    },
-    {
-      "name": "ide-hd"
-    },
-    {
-      "name": "virtio-net-device"
-    },
-    {
-      "name": "virtio-serial-pci"
-    },
-    {
-      "name": "cortex-r5-arm-cpu"
-    },
-    {
-      "name": "vexpress-a15-machine"
-    },
-    {
-      "name": "at45db081d"
-    },
-    {
-      "name": "en25p32"
-    },
-    {
-      "name": "pxa2xx-i2c-slave"
-    },
-    {
-      "name": "arm946-arm-cpu"
-    },
-    {
-      "name": "gpex-pcihost"
-    },
-    {
-      "name": "m25pe80"
-    },
-    {
-      "name": "pxa270-b0-arm-cpu"
-    },
-    {
-      "name": "s25fl256s1"
-    },
-    {
-      "name": "s25fl256s0"
-    },
-    {
-      "name": "platform-bus-device"
-    },
-    {
-      "name": "usb-host"
-    },
-    {
-      "name": "ich9-usb-uhci2"
-    },
-    {
-      "name": "usb-bt-dongle"
-    },
-    {
-      "name": "s25fl129p1"
-    },
-    {
-      "name": "s25fl129p0"
-    },
-    {
-      "name": "ccid-card-emulated"
-    },
-    {
-      "name": "virtio-input-host-pci"
-    },
-    {
-      "name": "kvm-arm-gicv3"
-    },
-    {
-      "name": "usb-mtp"
-    },
-    {
-      "name": "ich9-usb-uhci6"
-    },
-    {
-      "name": "SSI"
-    },
-    {
-      "name": "ich9-usb-uhci4"
-    },
-    {
-      "name": "e1000"
-    },
-    {
-      "name": "xlnx,ps7-usb"
-    },
-    {
-      "name": "s25sl12801"
-    },
-    {
-      "name": "s25sl12800"
-    },
-    {
-      "name": "ich9-usb-uhci5"
-    },
-    {
-      "name": "pxa2xx_rtc"
-    },
-    {
-      "name": "xlnx,zynq-xadc"
-    },
-    {
-      "name": "cortex-m4-arm-cpu"
-    },
-    {
-      "name": "sysbus-ahci"
-    },
-    {
-      "name": "ich9-usb-uhci3"
-    },
-    {
-      "name": "kvm-arm-gic"
-    },
-    {
-      "name": "imx.fec"
-    },
-    {
-      "name": "ich9-usb-uhci1"
-    },
-    {
-      "name": "tpci200"
-    },
-    {
-      "name": "spitz-lcdtg"
-    },
-    {
-      "name": "memory-backend-file"
-    },
-    {
-      "name": "stm32f2xx-usart"
-    },
-    {
-      "name": "cortex-m3-arm-cpu"
-    },
-    {
-      "name": "s25sl064p"
-    },
-    {
-      "name": "stm32f2xx-syscfg"
-    },
-    {
-      "name": "rtl8139"
-    },
-    {
-      "name": "exynos4210.i2c"
-    },
-    {
-      "name": "lan9118"
-    },
-    {
-      "name": "vexpress-a9-machine"
-    },
-    {
-      "name": "corgi-ssp"
-    },
-    {
-      "name": "megasas"
-    },
-    {
-      "name": "pxa2xx-fir"
-    },
-    {
-      "name": "s25sl064a"
-    },
-    {
-      "name": "container"
-    },
-    {
-      "name": "scsi-block"
-    },
-    {
-      "name": "omap-intc"
-    },
-    {
-      "name": "strongarm_pic"
-    },
-    {
-      "name": "sst25wf512"
-    },
-    {
-      "name": "max7310"
-    },
-    {
-      "name": "scsi-cd"
-    },
-    {
-      "name": "pxb-bus"
-    },
-    {
-      "name": "usb-audio"
-    },
-    {
-      "name": "accel"
-    },
-    {
-      "name": "pxa270-b1-arm-cpu"
-    },
-    {
-      "name": "m45pe80"
-    },
-    {
-      "name": "pxa2xx-dma"
-    },
-    {
-      "name": "filter-redirector"
-    },
-    {
-      "name": "imx.gpio"
-    },
-    {
-      "name": "arm-linux-boot-if"
-    },
-    {
-      "name": "isa-serial"
-    },
-    {
-      "name": "virtio-serial-device"
-    },
-    {
-      "name": "tegra2-ehci-usb"
-    },
-    {
-      "name": "vhost-scsi-pci"
-    },
-    {
-      "name": "integrator_debug"
-    },
-    {
-      "name": "imx25.ccm"
-    },
-    {
-      "name": "a15mpcore_priv"
-    },
-    {
-      "name": "tls-creds-anon"
-    },
-    {
-      "name": "fw_cfg_mem"
-    },
-    {
-      "name": "digic-timer"
-    },
-    {
-      "name": "usb-uas"
-    },
-    {
-      "name": "ide-cd"
-    },
-    {
-      "name": "usb-ccid"
-    },
-    {
-      "name": "cadence_uart"
-    },
-    {
-      "name": "virtio-balloon-pci"
-    },
-    {
-      "name": "gpio_i2c"
-    },
-    {
-      "name": "iothread"
-    },
-    {
-      "name": "spitz-keyboard"
-    },
-    {
-      "name": "xlnx-ep108-machine"
-    },
-    {
-      "name": "n25q256a"
-    },
-    {
-      "name": "lm8323"
-    },
-    {
-      "name": "bcm2835-ic"
-    },
-    {
-      "name": "xilinx-zynq-a9-machine"
-    },
-    {
-      "name": "arm1026-arm-cpu"
-    },
-    {
-      "name": "twl92230"
-    },
-    {
-      "name": "sdhci-pci"
-    },
-    {
-      "name": "virtio-input-host-device"
-    },
-    {
-      "name": "i82559er"
-    },
-    {
-      "name": "pci-bridge"
-    },
-    {
-      "name": "ivshmem-doorbell"
-    },
-    {
-      "name": "versatile_pci_host"
-    },
-    {
-      "name": "w25x80"
-    },
-    {
-      "name": "mv88w8618_wlan"
-    },
-    {
-      "name": "virtio-rng-device"
-    },
-    {
-      "name": "en25q32b"
-    },
-    {
-      "name": "pxa270-c0-arm-cpu"
-    },
-    {
-      "name": "mx25l1606e"
-    },
-    {
-      "name": "nand"
-    },
-    {
-      "name": "arm-gicv2m"
-    },
-    {
-      "name": "pxa27x-timer"
-    },
-    {
-      "name": "hda-micro"
-    },
-    {
-      "name": "pci-bridge-seat"
-    },
-    {
-      "name": "dc390"
-    },
-    {
-      "name": "stm32f2xx-timer"
-    },
-    {
-      "name": "pl190"
-    },
-    {
-      "name": "IDE"
-    },
-    {
-      "name": "at25256a-nonjedec"
-    },
-    {
-      "name": "fw_cfg_io"
-    },
-    {
-      "name": "integrator_core"
-    },
-    {
-      "name": "m25pe20"
-    },
-    {
-      "name": "ads7846"
-    },
-    {
-      "name": "sst25wf080"
-    },
-    {
-      "name": "memory-backend-ram"
-    },
-    {
-      "name": "am53c974"
-    },
-    {
-      "name": "connex-machine"
-    },
-    {
-      "name": "stellaris-adc"
-    },
-    {
-      "name": "exynos4210.mct"
-    },
-    {
-      "name": "virtio-blk-device"
-    },
-    {
-      "name": "at25128a-nonjedec"
-    },
-    {
-      "name": "cortex-a8-arm-cpu"
-    },
-    {
-      "name": "imx6.ccm"
-    },
-    {
-      "name": "qio-channel-file"
-    },
-    {
-      "name": "qio-channel-websock"
-    },
-    {
-      "name": "icp-ctrl-regs"
-    },
-    {
-      "name": "stellaris-gptm"
-    },
-    {
-      "name": "arm_gic"
-    },
-    {
-      "name": "pl181"
-    },
-    {
-      "name": "sl-nand"
-    },
-    {
-      "name": "m25pe16"
-    },
-    {
-      "name": "gpio-key"
-    },
-    {
-      "name": "hda-output"
-    },
-    {
-      "name": "w25x64"
-    },
-    {
-      "name": "VGA"
-    },
-    {
-      "name": "s25fl016k"
-    },
-    {
-      "name": "n800-machine"
-    },
-    {
-      "name": "m25p80"
-    },
-    {
-      "name": "at25df321a"
-    },
-    {
-      "name": "pxa2xx-mmci-bus"
-    },
-    {
-      "name": "lm3s6965evb-machine"
-    },
-    {
-      "name": "mptsas1068"
-    },
-    {
-      "name": "bcm2835-fb"
-    },
-    {
-      "name": "edu"
-    },
-    {
-      "name": "versatileab-machine"
-    },
-    {
-      "name": "virtio-mouse-pci"
-    },
-    {
-      "name": "strongarm-uart"
-    },
-    {
-      "name": "pl330"
-    },
-    {
-      "name": "ast2400"
-    },
-    {
-      "name": "mv88w8618_pit"
-    },
-    {
-      "name": "HDA"
-    },
-    {
-      "name": "qemu:memory-region"
-    },
-    {
-      "name": "mv88w8618_pic"
-    },
-    {
-      "name": "ssd0323"
-    },
-    {
-      "name": "omap2-intc"
-    },
-    {
-      "name": "sysbus-ohci"
-    },
-    {
-      "name": "borzoi-machine"
-    },
-    {
-      "name": "stellaris-i2c"
-    },
-    {
-      "name": "pl081"
-    },
-    {
-      "name": "pl080"
-    },
-    {
-      "name": "qtest-accel"
-    },
-    {
-      "name": "qio-channel-command"
-    },
-    {
-      "name": "m25p64"
-    },
-    {
-      "name": "w25x40"
-    },
-    {
-      "name": "tosa-machine"
-    },
-    {
-      "name": "pxb-host"
-    },
-    {
-      "name": "xio3130-downstream"
-    },
-    {
-      "name": "n25q128a13"
-    },
-    {
-      "name": "virtio-blk-pci"
-    },
-    {
-      "name": "cortex-a9-arm-cpu"
-    },
-    {
-      "name": "virtio-gpu-device"
-    },
-    {
-      "name": "QJSON"
-    },
-    {
-      "name": "n25q128a11"
-    },
-    {
-      "name": "lsi53c810"
-    },
-    {
-      "name": "strongarm-gpio"
-    },
-    {
-      "name": "cheetah-machine"
-    },
-    {
-      "name": "m45pe16"
-    },
-    {
-      "name": "pxa270-c5-arm-cpu"
-    },
-    {
-      "name": "System"
-    },
-    {
-      "name": "usb-serial"
-    },
-    {
-      "name": "m45pe10"
-    },
-    {
-      "name": "vt82c686b-usb-uhci"
-    },
-    {
-      "name": "sst25wf040"
-    },
-    {
-      "name": "w25x32"
-    },
-    {
-      "name": "s25sl032p"
-    },
-    {
-      "name": "ccid-card-passthru"
-    },
-    {
-      "name": "ccid-bus"
-    },
-    {
-      "name": "PCIE"
-    },
-    {
-      "name": "exynos4210.rtc"
-    },
-    {
-      "name": "sa1100-arm-cpu"
-    },
-    {
-      "name": "ssd0303"
-    },
-    {
-      "name": "s25sl032a"
-    },
-    {
-      "name": "gpex-root"
-    },
-    {
-      "name": "s25sl016a"
-    },
-    {
-      "name": "mv88w8618_audio"
-    },
-    {
-      "name": "s25sl008a"
-    },
-    {
-      "name": "virtio-serial-bus"
-    },
-    {
-      "name": "ssi-sd"
-    },
-    {
-      "name": "secondary-vga"
-    },
-    {
-      "name": "vhost-scsi"
-    },
-    {
-      "name": "pl061"
-    },
-    {
-      "name": "exynos4210-ehci-usb"
-    },
-    {
-      "name": "pci-ohci"
-    },
-    {
-      "name": "cfi.pflash02"
-    },
-    {
-      "name": "s25fl512s"
-    },
-    {
-      "name": "s70fl01gs"
-    },
-    {
-      "name": "cfi.pflash01"
-    },
-    {
-      "name": "w25x20"
-    },
-    {
-      "name": "usb-hub"
-    },
-    {
-      "name": "m25p40"
-    },
-    {
-      "name": "mx25l12855e"
-    },
-    {
-      "name": "exynos4210.pwm"
-    },
-    {
-      "name": "nmi"
-    },
-    {
-      "name": "midway-machine"
-    },
-    {
-      "name": "bcm2835-aux"
-    },
-    {
-      "name": "input-linux"
-    },
-    {
-      "name": "musicpal-misc"
-    },
-    {
-      "name": "w25x16"
-    },
-    {
-      "name": "SCSI"
-    },
-    {
-      "name": "w25x10"
-    },
-    {
-      "name": "sst25wf020"
-    },
-    {
-      "name": "vfio-amd-xgbe"
-    },
-    {
-      "name": "m25p32"
-    },
-    {
-      "name": "pxa2xx-gpio"
-    },
-    {
-      "name": "palmetto-bmc-machine"
-    },
-    {
-      "name": "mainstone-machine"
-    },
-    {
-      "name": "n810-machine"
-    },
-    {
-      "name": "pci-serial"
-    },
-    {
-      "name": "at26df161a"
-    },
-    {
-      "name": "terrier-machine"
-    },
-    {
-      "name": "max1111"
-    },
-    {
-      "name": "netduino2-machine"
-    },
-    {
-      "name": "max1110"
-    },
-    {
-      "name": "i82559c"
-    },
-    {
-      "name": "i82559b"
-    },
-    {
-      "name": "i82559a"
-    },
-    {
-      "name": "xlnx,zynqmp"
-    },
-    {
-      "name": "realview_pci"
-    },
-    {
-      "name": "pl041"
-    },
-    {
-      "name": "rocker"
-    },
-    {
-      "name": "pcnet"
-    },
-    {
-      "name": "n25q032a13"
-    },
-    {
-      "name": "n25q032a11"
-    },
-    {
-      "name": "filter-dump"
-    },
-    {
-      "name": "sst25wf010"
-    },
-    {
-      "name": "rng-egd"
-    },
-    {
-      "name": "gd25q64"
-    },
-    {
-      "name": "exynos4210.gic"
-    },
-    {
-      "name": "m25p20"
-    },
-    {
-      "name": "l2x0"
-    },
-    {
-      "name": "n25q064"
-    },
-    {
-      "name": "pl031"
-    },
-    {
-      "name": "arm_mptimer"
-    },
-    {
-      "name": "n25q064a13"
-    },
-    {
-      "name": "n25q064a11"
-    },
-    {
-      "name": "raspi2-machine"
-    },
-    {
-      "name": "scoop"
-    },
-    {
-      "name": "strongarm-ssp"
-    },
-    {
-      "name": "i82558b"
-    },
-    {
-      "name": "i82558a"
-    },
-    {
-      "name": "exynos4210.fimd"
-    },
-    {
-      "name": "pl111"
-    },
-    {
-      "name": "smbus-eeprom"
-    },
-    {
-      "name": "pl110"
-    },
-    {
-      "name": "tosa_dac"
-    },
-    {
-      "name": "onenand"
-    },
-    {
-      "name": "m25p16"
-    },
-    {
-      "name": "bcm2835-dma"
-    },
-    {
-      "name": "allwinner-A10-timer"
-    },
-    {
-      "name": "m25p10"
-    },
-    {
-      "name": "i82801"
-    },
-    {
-      "name": "tls-creds-x509"
-    },
-    {
-      "name": "virtio-net-pci"
-    },
-    {
-      "name": "virtio-keyboard-device"
-    },
-    {
-      "name": "i82562"
-    },
-    {
-      "name": "usb-net"
-    },
-    {
-      "name": "highbank-machine"
-    },
-    {
-      "name": "at26df081a"
-    },
-    {
-      "name": "digic-uart"
-    },
-    {
-      "name": "i82557c"
-    },
-    {
-      "name": "cortex-a53-arm-cpu"
-    },
-    {
-      "name": "s25sl004a"
-    },
-    {
-      "name": "arm1176-arm-cpu"
-    },
-    {
-      "name": "i82557b"
-    },
-    {
-      "name": "i82557a"
-    },
-    {
-      "name": "pl022"
-    },
-    {
-      "name": "virtio-gpu-pci"
-    },
-    {
-      "name": "sdhci-bus"
-    },
-    {
-      "name": "pl061_luminary"
-    },
-    {
-      "name": "usb-mouse"
-    },
-    {
-      "name": "m25p05"
-    },
-    {
-      "name": "strongarm-rtc"
-    },
-    {
-      "name": "n25q128"
-    },
-    {
-      "name": "imx.epit"
-    },
-    {
-      "name": "i82551"
-    },
-    {
-      "name": "i82550"
-    },
-    {
-      "name": "armv7m_nvic"
-    },
-    {
-      "name": "cubieboard-machine"
-    },
-    {
-      "name": "fsl,imx31"
-    },
-    {
-      "name": "imx.i2c"
-    },
-    {
-      "name": "highbank-regs"
-    },
-    {
-      "name": "virt-2.6-machine"
-    },
-    {
-      "name": "sa1110-arm-cpu"
-    },
-    {
-      "name": "ich9-usb-ehci2"
-    },
-    {
-      "name": "user-creatable"
-    },
-    {
-      "name": "pl011"
-    },
-    {
-      "name": "ich9-usb-ehci1"
-    },
-    {
-      "name": "vfio-pci"
-    },
-    {
-      "name": "filter-mirror"
-    },
-    {
-      "name": "tusb6010"
-    },
-    {
-      "name": "realview_mpcore"
-    },
-    {
-      "name": "w25q32dw"
-    },
-    {
-      "name": "sx1-v1-machine"
-    },
-    {
-      "name": "fsl,imx25"
-    },
-    {
-      "name": "gd25q32"
-    },
-    {
-      "name": "cortex-a57-arm-cpu"
-    },
-    {
-      "name": "irq"
-    },
-    {
-      "name": "n25q032"
-    },
-    {
-      "name": "cadence_ttc"
-    },
-    {
-      "name": "pxa2xx_pic"
-    },
-    {
-      "name": "arm.cortex-a9-global-timer"
-    },
-    {
-      "name": "nec-usb-xhci"
-    },
-    {
-      "name": "qio-channel-socket"
-    },
-    {
-      "name": "ti925t-arm-cpu"
-    },
-    {
-      "name": "piix3-usb-uhci"
-    },
-    {
-      "name": "virtserialport"
-    },
-    {
-      "name": "pvscsi"
-    },
-    {
-      "name": "sd-bus"
-    },
-    {
-      "name": "sx1-machine"
-    },
-    {
-      "name": "320s33b"
-    },
-    {
-      "name": "dscm1xxxx"
-    },
-    {
-      "name": "ich9-ahci"
-    },
-    {
-      "name": "isa-dma"
-    },
-    {
-      "name": "realview-eb-mpcore-machine"
-    },
-    {
-      "name": "IndustryPack"
-    },
-    {
-      "name": "mx25l8005"
-    },
-    {
-      "name": "pl050_keyboard"
-    },
-    {
-      "name": "kzm-machine"
-    },
-    {
-      "name": "pxa250-arm-cpu"
-    },
-    {
-      "name": "virtio-rng-pci"
-    },
-    {
-      "name": "usb-ehci"
-    },
-    {
-      "name": "realview_sysctl"
-    },
-    {
-      "name": "smc91c111"
-    },
-    {
-      "name": "arm11mpcore-arm-cpu"
-    },
-    {
-      "name": "versatile_pci"
-    },
-    {
-      "name": "pxa2xx-mmci"
-    },
-    {
-      "name": "xgmac"
-    },
-    {
-      "name": "sst25vf080b"
-    },
-    {
-      "name": "akita-machine"
-    },
-    {
-      "name": "imx.gpt"
-    },
-    {
-      "name": "allwinner-a10"
-    },
-    {
-      "name": "e1000-82545em"
-    },
-    {
-      "name": "sp804"
-    },
-    {
-      "name": "tmp105"
-    },
-    {
-      "name": "w25q80"
-    },
-    {
-      "name": "integrator_pit"
-    },
-    {
-      "name": "e1000-82544gc"
-    },
-    {
-      "name": "pci-serial-4x"
-    },
-    {
-      "name": "mv88w8618_eth"
-    },
-    {
-      "name": "versatilepb_sic"
-    },
-    {
-      "name": "ioh3420"
-    },
-    {
-      "name": "virtio-9p-pci"
-    },
-    {
-      "name": "integrator_pic"
-    },
-    {
-      "name": "virtio-9p-device"
-    },
-    {
-      "name": "m25p128"
-    },
-    {
-      "name": "en25f32"
-    },
-    {
-      "name": "filter-buffer"
-    },
-    {
-      "name": "versatile_i2c"
-    },
-    {
-      "name": "acpi-device-interface"
-    },
-    {
-      "name": "z2-machine"
-    },
-    {
-      "name": "xilinx,zynq_slcr"
-    },
-    {
-      "name": "ich9-intel-hda"
-    },
-    {
-      "name": "at26f004"
-    },
-    {
-      "name": "ivshmem"
-    },
-    {
-      "name": "n25q256a13"
-    },
-    {
-      "name": "160s33b"
-    },
-    {
-      "name": "n25q256a11"
-    },
-    {
-      "name": "exynos4210.irq_gate"
-    },
-    {
-      "name": "musicpal-machine"
-    },
-    {
-      "name": "exynos4210.combiner"
-    },
-    {
-      "name": "arm926-arm-cpu"
-    },
-    {
-      "name": "virtio-tablet-pci"
-    },
-    {
-      "name": "exynos4210.pmu"
-    },
-    {
-      "name": "secret"
-    },
-    {
-      "name": "ipoctal232"
-    },
-    {
-      "name": "omap_i2c"
-    },
-    {
-      "name": "omap-gpio"
-    },
-    {
-      "name": "virtio-tablet-device"
-    },
-    {
-      "name": "w25q64"
-    },
-    {
-      "name": "virtio-pci-bus"
-    },
-    {
-      "name": "virtio-scsi-pci"
-    },
-    {
-      "name": "at25df041a"
-    },
-    {
-      "name": "mx25l12805d"
-    },
-    {
-      "name": "x3130-upstream"
-    },
-    {
-      "name": "ES1370"
-    },
-    {
-      "name": "pci-testdev"
-    },
-    {
-      "name": "at25fs040"
-    },
-    {
-      "name": "qemu-console"
-    },
-    {
-      "name": "xlnx.ps7-spi"
-    },
-    {
-      "name": "ISA"
-    },
-    {
-      "name": "piix4-usb-uhci"
-    },
-    {
-      "name": "ARM,bitband-memory"
-    },
-    {
-      "name": "tcg-accel"
-    },
-    {
-      "name": "virtconsole"
-    },
-    {
-      "name": "mx25l25655e"
-    },
-    {
-      "name": "aspeed.timer"
-    },
-    {
-      "name": "pci-serial-2x"
-    },
-    {
-      "name": "bcm2836-control"
-    },
-    {
-      "name": "bcm2835-peripherals"
-    },
-    {
-      "name": "musicpal_key"
-    },
-    {
-      "name": "realview-pb-a8-machine"
-    },
-    {
-      "name": "virtio-mmio-bus"
-    },
-    {
-      "name": "pxa25x-timer"
-    },
-    {
-      "name": "usb-bus"
-    },
-    {
-      "name": "versatilepb-machine"
-    },
-    {
-      "name": "w25q80bl"
-    },
-    {
-      "name": "pxa255-arm-cpu"
-    },
-    {
-      "name": "allwinner-emac"
-    },
-    {
-      "name": "at26df321"
-    },
-    {
-      "name": "pxa261-arm-cpu"
-    },
-    {
-      "name": "strongarm-ppc"
-    },
-    {
-      "name": "hotplug-handler"
-    },
-    {
-      "name": "tosa-ssp"
-    },
-    {
-      "name": "pl050_mouse"
-    },
-    {
-      "name": "i82801b11-bridge"
-    },
-    {
-      "name": "PCI"
-    },
-    {
-      "name": "usb-storage"
-    },
-    {
-      "name": "fusbh200-ehci-usb"
-    },
-    {
-      "name": "arm1136-r2-arm-cpu"
-    },
-    {
-      "name": "pxa260-arm-cpu"
-    },
-    {
-      "name": "esp"
-    },
-    {
-      "name": "realview-eb-machine"
-    },
-    {
-      "name": "musicpal_lcd"
-    },
-    {
-      "name": "isabus-bridge"
-    },
-    {
-      "name": "ne2k_pci"
-    },
-    {
-      "name": "realview-pbx-a9-machine"
-    },
-    {
-      "name": "ivshmem-plain"
-    },
-    {
-      "name": "usb-kbd"
-    },
-    {
-      "name": "pxa2xx_i2c"
-    },
-    {
-      "name": "stellaris_enet"
-    },
-    {
-      "name": "imx31.ccm"
-    },
-    {
-      "name": "cortex-a15-arm-cpu"
-    },
-    {
-      "name": "spitz-machine"
-    },
-    {
-      "name": "hda-duplex"
-    },
-    {
-      "name": "a9-scu"
-    },
-    {
-      "name": "stm32f205-soc"
-    },
-    {
-      "name": "w25q32"
-    },
-    {
-      "name": "wm8750"
-    },
-    {
-      "name": "virtio-balloon-device"
-    },
-    {
-      "name": "none-machine"
-    },
-    {
-      "name": "megasas-gen2"
-    },
-    {
-      "name": "allwinner-ahci"
-    },
-    {
-      "name": "m25px64"
-    },
-    {
-      "name": "pl011_luminary"
-    },
-    {
-      "name": "at25fs010"
-    },
-    {
-      "name": "allwinner-a10-pic"
-    },
-    {
-      "name": "imx25-pdk-machine"
-    },
-    {
-      "name": "nvme"
-    },
-    {
-      "name": "arm1136-arm-cpu"
-    },
-    {
-      "name": "mx25l4005a"
-    },
-    {
-      "name": "usb-tablet"
-    },
-    {
-      "name": "usb-braille"
-    },
-    {
-      "name": "qio-channel-buffer"
-    },
-    {
-      "name": "en25q64"
-    },
-    {
-      "name": "scsi-disk"
-    },
-    {
-      "name": "fw_cfg"
-    },
-    {
-      "name": "intel-hda"
-    },
-    {
-      "name": "collie-machine"
-    },
-    {
-      "name": "arm11mpcore_priv"
-    },
-    {
-      "name": "kvm-accel"
-    },
-    {
-      "name": "pxb-pcie-bus"
-    },
-    {
-      "name": "virtio-scsi-device"
-    },
-    {
-      "name": "realview_gic"
-    },
-    {
-      "name": "smdkc210-machine"
-    },
-    {
-      "name": "bcm2835-mbox"
-    },
-    {
-      "name": "AC97"
-    },
-    {
-      "name": "usb-wacom-tablet"
-    },
-    {
-      "name": "pxa270-a0-arm-cpu"
-    },
-    {
-      "name": "ds1338"
-    },
-    {
-      "name": "pxa262-arm-cpu"
-    },
-    {
-      "name": "i2c-bus"
-    },
-    {
-      "name": "exynos4210.uart"
-    },
-    {
-      "name": "virtio-mouse-device"
-    },
-    {
-      "name": "mx25l25635e"
-    },
-    {
-      "name": "pxb-pcie"
-    },
-    {
-      "name": "640s33b"
-    },
-    {
-      "name": "pl110_versatile"
-    },
-    {
-      "name": "mx25l2005a"
-    },
-    {
-      "name": "a9mpcore_priv"
-    },
-    {
-      "name": "generic-sdhci"
-    },
-    {
-      "name": "aspeed.vic"
-    },
-    {
-      "name": "mainstone-fpga"
-    },
-    {
-      "name": "cadence_gem"
-    },
-    {
-      "name": "sst25vf040b"
-    },
-    {
-      "name": "ide-drive"
-    },
-    {
-      "name": "sst25vf032b"
-    },
-    {
-      "name": "bcm2836"
-    },
-    {
-      "name": "sst25vf016b"
-    },
-    {
-      "name": "pxb"
-    },
-    {
-      "name": "omap2-gpio"
-    },
-    {
-      "name": "imx.serial"
-    },
-    {
-      "name": "xlnx.ps7-qspi"
-    },
-    {
-      "name": "en25p64"
-    },
-    {
-      "name": "pxa2xx-ssp"
-    },
-    {
-      "name": "arm11-scu"
-    },
-    {
-      "name": "i6300esb"
-    },
-    {
-      "name": "sd-card"
-    },
-    {
-      "name": "verdex-machine"
-    },
-    {
-      "name": "m25px32"
-    },
-    {
-      "name": "m25px32-s1"
-    },
-    {
-      "name": "m25px32-s0"
-    },
-    {
-      "name": "vmxnet3"
-    },
-    {
-      "name": "vfio-calxeda-xgmac"
-    },
-    {
-      "name": "imx.avic"
-    },
-    {
-      "name": "nuri-machine"
-    },
-    {
-      "name": "integratorcp-machine"
-    },
-    {
-      "name": "rng-random"
-    },
-    {
-      "name": "fw-path-provider"
-    }
-  ],
-  "id": "libvirt-8"
-}
-
-{
-  "return": [
-    {
-      "name": "request-merging",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "secs",
-      "type": "uint32"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "heads",
-      "type": "uint32"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "ioeventfd",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "scsi",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "cyls",
-      "type": "uint32"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "x-disable-pcie",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "iothread",
-      "type": "link<iothread>"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "class",
-      "type": "uint32"
-    },
-    {
-      "name": "migrate-extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "modern-pio-notify",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vectors",
-      "type": "uint32"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-blk-device>"
-    },
-    {
-      "name": "config-wce",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-9"
-}
-
-{
-  "return": [
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-txtimer",
-      "type": "uint32"
-    },
-    {
-      "name": "guest_ufo",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "mq",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "status",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host_ecn",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ioeventfd",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "tx",
-      "type": "str"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "ctrl_rx_extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_vq",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "mac",
-      "description": "Ethernet 6-byte MAC Address, example: 52:54:00:12:34:56",
-      "type": "str"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-disable-pcie",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_tso6",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "gso",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_ecn",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_rx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_tso4",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_csum",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest_announce",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-txburst",
-      "type": "int32"
-    },
-    {
-      "name": "ctrl_vlan",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "csum",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "mrg_rxbuf",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_guest_offloads",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host_tso6",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ctrl_mac_addr",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "migrate-extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "modern-pio-notify",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vectors",
-      "type": "uint32"
-    },
-    {
-      "name": "vlan",
-      "description": "Integer VLAN id to connect to",
-      "type": "int32"
-    },
-    {
-      "name": "host_tso4",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "host_ufo",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-net-device>"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "netdev",
-      "description": "ID of a netdev to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    }
-  ],
-  "id": "libvirt-10"
-}
-
-{
-  "return": [
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ioeventfd",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "cmd_per_lun",
-      "type": "uint32"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "param_change",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "iothread",
-      "type": "link<iothread>"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "migrate-extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "hotplug",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "modern-pio-notify",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "num_queues",
-      "type": "uint32"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-scsi-device>"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vectors",
-      "type": "uint32"
-    },
-    {
-      "name": "x-disable-pcie",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "max_sectors",
-      "type": "uint32"
-    },
-    {
-      "name": "rombar",
-      "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"
-  }
-}
-
-{
-  "id": "libvirt-18",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'kvm-pci-assign' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "x-pci-sub-device-id",
-      "type": "uint32"
-    },
-    {
-      "name": "x-no-kvm-msi",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "x-vga",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-pci-vendor-id",
-      "type": "uint32"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "x-req",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "x-no-kvm-intx",
-      "type": "bool"
-    },
-    {
-      "name": "x-pci-device-id",
-      "type": "uint32"
-    },
-    {
-      "name": "host",
-      "description": "Address (bus/device/function) of the host device, example: 04:10.0",
-      "type": "str"
-    },
-    {
-      "name": "x-no-kvm-msix",
-      "type": "bool"
-    },
-    {
-      "name": "x-intx-mmap-timeout-ms",
-      "type": "uint32"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "x-pci-sub-vendor-id",
-      "type": "uint32"
-    },
-    {
-      "name": "sysfsdev",
-      "type": "str"
-    },
-    {
-      "name": "x-no-mmap",
-      "type": "bool"
-    }
-  ],
-  "id": "libvirt-19"
-}
-
-{
-  "return": [
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "port_index",
-      "type": "uint16"
-    },
-    {
-      "name": "dpofua",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "lun",
-      "type": "uint32"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "port_wwn",
-      "type": "uint64"
-    },
-    {
-      "name": "max_unmap_size",
-      "type": "uint64"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "product",
-      "type": "str"
-    },
-    {
-      "name": "vendor",
-      "type": "str"
-    },
-    {
-      "name": "channel",
-      "type": "uint32"
-    },
-    {
-      "name": "wwn",
-      "type": "uint64"
-    },
-    {
-      "name": "removable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "scsi-id",
-      "type": "uint32"
-    },
-    {
-      "name": "ver",
-      "type": "str"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "max_io_size",
-      "type": "uint64"
-    }
-  ],
-  "id": "libvirt-20"
-}
-
-{
-  "return": [
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "unit",
-      "type": "uint32"
-    },
-    {
-      "name": "wwn",
-      "type": "uint64"
-    },
-    {
-      "name": "model",
-      "type": "str"
-    },
-    {
-      "name": "ver",
-      "type": "str"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    }
-  ],
-  "id": "libvirt-21"
-}
-
-{
-  "id": "libvirt-22",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'PIIX4_PM' not found"
-  }
-}
-
-{
-  "id": "libvirt-23",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'usb-redir' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "isobufs",
-      "type": "uint32"
-    },
-    {
-      "name": "hostaddr",
-      "type": "uint32"
-    },
-    {
-      "name": "msos-desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "productid",
-      "type": "uint32"
-    },
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "isobsize",
-      "type": "uint32"
-    },
-    {
-      "name": "port",
-      "type": "str"
-    },
-    {
-      "name": "vendorid",
-      "type": "uint32"
-    },
-    {
-      "name": "pipeline",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "hostport",
-      "type": "str"
-    },
-    {
-      "name": "full-path",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "loglevel",
-      "type": "uint32"
-    },
-    {
-      "name": "hostbus",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-24"
-}
-
-{
-  "return": [
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "lun",
-      "type": "uint32"
-    },
-    {
-      "name": "channel",
-      "type": "uint32"
-    },
-    {
-      "name": "scsi-id",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-25"
-}
-
-{
-  "id": "libvirt-26",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'i440FX-pcihost' not found"
-  }
-}
-
-{
-  "id": "libvirt-27",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'q35-pcihost' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "serial",
-      "type": "str"
-    },
-    {
-      "name": "msos-desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "logical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    },
-    {
-      "name": "discard_granularity",
-      "type": "uint32"
-    },
-    {
-      "name": "drive",
-      "description": "ID of a drive to use as a backend",
-      "type": "str"
-    },
-    {
-      "name": "bootindex",
-      "type": "int32"
-    },
-    {
-      "name": "opt_io_size",
-      "type": "uint32"
-    },
-    {
-      "name": "min_io_size",
-      "type": "uint16"
-    },
-    {
-      "name": "port",
-      "type": "str"
-    },
-    {
-      "name": "full-path",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "removable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "physical_block_size",
-      "description": "A power of two between 512 and 32768",
-      "type": "uint16"
-    }
-  ],
-  "id": "libvirt-28"
-}
-
-{
-  "id": "libvirt-29",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'kvm-pit' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "mmio",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "qemu-extended-regs",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "big-endian-framebuffer",
-      "type": "bool"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "vgamem_mb",
-      "type": "uint32"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    }
-  ],
-  "id": "libvirt-30"
-}
-
-{
-  "id": "libvirt-31",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'vmware-svga' not found"
-  }
-}
-
-{
-  "id": "libvirt-32",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'qxl' not found"
-  }
-}
-
-{
-  "id": "libvirt-33",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'qxl-vga' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "ioeventfd",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "migrate-extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "modern-pio-notify",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-gpu-device>"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "vectors",
-      "type": "uint32"
-    },
-    {
-      "name": "x-disable-pcie",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "max_outputs",
-      "type": "uint32"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-34"
-}
-
-{
-  "id": "libvirt-35",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'ICH9-LPC' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "disable-modern",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "virtio-pci-bus-master-bug-migration",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "class",
-      "type": "uint32"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest-stats-polling-interval",
-      "type": "int"
-    },
-    {
-      "name": "guest-stats",
-      "type": "guest statistics"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "migrate-extra",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "modern-pio-notify",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "virtio-backend",
-      "type": "child<virtio-balloon-device>"
-    },
-    {
-      "name": "disable-legacy",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "x-disable-pcie",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "deflate-on-oom",
-      "description": "on/off",
-      "type": "bool"
-    }
-  ],
-  "id": "libvirt-36"
-}
-
-{
-  "id": "libvirt-37",
-  "error": {
-    "class": "DeviceNotFound",
-    "desc": "Device 'virtio-balloon-ccw' not found"
-  }
-}
-
-{
-  "return": [
-    {
-      "name": "notify_on_empty",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "any_layout",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "indirect_desc",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "guest-stats",
-      "type": "guest statistics"
-    },
-    {
-      "name": "guest-stats-polling-interval",
-      "type": "int"
-    },
-    {
-      "name": "event_idx",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "deflate-on-oom",
-      "description": "on/off",
-      "type": "bool"
-    }
-  ],
-  "id": "libvirt-38"
-}
-
-{
-  "return": [
-    {
-      "name": "rombar",
-      "type": "uint32"
-    },
-    {
-      "name": "intrs",
-      "type": "uint32"
-    },
-    {
-      "name": "msix",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "multifunction",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "msi",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "superspeed-ports-first",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "streams",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "romfile",
-      "type": "str"
-    },
-    {
-      "name": "force-pcie-endcap",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "command_serr_enable",
-      "description": "on/off",
-      "type": "bool"
-    },
-    {
-      "name": "addr",
-      "description": "Slot and optional function number, example: 06.0 or 06",
-      "type": "int32"
-    },
-    {
-      "name": "p3",
-      "type": "uint32"
-    },
-    {
-      "name": "p2",
-      "type": "uint32"
-    },
-    {
-      "name": "slots",
-      "type": "uint32"
-    }
-  ],
-  "id": "libvirt-39"
-}
-
-{
-  "return": [
-    {
-      "name": "integratorcp",
-      "cpu-max": 1
-    },
-    {
-      "name": "nuri",
-      "cpu-max": 2
-    },
-    {
-      "name": "verdex",
-      "cpu-max": 1
-    },
-    {
-      "name": "smdkc210",
-      "cpu-max": 2
-    },
-    {
-      "name": "collie",
-      "cpu-max": 1
-    },
-    {
-      "name": "imx25-pdk",
-      "cpu-max": 1
-    },
-    {
-      "name": "none",
-      "cpu-max": 1
-    },
-    {
-      "name": "spitz",
-      "cpu-max": 1
-    },
-    {
-      "name": "realview-pbx-a9",
-      "cpu-max": 4
-    },
-    {
-      "name": "realview-eb",
-      "cpu-max": 1
-    },
-    {
-      "name": "versatilepb",
-      "cpu-max": 1
-    },
-    {
-      "name": "realview-pb-a8",
-      "cpu-max": 1
-    },
-    {
-      "name": "musicpal",
-      "cpu-max": 1
-    },
-    {
-      "name": "z2",
-      "cpu-max": 1
-    },
-    {
-      "name": "akita",
-      "cpu-max": 1
-    },
-    {
-      "name": "kzm",
-      "cpu-max": 1
-    },
-    {
-      "name": "realview-eb-mpcore",
-      "cpu-max": 4
-    },
-    {
-      "name": "sx1",
-      "cpu-max": 1
-    },
-    {
-      "name": "sx1-v1",
-      "cpu-max": 1
-    },
-    {
-      "name": "virt-2.6",
-      "cpu-max": 255,
-      "alias": "virt"
-    },
-    {
-      "name": "cubieboard",
-      "cpu-max": 1
-    },
-    {
-      "name": "highbank",
-      "cpu-max": 4
-    },
-    {
-      "name": "raspi2",
-      "cpu-max": 4
-    },
-    {
-      "name": "netduino2",
-      "cpu-max": 1
-    },
-    {
-      "name": "terrier",
-      "cpu-max": 1
-    },
-    {
-      "name": "n810",
-      "cpu-max": 1
-    },
-    {
-      "name": "mainstone",
-      "cpu-max": 1
-    },
-    {
-      "name": "palmetto-bmc",
-      "cpu-max": 1
-    },
-    {
-      "name": "midway",
-      "cpu-max": 4
-    },
-    {
-      "name": "cheetah",
-      "cpu-max": 1
-    },
-    {
-      "name": "tosa",
-      "cpu-max": 1
-    },
-    {
-      "name": "borzoi",
-      "cpu-max": 1
-    },
-    {
-      "name": "versatileab",
-      "cpu-max": 1
-    },
-    {
-      "name": "lm3s6965evb",
-      "cpu-max": 1
-    },
-    {
-      "name": "n800",
-      "cpu-max": 1
-    },
-    {
-      "name": "connex",
-      "cpu-max": 1
-    },
-    {
-      "name": "xilinx-zynq-a9",
-      "cpu-max": 1
-    },
-    {
-      "name": "xlnx-ep108",
-      "cpu-max": 1
-    },
-    {
-      "name": "vexpress-a9",
-      "cpu-max": 4
-    },
-    {
-      "name": "vexpress-a15",
-      "cpu-max": 4
-    },
-    {
-      "name": "canon-a1100",
-      "cpu-max": 1
-    },
-    {
-      "name": "lm3s811evb",
-      "cpu-max": 1
-    }
-  ],
-  "id": "libvirt-40"
-}
-
-{
-  "return": [
-    {
-      "name": "pxa262"
-    },
-    {
-      "name": "pxa270-a0"
-    },
-    {
-      "name": "arm1136"
-    },
-    {
-      "name": "cortex-a15"
-    },
-    {
-      "name": "pxa260"
-    },
-    {
-      "name": "arm1136-r2"
-    },
-    {
-      "name": "pxa261"
-    },
-    {
-      "name": "pxa255"
-    },
-    {
-      "name": "arm926"
-    },
-    {
-      "name": "arm11mpcore"
-    },
-    {
-      "name": "pxa250"
-    },
-    {
-      "name": "ti925t"
-    },
-    {
-      "name": "cortex-a57"
-    },
-    {
-      "name": "sa1110"
-    },
-    {
-      "name": "arm1176"
-    },
-    {
-      "name": "cortex-a53"
-    },
-    {
-      "name": "sa1100"
-    },
-    {
-      "name": "pxa270-c5"
-    },
-    {
-      "name": "cortex-a9"
-    },
-    {
-      "name": "cortex-a8"
-    },
-    {
-      "name": "pxa270-c0"
-    },
-    {
-      "name": "arm1026"
-    },
-    {
-      "name": "pxa270-b1"
-    },
-    {
-      "name": "cortex-m3"
-    },
-    {
-      "name": "cortex-m4"
-    },
-    {
-      "name": "pxa270-b0"
-    },
-    {
-      "name": "arm946"
-    },
-    {
-      "name": "cortex-r5"
-    },
-    {
-      "name": "pxa270-a1"
-    },
-    {
-      "name": "pxa270"
-    }
-  ],
-  "id": "libvirt-41"
-}
-
-{
-  "return": {
-    "enabled": false,
-    "present": true
-  },
-  "id": "libvirt-42"
-}
-
-{
-  "return": [
-  ],
-  "id": "libvirt-43"
-}
-
-{
-  "return": [
-  ],
-  "id": "libvirt-44"
-}
-
-{
-  "return": [
-    {
-      "parameters": [
-        {
-          "name": "timeout",
-          "help": "Request timeout in seconds (default 0 = no timeout)",
-          "type": "number"
-        },
-        {
-          "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-secret",
-          "help": "ID of the secret providing password for CHAP authentication to target",
-          "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": [
-        {
-          "name": "non-adaptive",
-          "type": "boolean"
-        },
-        {
-          "name": "lossy",
-          "type": "boolean"
-        },
-        {
-          "name": "acl",
-          "type": "boolean"
-        },
-        {
-          "name": "x509verify",
-          "type": "string"
-        },
-        {
-          "name": "tls",
-          "type": "boolean"
-        },
-        {
-          "name": "sasl",
-          "type": "boolean"
-        },
-        {
-          "name": "lock-key-sync",
-          "type": "boolean"
-        },
-        {
-          "name": "reverse",
-          "type": "boolean"
-        },
-        {
-          "name": "password",
-          "type": "boolean"
-        },
-        {
-          "name": "ipv6",
-          "type": "boolean"
-        },
-        {
-          "name": "ipv4",
-          "type": "boolean"
-        },
-        {
-          "name": "to",
-          "type": "number"
-        },
-        {
-          "name": "connections",
-          "type": "number"
-        },
-        {
-          "name": "head",
-          "type": "number"
-        },
-        {
-          "name": "display",
-          "type": "string"
-        },
-        {
-          "name": "share",
-          "type": "string"
-        },
-        {
-          "name": "x509",
-          "type": "string"
-        },
-        {
-          "name": "tls-creds",
-          "type": "string"
-        },
-        {
-          "name": "websocket",
-          "type": "string"
-        },
-        {
-          "name": "vnc",
-          "type": "string"
-        }
-      ],
-      "option": "vnc"
-    },
-    {
-      "parameters": [
-      ],
-      "option": "smbios"
-    },
-    {
-      "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": "string",
-          "help": "Sets content of the blob to be inserted from a string",
-          "type": "string"
-        },
-        {
-          "name": "file",
-          "help": "Sets the name of the file from which\nthe fw_cfg blob will be loaded",
-          "type": "string"
-        },
-        {
-          "name": "name",
-          "help": "Sets the fw_cfg name of the blob to be inserted",
-          "type": "string"
-        }
-      ],
-      "option": "fw_cfg"
-    },
-    {
-      "parameters": [
-        {
-          "name": "arg",
-          "type": "string"
-        },
-        {
-          "name": "target",
-          "type": "string"
-        },
-        {
-          "name": "enable",
-          "type": "boolean"
-        }
-      ],
-      "option": "semihosting-config"
-    },
-    {
-      "parameters": [
-        {
-          "name": "rrfile",
-          "type": "string"
-        },
-        {
-          "name": "rr",
-          "type": "string"
-        },
-        {
-          "name": "sleep",
-          "type": "boolean"
-        },
-        {
-          "name": "align",
-          "type": "boolean"
-        },
-        {
-          "name": "shift",
-          "type": "string"
-        }
-      ],
-      "option": "icount"
-    },
-    {
-      "parameters": [
-      ],
-      "option": "numa"
-    },
-    {
-      "parameters": [
-        {
-          "name": "debug-threads",
-          "help": "When enabled, name the individual threads; defaults off.\nNOTE: The thread names are for debugging and not a\nstable API.",
-          "type": "boolean"
-        },
-        {
-          "name": "process",
-          "help": "Sets the name of the QEMU process, as shown in top etc",
-          "type": "string"
-        },
-        {
-          "name": "guest",
-          "help": "Sets the name of the guest.\nThis name will be displayed in the SDL window caption.\nThe name will also be used for the VNC server",
-          "type": "string"
-        }
-      ],
-      "option": "name"
-    },
-    {
-      "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": "boolean"
-        },
-        {
-          "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": "maxmem",
-          "type": "size"
-        },
-        {
-          "name": "slots",
-          "type": "number"
-        },
-        {
-          "name": "size",
-          "type": "size"
-        }
-      ],
-      "option": "memory"
-    },
-    {
-      "parameters": [
-        {
-          "name": "dea-key-wrap",
-          "help": "enable/disable DEA key wrapping using the CPACF wrapping key",
-          "type": "boolean"
-        },
-        {
-          "name": "aes-key-wrap",
-          "help": "enable/disable AES key wrapping using the CPACF wrapping key",
-          "type": "boolean"
-        },
-        {
-          "name": "suppress-vmdesc",
-          "help": "Set on to disable self-describing migration",
-          "type": "boolean"
-        },
-        {
-          "name": "iommu",
-          "help": "Set on/off to enable/disable Intel IOMMU (VT-d)",
-          "type": "boolean"
-        },
-        {
-          "name": "firmware",
-          "help": "firmware image",
-          "type": "string"
-        },
-        {
-          "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"
-        },
-        {
-          "name": "enable",
-          "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": "logappend",
-          "type": "boolean"
-        },
-        {
-          "name": "logfile",
-          "type": "string"
-        },
-        {
-          "name": "append",
-          "type": "boolean"
-        },
-        {
-          "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": "tls-creds",
-          "type": "string"
-        },
-        {
-          "name": "telnet",
-          "type": "boolean"
-        },
-        {
-          "name": "reconnect",
-          "type": "number"
-        },
-        {
-          "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": "werror",
-          "help": "write error action",
-          "type": "string"
-        },
-        {
-          "name": "rerror",
-          "help": "read error action",
-          "type": "string"
-        },
-        {
-          "name": "read-only",
-          "help": "open drive file as read-only",
-          "type": "boolean"
-        },
-        {
-          "name": "file",
-          "help": "file name",
-          "type": "string"
-        },
-        {
-          "name": "serial",
-          "help": "disk serial number",
-          "type": "string"
-        },
-        {
-          "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": "stats-account-failed",
-          "help": "whether to account for failed I/O operations in the statistics",
-          "type": "boolean"
-        },
-        {
-          "name": "stats-account-invalid",
-          "help": "whether to account for invalid I/O operations in the statistics",
-          "type": "boolean"
-        },
-        {
-          "name": "detect-zeroes",
-          "help": "try to optimize zero writes (off, on, unmap)",
-          "type": "string"
-        },
-        {
-          "name": "throttling.group",
-          "help": "name of the block throttling group",
-          "type": "string"
-        },
-        {
-          "name": "throttling.iops-size",
-          "help": "when limiting by iops max size of an I/O in bytes",
-          "type": "number"
-        },
-        {
-          "name": "throttling.bps-write-max-length",
-          "help": "length of the bps-write-max burst period, in seconds",
-          "type": "number"
-        },
-        {
-          "name": "throttling.bps-read-max-length",
-          "help": "length of the bps-read-max burst period, in seconds",
-          "type": "number"
-        },
-        {
-          "name": "throttling.bps-total-max-length",
-          "help": "length of the bps-total-max burst period, in seconds",
-          "type": "number"
-        },
-        {
-          "name": "throttling.iops-write-max-length",
-          "help": "length of the iops-write-max burst period, in seconds",
-          "type": "number"
-        },
-        {
-          "name": "throttling.iops-read-max-length",
-          "help": "length of the iops-read-max burst period, in seconds",
-          "type": "number"
-        },
-        {
-          "name": "throttling.iops-total-max-length",
-          "help": "length of the iops-total-max burst period, in seconds",
-          "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": "format",
-          "help": "disk format (raw, qcow2, ...)",
-          "type": "string"
-        },
-        {
-          "name": "cache.writeback",
-          "help": "Enable writeback mode",
-          "type": "boolean"
-        },
-        {
-          "name": "aio",
-          "help": "host AIO implementation (threads, native)",
-          "type": "string"
-        },
-        {
-          "name": "discard",
-          "help": "discard operation (ignore/off, unmap/on)",
-          "type": "string"
-        },
-        {
-          "name": "snapshot",
-          "help": "enable/disable snapshot mode",
-          "type": "boolean"
-        }
-      ],
-      "option": "drive"
-    }
-  ],
-  "id": "libvirt-45"
-}
-
-{
-  "return": [
-    {
-      "state": false,
-      "capability": "xbzrle"
-    },
-    {
-      "state": false,
-      "capability": "rdma-pin-all"
-    },
-    {
-      "state": false,
-      "capability": "auto-converge"
-    },
-    {
-      "state": false,
-      "capability": "zero-blocks"
-    },
-    {
-      "state": false,
-      "capability": "compress"
-    },
-    {
-      "state": false,
-      "capability": "events"
-    },
-    {
-      "state": false,
-      "capability": "postcopy-ram"
-    }
-  ],
-  "id": "libvirt-46"
-}
-
-{
-  "return": [
-    {
-      "emulated": false,
-      "version": 3,
-      "kernel": true
-    },
-    {
-      "emulated": true,
-      "version": 2,
-      "kernel": false
-    }
-  ],
-  "id": "libvirt-47"
-}
diff --git a/tests/qemucapabilitiesdata/caps_2.6.0-2.aarch64.xml b/tests/qemucapabilitiesdata/caps_2.6.0-2.aarch64.xml
deleted file mode 100644 (file)
index f4d60d1..0000000
+++ /dev/null
@@ -1,238 +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='device'/>
-  <flag name='sdl'/>
-  <flag name='smp-topology'/>
-  <flag name='netdev'/>
-  <flag name='rtc'/>
-  <flag name='vhost-net'/>
-  <flag name='nodefconfig'/>
-  <flag name='boot-menu'/>
-  <flag name='fsdev'/>
-  <flag name='name-process'/>
-  <flag name='drive-readonly'/>
-  <flag name='smbios-type'/>
-  <flag name='vga-none'/>
-  <flag name='boot-index'/>
-  <flag name='hda-duplex'/>
-  <flag name='drive-aio'/>
-  <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='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='fsdev-readonly'/>
-  <flag name='virtio-blk-pci.scsi'/>
-  <flag name='blk-sg-io'/>
-  <flag name='drive-copy-on-read'/>
-  <flag name='cpu-host'/>
-  <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='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-host.bootindex'/>
-  <flag name='blockdev-snapshot-sync'/>
-  <flag name='VGA'/>
-  <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='usb-storage'/>
-  <flag name='usb-storage.removable'/>
-  <flag name='virtio-mmio'/>
-  <flag name='ich9-intel-hda'/>
-  <flag name='boot-strict'/>
-  <flag name='spiceport'/>
-  <flag name='usb-kbd'/>
-  <flag name='host-pci-multidomain'/>
-  <flag name='msg-timestamp'/>
-  <flag name='active-commit'/>
-  <flag name='change-backing-file'/>
-  <flag name='memory-backend-ram'/>
-  <flag name='numa'/>
-  <flag name='memory-backend-file'/>
-  <flag name='usb-audio'/>
-  <flag name='splash-timeout'/>
-  <flag name='iothread'/>
-  <flag name='migrate-rdma'/>
-  <flag name='ivshmem'/>
-  <flag name='drive-iotune-max'/>
-  <flag name='VGA.vgamem_mb'/>
-  <flag name='machine-vmport-opt'/>
-  <flag name='aes-key-wrap'/>
-  <flag name='dea-key-wrap'/>
-  <flag name='pci-serial'/>
-  <flag name='aarch64-off'/>
-  <flag name='vhost-user-multiqueue'/>
-  <flag name='migration-event'/>
-  <flag name='gpex-pcihost'/>
-  <flag name='ioh3420'/>
-  <flag name='x3130-upstream'/>
-  <flag name='xio3130-downstream'/>
-  <flag name='rtl8139'/>
-  <flag name='e1000'/>
-  <flag name='virtio-net'/>
-  <flag name='gic-version'/>
-  <flag name='incoming-defer'/>
-  <flag name='virtio-gpu'/>
-  <flag name='virtio-keyboard'/>
-  <flag name='virtio-mouse'/>
-  <flag name='virtio-tablet'/>
-  <flag name='virtio-input-host'/>
-  <flag name='chardev-file-append'/>
-  <flag name='vserport-change-event'/>
-  <flag name='virtio-balloon-pci.deflate-on-oom'/>
-  <flag name='mptsas1068'/>
-  <flag name='chardev-logfile'/>
-  <flag name='debug-threads'/>
-  <flag name='secret'/>
-  <flag name='pxb'/>
-  <flag name='pxb-pcie'/>
-  <flag name='device-tray-moved-event'/>
-  <flag name='nec-usb-xhci-ports'/>
-  <flag name='virtio-scsi-pci.iothread'/>
-  <version>2005094</version>
-  <kvmVersion>0</kvmVersion>
-  <package></package>
-  <arch>aarch64</arch>
-  <cpu name='pxa262'/>
-  <cpu name='pxa270-a0'/>
-  <cpu name='arm1136'/>
-  <cpu name='cortex-a15'/>
-  <cpu name='pxa260'/>
-  <cpu name='arm1136-r2'/>
-  <cpu name='pxa261'/>
-  <cpu name='pxa255'/>
-  <cpu name='arm926'/>
-  <cpu name='arm11mpcore'/>
-  <cpu name='pxa250'/>
-  <cpu name='ti925t'/>
-  <cpu name='cortex-a57'/>
-  <cpu name='sa1110'/>
-  <cpu name='arm1176'/>
-  <cpu name='cortex-a53'/>
-  <cpu name='sa1100'/>
-  <cpu name='pxa270-c5'/>
-  <cpu name='cortex-a9'/>
-  <cpu name='cortex-a8'/>
-  <cpu name='pxa270-c0'/>
-  <cpu name='arm1026'/>
-  <cpu name='pxa270-b1'/>
-  <cpu name='cortex-m3'/>
-  <cpu name='cortex-m4'/>
-  <cpu name='pxa270-b0'/>
-  <cpu name='arm946'/>
-  <cpu name='cortex-r5'/>
-  <cpu name='pxa270-a1'/>
-  <cpu name='pxa270'/>
-  <machine name='integratorcp' maxCpus='1'/>
-  <machine name='nuri' maxCpus='2'/>
-  <machine name='verdex' maxCpus='1'/>
-  <machine name='smdkc210' maxCpus='2'/>
-  <machine name='collie' maxCpus='1'/>
-  <machine name='imx25-pdk' maxCpus='1'/>
-  <machine name='spitz' maxCpus='1'/>
-  <machine name='realview-pbx-a9' maxCpus='4'/>
-  <machine name='realview-eb' maxCpus='1'/>
-  <machine name='versatilepb' maxCpus='1'/>
-  <machine name='realview-pb-a8' maxCpus='1'/>
-  <machine name='musicpal' maxCpus='1'/>
-  <machine name='z2' maxCpus='1'/>
-  <machine name='akita' maxCpus='1'/>
-  <machine name='kzm' maxCpus='1'/>
-  <machine name='realview-eb-mpcore' maxCpus='4'/>
-  <machine name='sx1' maxCpus='1'/>
-  <machine name='sx1-v1' maxCpus='1'/>
-  <machine name='virt-2.6' alias='virt' maxCpus='255'/>
-  <machine name='cubieboard' maxCpus='1'/>
-  <machine name='highbank' maxCpus='4'/>
-  <machine name='raspi2' maxCpus='4'/>
-  <machine name='netduino2' maxCpus='1'/>
-  <machine name='terrier' maxCpus='1'/>
-  <machine name='n810' maxCpus='1'/>
-  <machine name='mainstone' maxCpus='1'/>
-  <machine name='palmetto-bmc' maxCpus='1'/>
-  <machine name='midway' maxCpus='4'/>
-  <machine name='cheetah' maxCpus='1'/>
-  <machine name='tosa' maxCpus='1'/>
-  <machine name='borzoi' maxCpus='1'/>
-  <machine name='versatileab' maxCpus='1'/>
-  <machine name='lm3s6965evb' maxCpus='1'/>
-  <machine name='n800' maxCpus='1'/>
-  <machine name='connex' maxCpus='1'/>
-  <machine name='xilinx-zynq-a9' maxCpus='1'/>
-  <machine name='xlnx-ep108' maxCpus='1'/>
-  <machine name='vexpress-a9' maxCpus='4'/>
-  <machine name='vexpress-a15' maxCpus='4'/>
-  <machine name='canon-a1100' maxCpus='1'/>
-  <machine name='lm3s811evb' maxCpus='1'/>
-  <gic version='3' kernel='yes' emulated='no'/>
-  <gic version='2' kernel='no' emulated='yes'/>
-</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_2.6.0-gicv2.aarch64.replies b/tests/qemucapabilitiesdata/caps_2.6.0-gicv2.aarch64.replies
new file mode 100644 (file)
index 0000000..9e22177
--- /dev/null
@@ -0,0 +1,4940 @@
+{
+  "QMP": {
+    "version": {
+      "qemu": {
+        "micro": 94,
+        "minor": 5,
+        "major": 2
+      },
+      "package": ""
+    },
+    "capabilities": [
+    ]
+  }
+}
+
+{
+  "return": {
+  },
+  "id": "libvirt-1"
+}
+
+{
+  "return": {
+    "qemu": {
+      "micro": 94,
+      "minor": 5,
+      "major": 2
+    },
+    "package": ""
+  },
+  "id": "libvirt-2"
+}
+
+{
+  "return": {
+    "arch": "aarch64"
+  },
+  "id": "libvirt-3"
+}
+
+{
+  "return": [
+    {
+      "name": "query-gic-capabilities"
+    },
+    {
+      "name": "query-rocker-of-dpa-groups"
+    },
+    {
+      "name": "query-rocker-of-dpa-flows"
+    },
+    {
+      "name": "query-rocker-ports"
+    },
+    {
+      "name": "query-rocker"
+    },
+    {
+      "name": "block-set-write-threshold"
+    },
+    {
+      "name": "input-send-event"
+    },
+    {
+      "name": "trace-event-set-state"
+    },
+    {
+      "name": "trace-event-get-state"
+    },
+    {
+      "name": "query-acpi-ospm-status"
+    },
+    {
+      "name": "query-memory-devices"
+    },
+    {
+      "name": "query-memdev"
+    },
+    {
+      "name": "blockdev-change-medium"
+    },
+    {
+      "name": "query-named-block-nodes"
+    },
+    {
+      "name": "x-blockdev-insert-medium"
+    },
+    {
+      "name": "x-blockdev-remove-medium"
+    },
+    {
+      "name": "blockdev-close-tray"
+    },
+    {
+      "name": "blockdev-open-tray"
+    },
+    {
+      "name": "x-blockdev-del"
+    },
+    {
+      "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-parameters"
+    },
+    {
+      "name": "migrate-set-parameters"
+    },
+    {
+      "name": "query-migrate-capabilities"
+    },
+    {
+      "name": "migrate-set-capabilities"
+    },
+    {
+      "name": "query-migrate"
+    },
+    {
+      "name": "query-command-line-options"
+    },
+    {
+      "name": "query-uuid"
+    },
+    {
+      "name": "query-name"
+    },
+    {
+      "name": "query-vnc-servers"
+    },
+    {
+      "name": "query-vnc"
+    },
+    {
+      "name": "query-mice"
+    },
+    {
+      "name": "query-status"
+    },
+    {
+      "name": "query-kvm"
+    },
+    {
+      "name": "query-pci"
+    },
+    {
+      "name": "query-iothreads"
+    },
+    {
+      "name": "query-cpus"
+    },
+    {
+      "name": "query-blockstats"
+    },
+    {
+      "name": "query-block"
+    },
+    {
+      "name": "query-chardev-backends"
+    },
+    {
+      "name": "query-chardev"
+    },
+    {
+      "name": "query-qmp-schema"
+    },
+    {
+      "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": "change-backing-file"
+    },
+    {
+      "name": "blockdev-mirror"
+    },
+    {
+      "name": "drive-mirror"
+    },
+    {
+      "name": "blockdev-snapshot-delete-internal-sync"
+    },
+    {
+      "name": "blockdev-snapshot-internal-sync"
+    },
+    {
+      "name": "blockdev-snapshot"
+    },
+    {
+      "name": "blockdev-snapshot-sync"
+    },
+    {
+      "name": "block-dirty-bitmap-clear"
+    },
+    {
+      "name": "block-dirty-bitmap-remove"
+    },
+    {
+      "name": "block-dirty-bitmap-add"
+    },
+    {
+      "name": "transaction"
+    },
+    {
+      "name": "block-job-complete"
+    },
+    {
+      "name": "block-job-resume"
+    },
+    {
+      "name": "block-job-pause"
+    },
+    {
+      "name": "block-job-cancel"
+    },
+    {
+      "name": "block-job-set-speed"
+    },
+    {
+      "name": "blockdev-backup"
+    },
+    {
+      "name": "drive-backup"
+    },
+    {
+      "name": "block-commit"
+    },
+    {
+      "name": "block-stream"
+    },
+    {
+      "name": "block_resize"
+    },
+    {
+      "name": "object-del"
+    },
+    {
+      "name": "object-add"
+    },
+    {
+      "name": "netdev_del"
+    },
+    {
+      "name": "netdev_add"
+    },
+    {
+      "name": "query-dump"
+    },
+    {
+      "name": "query-dump-guest-memory-capability"
+    },
+    {
+      "name": "dump-guest-memory"
+    },
+    {
+      "name": "client_migrate_info"
+    },
+    {
+      "name": "migrate_set_downtime"
+    },
+    {
+      "name": "migrate_set_speed"
+    },
+    {
+      "name": "query-migrate-cache-size"
+    },
+    {
+      "name": "migrate-start-postcopy"
+    },
+    {
+      "name": "migrate-set-cache-size"
+    },
+    {
+      "name": "migrate-incoming"
+    },
+    {
+      "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": 15,
+    "fdset-id": 0
+  },
+  "id": "libvirt-5"
+}
+
+{
+  "id": "libvirt-6",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'bogus' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "WATCHDOG"
+    },
+    {
+      "name": "WAKEUP"
+    },
+    {
+      "name": "VSERPORT_CHANGE"
+    },
+    {
+      "name": "VNC_INITIALIZED"
+    },
+    {
+      "name": "VNC_DISCONNECTED"
+    },
+    {
+      "name": "VNC_CONNECTED"
+    },
+    {
+      "name": "SUSPEND_DISK"
+    },
+    {
+      "name": "SUSPEND"
+    },
+    {
+      "name": "STOP"
+    },
+    {
+      "name": "SPICE_MIGRATE_COMPLETED"
+    },
+    {
+      "name": "SPICE_INITIALIZED"
+    },
+    {
+      "name": "SPICE_DISCONNECTED"
+    },
+    {
+      "name": "SPICE_CONNECTED"
+    },
+    {
+      "name": "SHUTDOWN"
+    },
+    {
+      "name": "RTC_CHANGE"
+    },
+    {
+      "name": "RESUME"
+    },
+    {
+      "name": "RESET"
+    },
+    {
+      "name": "QUORUM_REPORT_BAD"
+    },
+    {
+      "name": "QUORUM_FAILURE"
+    },
+    {
+      "name": "POWERDOWN"
+    },
+    {
+      "name": "NIC_RX_FILTER_CHANGED"
+    },
+    {
+      "name": "MIGRATION_PASS"
+    },
+    {
+      "name": "MIGRATION"
+    },
+    {
+      "name": "MEM_UNPLUG_ERROR"
+    },
+    {
+      "name": "GUEST_PANICKED"
+    },
+    {
+      "name": "DUMP_COMPLETED"
+    },
+    {
+      "name": "DEVICE_TRAY_MOVED"
+    },
+    {
+      "name": "DEVICE_DELETED"
+    },
+    {
+      "name": "BLOCK_WRITE_THRESHOLD"
+    },
+    {
+      "name": "BLOCK_JOB_READY"
+    },
+    {
+      "name": "BLOCK_JOB_ERROR"
+    },
+    {
+      "name": "BLOCK_JOB_COMPLETED"
+    },
+    {
+      "name": "BLOCK_JOB_CANCELLED"
+    },
+    {
+      "name": "BLOCK_IO_ERROR"
+    },
+    {
+      "name": "BLOCK_IMAGE_CORRUPTED"
+    },
+    {
+      "name": "BALLOON_CHANGE"
+    },
+    {
+      "name": "ACPI_DEVICE_OST"
+    }
+  ],
+  "id": "libvirt-7"
+}
+
+{
+  "return": [
+    {
+      "name": "virtio-mmio"
+    },
+    {
+      "name": "scsi-generic"
+    },
+    {
+      "name": "qio-channel-tls"
+    },
+    {
+      "name": "scsi-hd"
+    },
+    {
+      "name": "pxa270-arm-cpu"
+    },
+    {
+      "name": "pxa270-a1-arm-cpu"
+    },
+    {
+      "name": "digic"
+    },
+    {
+      "name": "mv88w8618_flashcfg"
+    },
+    {
+      "name": "at25df641"
+    },
+    {
+      "name": "usb-bot"
+    },
+    {
+      "name": "lm3s811evb-machine"
+    },
+    {
+      "name": "mx25l3205d"
+    },
+    {
+      "name": "bcm2835-property"
+    },
+    {
+      "name": "pxa2xx-pcmcia"
+    },
+    {
+      "name": "canon-a1100-machine"
+    },
+    {
+      "name": "n25q512a"
+    },
+    {
+      "name": "lsi53c895a"
+    },
+    {
+      "name": "virtio-keyboard-pci"
+    },
+    {
+      "name": "mx25l6405d"
+    },
+    {
+      "name": "w25q256"
+    },
+    {
+      "name": "s25fl064k"
+    },
+    {
+      "name": "musicpal_gpio"
+    },
+    {
+      "name": "ide-hd"
+    },
+    {
+      "name": "virtio-net-device"
+    },
+    {
+      "name": "virtio-serial-pci"
+    },
+    {
+      "name": "cortex-r5-arm-cpu"
+    },
+    {
+      "name": "vexpress-a15-machine"
+    },
+    {
+      "name": "at45db081d"
+    },
+    {
+      "name": "en25p32"
+    },
+    {
+      "name": "pxa2xx-i2c-slave"
+    },
+    {
+      "name": "arm946-arm-cpu"
+    },
+    {
+      "name": "gpex-pcihost"
+    },
+    {
+      "name": "m25pe80"
+    },
+    {
+      "name": "pxa270-b0-arm-cpu"
+    },
+    {
+      "name": "s25fl256s1"
+    },
+    {
+      "name": "s25fl256s0"
+    },
+    {
+      "name": "platform-bus-device"
+    },
+    {
+      "name": "usb-host"
+    },
+    {
+      "name": "ich9-usb-uhci2"
+    },
+    {
+      "name": "usb-bt-dongle"
+    },
+    {
+      "name": "s25fl129p1"
+    },
+    {
+      "name": "s25fl129p0"
+    },
+    {
+      "name": "ccid-card-emulated"
+    },
+    {
+      "name": "virtio-input-host-pci"
+    },
+    {
+      "name": "kvm-arm-gicv3"
+    },
+    {
+      "name": "usb-mtp"
+    },
+    {
+      "name": "ich9-usb-uhci6"
+    },
+    {
+      "name": "SSI"
+    },
+    {
+      "name": "ich9-usb-uhci4"
+    },
+    {
+      "name": "e1000"
+    },
+    {
+      "name": "xlnx,ps7-usb"
+    },
+    {
+      "name": "s25sl12801"
+    },
+    {
+      "name": "s25sl12800"
+    },
+    {
+      "name": "ich9-usb-uhci5"
+    },
+    {
+      "name": "pxa2xx_rtc"
+    },
+    {
+      "name": "xlnx,zynq-xadc"
+    },
+    {
+      "name": "cortex-m4-arm-cpu"
+    },
+    {
+      "name": "sysbus-ahci"
+    },
+    {
+      "name": "ich9-usb-uhci3"
+    },
+    {
+      "name": "kvm-arm-gic"
+    },
+    {
+      "name": "imx.fec"
+    },
+    {
+      "name": "ich9-usb-uhci1"
+    },
+    {
+      "name": "tpci200"
+    },
+    {
+      "name": "spitz-lcdtg"
+    },
+    {
+      "name": "memory-backend-file"
+    },
+    {
+      "name": "stm32f2xx-usart"
+    },
+    {
+      "name": "cortex-m3-arm-cpu"
+    },
+    {
+      "name": "s25sl064p"
+    },
+    {
+      "name": "stm32f2xx-syscfg"
+    },
+    {
+      "name": "rtl8139"
+    },
+    {
+      "name": "exynos4210.i2c"
+    },
+    {
+      "name": "lan9118"
+    },
+    {
+      "name": "vexpress-a9-machine"
+    },
+    {
+      "name": "corgi-ssp"
+    },
+    {
+      "name": "megasas"
+    },
+    {
+      "name": "pxa2xx-fir"
+    },
+    {
+      "name": "s25sl064a"
+    },
+    {
+      "name": "container"
+    },
+    {
+      "name": "scsi-block"
+    },
+    {
+      "name": "omap-intc"
+    },
+    {
+      "name": "strongarm_pic"
+    },
+    {
+      "name": "sst25wf512"
+    },
+    {
+      "name": "max7310"
+    },
+    {
+      "name": "scsi-cd"
+    },
+    {
+      "name": "pxb-bus"
+    },
+    {
+      "name": "usb-audio"
+    },
+    {
+      "name": "accel"
+    },
+    {
+      "name": "pxa270-b1-arm-cpu"
+    },
+    {
+      "name": "m45pe80"
+    },
+    {
+      "name": "pxa2xx-dma"
+    },
+    {
+      "name": "filter-redirector"
+    },
+    {
+      "name": "imx.gpio"
+    },
+    {
+      "name": "arm-linux-boot-if"
+    },
+    {
+      "name": "isa-serial"
+    },
+    {
+      "name": "virtio-serial-device"
+    },
+    {
+      "name": "tegra2-ehci-usb"
+    },
+    {
+      "name": "vhost-scsi-pci"
+    },
+    {
+      "name": "integrator_debug"
+    },
+    {
+      "name": "imx25.ccm"
+    },
+    {
+      "name": "a15mpcore_priv"
+    },
+    {
+      "name": "tls-creds-anon"
+    },
+    {
+      "name": "fw_cfg_mem"
+    },
+    {
+      "name": "digic-timer"
+    },
+    {
+      "name": "usb-uas"
+    },
+    {
+      "name": "ide-cd"
+    },
+    {
+      "name": "usb-ccid"
+    },
+    {
+      "name": "cadence_uart"
+    },
+    {
+      "name": "virtio-balloon-pci"
+    },
+    {
+      "name": "gpio_i2c"
+    },
+    {
+      "name": "iothread"
+    },
+    {
+      "name": "spitz-keyboard"
+    },
+    {
+      "name": "xlnx-ep108-machine"
+    },
+    {
+      "name": "n25q256a"
+    },
+    {
+      "name": "lm8323"
+    },
+    {
+      "name": "bcm2835-ic"
+    },
+    {
+      "name": "xilinx-zynq-a9-machine"
+    },
+    {
+      "name": "arm1026-arm-cpu"
+    },
+    {
+      "name": "twl92230"
+    },
+    {
+      "name": "sdhci-pci"
+    },
+    {
+      "name": "virtio-input-host-device"
+    },
+    {
+      "name": "i82559er"
+    },
+    {
+      "name": "pci-bridge"
+    },
+    {
+      "name": "ivshmem-doorbell"
+    },
+    {
+      "name": "versatile_pci_host"
+    },
+    {
+      "name": "w25x80"
+    },
+    {
+      "name": "mv88w8618_wlan"
+    },
+    {
+      "name": "virtio-rng-device"
+    },
+    {
+      "name": "en25q32b"
+    },
+    {
+      "name": "pxa270-c0-arm-cpu"
+    },
+    {
+      "name": "mx25l1606e"
+    },
+    {
+      "name": "nand"
+    },
+    {
+      "name": "arm-gicv2m"
+    },
+    {
+      "name": "pxa27x-timer"
+    },
+    {
+      "name": "hda-micro"
+    },
+    {
+      "name": "pci-bridge-seat"
+    },
+    {
+      "name": "dc390"
+    },
+    {
+      "name": "stm32f2xx-timer"
+    },
+    {
+      "name": "pl190"
+    },
+    {
+      "name": "IDE"
+    },
+    {
+      "name": "at25256a-nonjedec"
+    },
+    {
+      "name": "fw_cfg_io"
+    },
+    {
+      "name": "integrator_core"
+    },
+    {
+      "name": "m25pe20"
+    },
+    {
+      "name": "ads7846"
+    },
+    {
+      "name": "sst25wf080"
+    },
+    {
+      "name": "memory-backend-ram"
+    },
+    {
+      "name": "am53c974"
+    },
+    {
+      "name": "connex-machine"
+    },
+    {
+      "name": "stellaris-adc"
+    },
+    {
+      "name": "exynos4210.mct"
+    },
+    {
+      "name": "virtio-blk-device"
+    },
+    {
+      "name": "at25128a-nonjedec"
+    },
+    {
+      "name": "cortex-a8-arm-cpu"
+    },
+    {
+      "name": "imx6.ccm"
+    },
+    {
+      "name": "qio-channel-file"
+    },
+    {
+      "name": "qio-channel-websock"
+    },
+    {
+      "name": "icp-ctrl-regs"
+    },
+    {
+      "name": "stellaris-gptm"
+    },
+    {
+      "name": "arm_gic"
+    },
+    {
+      "name": "pl181"
+    },
+    {
+      "name": "sl-nand"
+    },
+    {
+      "name": "m25pe16"
+    },
+    {
+      "name": "gpio-key"
+    },
+    {
+      "name": "hda-output"
+    },
+    {
+      "name": "w25x64"
+    },
+    {
+      "name": "VGA"
+    },
+    {
+      "name": "s25fl016k"
+    },
+    {
+      "name": "n800-machine"
+    },
+    {
+      "name": "m25p80"
+    },
+    {
+      "name": "at25df321a"
+    },
+    {
+      "name": "pxa2xx-mmci-bus"
+    },
+    {
+      "name": "lm3s6965evb-machine"
+    },
+    {
+      "name": "mptsas1068"
+    },
+    {
+      "name": "bcm2835-fb"
+    },
+    {
+      "name": "edu"
+    },
+    {
+      "name": "versatileab-machine"
+    },
+    {
+      "name": "virtio-mouse-pci"
+    },
+    {
+      "name": "strongarm-uart"
+    },
+    {
+      "name": "pl330"
+    },
+    {
+      "name": "ast2400"
+    },
+    {
+      "name": "mv88w8618_pit"
+    },
+    {
+      "name": "HDA"
+    },
+    {
+      "name": "qemu:memory-region"
+    },
+    {
+      "name": "mv88w8618_pic"
+    },
+    {
+      "name": "ssd0323"
+    },
+    {
+      "name": "omap2-intc"
+    },
+    {
+      "name": "sysbus-ohci"
+    },
+    {
+      "name": "borzoi-machine"
+    },
+    {
+      "name": "stellaris-i2c"
+    },
+    {
+      "name": "pl081"
+    },
+    {
+      "name": "pl080"
+    },
+    {
+      "name": "qtest-accel"
+    },
+    {
+      "name": "qio-channel-command"
+    },
+    {
+      "name": "m25p64"
+    },
+    {
+      "name": "w25x40"
+    },
+    {
+      "name": "tosa-machine"
+    },
+    {
+      "name": "pxb-host"
+    },
+    {
+      "name": "xio3130-downstream"
+    },
+    {
+      "name": "n25q128a13"
+    },
+    {
+      "name": "virtio-blk-pci"
+    },
+    {
+      "name": "cortex-a9-arm-cpu"
+    },
+    {
+      "name": "virtio-gpu-device"
+    },
+    {
+      "name": "QJSON"
+    },
+    {
+      "name": "n25q128a11"
+    },
+    {
+      "name": "lsi53c810"
+    },
+    {
+      "name": "strongarm-gpio"
+    },
+    {
+      "name": "cheetah-machine"
+    },
+    {
+      "name": "m45pe16"
+    },
+    {
+      "name": "pxa270-c5-arm-cpu"
+    },
+    {
+      "name": "System"
+    },
+    {
+      "name": "usb-serial"
+    },
+    {
+      "name": "m45pe10"
+    },
+    {
+      "name": "vt82c686b-usb-uhci"
+    },
+    {
+      "name": "sst25wf040"
+    },
+    {
+      "name": "w25x32"
+    },
+    {
+      "name": "s25sl032p"
+    },
+    {
+      "name": "ccid-card-passthru"
+    },
+    {
+      "name": "ccid-bus"
+    },
+    {
+      "name": "PCIE"
+    },
+    {
+      "name": "exynos4210.rtc"
+    },
+    {
+      "name": "sa1100-arm-cpu"
+    },
+    {
+      "name": "ssd0303"
+    },
+    {
+      "name": "s25sl032a"
+    },
+    {
+      "name": "gpex-root"
+    },
+    {
+      "name": "s25sl016a"
+    },
+    {
+      "name": "mv88w8618_audio"
+    },
+    {
+      "name": "s25sl008a"
+    },
+    {
+      "name": "virtio-serial-bus"
+    },
+    {
+      "name": "ssi-sd"
+    },
+    {
+      "name": "secondary-vga"
+    },
+    {
+      "name": "vhost-scsi"
+    },
+    {
+      "name": "pl061"
+    },
+    {
+      "name": "exynos4210-ehci-usb"
+    },
+    {
+      "name": "pci-ohci"
+    },
+    {
+      "name": "cfi.pflash02"
+    },
+    {
+      "name": "s25fl512s"
+    },
+    {
+      "name": "s70fl01gs"
+    },
+    {
+      "name": "cfi.pflash01"
+    },
+    {
+      "name": "w25x20"
+    },
+    {
+      "name": "usb-hub"
+    },
+    {
+      "name": "m25p40"
+    },
+    {
+      "name": "mx25l12855e"
+    },
+    {
+      "name": "exynos4210.pwm"
+    },
+    {
+      "name": "nmi"
+    },
+    {
+      "name": "midway-machine"
+    },
+    {
+      "name": "bcm2835-aux"
+    },
+    {
+      "name": "input-linux"
+    },
+    {
+      "name": "musicpal-misc"
+    },
+    {
+      "name": "w25x16"
+    },
+    {
+      "name": "SCSI"
+    },
+    {
+      "name": "w25x10"
+    },
+    {
+      "name": "sst25wf020"
+    },
+    {
+      "name": "vfio-amd-xgbe"
+    },
+    {
+      "name": "m25p32"
+    },
+    {
+      "name": "pxa2xx-gpio"
+    },
+    {
+      "name": "palmetto-bmc-machine"
+    },
+    {
+      "name": "mainstone-machine"
+    },
+    {
+      "name": "n810-machine"
+    },
+    {
+      "name": "pci-serial"
+    },
+    {
+      "name": "at26df161a"
+    },
+    {
+      "name": "terrier-machine"
+    },
+    {
+      "name": "max1111"
+    },
+    {
+      "name": "netduino2-machine"
+    },
+    {
+      "name": "max1110"
+    },
+    {
+      "name": "i82559c"
+    },
+    {
+      "name": "i82559b"
+    },
+    {
+      "name": "i82559a"
+    },
+    {
+      "name": "xlnx,zynqmp"
+    },
+    {
+      "name": "realview_pci"
+    },
+    {
+      "name": "pl041"
+    },
+    {
+      "name": "rocker"
+    },
+    {
+      "name": "pcnet"
+    },
+    {
+      "name": "n25q032a13"
+    },
+    {
+      "name": "n25q032a11"
+    },
+    {
+      "name": "filter-dump"
+    },
+    {
+      "name": "sst25wf010"
+    },
+    {
+      "name": "rng-egd"
+    },
+    {
+      "name": "gd25q64"
+    },
+    {
+      "name": "exynos4210.gic"
+    },
+    {
+      "name": "m25p20"
+    },
+    {
+      "name": "l2x0"
+    },
+    {
+      "name": "n25q064"
+    },
+    {
+      "name": "pl031"
+    },
+    {
+      "name": "arm_mptimer"
+    },
+    {
+      "name": "n25q064a13"
+    },
+    {
+      "name": "n25q064a11"
+    },
+    {
+      "name": "raspi2-machine"
+    },
+    {
+      "name": "scoop"
+    },
+    {
+      "name": "strongarm-ssp"
+    },
+    {
+      "name": "i82558b"
+    },
+    {
+      "name": "i82558a"
+    },
+    {
+      "name": "exynos4210.fimd"
+    },
+    {
+      "name": "pl111"
+    },
+    {
+      "name": "smbus-eeprom"
+    },
+    {
+      "name": "pl110"
+    },
+    {
+      "name": "tosa_dac"
+    },
+    {
+      "name": "onenand"
+    },
+    {
+      "name": "m25p16"
+    },
+    {
+      "name": "bcm2835-dma"
+    },
+    {
+      "name": "allwinner-A10-timer"
+    },
+    {
+      "name": "m25p10"
+    },
+    {
+      "name": "i82801"
+    },
+    {
+      "name": "tls-creds-x509"
+    },
+    {
+      "name": "virtio-net-pci"
+    },
+    {
+      "name": "virtio-keyboard-device"
+    },
+    {
+      "name": "i82562"
+    },
+    {
+      "name": "usb-net"
+    },
+    {
+      "name": "highbank-machine"
+    },
+    {
+      "name": "at26df081a"
+    },
+    {
+      "name": "digic-uart"
+    },
+    {
+      "name": "i82557c"
+    },
+    {
+      "name": "cortex-a53-arm-cpu"
+    },
+    {
+      "name": "s25sl004a"
+    },
+    {
+      "name": "arm1176-arm-cpu"
+    },
+    {
+      "name": "i82557b"
+    },
+    {
+      "name": "i82557a"
+    },
+    {
+      "name": "pl022"
+    },
+    {
+      "name": "virtio-gpu-pci"
+    },
+    {
+      "name": "sdhci-bus"
+    },
+    {
+      "name": "pl061_luminary"
+    },
+    {
+      "name": "usb-mouse"
+    },
+    {
+      "name": "m25p05"
+    },
+    {
+      "name": "strongarm-rtc"
+    },
+    {
+      "name": "n25q128"
+    },
+    {
+      "name": "imx.epit"
+    },
+    {
+      "name": "i82551"
+    },
+    {
+      "name": "i82550"
+    },
+    {
+      "name": "armv7m_nvic"
+    },
+    {
+      "name": "cubieboard-machine"
+    },
+    {
+      "name": "fsl,imx31"
+    },
+    {
+      "name": "imx.i2c"
+    },
+    {
+      "name": "highbank-regs"
+    },
+    {
+      "name": "virt-2.6-machine"
+    },
+    {
+      "name": "sa1110-arm-cpu"
+    },
+    {
+      "name": "ich9-usb-ehci2"
+    },
+    {
+      "name": "user-creatable"
+    },
+    {
+      "name": "pl011"
+    },
+    {
+      "name": "ich9-usb-ehci1"
+    },
+    {
+      "name": "vfio-pci"
+    },
+    {
+      "name": "filter-mirror"
+    },
+    {
+      "name": "tusb6010"
+    },
+    {
+      "name": "realview_mpcore"
+    },
+    {
+      "name": "w25q32dw"
+    },
+    {
+      "name": "sx1-v1-machine"
+    },
+    {
+      "name": "fsl,imx25"
+    },
+    {
+      "name": "gd25q32"
+    },
+    {
+      "name": "cortex-a57-arm-cpu"
+    },
+    {
+      "name": "irq"
+    },
+    {
+      "name": "n25q032"
+    },
+    {
+      "name": "cadence_ttc"
+    },
+    {
+      "name": "pxa2xx_pic"
+    },
+    {
+      "name": "arm.cortex-a9-global-timer"
+    },
+    {
+      "name": "nec-usb-xhci"
+    },
+    {
+      "name": "qio-channel-socket"
+    },
+    {
+      "name": "ti925t-arm-cpu"
+    },
+    {
+      "name": "piix3-usb-uhci"
+    },
+    {
+      "name": "virtserialport"
+    },
+    {
+      "name": "pvscsi"
+    },
+    {
+      "name": "sd-bus"
+    },
+    {
+      "name": "sx1-machine"
+    },
+    {
+      "name": "320s33b"
+    },
+    {
+      "name": "dscm1xxxx"
+    },
+    {
+      "name": "ich9-ahci"
+    },
+    {
+      "name": "isa-dma"
+    },
+    {
+      "name": "realview-eb-mpcore-machine"
+    },
+    {
+      "name": "IndustryPack"
+    },
+    {
+      "name": "mx25l8005"
+    },
+    {
+      "name": "pl050_keyboard"
+    },
+    {
+      "name": "kzm-machine"
+    },
+    {
+      "name": "pxa250-arm-cpu"
+    },
+    {
+      "name": "virtio-rng-pci"
+    },
+    {
+      "name": "usb-ehci"
+    },
+    {
+      "name": "realview_sysctl"
+    },
+    {
+      "name": "smc91c111"
+    },
+    {
+      "name": "arm11mpcore-arm-cpu"
+    },
+    {
+      "name": "versatile_pci"
+    },
+    {
+      "name": "pxa2xx-mmci"
+    },
+    {
+      "name": "xgmac"
+    },
+    {
+      "name": "sst25vf080b"
+    },
+    {
+      "name": "akita-machine"
+    },
+    {
+      "name": "imx.gpt"
+    },
+    {
+      "name": "allwinner-a10"
+    },
+    {
+      "name": "e1000-82545em"
+    },
+    {
+      "name": "sp804"
+    },
+    {
+      "name": "tmp105"
+    },
+    {
+      "name": "w25q80"
+    },
+    {
+      "name": "integrator_pit"
+    },
+    {
+      "name": "e1000-82544gc"
+    },
+    {
+      "name": "pci-serial-4x"
+    },
+    {
+      "name": "mv88w8618_eth"
+    },
+    {
+      "name": "versatilepb_sic"
+    },
+    {
+      "name": "ioh3420"
+    },
+    {
+      "name": "virtio-9p-pci"
+    },
+    {
+      "name": "integrator_pic"
+    },
+    {
+      "name": "virtio-9p-device"
+    },
+    {
+      "name": "m25p128"
+    },
+    {
+      "name": "en25f32"
+    },
+    {
+      "name": "filter-buffer"
+    },
+    {
+      "name": "versatile_i2c"
+    },
+    {
+      "name": "acpi-device-interface"
+    },
+    {
+      "name": "z2-machine"
+    },
+    {
+      "name": "xilinx,zynq_slcr"
+    },
+    {
+      "name": "ich9-intel-hda"
+    },
+    {
+      "name": "at26f004"
+    },
+    {
+      "name": "ivshmem"
+    },
+    {
+      "name": "n25q256a13"
+    },
+    {
+      "name": "160s33b"
+    },
+    {
+      "name": "n25q256a11"
+    },
+    {
+      "name": "exynos4210.irq_gate"
+    },
+    {
+      "name": "musicpal-machine"
+    },
+    {
+      "name": "exynos4210.combiner"
+    },
+    {
+      "name": "arm926-arm-cpu"
+    },
+    {
+      "name": "virtio-tablet-pci"
+    },
+    {
+      "name": "exynos4210.pmu"
+    },
+    {
+      "name": "secret"
+    },
+    {
+      "name": "ipoctal232"
+    },
+    {
+      "name": "omap_i2c"
+    },
+    {
+      "name": "omap-gpio"
+    },
+    {
+      "name": "virtio-tablet-device"
+    },
+    {
+      "name": "w25q64"
+    },
+    {
+      "name": "virtio-pci-bus"
+    },
+    {
+      "name": "virtio-scsi-pci"
+    },
+    {
+      "name": "at25df041a"
+    },
+    {
+      "name": "mx25l12805d"
+    },
+    {
+      "name": "x3130-upstream"
+    },
+    {
+      "name": "ES1370"
+    },
+    {
+      "name": "pci-testdev"
+    },
+    {
+      "name": "at25fs040"
+    },
+    {
+      "name": "qemu-console"
+    },
+    {
+      "name": "xlnx.ps7-spi"
+    },
+    {
+      "name": "ISA"
+    },
+    {
+      "name": "piix4-usb-uhci"
+    },
+    {
+      "name": "ARM,bitband-memory"
+    },
+    {
+      "name": "tcg-accel"
+    },
+    {
+      "name": "virtconsole"
+    },
+    {
+      "name": "mx25l25655e"
+    },
+    {
+      "name": "aspeed.timer"
+    },
+    {
+      "name": "pci-serial-2x"
+    },
+    {
+      "name": "bcm2836-control"
+    },
+    {
+      "name": "bcm2835-peripherals"
+    },
+    {
+      "name": "musicpal_key"
+    },
+    {
+      "name": "realview-pb-a8-machine"
+    },
+    {
+      "name": "virtio-mmio-bus"
+    },
+    {
+      "name": "pxa25x-timer"
+    },
+    {
+      "name": "usb-bus"
+    },
+    {
+      "name": "versatilepb-machine"
+    },
+    {
+      "name": "w25q80bl"
+    },
+    {
+      "name": "pxa255-arm-cpu"
+    },
+    {
+      "name": "allwinner-emac"
+    },
+    {
+      "name": "at26df321"
+    },
+    {
+      "name": "pxa261-arm-cpu"
+    },
+    {
+      "name": "strongarm-ppc"
+    },
+    {
+      "name": "hotplug-handler"
+    },
+    {
+      "name": "tosa-ssp"
+    },
+    {
+      "name": "pl050_mouse"
+    },
+    {
+      "name": "i82801b11-bridge"
+    },
+    {
+      "name": "PCI"
+    },
+    {
+      "name": "usb-storage"
+    },
+    {
+      "name": "fusbh200-ehci-usb"
+    },
+    {
+      "name": "arm1136-r2-arm-cpu"
+    },
+    {
+      "name": "pxa260-arm-cpu"
+    },
+    {
+      "name": "esp"
+    },
+    {
+      "name": "realview-eb-machine"
+    },
+    {
+      "name": "musicpal_lcd"
+    },
+    {
+      "name": "isabus-bridge"
+    },
+    {
+      "name": "ne2k_pci"
+    },
+    {
+      "name": "realview-pbx-a9-machine"
+    },
+    {
+      "name": "ivshmem-plain"
+    },
+    {
+      "name": "usb-kbd"
+    },
+    {
+      "name": "pxa2xx_i2c"
+    },
+    {
+      "name": "stellaris_enet"
+    },
+    {
+      "name": "imx31.ccm"
+    },
+    {
+      "name": "cortex-a15-arm-cpu"
+    },
+    {
+      "name": "spitz-machine"
+    },
+    {
+      "name": "hda-duplex"
+    },
+    {
+      "name": "a9-scu"
+    },
+    {
+      "name": "stm32f205-soc"
+    },
+    {
+      "name": "w25q32"
+    },
+    {
+      "name": "wm8750"
+    },
+    {
+      "name": "virtio-balloon-device"
+    },
+    {
+      "name": "none-machine"
+    },
+    {
+      "name": "megasas-gen2"
+    },
+    {
+      "name": "allwinner-ahci"
+    },
+    {
+      "name": "m25px64"
+    },
+    {
+      "name": "pl011_luminary"
+    },
+    {
+      "name": "at25fs010"
+    },
+    {
+      "name": "allwinner-a10-pic"
+    },
+    {
+      "name": "imx25-pdk-machine"
+    },
+    {
+      "name": "nvme"
+    },
+    {
+      "name": "arm1136-arm-cpu"
+    },
+    {
+      "name": "mx25l4005a"
+    },
+    {
+      "name": "usb-tablet"
+    },
+    {
+      "name": "usb-braille"
+    },
+    {
+      "name": "qio-channel-buffer"
+    },
+    {
+      "name": "en25q64"
+    },
+    {
+      "name": "scsi-disk"
+    },
+    {
+      "name": "fw_cfg"
+    },
+    {
+      "name": "intel-hda"
+    },
+    {
+      "name": "collie-machine"
+    },
+    {
+      "name": "arm11mpcore_priv"
+    },
+    {
+      "name": "kvm-accel"
+    },
+    {
+      "name": "pxb-pcie-bus"
+    },
+    {
+      "name": "virtio-scsi-device"
+    },
+    {
+      "name": "realview_gic"
+    },
+    {
+      "name": "smdkc210-machine"
+    },
+    {
+      "name": "bcm2835-mbox"
+    },
+    {
+      "name": "AC97"
+    },
+    {
+      "name": "usb-wacom-tablet"
+    },
+    {
+      "name": "pxa270-a0-arm-cpu"
+    },
+    {
+      "name": "ds1338"
+    },
+    {
+      "name": "pxa262-arm-cpu"
+    },
+    {
+      "name": "i2c-bus"
+    },
+    {
+      "name": "exynos4210.uart"
+    },
+    {
+      "name": "virtio-mouse-device"
+    },
+    {
+      "name": "mx25l25635e"
+    },
+    {
+      "name": "pxb-pcie"
+    },
+    {
+      "name": "640s33b"
+    },
+    {
+      "name": "pl110_versatile"
+    },
+    {
+      "name": "mx25l2005a"
+    },
+    {
+      "name": "a9mpcore_priv"
+    },
+    {
+      "name": "generic-sdhci"
+    },
+    {
+      "name": "aspeed.vic"
+    },
+    {
+      "name": "mainstone-fpga"
+    },
+    {
+      "name": "cadence_gem"
+    },
+    {
+      "name": "sst25vf040b"
+    },
+    {
+      "name": "ide-drive"
+    },
+    {
+      "name": "sst25vf032b"
+    },
+    {
+      "name": "bcm2836"
+    },
+    {
+      "name": "sst25vf016b"
+    },
+    {
+      "name": "pxb"
+    },
+    {
+      "name": "omap2-gpio"
+    },
+    {
+      "name": "imx.serial"
+    },
+    {
+      "name": "xlnx.ps7-qspi"
+    },
+    {
+      "name": "en25p64"
+    },
+    {
+      "name": "pxa2xx-ssp"
+    },
+    {
+      "name": "arm11-scu"
+    },
+    {
+      "name": "i6300esb"
+    },
+    {
+      "name": "sd-card"
+    },
+    {
+      "name": "verdex-machine"
+    },
+    {
+      "name": "m25px32"
+    },
+    {
+      "name": "m25px32-s1"
+    },
+    {
+      "name": "m25px32-s0"
+    },
+    {
+      "name": "vmxnet3"
+    },
+    {
+      "name": "vfio-calxeda-xgmac"
+    },
+    {
+      "name": "imx.avic"
+    },
+    {
+      "name": "nuri-machine"
+    },
+    {
+      "name": "integratorcp-machine"
+    },
+    {
+      "name": "rng-random"
+    },
+    {
+      "name": "fw-path-provider"
+    }
+  ],
+  "id": "libvirt-8"
+}
+
+{
+  "return": [
+    {
+      "name": "request-merging",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "secs",
+      "type": "uint32"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "heads",
+      "type": "uint32"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "ioeventfd",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "scsi",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "cyls",
+      "type": "uint32"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "x-disable-pcie",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "iothread",
+      "type": "link<iothread>"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "class",
+      "type": "uint32"
+    },
+    {
+      "name": "migrate-extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "modern-pio-notify",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-blk-device>"
+    },
+    {
+      "name": "config-wce",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-9"
+}
+
+{
+  "return": [
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-txtimer",
+      "type": "uint32"
+    },
+    {
+      "name": "guest_ufo",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "mq",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "status",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host_ecn",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ioeventfd",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "tx",
+      "type": "str"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "ctrl_rx_extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_vq",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "mac",
+      "description": "Ethernet 6-byte MAC Address, example: 52:54:00:12:34:56",
+      "type": "str"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-disable-pcie",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_tso6",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "gso",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_ecn",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_rx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_tso4",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_csum",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_announce",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-txburst",
+      "type": "int32"
+    },
+    {
+      "name": "ctrl_vlan",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "csum",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "mrg_rxbuf",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_guest_offloads",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host_tso6",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_mac_addr",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "migrate-extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "modern-pio-notify",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "vlan",
+      "description": "Integer VLAN id to connect to",
+      "type": "int32"
+    },
+    {
+      "name": "host_tso4",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host_ufo",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-net-device>"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "netdev",
+      "description": "ID of a netdev to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-10"
+}
+
+{
+  "return": [
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ioeventfd",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "cmd_per_lun",
+      "type": "uint32"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "param_change",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "iothread",
+      "type": "link<iothread>"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "migrate-extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "hotplug",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "modern-pio-notify",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "num_queues",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-scsi-device>"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "x-disable-pcie",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "max_sectors",
+      "type": "uint32"
+    },
+    {
+      "name": "rombar",
+      "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"
+  }
+}
+
+{
+  "id": "libvirt-18",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'kvm-pci-assign' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "x-pci-sub-device-id",
+      "type": "uint32"
+    },
+    {
+      "name": "x-no-kvm-msi",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "x-vga",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-pci-vendor-id",
+      "type": "uint32"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "x-req",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "x-no-kvm-intx",
+      "type": "bool"
+    },
+    {
+      "name": "x-pci-device-id",
+      "type": "uint32"
+    },
+    {
+      "name": "host",
+      "description": "Address (bus/device/function) of the host device, example: 04:10.0",
+      "type": "str"
+    },
+    {
+      "name": "x-no-kvm-msix",
+      "type": "bool"
+    },
+    {
+      "name": "x-intx-mmap-timeout-ms",
+      "type": "uint32"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "x-pci-sub-vendor-id",
+      "type": "uint32"
+    },
+    {
+      "name": "sysfsdev",
+      "type": "str"
+    },
+    {
+      "name": "x-no-mmap",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-19"
+}
+
+{
+  "return": [
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "port_index",
+      "type": "uint16"
+    },
+    {
+      "name": "dpofua",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "lun",
+      "type": "uint32"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "port_wwn",
+      "type": "uint64"
+    },
+    {
+      "name": "max_unmap_size",
+      "type": "uint64"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "product",
+      "type": "str"
+    },
+    {
+      "name": "vendor",
+      "type": "str"
+    },
+    {
+      "name": "channel",
+      "type": "uint32"
+    },
+    {
+      "name": "wwn",
+      "type": "uint64"
+    },
+    {
+      "name": "removable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "scsi-id",
+      "type": "uint32"
+    },
+    {
+      "name": "ver",
+      "type": "str"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "max_io_size",
+      "type": "uint64"
+    }
+  ],
+  "id": "libvirt-20"
+}
+
+{
+  "return": [
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "unit",
+      "type": "uint32"
+    },
+    {
+      "name": "wwn",
+      "type": "uint64"
+    },
+    {
+      "name": "model",
+      "type": "str"
+    },
+    {
+      "name": "ver",
+      "type": "str"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    }
+  ],
+  "id": "libvirt-21"
+}
+
+{
+  "id": "libvirt-22",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'PIIX4_PM' not found"
+  }
+}
+
+{
+  "id": "libvirt-23",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'usb-redir' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "isobufs",
+      "type": "uint32"
+    },
+    {
+      "name": "hostaddr",
+      "type": "uint32"
+    },
+    {
+      "name": "msos-desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "productid",
+      "type": "uint32"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "isobsize",
+      "type": "uint32"
+    },
+    {
+      "name": "port",
+      "type": "str"
+    },
+    {
+      "name": "vendorid",
+      "type": "uint32"
+    },
+    {
+      "name": "pipeline",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "hostport",
+      "type": "str"
+    },
+    {
+      "name": "full-path",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "loglevel",
+      "type": "uint32"
+    },
+    {
+      "name": "hostbus",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-24"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "lun",
+      "type": "uint32"
+    },
+    {
+      "name": "channel",
+      "type": "uint32"
+    },
+    {
+      "name": "scsi-id",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-25"
+}
+
+{
+  "id": "libvirt-26",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'i440FX-pcihost' not found"
+  }
+}
+
+{
+  "id": "libvirt-27",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'q35-pcihost' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "msos-desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "port",
+      "type": "str"
+    },
+    {
+      "name": "full-path",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "removable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    }
+  ],
+  "id": "libvirt-28"
+}
+
+{
+  "id": "libvirt-29",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'kvm-pit' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "mmio",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "qemu-extended-regs",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "big-endian-framebuffer",
+      "type": "bool"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "vgamem_mb",
+      "type": "uint32"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    }
+  ],
+  "id": "libvirt-30"
+}
+
+{
+  "id": "libvirt-31",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'vmware-svga' not found"
+  }
+}
+
+{
+  "id": "libvirt-32",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'qxl' not found"
+  }
+}
+
+{
+  "id": "libvirt-33",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'qxl-vga' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ioeventfd",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "migrate-extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "modern-pio-notify",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-gpu-device>"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "x-disable-pcie",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "max_outputs",
+      "type": "uint32"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-34"
+}
+
+{
+  "id": "libvirt-35",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'ICH9-LPC' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "class",
+      "type": "uint32"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest-stats-polling-interval",
+      "type": "int"
+    },
+    {
+      "name": "guest-stats",
+      "type": "guest statistics"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "migrate-extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "modern-pio-notify",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-balloon-device>"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-disable-pcie",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "deflate-on-oom",
+      "description": "on/off",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-36"
+}
+
+{
+  "id": "libvirt-37",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'virtio-balloon-ccw' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest-stats",
+      "type": "guest statistics"
+    },
+    {
+      "name": "guest-stats-polling-interval",
+      "type": "int"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "deflate-on-oom",
+      "description": "on/off",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-38"
+}
+
+{
+  "return": [
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "intrs",
+      "type": "uint32"
+    },
+    {
+      "name": "msix",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "msi",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "superspeed-ports-first",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "streams",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "force-pcie-endcap",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "p3",
+      "type": "uint32"
+    },
+    {
+      "name": "p2",
+      "type": "uint32"
+    },
+    {
+      "name": "slots",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-39"
+}
+
+{
+  "return": [
+    {
+      "name": "integratorcp",
+      "cpu-max": 1
+    },
+    {
+      "name": "nuri",
+      "cpu-max": 2
+    },
+    {
+      "name": "verdex",
+      "cpu-max": 1
+    },
+    {
+      "name": "smdkc210",
+      "cpu-max": 2
+    },
+    {
+      "name": "collie",
+      "cpu-max": 1
+    },
+    {
+      "name": "imx25-pdk",
+      "cpu-max": 1
+    },
+    {
+      "name": "none",
+      "cpu-max": 1
+    },
+    {
+      "name": "spitz",
+      "cpu-max": 1
+    },
+    {
+      "name": "realview-pbx-a9",
+      "cpu-max": 4
+    },
+    {
+      "name": "realview-eb",
+      "cpu-max": 1
+    },
+    {
+      "name": "versatilepb",
+      "cpu-max": 1
+    },
+    {
+      "name": "realview-pb-a8",
+      "cpu-max": 1
+    },
+    {
+      "name": "musicpal",
+      "cpu-max": 1
+    },
+    {
+      "name": "z2",
+      "cpu-max": 1
+    },
+    {
+      "name": "akita",
+      "cpu-max": 1
+    },
+    {
+      "name": "kzm",
+      "cpu-max": 1
+    },
+    {
+      "name": "realview-eb-mpcore",
+      "cpu-max": 4
+    },
+    {
+      "name": "sx1",
+      "cpu-max": 1
+    },
+    {
+      "name": "sx1-v1",
+      "cpu-max": 1
+    },
+    {
+      "name": "virt-2.6",
+      "cpu-max": 255,
+      "alias": "virt"
+    },
+    {
+      "name": "cubieboard",
+      "cpu-max": 1
+    },
+    {
+      "name": "highbank",
+      "cpu-max": 4
+    },
+    {
+      "name": "raspi2",
+      "cpu-max": 4
+    },
+    {
+      "name": "netduino2",
+      "cpu-max": 1
+    },
+    {
+      "name": "terrier",
+      "cpu-max": 1
+    },
+    {
+      "name": "n810",
+      "cpu-max": 1
+    },
+    {
+      "name": "mainstone",
+      "cpu-max": 1
+    },
+    {
+      "name": "palmetto-bmc",
+      "cpu-max": 1
+    },
+    {
+      "name": "midway",
+      "cpu-max": 4
+    },
+    {
+      "name": "cheetah",
+      "cpu-max": 1
+    },
+    {
+      "name": "tosa",
+      "cpu-max": 1
+    },
+    {
+      "name": "borzoi",
+      "cpu-max": 1
+    },
+    {
+      "name": "versatileab",
+      "cpu-max": 1
+    },
+    {
+      "name": "lm3s6965evb",
+      "cpu-max": 1
+    },
+    {
+      "name": "n800",
+      "cpu-max": 1
+    },
+    {
+      "name": "connex",
+      "cpu-max": 1
+    },
+    {
+      "name": "xilinx-zynq-a9",
+      "cpu-max": 1
+    },
+    {
+      "name": "xlnx-ep108",
+      "cpu-max": 1
+    },
+    {
+      "name": "vexpress-a9",
+      "cpu-max": 4
+    },
+    {
+      "name": "vexpress-a15",
+      "cpu-max": 4
+    },
+    {
+      "name": "canon-a1100",
+      "cpu-max": 1
+    },
+    {
+      "name": "lm3s811evb",
+      "cpu-max": 1
+    }
+  ],
+  "id": "libvirt-40"
+}
+
+{
+  "return": [
+    {
+      "name": "pxa262"
+    },
+    {
+      "name": "pxa270-a0"
+    },
+    {
+      "name": "arm1136"
+    },
+    {
+      "name": "cortex-a15"
+    },
+    {
+      "name": "pxa260"
+    },
+    {
+      "name": "arm1136-r2"
+    },
+    {
+      "name": "pxa261"
+    },
+    {
+      "name": "pxa255"
+    },
+    {
+      "name": "arm926"
+    },
+    {
+      "name": "arm11mpcore"
+    },
+    {
+      "name": "pxa250"
+    },
+    {
+      "name": "ti925t"
+    },
+    {
+      "name": "cortex-a57"
+    },
+    {
+      "name": "sa1110"
+    },
+    {
+      "name": "arm1176"
+    },
+    {
+      "name": "cortex-a53"
+    },
+    {
+      "name": "sa1100"
+    },
+    {
+      "name": "pxa270-c5"
+    },
+    {
+      "name": "cortex-a9"
+    },
+    {
+      "name": "cortex-a8"
+    },
+    {
+      "name": "pxa270-c0"
+    },
+    {
+      "name": "arm1026"
+    },
+    {
+      "name": "pxa270-b1"
+    },
+    {
+      "name": "cortex-m3"
+    },
+    {
+      "name": "cortex-m4"
+    },
+    {
+      "name": "pxa270-b0"
+    },
+    {
+      "name": "arm946"
+    },
+    {
+      "name": "cortex-r5"
+    },
+    {
+      "name": "pxa270-a1"
+    },
+    {
+      "name": "pxa270"
+    }
+  ],
+  "id": "libvirt-41"
+}
+
+{
+  "return": {
+    "enabled": false,
+    "present": true
+  },
+  "id": "libvirt-42"
+}
+
+{
+  "return": [
+  ],
+  "id": "libvirt-43"
+}
+
+{
+  "return": [
+  ],
+  "id": "libvirt-44"
+}
+
+{
+  "return": [
+    {
+      "parameters": [
+        {
+          "name": "timeout",
+          "help": "Request timeout in seconds (default 0 = no timeout)",
+          "type": "number"
+        },
+        {
+          "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-secret",
+          "help": "ID of the secret providing password for CHAP authentication to target",
+          "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": [
+        {
+          "name": "non-adaptive",
+          "type": "boolean"
+        },
+        {
+          "name": "lossy",
+          "type": "boolean"
+        },
+        {
+          "name": "acl",
+          "type": "boolean"
+        },
+        {
+          "name": "x509verify",
+          "type": "string"
+        },
+        {
+          "name": "tls",
+          "type": "boolean"
+        },
+        {
+          "name": "sasl",
+          "type": "boolean"
+        },
+        {
+          "name": "lock-key-sync",
+          "type": "boolean"
+        },
+        {
+          "name": "reverse",
+          "type": "boolean"
+        },
+        {
+          "name": "password",
+          "type": "boolean"
+        },
+        {
+          "name": "ipv6",
+          "type": "boolean"
+        },
+        {
+          "name": "ipv4",
+          "type": "boolean"
+        },
+        {
+          "name": "to",
+          "type": "number"
+        },
+        {
+          "name": "connections",
+          "type": "number"
+        },
+        {
+          "name": "head",
+          "type": "number"
+        },
+        {
+          "name": "display",
+          "type": "string"
+        },
+        {
+          "name": "share",
+          "type": "string"
+        },
+        {
+          "name": "x509",
+          "type": "string"
+        },
+        {
+          "name": "tls-creds",
+          "type": "string"
+        },
+        {
+          "name": "websocket",
+          "type": "string"
+        },
+        {
+          "name": "vnc",
+          "type": "string"
+        }
+      ],
+      "option": "vnc"
+    },
+    {
+      "parameters": [
+      ],
+      "option": "smbios"
+    },
+    {
+      "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": "string",
+          "help": "Sets content of the blob to be inserted from a string",
+          "type": "string"
+        },
+        {
+          "name": "file",
+          "help": "Sets the name of the file from which\nthe fw_cfg blob will be loaded",
+          "type": "string"
+        },
+        {
+          "name": "name",
+          "help": "Sets the fw_cfg name of the blob to be inserted",
+          "type": "string"
+        }
+      ],
+      "option": "fw_cfg"
+    },
+    {
+      "parameters": [
+        {
+          "name": "arg",
+          "type": "string"
+        },
+        {
+          "name": "target",
+          "type": "string"
+        },
+        {
+          "name": "enable",
+          "type": "boolean"
+        }
+      ],
+      "option": "semihosting-config"
+    },
+    {
+      "parameters": [
+        {
+          "name": "rrfile",
+          "type": "string"
+        },
+        {
+          "name": "rr",
+          "type": "string"
+        },
+        {
+          "name": "sleep",
+          "type": "boolean"
+        },
+        {
+          "name": "align",
+          "type": "boolean"
+        },
+        {
+          "name": "shift",
+          "type": "string"
+        }
+      ],
+      "option": "icount"
+    },
+    {
+      "parameters": [
+      ],
+      "option": "numa"
+    },
+    {
+      "parameters": [
+        {
+          "name": "debug-threads",
+          "help": "When enabled, name the individual threads; defaults off.\nNOTE: The thread names are for debugging and not a\nstable API.",
+          "type": "boolean"
+        },
+        {
+          "name": "process",
+          "help": "Sets the name of the QEMU process, as shown in top etc",
+          "type": "string"
+        },
+        {
+          "name": "guest",
+          "help": "Sets the name of the guest.\nThis name will be displayed in the SDL window caption.\nThe name will also be used for the VNC server",
+          "type": "string"
+        }
+      ],
+      "option": "name"
+    },
+    {
+      "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": "boolean"
+        },
+        {
+          "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": "maxmem",
+          "type": "size"
+        },
+        {
+          "name": "slots",
+          "type": "number"
+        },
+        {
+          "name": "size",
+          "type": "size"
+        }
+      ],
+      "option": "memory"
+    },
+    {
+      "parameters": [
+        {
+          "name": "dea-key-wrap",
+          "help": "enable/disable DEA key wrapping using the CPACF wrapping key",
+          "type": "boolean"
+        },
+        {
+          "name": "aes-key-wrap",
+          "help": "enable/disable AES key wrapping using the CPACF wrapping key",
+          "type": "boolean"
+        },
+        {
+          "name": "suppress-vmdesc",
+          "help": "Set on to disable self-describing migration",
+          "type": "boolean"
+        },
+        {
+          "name": "iommu",
+          "help": "Set on/off to enable/disable Intel IOMMU (VT-d)",
+          "type": "boolean"
+        },
+        {
+          "name": "firmware",
+          "help": "firmware image",
+          "type": "string"
+        },
+        {
+          "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"
+        },
+        {
+          "name": "enable",
+          "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": "logappend",
+          "type": "boolean"
+        },
+        {
+          "name": "logfile",
+          "type": "string"
+        },
+        {
+          "name": "append",
+          "type": "boolean"
+        },
+        {
+          "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": "tls-creds",
+          "type": "string"
+        },
+        {
+          "name": "telnet",
+          "type": "boolean"
+        },
+        {
+          "name": "reconnect",
+          "type": "number"
+        },
+        {
+          "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": "werror",
+          "help": "write error action",
+          "type": "string"
+        },
+        {
+          "name": "rerror",
+          "help": "read error action",
+          "type": "string"
+        },
+        {
+          "name": "read-only",
+          "help": "open drive file as read-only",
+          "type": "boolean"
+        },
+        {
+          "name": "file",
+          "help": "file name",
+          "type": "string"
+        },
+        {
+          "name": "serial",
+          "help": "disk serial number",
+          "type": "string"
+        },
+        {
+          "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": "stats-account-failed",
+          "help": "whether to account for failed I/O operations in the statistics",
+          "type": "boolean"
+        },
+        {
+          "name": "stats-account-invalid",
+          "help": "whether to account for invalid I/O operations in the statistics",
+          "type": "boolean"
+        },
+        {
+          "name": "detect-zeroes",
+          "help": "try to optimize zero writes (off, on, unmap)",
+          "type": "string"
+        },
+        {
+          "name": "throttling.group",
+          "help": "name of the block throttling group",
+          "type": "string"
+        },
+        {
+          "name": "throttling.iops-size",
+          "help": "when limiting by iops max size of an I/O in bytes",
+          "type": "number"
+        },
+        {
+          "name": "throttling.bps-write-max-length",
+          "help": "length of the bps-write-max burst period, in seconds",
+          "type": "number"
+        },
+        {
+          "name": "throttling.bps-read-max-length",
+          "help": "length of the bps-read-max burst period, in seconds",
+          "type": "number"
+        },
+        {
+          "name": "throttling.bps-total-max-length",
+          "help": "length of the bps-total-max burst period, in seconds",
+          "type": "number"
+        },
+        {
+          "name": "throttling.iops-write-max-length",
+          "help": "length of the iops-write-max burst period, in seconds",
+          "type": "number"
+        },
+        {
+          "name": "throttling.iops-read-max-length",
+          "help": "length of the iops-read-max burst period, in seconds",
+          "type": "number"
+        },
+        {
+          "name": "throttling.iops-total-max-length",
+          "help": "length of the iops-total-max burst period, in seconds",
+          "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": "format",
+          "help": "disk format (raw, qcow2, ...)",
+          "type": "string"
+        },
+        {
+          "name": "cache.writeback",
+          "help": "Enable writeback mode",
+          "type": "boolean"
+        },
+        {
+          "name": "aio",
+          "help": "host AIO implementation (threads, native)",
+          "type": "string"
+        },
+        {
+          "name": "discard",
+          "help": "discard operation (ignore/off, unmap/on)",
+          "type": "string"
+        },
+        {
+          "name": "snapshot",
+          "help": "enable/disable snapshot mode",
+          "type": "boolean"
+        }
+      ],
+      "option": "drive"
+    }
+  ],
+  "id": "libvirt-45"
+}
+
+{
+  "return": [
+    {
+      "state": false,
+      "capability": "xbzrle"
+    },
+    {
+      "state": false,
+      "capability": "rdma-pin-all"
+    },
+    {
+      "state": false,
+      "capability": "auto-converge"
+    },
+    {
+      "state": false,
+      "capability": "zero-blocks"
+    },
+    {
+      "state": false,
+      "capability": "compress"
+    },
+    {
+      "state": false,
+      "capability": "events"
+    },
+    {
+      "state": false,
+      "capability": "postcopy-ram"
+    }
+  ],
+  "id": "libvirt-46"
+}
+
+{
+  "return": [
+    {
+      "emulated": false,
+      "version": 3,
+      "kernel": false
+    },
+    {
+      "emulated": true,
+      "version": 2,
+      "kernel": true
+    }
+  ],
+  "id": "libvirt-47"
+}
diff --git a/tests/qemucapabilitiesdata/caps_2.6.0-gicv2.aarch64.xml b/tests/qemucapabilitiesdata/caps_2.6.0-gicv2.aarch64.xml
new file mode 100644 (file)
index 0000000..f4e6db1
--- /dev/null
@@ -0,0 +1,238 @@
+<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='device'/>
+  <flag name='sdl'/>
+  <flag name='smp-topology'/>
+  <flag name='netdev'/>
+  <flag name='rtc'/>
+  <flag name='vhost-net'/>
+  <flag name='nodefconfig'/>
+  <flag name='boot-menu'/>
+  <flag name='fsdev'/>
+  <flag name='name-process'/>
+  <flag name='drive-readonly'/>
+  <flag name='smbios-type'/>
+  <flag name='vga-none'/>
+  <flag name='boot-index'/>
+  <flag name='hda-duplex'/>
+  <flag name='drive-aio'/>
+  <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='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='fsdev-readonly'/>
+  <flag name='virtio-blk-pci.scsi'/>
+  <flag name='blk-sg-io'/>
+  <flag name='drive-copy-on-read'/>
+  <flag name='cpu-host'/>
+  <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='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-host.bootindex'/>
+  <flag name='blockdev-snapshot-sync'/>
+  <flag name='VGA'/>
+  <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='usb-storage'/>
+  <flag name='usb-storage.removable'/>
+  <flag name='virtio-mmio'/>
+  <flag name='ich9-intel-hda'/>
+  <flag name='boot-strict'/>
+  <flag name='spiceport'/>
+  <flag name='usb-kbd'/>
+  <flag name='host-pci-multidomain'/>
+  <flag name='msg-timestamp'/>
+  <flag name='active-commit'/>
+  <flag name='change-backing-file'/>
+  <flag name='memory-backend-ram'/>
+  <flag name='numa'/>
+  <flag name='memory-backend-file'/>
+  <flag name='usb-audio'/>
+  <flag name='splash-timeout'/>
+  <flag name='iothread'/>
+  <flag name='migrate-rdma'/>
+  <flag name='ivshmem'/>
+  <flag name='drive-iotune-max'/>
+  <flag name='VGA.vgamem_mb'/>
+  <flag name='machine-vmport-opt'/>
+  <flag name='aes-key-wrap'/>
+  <flag name='dea-key-wrap'/>
+  <flag name='pci-serial'/>
+  <flag name='aarch64-off'/>
+  <flag name='vhost-user-multiqueue'/>
+  <flag name='migration-event'/>
+  <flag name='gpex-pcihost'/>
+  <flag name='ioh3420'/>
+  <flag name='x3130-upstream'/>
+  <flag name='xio3130-downstream'/>
+  <flag name='rtl8139'/>
+  <flag name='e1000'/>
+  <flag name='virtio-net'/>
+  <flag name='gic-version'/>
+  <flag name='incoming-defer'/>
+  <flag name='virtio-gpu'/>
+  <flag name='virtio-keyboard'/>
+  <flag name='virtio-mouse'/>
+  <flag name='virtio-tablet'/>
+  <flag name='virtio-input-host'/>
+  <flag name='chardev-file-append'/>
+  <flag name='vserport-change-event'/>
+  <flag name='virtio-balloon-pci.deflate-on-oom'/>
+  <flag name='mptsas1068'/>
+  <flag name='chardev-logfile'/>
+  <flag name='debug-threads'/>
+  <flag name='secret'/>
+  <flag name='pxb'/>
+  <flag name='pxb-pcie'/>
+  <flag name='device-tray-moved-event'/>
+  <flag name='nec-usb-xhci-ports'/>
+  <flag name='virtio-scsi-pci.iothread'/>
+  <version>2005094</version>
+  <kvmVersion>0</kvmVersion>
+  <package></package>
+  <arch>aarch64</arch>
+  <cpu name='pxa262'/>
+  <cpu name='pxa270-a0'/>
+  <cpu name='arm1136'/>
+  <cpu name='cortex-a15'/>
+  <cpu name='pxa260'/>
+  <cpu name='arm1136-r2'/>
+  <cpu name='pxa261'/>
+  <cpu name='pxa255'/>
+  <cpu name='arm926'/>
+  <cpu name='arm11mpcore'/>
+  <cpu name='pxa250'/>
+  <cpu name='ti925t'/>
+  <cpu name='cortex-a57'/>
+  <cpu name='sa1110'/>
+  <cpu name='arm1176'/>
+  <cpu name='cortex-a53'/>
+  <cpu name='sa1100'/>
+  <cpu name='pxa270-c5'/>
+  <cpu name='cortex-a9'/>
+  <cpu name='cortex-a8'/>
+  <cpu name='pxa270-c0'/>
+  <cpu name='arm1026'/>
+  <cpu name='pxa270-b1'/>
+  <cpu name='cortex-m3'/>
+  <cpu name='cortex-m4'/>
+  <cpu name='pxa270-b0'/>
+  <cpu name='arm946'/>
+  <cpu name='cortex-r5'/>
+  <cpu name='pxa270-a1'/>
+  <cpu name='pxa270'/>
+  <machine name='integratorcp' maxCpus='1'/>
+  <machine name='nuri' maxCpus='2'/>
+  <machine name='verdex' maxCpus='1'/>
+  <machine name='smdkc210' maxCpus='2'/>
+  <machine name='collie' maxCpus='1'/>
+  <machine name='imx25-pdk' maxCpus='1'/>
+  <machine name='spitz' maxCpus='1'/>
+  <machine name='realview-pbx-a9' maxCpus='4'/>
+  <machine name='realview-eb' maxCpus='1'/>
+  <machine name='versatilepb' maxCpus='1'/>
+  <machine name='realview-pb-a8' maxCpus='1'/>
+  <machine name='musicpal' maxCpus='1'/>
+  <machine name='z2' maxCpus='1'/>
+  <machine name='akita' maxCpus='1'/>
+  <machine name='kzm' maxCpus='1'/>
+  <machine name='realview-eb-mpcore' maxCpus='4'/>
+  <machine name='sx1' maxCpus='1'/>
+  <machine name='sx1-v1' maxCpus='1'/>
+  <machine name='virt-2.6' alias='virt' maxCpus='255'/>
+  <machine name='cubieboard' maxCpus='1'/>
+  <machine name='highbank' maxCpus='4'/>
+  <machine name='raspi2' maxCpus='4'/>
+  <machine name='netduino2' maxCpus='1'/>
+  <machine name='terrier' maxCpus='1'/>
+  <machine name='n810' maxCpus='1'/>
+  <machine name='mainstone' maxCpus='1'/>
+  <machine name='palmetto-bmc' maxCpus='1'/>
+  <machine name='midway' maxCpus='4'/>
+  <machine name='cheetah' maxCpus='1'/>
+  <machine name='tosa' maxCpus='1'/>
+  <machine name='borzoi' maxCpus='1'/>
+  <machine name='versatileab' maxCpus='1'/>
+  <machine name='lm3s6965evb' maxCpus='1'/>
+  <machine name='n800' maxCpus='1'/>
+  <machine name='connex' maxCpus='1'/>
+  <machine name='xilinx-zynq-a9' maxCpus='1'/>
+  <machine name='xlnx-ep108' maxCpus='1'/>
+  <machine name='vexpress-a9' maxCpus='4'/>
+  <machine name='vexpress-a15' maxCpus='4'/>
+  <machine name='canon-a1100' maxCpus='1'/>
+  <machine name='lm3s811evb' maxCpus='1'/>
+  <gic version='3' kernel='no' emulated='no'/>
+  <gic version='2' kernel='yes' emulated='yes'/>
+</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_2.6.0-gicv3.aarch64.replies b/tests/qemucapabilitiesdata/caps_2.6.0-gicv3.aarch64.replies
new file mode 100644 (file)
index 0000000..c92815a
--- /dev/null
@@ -0,0 +1,4940 @@
+{
+  "QMP": {
+    "version": {
+      "qemu": {
+        "micro": 94,
+        "minor": 5,
+        "major": 2
+      },
+      "package": ""
+    },
+    "capabilities": [
+    ]
+  }
+}
+
+{
+  "return": {
+  },
+  "id": "libvirt-1"
+}
+
+{
+  "return": {
+    "qemu": {
+      "micro": 94,
+      "minor": 5,
+      "major": 2
+    },
+    "package": ""
+  },
+  "id": "libvirt-2"
+}
+
+{
+  "return": {
+    "arch": "aarch64"
+  },
+  "id": "libvirt-3"
+}
+
+{
+  "return": [
+    {
+      "name": "query-gic-capabilities"
+    },
+    {
+      "name": "query-rocker-of-dpa-groups"
+    },
+    {
+      "name": "query-rocker-of-dpa-flows"
+    },
+    {
+      "name": "query-rocker-ports"
+    },
+    {
+      "name": "query-rocker"
+    },
+    {
+      "name": "block-set-write-threshold"
+    },
+    {
+      "name": "input-send-event"
+    },
+    {
+      "name": "trace-event-set-state"
+    },
+    {
+      "name": "trace-event-get-state"
+    },
+    {
+      "name": "query-acpi-ospm-status"
+    },
+    {
+      "name": "query-memory-devices"
+    },
+    {
+      "name": "query-memdev"
+    },
+    {
+      "name": "blockdev-change-medium"
+    },
+    {
+      "name": "query-named-block-nodes"
+    },
+    {
+      "name": "x-blockdev-insert-medium"
+    },
+    {
+      "name": "x-blockdev-remove-medium"
+    },
+    {
+      "name": "blockdev-close-tray"
+    },
+    {
+      "name": "blockdev-open-tray"
+    },
+    {
+      "name": "x-blockdev-del"
+    },
+    {
+      "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-parameters"
+    },
+    {
+      "name": "migrate-set-parameters"
+    },
+    {
+      "name": "query-migrate-capabilities"
+    },
+    {
+      "name": "migrate-set-capabilities"
+    },
+    {
+      "name": "query-migrate"
+    },
+    {
+      "name": "query-command-line-options"
+    },
+    {
+      "name": "query-uuid"
+    },
+    {
+      "name": "query-name"
+    },
+    {
+      "name": "query-vnc-servers"
+    },
+    {
+      "name": "query-vnc"
+    },
+    {
+      "name": "query-mice"
+    },
+    {
+      "name": "query-status"
+    },
+    {
+      "name": "query-kvm"
+    },
+    {
+      "name": "query-pci"
+    },
+    {
+      "name": "query-iothreads"
+    },
+    {
+      "name": "query-cpus"
+    },
+    {
+      "name": "query-blockstats"
+    },
+    {
+      "name": "query-block"
+    },
+    {
+      "name": "query-chardev-backends"
+    },
+    {
+      "name": "query-chardev"
+    },
+    {
+      "name": "query-qmp-schema"
+    },
+    {
+      "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": "change-backing-file"
+    },
+    {
+      "name": "blockdev-mirror"
+    },
+    {
+      "name": "drive-mirror"
+    },
+    {
+      "name": "blockdev-snapshot-delete-internal-sync"
+    },
+    {
+      "name": "blockdev-snapshot-internal-sync"
+    },
+    {
+      "name": "blockdev-snapshot"
+    },
+    {
+      "name": "blockdev-snapshot-sync"
+    },
+    {
+      "name": "block-dirty-bitmap-clear"
+    },
+    {
+      "name": "block-dirty-bitmap-remove"
+    },
+    {
+      "name": "block-dirty-bitmap-add"
+    },
+    {
+      "name": "transaction"
+    },
+    {
+      "name": "block-job-complete"
+    },
+    {
+      "name": "block-job-resume"
+    },
+    {
+      "name": "block-job-pause"
+    },
+    {
+      "name": "block-job-cancel"
+    },
+    {
+      "name": "block-job-set-speed"
+    },
+    {
+      "name": "blockdev-backup"
+    },
+    {
+      "name": "drive-backup"
+    },
+    {
+      "name": "block-commit"
+    },
+    {
+      "name": "block-stream"
+    },
+    {
+      "name": "block_resize"
+    },
+    {
+      "name": "object-del"
+    },
+    {
+      "name": "object-add"
+    },
+    {
+      "name": "netdev_del"
+    },
+    {
+      "name": "netdev_add"
+    },
+    {
+      "name": "query-dump"
+    },
+    {
+      "name": "query-dump-guest-memory-capability"
+    },
+    {
+      "name": "dump-guest-memory"
+    },
+    {
+      "name": "client_migrate_info"
+    },
+    {
+      "name": "migrate_set_downtime"
+    },
+    {
+      "name": "migrate_set_speed"
+    },
+    {
+      "name": "query-migrate-cache-size"
+    },
+    {
+      "name": "migrate-start-postcopy"
+    },
+    {
+      "name": "migrate-set-cache-size"
+    },
+    {
+      "name": "migrate-incoming"
+    },
+    {
+      "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": 15,
+    "fdset-id": 0
+  },
+  "id": "libvirt-5"
+}
+
+{
+  "id": "libvirt-6",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'bogus' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "WATCHDOG"
+    },
+    {
+      "name": "WAKEUP"
+    },
+    {
+      "name": "VSERPORT_CHANGE"
+    },
+    {
+      "name": "VNC_INITIALIZED"
+    },
+    {
+      "name": "VNC_DISCONNECTED"
+    },
+    {
+      "name": "VNC_CONNECTED"
+    },
+    {
+      "name": "SUSPEND_DISK"
+    },
+    {
+      "name": "SUSPEND"
+    },
+    {
+      "name": "STOP"
+    },
+    {
+      "name": "SPICE_MIGRATE_COMPLETED"
+    },
+    {
+      "name": "SPICE_INITIALIZED"
+    },
+    {
+      "name": "SPICE_DISCONNECTED"
+    },
+    {
+      "name": "SPICE_CONNECTED"
+    },
+    {
+      "name": "SHUTDOWN"
+    },
+    {
+      "name": "RTC_CHANGE"
+    },
+    {
+      "name": "RESUME"
+    },
+    {
+      "name": "RESET"
+    },
+    {
+      "name": "QUORUM_REPORT_BAD"
+    },
+    {
+      "name": "QUORUM_FAILURE"
+    },
+    {
+      "name": "POWERDOWN"
+    },
+    {
+      "name": "NIC_RX_FILTER_CHANGED"
+    },
+    {
+      "name": "MIGRATION_PASS"
+    },
+    {
+      "name": "MIGRATION"
+    },
+    {
+      "name": "MEM_UNPLUG_ERROR"
+    },
+    {
+      "name": "GUEST_PANICKED"
+    },
+    {
+      "name": "DUMP_COMPLETED"
+    },
+    {
+      "name": "DEVICE_TRAY_MOVED"
+    },
+    {
+      "name": "DEVICE_DELETED"
+    },
+    {
+      "name": "BLOCK_WRITE_THRESHOLD"
+    },
+    {
+      "name": "BLOCK_JOB_READY"
+    },
+    {
+      "name": "BLOCK_JOB_ERROR"
+    },
+    {
+      "name": "BLOCK_JOB_COMPLETED"
+    },
+    {
+      "name": "BLOCK_JOB_CANCELLED"
+    },
+    {
+      "name": "BLOCK_IO_ERROR"
+    },
+    {
+      "name": "BLOCK_IMAGE_CORRUPTED"
+    },
+    {
+      "name": "BALLOON_CHANGE"
+    },
+    {
+      "name": "ACPI_DEVICE_OST"
+    }
+  ],
+  "id": "libvirt-7"
+}
+
+{
+  "return": [
+    {
+      "name": "virtio-mmio"
+    },
+    {
+      "name": "scsi-generic"
+    },
+    {
+      "name": "qio-channel-tls"
+    },
+    {
+      "name": "scsi-hd"
+    },
+    {
+      "name": "pxa270-arm-cpu"
+    },
+    {
+      "name": "pxa270-a1-arm-cpu"
+    },
+    {
+      "name": "digic"
+    },
+    {
+      "name": "mv88w8618_flashcfg"
+    },
+    {
+      "name": "at25df641"
+    },
+    {
+      "name": "usb-bot"
+    },
+    {
+      "name": "lm3s811evb-machine"
+    },
+    {
+      "name": "mx25l3205d"
+    },
+    {
+      "name": "bcm2835-property"
+    },
+    {
+      "name": "pxa2xx-pcmcia"
+    },
+    {
+      "name": "canon-a1100-machine"
+    },
+    {
+      "name": "n25q512a"
+    },
+    {
+      "name": "lsi53c895a"
+    },
+    {
+      "name": "virtio-keyboard-pci"
+    },
+    {
+      "name": "mx25l6405d"
+    },
+    {
+      "name": "w25q256"
+    },
+    {
+      "name": "s25fl064k"
+    },
+    {
+      "name": "musicpal_gpio"
+    },
+    {
+      "name": "ide-hd"
+    },
+    {
+      "name": "virtio-net-device"
+    },
+    {
+      "name": "virtio-serial-pci"
+    },
+    {
+      "name": "cortex-r5-arm-cpu"
+    },
+    {
+      "name": "vexpress-a15-machine"
+    },
+    {
+      "name": "at45db081d"
+    },
+    {
+      "name": "en25p32"
+    },
+    {
+      "name": "pxa2xx-i2c-slave"
+    },
+    {
+      "name": "arm946-arm-cpu"
+    },
+    {
+      "name": "gpex-pcihost"
+    },
+    {
+      "name": "m25pe80"
+    },
+    {
+      "name": "pxa270-b0-arm-cpu"
+    },
+    {
+      "name": "s25fl256s1"
+    },
+    {
+      "name": "s25fl256s0"
+    },
+    {
+      "name": "platform-bus-device"
+    },
+    {
+      "name": "usb-host"
+    },
+    {
+      "name": "ich9-usb-uhci2"
+    },
+    {
+      "name": "usb-bt-dongle"
+    },
+    {
+      "name": "s25fl129p1"
+    },
+    {
+      "name": "s25fl129p0"
+    },
+    {
+      "name": "ccid-card-emulated"
+    },
+    {
+      "name": "virtio-input-host-pci"
+    },
+    {
+      "name": "kvm-arm-gicv3"
+    },
+    {
+      "name": "usb-mtp"
+    },
+    {
+      "name": "ich9-usb-uhci6"
+    },
+    {
+      "name": "SSI"
+    },
+    {
+      "name": "ich9-usb-uhci4"
+    },
+    {
+      "name": "e1000"
+    },
+    {
+      "name": "xlnx,ps7-usb"
+    },
+    {
+      "name": "s25sl12801"
+    },
+    {
+      "name": "s25sl12800"
+    },
+    {
+      "name": "ich9-usb-uhci5"
+    },
+    {
+      "name": "pxa2xx_rtc"
+    },
+    {
+      "name": "xlnx,zynq-xadc"
+    },
+    {
+      "name": "cortex-m4-arm-cpu"
+    },
+    {
+      "name": "sysbus-ahci"
+    },
+    {
+      "name": "ich9-usb-uhci3"
+    },
+    {
+      "name": "kvm-arm-gic"
+    },
+    {
+      "name": "imx.fec"
+    },
+    {
+      "name": "ich9-usb-uhci1"
+    },
+    {
+      "name": "tpci200"
+    },
+    {
+      "name": "spitz-lcdtg"
+    },
+    {
+      "name": "memory-backend-file"
+    },
+    {
+      "name": "stm32f2xx-usart"
+    },
+    {
+      "name": "cortex-m3-arm-cpu"
+    },
+    {
+      "name": "s25sl064p"
+    },
+    {
+      "name": "stm32f2xx-syscfg"
+    },
+    {
+      "name": "rtl8139"
+    },
+    {
+      "name": "exynos4210.i2c"
+    },
+    {
+      "name": "lan9118"
+    },
+    {
+      "name": "vexpress-a9-machine"
+    },
+    {
+      "name": "corgi-ssp"
+    },
+    {
+      "name": "megasas"
+    },
+    {
+      "name": "pxa2xx-fir"
+    },
+    {
+      "name": "s25sl064a"
+    },
+    {
+      "name": "container"
+    },
+    {
+      "name": "scsi-block"
+    },
+    {
+      "name": "omap-intc"
+    },
+    {
+      "name": "strongarm_pic"
+    },
+    {
+      "name": "sst25wf512"
+    },
+    {
+      "name": "max7310"
+    },
+    {
+      "name": "scsi-cd"
+    },
+    {
+      "name": "pxb-bus"
+    },
+    {
+      "name": "usb-audio"
+    },
+    {
+      "name": "accel"
+    },
+    {
+      "name": "pxa270-b1-arm-cpu"
+    },
+    {
+      "name": "m45pe80"
+    },
+    {
+      "name": "pxa2xx-dma"
+    },
+    {
+      "name": "filter-redirector"
+    },
+    {
+      "name": "imx.gpio"
+    },
+    {
+      "name": "arm-linux-boot-if"
+    },
+    {
+      "name": "isa-serial"
+    },
+    {
+      "name": "virtio-serial-device"
+    },
+    {
+      "name": "tegra2-ehci-usb"
+    },
+    {
+      "name": "vhost-scsi-pci"
+    },
+    {
+      "name": "integrator_debug"
+    },
+    {
+      "name": "imx25.ccm"
+    },
+    {
+      "name": "a15mpcore_priv"
+    },
+    {
+      "name": "tls-creds-anon"
+    },
+    {
+      "name": "fw_cfg_mem"
+    },
+    {
+      "name": "digic-timer"
+    },
+    {
+      "name": "usb-uas"
+    },
+    {
+      "name": "ide-cd"
+    },
+    {
+      "name": "usb-ccid"
+    },
+    {
+      "name": "cadence_uart"
+    },
+    {
+      "name": "virtio-balloon-pci"
+    },
+    {
+      "name": "gpio_i2c"
+    },
+    {
+      "name": "iothread"
+    },
+    {
+      "name": "spitz-keyboard"
+    },
+    {
+      "name": "xlnx-ep108-machine"
+    },
+    {
+      "name": "n25q256a"
+    },
+    {
+      "name": "lm8323"
+    },
+    {
+      "name": "bcm2835-ic"
+    },
+    {
+      "name": "xilinx-zynq-a9-machine"
+    },
+    {
+      "name": "arm1026-arm-cpu"
+    },
+    {
+      "name": "twl92230"
+    },
+    {
+      "name": "sdhci-pci"
+    },
+    {
+      "name": "virtio-input-host-device"
+    },
+    {
+      "name": "i82559er"
+    },
+    {
+      "name": "pci-bridge"
+    },
+    {
+      "name": "ivshmem-doorbell"
+    },
+    {
+      "name": "versatile_pci_host"
+    },
+    {
+      "name": "w25x80"
+    },
+    {
+      "name": "mv88w8618_wlan"
+    },
+    {
+      "name": "virtio-rng-device"
+    },
+    {
+      "name": "en25q32b"
+    },
+    {
+      "name": "pxa270-c0-arm-cpu"
+    },
+    {
+      "name": "mx25l1606e"
+    },
+    {
+      "name": "nand"
+    },
+    {
+      "name": "arm-gicv2m"
+    },
+    {
+      "name": "pxa27x-timer"
+    },
+    {
+      "name": "hda-micro"
+    },
+    {
+      "name": "pci-bridge-seat"
+    },
+    {
+      "name": "dc390"
+    },
+    {
+      "name": "stm32f2xx-timer"
+    },
+    {
+      "name": "pl190"
+    },
+    {
+      "name": "IDE"
+    },
+    {
+      "name": "at25256a-nonjedec"
+    },
+    {
+      "name": "fw_cfg_io"
+    },
+    {
+      "name": "integrator_core"
+    },
+    {
+      "name": "m25pe20"
+    },
+    {
+      "name": "ads7846"
+    },
+    {
+      "name": "sst25wf080"
+    },
+    {
+      "name": "memory-backend-ram"
+    },
+    {
+      "name": "am53c974"
+    },
+    {
+      "name": "connex-machine"
+    },
+    {
+      "name": "stellaris-adc"
+    },
+    {
+      "name": "exynos4210.mct"
+    },
+    {
+      "name": "virtio-blk-device"
+    },
+    {
+      "name": "at25128a-nonjedec"
+    },
+    {
+      "name": "cortex-a8-arm-cpu"
+    },
+    {
+      "name": "imx6.ccm"
+    },
+    {
+      "name": "qio-channel-file"
+    },
+    {
+      "name": "qio-channel-websock"
+    },
+    {
+      "name": "icp-ctrl-regs"
+    },
+    {
+      "name": "stellaris-gptm"
+    },
+    {
+      "name": "arm_gic"
+    },
+    {
+      "name": "pl181"
+    },
+    {
+      "name": "sl-nand"
+    },
+    {
+      "name": "m25pe16"
+    },
+    {
+      "name": "gpio-key"
+    },
+    {
+      "name": "hda-output"
+    },
+    {
+      "name": "w25x64"
+    },
+    {
+      "name": "VGA"
+    },
+    {
+      "name": "s25fl016k"
+    },
+    {
+      "name": "n800-machine"
+    },
+    {
+      "name": "m25p80"
+    },
+    {
+      "name": "at25df321a"
+    },
+    {
+      "name": "pxa2xx-mmci-bus"
+    },
+    {
+      "name": "lm3s6965evb-machine"
+    },
+    {
+      "name": "mptsas1068"
+    },
+    {
+      "name": "bcm2835-fb"
+    },
+    {
+      "name": "edu"
+    },
+    {
+      "name": "versatileab-machine"
+    },
+    {
+      "name": "virtio-mouse-pci"
+    },
+    {
+      "name": "strongarm-uart"
+    },
+    {
+      "name": "pl330"
+    },
+    {
+      "name": "ast2400"
+    },
+    {
+      "name": "mv88w8618_pit"
+    },
+    {
+      "name": "HDA"
+    },
+    {
+      "name": "qemu:memory-region"
+    },
+    {
+      "name": "mv88w8618_pic"
+    },
+    {
+      "name": "ssd0323"
+    },
+    {
+      "name": "omap2-intc"
+    },
+    {
+      "name": "sysbus-ohci"
+    },
+    {
+      "name": "borzoi-machine"
+    },
+    {
+      "name": "stellaris-i2c"
+    },
+    {
+      "name": "pl081"
+    },
+    {
+      "name": "pl080"
+    },
+    {
+      "name": "qtest-accel"
+    },
+    {
+      "name": "qio-channel-command"
+    },
+    {
+      "name": "m25p64"
+    },
+    {
+      "name": "w25x40"
+    },
+    {
+      "name": "tosa-machine"
+    },
+    {
+      "name": "pxb-host"
+    },
+    {
+      "name": "xio3130-downstream"
+    },
+    {
+      "name": "n25q128a13"
+    },
+    {
+      "name": "virtio-blk-pci"
+    },
+    {
+      "name": "cortex-a9-arm-cpu"
+    },
+    {
+      "name": "virtio-gpu-device"
+    },
+    {
+      "name": "QJSON"
+    },
+    {
+      "name": "n25q128a11"
+    },
+    {
+      "name": "lsi53c810"
+    },
+    {
+      "name": "strongarm-gpio"
+    },
+    {
+      "name": "cheetah-machine"
+    },
+    {
+      "name": "m45pe16"
+    },
+    {
+      "name": "pxa270-c5-arm-cpu"
+    },
+    {
+      "name": "System"
+    },
+    {
+      "name": "usb-serial"
+    },
+    {
+      "name": "m45pe10"
+    },
+    {
+      "name": "vt82c686b-usb-uhci"
+    },
+    {
+      "name": "sst25wf040"
+    },
+    {
+      "name": "w25x32"
+    },
+    {
+      "name": "s25sl032p"
+    },
+    {
+      "name": "ccid-card-passthru"
+    },
+    {
+      "name": "ccid-bus"
+    },
+    {
+      "name": "PCIE"
+    },
+    {
+      "name": "exynos4210.rtc"
+    },
+    {
+      "name": "sa1100-arm-cpu"
+    },
+    {
+      "name": "ssd0303"
+    },
+    {
+      "name": "s25sl032a"
+    },
+    {
+      "name": "gpex-root"
+    },
+    {
+      "name": "s25sl016a"
+    },
+    {
+      "name": "mv88w8618_audio"
+    },
+    {
+      "name": "s25sl008a"
+    },
+    {
+      "name": "virtio-serial-bus"
+    },
+    {
+      "name": "ssi-sd"
+    },
+    {
+      "name": "secondary-vga"
+    },
+    {
+      "name": "vhost-scsi"
+    },
+    {
+      "name": "pl061"
+    },
+    {
+      "name": "exynos4210-ehci-usb"
+    },
+    {
+      "name": "pci-ohci"
+    },
+    {
+      "name": "cfi.pflash02"
+    },
+    {
+      "name": "s25fl512s"
+    },
+    {
+      "name": "s70fl01gs"
+    },
+    {
+      "name": "cfi.pflash01"
+    },
+    {
+      "name": "w25x20"
+    },
+    {
+      "name": "usb-hub"
+    },
+    {
+      "name": "m25p40"
+    },
+    {
+      "name": "mx25l12855e"
+    },
+    {
+      "name": "exynos4210.pwm"
+    },
+    {
+      "name": "nmi"
+    },
+    {
+      "name": "midway-machine"
+    },
+    {
+      "name": "bcm2835-aux"
+    },
+    {
+      "name": "input-linux"
+    },
+    {
+      "name": "musicpal-misc"
+    },
+    {
+      "name": "w25x16"
+    },
+    {
+      "name": "SCSI"
+    },
+    {
+      "name": "w25x10"
+    },
+    {
+      "name": "sst25wf020"
+    },
+    {
+      "name": "vfio-amd-xgbe"
+    },
+    {
+      "name": "m25p32"
+    },
+    {
+      "name": "pxa2xx-gpio"
+    },
+    {
+      "name": "palmetto-bmc-machine"
+    },
+    {
+      "name": "mainstone-machine"
+    },
+    {
+      "name": "n810-machine"
+    },
+    {
+      "name": "pci-serial"
+    },
+    {
+      "name": "at26df161a"
+    },
+    {
+      "name": "terrier-machine"
+    },
+    {
+      "name": "max1111"
+    },
+    {
+      "name": "netduino2-machine"
+    },
+    {
+      "name": "max1110"
+    },
+    {
+      "name": "i82559c"
+    },
+    {
+      "name": "i82559b"
+    },
+    {
+      "name": "i82559a"
+    },
+    {
+      "name": "xlnx,zynqmp"
+    },
+    {
+      "name": "realview_pci"
+    },
+    {
+      "name": "pl041"
+    },
+    {
+      "name": "rocker"
+    },
+    {
+      "name": "pcnet"
+    },
+    {
+      "name": "n25q032a13"
+    },
+    {
+      "name": "n25q032a11"
+    },
+    {
+      "name": "filter-dump"
+    },
+    {
+      "name": "sst25wf010"
+    },
+    {
+      "name": "rng-egd"
+    },
+    {
+      "name": "gd25q64"
+    },
+    {
+      "name": "exynos4210.gic"
+    },
+    {
+      "name": "m25p20"
+    },
+    {
+      "name": "l2x0"
+    },
+    {
+      "name": "n25q064"
+    },
+    {
+      "name": "pl031"
+    },
+    {
+      "name": "arm_mptimer"
+    },
+    {
+      "name": "n25q064a13"
+    },
+    {
+      "name": "n25q064a11"
+    },
+    {
+      "name": "raspi2-machine"
+    },
+    {
+      "name": "scoop"
+    },
+    {
+      "name": "strongarm-ssp"
+    },
+    {
+      "name": "i82558b"
+    },
+    {
+      "name": "i82558a"
+    },
+    {
+      "name": "exynos4210.fimd"
+    },
+    {
+      "name": "pl111"
+    },
+    {
+      "name": "smbus-eeprom"
+    },
+    {
+      "name": "pl110"
+    },
+    {
+      "name": "tosa_dac"
+    },
+    {
+      "name": "onenand"
+    },
+    {
+      "name": "m25p16"
+    },
+    {
+      "name": "bcm2835-dma"
+    },
+    {
+      "name": "allwinner-A10-timer"
+    },
+    {
+      "name": "m25p10"
+    },
+    {
+      "name": "i82801"
+    },
+    {
+      "name": "tls-creds-x509"
+    },
+    {
+      "name": "virtio-net-pci"
+    },
+    {
+      "name": "virtio-keyboard-device"
+    },
+    {
+      "name": "i82562"
+    },
+    {
+      "name": "usb-net"
+    },
+    {
+      "name": "highbank-machine"
+    },
+    {
+      "name": "at26df081a"
+    },
+    {
+      "name": "digic-uart"
+    },
+    {
+      "name": "i82557c"
+    },
+    {
+      "name": "cortex-a53-arm-cpu"
+    },
+    {
+      "name": "s25sl004a"
+    },
+    {
+      "name": "arm1176-arm-cpu"
+    },
+    {
+      "name": "i82557b"
+    },
+    {
+      "name": "i82557a"
+    },
+    {
+      "name": "pl022"
+    },
+    {
+      "name": "virtio-gpu-pci"
+    },
+    {
+      "name": "sdhci-bus"
+    },
+    {
+      "name": "pl061_luminary"
+    },
+    {
+      "name": "usb-mouse"
+    },
+    {
+      "name": "m25p05"
+    },
+    {
+      "name": "strongarm-rtc"
+    },
+    {
+      "name": "n25q128"
+    },
+    {
+      "name": "imx.epit"
+    },
+    {
+      "name": "i82551"
+    },
+    {
+      "name": "i82550"
+    },
+    {
+      "name": "armv7m_nvic"
+    },
+    {
+      "name": "cubieboard-machine"
+    },
+    {
+      "name": "fsl,imx31"
+    },
+    {
+      "name": "imx.i2c"
+    },
+    {
+      "name": "highbank-regs"
+    },
+    {
+      "name": "virt-2.6-machine"
+    },
+    {
+      "name": "sa1110-arm-cpu"
+    },
+    {
+      "name": "ich9-usb-ehci2"
+    },
+    {
+      "name": "user-creatable"
+    },
+    {
+      "name": "pl011"
+    },
+    {
+      "name": "ich9-usb-ehci1"
+    },
+    {
+      "name": "vfio-pci"
+    },
+    {
+      "name": "filter-mirror"
+    },
+    {
+      "name": "tusb6010"
+    },
+    {
+      "name": "realview_mpcore"
+    },
+    {
+      "name": "w25q32dw"
+    },
+    {
+      "name": "sx1-v1-machine"
+    },
+    {
+      "name": "fsl,imx25"
+    },
+    {
+      "name": "gd25q32"
+    },
+    {
+      "name": "cortex-a57-arm-cpu"
+    },
+    {
+      "name": "irq"
+    },
+    {
+      "name": "n25q032"
+    },
+    {
+      "name": "cadence_ttc"
+    },
+    {
+      "name": "pxa2xx_pic"
+    },
+    {
+      "name": "arm.cortex-a9-global-timer"
+    },
+    {
+      "name": "nec-usb-xhci"
+    },
+    {
+      "name": "qio-channel-socket"
+    },
+    {
+      "name": "ti925t-arm-cpu"
+    },
+    {
+      "name": "piix3-usb-uhci"
+    },
+    {
+      "name": "virtserialport"
+    },
+    {
+      "name": "pvscsi"
+    },
+    {
+      "name": "sd-bus"
+    },
+    {
+      "name": "sx1-machine"
+    },
+    {
+      "name": "320s33b"
+    },
+    {
+      "name": "dscm1xxxx"
+    },
+    {
+      "name": "ich9-ahci"
+    },
+    {
+      "name": "isa-dma"
+    },
+    {
+      "name": "realview-eb-mpcore-machine"
+    },
+    {
+      "name": "IndustryPack"
+    },
+    {
+      "name": "mx25l8005"
+    },
+    {
+      "name": "pl050_keyboard"
+    },
+    {
+      "name": "kzm-machine"
+    },
+    {
+      "name": "pxa250-arm-cpu"
+    },
+    {
+      "name": "virtio-rng-pci"
+    },
+    {
+      "name": "usb-ehci"
+    },
+    {
+      "name": "realview_sysctl"
+    },
+    {
+      "name": "smc91c111"
+    },
+    {
+      "name": "arm11mpcore-arm-cpu"
+    },
+    {
+      "name": "versatile_pci"
+    },
+    {
+      "name": "pxa2xx-mmci"
+    },
+    {
+      "name": "xgmac"
+    },
+    {
+      "name": "sst25vf080b"
+    },
+    {
+      "name": "akita-machine"
+    },
+    {
+      "name": "imx.gpt"
+    },
+    {
+      "name": "allwinner-a10"
+    },
+    {
+      "name": "e1000-82545em"
+    },
+    {
+      "name": "sp804"
+    },
+    {
+      "name": "tmp105"
+    },
+    {
+      "name": "w25q80"
+    },
+    {
+      "name": "integrator_pit"
+    },
+    {
+      "name": "e1000-82544gc"
+    },
+    {
+      "name": "pci-serial-4x"
+    },
+    {
+      "name": "mv88w8618_eth"
+    },
+    {
+      "name": "versatilepb_sic"
+    },
+    {
+      "name": "ioh3420"
+    },
+    {
+      "name": "virtio-9p-pci"
+    },
+    {
+      "name": "integrator_pic"
+    },
+    {
+      "name": "virtio-9p-device"
+    },
+    {
+      "name": "m25p128"
+    },
+    {
+      "name": "en25f32"
+    },
+    {
+      "name": "filter-buffer"
+    },
+    {
+      "name": "versatile_i2c"
+    },
+    {
+      "name": "acpi-device-interface"
+    },
+    {
+      "name": "z2-machine"
+    },
+    {
+      "name": "xilinx,zynq_slcr"
+    },
+    {
+      "name": "ich9-intel-hda"
+    },
+    {
+      "name": "at26f004"
+    },
+    {
+      "name": "ivshmem"
+    },
+    {
+      "name": "n25q256a13"
+    },
+    {
+      "name": "160s33b"
+    },
+    {
+      "name": "n25q256a11"
+    },
+    {
+      "name": "exynos4210.irq_gate"
+    },
+    {
+      "name": "musicpal-machine"
+    },
+    {
+      "name": "exynos4210.combiner"
+    },
+    {
+      "name": "arm926-arm-cpu"
+    },
+    {
+      "name": "virtio-tablet-pci"
+    },
+    {
+      "name": "exynos4210.pmu"
+    },
+    {
+      "name": "secret"
+    },
+    {
+      "name": "ipoctal232"
+    },
+    {
+      "name": "omap_i2c"
+    },
+    {
+      "name": "omap-gpio"
+    },
+    {
+      "name": "virtio-tablet-device"
+    },
+    {
+      "name": "w25q64"
+    },
+    {
+      "name": "virtio-pci-bus"
+    },
+    {
+      "name": "virtio-scsi-pci"
+    },
+    {
+      "name": "at25df041a"
+    },
+    {
+      "name": "mx25l12805d"
+    },
+    {
+      "name": "x3130-upstream"
+    },
+    {
+      "name": "ES1370"
+    },
+    {
+      "name": "pci-testdev"
+    },
+    {
+      "name": "at25fs040"
+    },
+    {
+      "name": "qemu-console"
+    },
+    {
+      "name": "xlnx.ps7-spi"
+    },
+    {
+      "name": "ISA"
+    },
+    {
+      "name": "piix4-usb-uhci"
+    },
+    {
+      "name": "ARM,bitband-memory"
+    },
+    {
+      "name": "tcg-accel"
+    },
+    {
+      "name": "virtconsole"
+    },
+    {
+      "name": "mx25l25655e"
+    },
+    {
+      "name": "aspeed.timer"
+    },
+    {
+      "name": "pci-serial-2x"
+    },
+    {
+      "name": "bcm2836-control"
+    },
+    {
+      "name": "bcm2835-peripherals"
+    },
+    {
+      "name": "musicpal_key"
+    },
+    {
+      "name": "realview-pb-a8-machine"
+    },
+    {
+      "name": "virtio-mmio-bus"
+    },
+    {
+      "name": "pxa25x-timer"
+    },
+    {
+      "name": "usb-bus"
+    },
+    {
+      "name": "versatilepb-machine"
+    },
+    {
+      "name": "w25q80bl"
+    },
+    {
+      "name": "pxa255-arm-cpu"
+    },
+    {
+      "name": "allwinner-emac"
+    },
+    {
+      "name": "at26df321"
+    },
+    {
+      "name": "pxa261-arm-cpu"
+    },
+    {
+      "name": "strongarm-ppc"
+    },
+    {
+      "name": "hotplug-handler"
+    },
+    {
+      "name": "tosa-ssp"
+    },
+    {
+      "name": "pl050_mouse"
+    },
+    {
+      "name": "i82801b11-bridge"
+    },
+    {
+      "name": "PCI"
+    },
+    {
+      "name": "usb-storage"
+    },
+    {
+      "name": "fusbh200-ehci-usb"
+    },
+    {
+      "name": "arm1136-r2-arm-cpu"
+    },
+    {
+      "name": "pxa260-arm-cpu"
+    },
+    {
+      "name": "esp"
+    },
+    {
+      "name": "realview-eb-machine"
+    },
+    {
+      "name": "musicpal_lcd"
+    },
+    {
+      "name": "isabus-bridge"
+    },
+    {
+      "name": "ne2k_pci"
+    },
+    {
+      "name": "realview-pbx-a9-machine"
+    },
+    {
+      "name": "ivshmem-plain"
+    },
+    {
+      "name": "usb-kbd"
+    },
+    {
+      "name": "pxa2xx_i2c"
+    },
+    {
+      "name": "stellaris_enet"
+    },
+    {
+      "name": "imx31.ccm"
+    },
+    {
+      "name": "cortex-a15-arm-cpu"
+    },
+    {
+      "name": "spitz-machine"
+    },
+    {
+      "name": "hda-duplex"
+    },
+    {
+      "name": "a9-scu"
+    },
+    {
+      "name": "stm32f205-soc"
+    },
+    {
+      "name": "w25q32"
+    },
+    {
+      "name": "wm8750"
+    },
+    {
+      "name": "virtio-balloon-device"
+    },
+    {
+      "name": "none-machine"
+    },
+    {
+      "name": "megasas-gen2"
+    },
+    {
+      "name": "allwinner-ahci"
+    },
+    {
+      "name": "m25px64"
+    },
+    {
+      "name": "pl011_luminary"
+    },
+    {
+      "name": "at25fs010"
+    },
+    {
+      "name": "allwinner-a10-pic"
+    },
+    {
+      "name": "imx25-pdk-machine"
+    },
+    {
+      "name": "nvme"
+    },
+    {
+      "name": "arm1136-arm-cpu"
+    },
+    {
+      "name": "mx25l4005a"
+    },
+    {
+      "name": "usb-tablet"
+    },
+    {
+      "name": "usb-braille"
+    },
+    {
+      "name": "qio-channel-buffer"
+    },
+    {
+      "name": "en25q64"
+    },
+    {
+      "name": "scsi-disk"
+    },
+    {
+      "name": "fw_cfg"
+    },
+    {
+      "name": "intel-hda"
+    },
+    {
+      "name": "collie-machine"
+    },
+    {
+      "name": "arm11mpcore_priv"
+    },
+    {
+      "name": "kvm-accel"
+    },
+    {
+      "name": "pxb-pcie-bus"
+    },
+    {
+      "name": "virtio-scsi-device"
+    },
+    {
+      "name": "realview_gic"
+    },
+    {
+      "name": "smdkc210-machine"
+    },
+    {
+      "name": "bcm2835-mbox"
+    },
+    {
+      "name": "AC97"
+    },
+    {
+      "name": "usb-wacom-tablet"
+    },
+    {
+      "name": "pxa270-a0-arm-cpu"
+    },
+    {
+      "name": "ds1338"
+    },
+    {
+      "name": "pxa262-arm-cpu"
+    },
+    {
+      "name": "i2c-bus"
+    },
+    {
+      "name": "exynos4210.uart"
+    },
+    {
+      "name": "virtio-mouse-device"
+    },
+    {
+      "name": "mx25l25635e"
+    },
+    {
+      "name": "pxb-pcie"
+    },
+    {
+      "name": "640s33b"
+    },
+    {
+      "name": "pl110_versatile"
+    },
+    {
+      "name": "mx25l2005a"
+    },
+    {
+      "name": "a9mpcore_priv"
+    },
+    {
+      "name": "generic-sdhci"
+    },
+    {
+      "name": "aspeed.vic"
+    },
+    {
+      "name": "mainstone-fpga"
+    },
+    {
+      "name": "cadence_gem"
+    },
+    {
+      "name": "sst25vf040b"
+    },
+    {
+      "name": "ide-drive"
+    },
+    {
+      "name": "sst25vf032b"
+    },
+    {
+      "name": "bcm2836"
+    },
+    {
+      "name": "sst25vf016b"
+    },
+    {
+      "name": "pxb"
+    },
+    {
+      "name": "omap2-gpio"
+    },
+    {
+      "name": "imx.serial"
+    },
+    {
+      "name": "xlnx.ps7-qspi"
+    },
+    {
+      "name": "en25p64"
+    },
+    {
+      "name": "pxa2xx-ssp"
+    },
+    {
+      "name": "arm11-scu"
+    },
+    {
+      "name": "i6300esb"
+    },
+    {
+      "name": "sd-card"
+    },
+    {
+      "name": "verdex-machine"
+    },
+    {
+      "name": "m25px32"
+    },
+    {
+      "name": "m25px32-s1"
+    },
+    {
+      "name": "m25px32-s0"
+    },
+    {
+      "name": "vmxnet3"
+    },
+    {
+      "name": "vfio-calxeda-xgmac"
+    },
+    {
+      "name": "imx.avic"
+    },
+    {
+      "name": "nuri-machine"
+    },
+    {
+      "name": "integratorcp-machine"
+    },
+    {
+      "name": "rng-random"
+    },
+    {
+      "name": "fw-path-provider"
+    }
+  ],
+  "id": "libvirt-8"
+}
+
+{
+  "return": [
+    {
+      "name": "request-merging",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "secs",
+      "type": "uint32"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "heads",
+      "type": "uint32"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "ioeventfd",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "scsi",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "cyls",
+      "type": "uint32"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "x-disable-pcie",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "iothread",
+      "type": "link<iothread>"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "class",
+      "type": "uint32"
+    },
+    {
+      "name": "migrate-extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "modern-pio-notify",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-blk-device>"
+    },
+    {
+      "name": "config-wce",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-9"
+}
+
+{
+  "return": [
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-txtimer",
+      "type": "uint32"
+    },
+    {
+      "name": "guest_ufo",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "mq",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "status",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host_ecn",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ioeventfd",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "tx",
+      "type": "str"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "ctrl_rx_extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_vq",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "mac",
+      "description": "Ethernet 6-byte MAC Address, example: 52:54:00:12:34:56",
+      "type": "str"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-disable-pcie",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_tso6",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "gso",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_ecn",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_rx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_tso4",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_csum",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_announce",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-txburst",
+      "type": "int32"
+    },
+    {
+      "name": "ctrl_vlan",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "csum",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "mrg_rxbuf",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_guest_offloads",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host_tso6",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_mac_addr",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "migrate-extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "modern-pio-notify",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "vlan",
+      "description": "Integer VLAN id to connect to",
+      "type": "int32"
+    },
+    {
+      "name": "host_tso4",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host_ufo",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-net-device>"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "netdev",
+      "description": "ID of a netdev to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-10"
+}
+
+{
+  "return": [
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ioeventfd",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "cmd_per_lun",
+      "type": "uint32"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "param_change",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "iothread",
+      "type": "link<iothread>"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "migrate-extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "hotplug",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "modern-pio-notify",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "num_queues",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-scsi-device>"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "x-disable-pcie",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "max_sectors",
+      "type": "uint32"
+    },
+    {
+      "name": "rombar",
+      "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"
+  }
+}
+
+{
+  "id": "libvirt-18",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'kvm-pci-assign' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "x-pci-sub-device-id",
+      "type": "uint32"
+    },
+    {
+      "name": "x-no-kvm-msi",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "x-vga",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-pci-vendor-id",
+      "type": "uint32"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "x-req",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "x-no-kvm-intx",
+      "type": "bool"
+    },
+    {
+      "name": "x-pci-device-id",
+      "type": "uint32"
+    },
+    {
+      "name": "host",
+      "description": "Address (bus/device/function) of the host device, example: 04:10.0",
+      "type": "str"
+    },
+    {
+      "name": "x-no-kvm-msix",
+      "type": "bool"
+    },
+    {
+      "name": "x-intx-mmap-timeout-ms",
+      "type": "uint32"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "x-pci-sub-vendor-id",
+      "type": "uint32"
+    },
+    {
+      "name": "sysfsdev",
+      "type": "str"
+    },
+    {
+      "name": "x-no-mmap",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-19"
+}
+
+{
+  "return": [
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "port_index",
+      "type": "uint16"
+    },
+    {
+      "name": "dpofua",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "lun",
+      "type": "uint32"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "port_wwn",
+      "type": "uint64"
+    },
+    {
+      "name": "max_unmap_size",
+      "type": "uint64"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "product",
+      "type": "str"
+    },
+    {
+      "name": "vendor",
+      "type": "str"
+    },
+    {
+      "name": "channel",
+      "type": "uint32"
+    },
+    {
+      "name": "wwn",
+      "type": "uint64"
+    },
+    {
+      "name": "removable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "scsi-id",
+      "type": "uint32"
+    },
+    {
+      "name": "ver",
+      "type": "str"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "max_io_size",
+      "type": "uint64"
+    }
+  ],
+  "id": "libvirt-20"
+}
+
+{
+  "return": [
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "unit",
+      "type": "uint32"
+    },
+    {
+      "name": "wwn",
+      "type": "uint64"
+    },
+    {
+      "name": "model",
+      "type": "str"
+    },
+    {
+      "name": "ver",
+      "type": "str"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    }
+  ],
+  "id": "libvirt-21"
+}
+
+{
+  "id": "libvirt-22",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'PIIX4_PM' not found"
+  }
+}
+
+{
+  "id": "libvirt-23",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'usb-redir' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "isobufs",
+      "type": "uint32"
+    },
+    {
+      "name": "hostaddr",
+      "type": "uint32"
+    },
+    {
+      "name": "msos-desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "productid",
+      "type": "uint32"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "isobsize",
+      "type": "uint32"
+    },
+    {
+      "name": "port",
+      "type": "str"
+    },
+    {
+      "name": "vendorid",
+      "type": "uint32"
+    },
+    {
+      "name": "pipeline",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "hostport",
+      "type": "str"
+    },
+    {
+      "name": "full-path",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "loglevel",
+      "type": "uint32"
+    },
+    {
+      "name": "hostbus",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-24"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "lun",
+      "type": "uint32"
+    },
+    {
+      "name": "channel",
+      "type": "uint32"
+    },
+    {
+      "name": "scsi-id",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-25"
+}
+
+{
+  "id": "libvirt-26",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'i440FX-pcihost' not found"
+  }
+}
+
+{
+  "id": "libvirt-27",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'q35-pcihost' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "msos-desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "port",
+      "type": "str"
+    },
+    {
+      "name": "full-path",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "removable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    }
+  ],
+  "id": "libvirt-28"
+}
+
+{
+  "id": "libvirt-29",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'kvm-pit' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "mmio",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "qemu-extended-regs",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "big-endian-framebuffer",
+      "type": "bool"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "vgamem_mb",
+      "type": "uint32"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    }
+  ],
+  "id": "libvirt-30"
+}
+
+{
+  "id": "libvirt-31",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'vmware-svga' not found"
+  }
+}
+
+{
+  "id": "libvirt-32",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'qxl' not found"
+  }
+}
+
+{
+  "id": "libvirt-33",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'qxl-vga' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ioeventfd",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "migrate-extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "modern-pio-notify",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-gpu-device>"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "x-disable-pcie",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "max_outputs",
+      "type": "uint32"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-34"
+}
+
+{
+  "id": "libvirt-35",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'ICH9-LPC' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "class",
+      "type": "uint32"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest-stats-polling-interval",
+      "type": "int"
+    },
+    {
+      "name": "guest-stats",
+      "type": "guest statistics"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "migrate-extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "modern-pio-notify",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-balloon-device>"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-disable-pcie",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "deflate-on-oom",
+      "description": "on/off",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-36"
+}
+
+{
+  "id": "libvirt-37",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'virtio-balloon-ccw' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest-stats",
+      "type": "guest statistics"
+    },
+    {
+      "name": "guest-stats-polling-interval",
+      "type": "int"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "deflate-on-oom",
+      "description": "on/off",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-38"
+}
+
+{
+  "return": [
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "intrs",
+      "type": "uint32"
+    },
+    {
+      "name": "msix",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "msi",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "superspeed-ports-first",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "streams",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "force-pcie-endcap",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "p3",
+      "type": "uint32"
+    },
+    {
+      "name": "p2",
+      "type": "uint32"
+    },
+    {
+      "name": "slots",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-39"
+}
+
+{
+  "return": [
+    {
+      "name": "integratorcp",
+      "cpu-max": 1
+    },
+    {
+      "name": "nuri",
+      "cpu-max": 2
+    },
+    {
+      "name": "verdex",
+      "cpu-max": 1
+    },
+    {
+      "name": "smdkc210",
+      "cpu-max": 2
+    },
+    {
+      "name": "collie",
+      "cpu-max": 1
+    },
+    {
+      "name": "imx25-pdk",
+      "cpu-max": 1
+    },
+    {
+      "name": "none",
+      "cpu-max": 1
+    },
+    {
+      "name": "spitz",
+      "cpu-max": 1
+    },
+    {
+      "name": "realview-pbx-a9",
+      "cpu-max": 4
+    },
+    {
+      "name": "realview-eb",
+      "cpu-max": 1
+    },
+    {
+      "name": "versatilepb",
+      "cpu-max": 1
+    },
+    {
+      "name": "realview-pb-a8",
+      "cpu-max": 1
+    },
+    {
+      "name": "musicpal",
+      "cpu-max": 1
+    },
+    {
+      "name": "z2",
+      "cpu-max": 1
+    },
+    {
+      "name": "akita",
+      "cpu-max": 1
+    },
+    {
+      "name": "kzm",
+      "cpu-max": 1
+    },
+    {
+      "name": "realview-eb-mpcore",
+      "cpu-max": 4
+    },
+    {
+      "name": "sx1",
+      "cpu-max": 1
+    },
+    {
+      "name": "sx1-v1",
+      "cpu-max": 1
+    },
+    {
+      "name": "virt-2.6",
+      "cpu-max": 255,
+      "alias": "virt"
+    },
+    {
+      "name": "cubieboard",
+      "cpu-max": 1
+    },
+    {
+      "name": "highbank",
+      "cpu-max": 4
+    },
+    {
+      "name": "raspi2",
+      "cpu-max": 4
+    },
+    {
+      "name": "netduino2",
+      "cpu-max": 1
+    },
+    {
+      "name": "terrier",
+      "cpu-max": 1
+    },
+    {
+      "name": "n810",
+      "cpu-max": 1
+    },
+    {
+      "name": "mainstone",
+      "cpu-max": 1
+    },
+    {
+      "name": "palmetto-bmc",
+      "cpu-max": 1
+    },
+    {
+      "name": "midway",
+      "cpu-max": 4
+    },
+    {
+      "name": "cheetah",
+      "cpu-max": 1
+    },
+    {
+      "name": "tosa",
+      "cpu-max": 1
+    },
+    {
+      "name": "borzoi",
+      "cpu-max": 1
+    },
+    {
+      "name": "versatileab",
+      "cpu-max": 1
+    },
+    {
+      "name": "lm3s6965evb",
+      "cpu-max": 1
+    },
+    {
+      "name": "n800",
+      "cpu-max": 1
+    },
+    {
+      "name": "connex",
+      "cpu-max": 1
+    },
+    {
+      "name": "xilinx-zynq-a9",
+      "cpu-max": 1
+    },
+    {
+      "name": "xlnx-ep108",
+      "cpu-max": 1
+    },
+    {
+      "name": "vexpress-a9",
+      "cpu-max": 4
+    },
+    {
+      "name": "vexpress-a15",
+      "cpu-max": 4
+    },
+    {
+      "name": "canon-a1100",
+      "cpu-max": 1
+    },
+    {
+      "name": "lm3s811evb",
+      "cpu-max": 1
+    }
+  ],
+  "id": "libvirt-40"
+}
+
+{
+  "return": [
+    {
+      "name": "pxa262"
+    },
+    {
+      "name": "pxa270-a0"
+    },
+    {
+      "name": "arm1136"
+    },
+    {
+      "name": "cortex-a15"
+    },
+    {
+      "name": "pxa260"
+    },
+    {
+      "name": "arm1136-r2"
+    },
+    {
+      "name": "pxa261"
+    },
+    {
+      "name": "pxa255"
+    },
+    {
+      "name": "arm926"
+    },
+    {
+      "name": "arm11mpcore"
+    },
+    {
+      "name": "pxa250"
+    },
+    {
+      "name": "ti925t"
+    },
+    {
+      "name": "cortex-a57"
+    },
+    {
+      "name": "sa1110"
+    },
+    {
+      "name": "arm1176"
+    },
+    {
+      "name": "cortex-a53"
+    },
+    {
+      "name": "sa1100"
+    },
+    {
+      "name": "pxa270-c5"
+    },
+    {
+      "name": "cortex-a9"
+    },
+    {
+      "name": "cortex-a8"
+    },
+    {
+      "name": "pxa270-c0"
+    },
+    {
+      "name": "arm1026"
+    },
+    {
+      "name": "pxa270-b1"
+    },
+    {
+      "name": "cortex-m3"
+    },
+    {
+      "name": "cortex-m4"
+    },
+    {
+      "name": "pxa270-b0"
+    },
+    {
+      "name": "arm946"
+    },
+    {
+      "name": "cortex-r5"
+    },
+    {
+      "name": "pxa270-a1"
+    },
+    {
+      "name": "pxa270"
+    }
+  ],
+  "id": "libvirt-41"
+}
+
+{
+  "return": {
+    "enabled": false,
+    "present": true
+  },
+  "id": "libvirt-42"
+}
+
+{
+  "return": [
+  ],
+  "id": "libvirt-43"
+}
+
+{
+  "return": [
+  ],
+  "id": "libvirt-44"
+}
+
+{
+  "return": [
+    {
+      "parameters": [
+        {
+          "name": "timeout",
+          "help": "Request timeout in seconds (default 0 = no timeout)",
+          "type": "number"
+        },
+        {
+          "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-secret",
+          "help": "ID of the secret providing password for CHAP authentication to target",
+          "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": [
+        {
+          "name": "non-adaptive",
+          "type": "boolean"
+        },
+        {
+          "name": "lossy",
+          "type": "boolean"
+        },
+        {
+          "name": "acl",
+          "type": "boolean"
+        },
+        {
+          "name": "x509verify",
+          "type": "string"
+        },
+        {
+          "name": "tls",
+          "type": "boolean"
+        },
+        {
+          "name": "sasl",
+          "type": "boolean"
+        },
+        {
+          "name": "lock-key-sync",
+          "type": "boolean"
+        },
+        {
+          "name": "reverse",
+          "type": "boolean"
+        },
+        {
+          "name": "password",
+          "type": "boolean"
+        },
+        {
+          "name": "ipv6",
+          "type": "boolean"
+        },
+        {
+          "name": "ipv4",
+          "type": "boolean"
+        },
+        {
+          "name": "to",
+          "type": "number"
+        },
+        {
+          "name": "connections",
+          "type": "number"
+        },
+        {
+          "name": "head",
+          "type": "number"
+        },
+        {
+          "name": "display",
+          "type": "string"
+        },
+        {
+          "name": "share",
+          "type": "string"
+        },
+        {
+          "name": "x509",
+          "type": "string"
+        },
+        {
+          "name": "tls-creds",
+          "type": "string"
+        },
+        {
+          "name": "websocket",
+          "type": "string"
+        },
+        {
+          "name": "vnc",
+          "type": "string"
+        }
+      ],
+      "option": "vnc"
+    },
+    {
+      "parameters": [
+      ],
+      "option": "smbios"
+    },
+    {
+      "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": "string",
+          "help": "Sets content of the blob to be inserted from a string",
+          "type": "string"
+        },
+        {
+          "name": "file",
+          "help": "Sets the name of the file from which\nthe fw_cfg blob will be loaded",
+          "type": "string"
+        },
+        {
+          "name": "name",
+          "help": "Sets the fw_cfg name of the blob to be inserted",
+          "type": "string"
+        }
+      ],
+      "option": "fw_cfg"
+    },
+    {
+      "parameters": [
+        {
+          "name": "arg",
+          "type": "string"
+        },
+        {
+          "name": "target",
+          "type": "string"
+        },
+        {
+          "name": "enable",
+          "type": "boolean"
+        }
+      ],
+      "option": "semihosting-config"
+    },
+    {
+      "parameters": [
+        {
+          "name": "rrfile",
+          "type": "string"
+        },
+        {
+          "name": "rr",
+          "type": "string"
+        },
+        {
+          "name": "sleep",
+          "type": "boolean"
+        },
+        {
+          "name": "align",
+          "type": "boolean"
+        },
+        {
+          "name": "shift",
+          "type": "string"
+        }
+      ],
+      "option": "icount"
+    },
+    {
+      "parameters": [
+      ],
+      "option": "numa"
+    },
+    {
+      "parameters": [
+        {
+          "name": "debug-threads",
+          "help": "When enabled, name the individual threads; defaults off.\nNOTE: The thread names are for debugging and not a\nstable API.",
+          "type": "boolean"
+        },
+        {
+          "name": "process",
+          "help": "Sets the name of the QEMU process, as shown in top etc",
+          "type": "string"
+        },
+        {
+          "name": "guest",
+          "help": "Sets the name of the guest.\nThis name will be displayed in the SDL window caption.\nThe name will also be used for the VNC server",
+          "type": "string"
+        }
+      ],
+      "option": "name"
+    },
+    {
+      "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": "boolean"
+        },
+        {
+          "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": "maxmem",
+          "type": "size"
+        },
+        {
+          "name": "slots",
+          "type": "number"
+        },
+        {
+          "name": "size",
+          "type": "size"
+        }
+      ],
+      "option": "memory"
+    },
+    {
+      "parameters": [
+        {
+          "name": "dea-key-wrap",
+          "help": "enable/disable DEA key wrapping using the CPACF wrapping key",
+          "type": "boolean"
+        },
+        {
+          "name": "aes-key-wrap",
+          "help": "enable/disable AES key wrapping using the CPACF wrapping key",
+          "type": "boolean"
+        },
+        {
+          "name": "suppress-vmdesc",
+          "help": "Set on to disable self-describing migration",
+          "type": "boolean"
+        },
+        {
+          "name": "iommu",
+          "help": "Set on/off to enable/disable Intel IOMMU (VT-d)",
+          "type": "boolean"
+        },
+        {
+          "name": "firmware",
+          "help": "firmware image",
+          "type": "string"
+        },
+        {
+          "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"
+        },
+        {
+          "name": "enable",
+          "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": "logappend",
+          "type": "boolean"
+        },
+        {
+          "name": "logfile",
+          "type": "string"
+        },
+        {
+          "name": "append",
+          "type": "boolean"
+        },
+        {
+          "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": "tls-creds",
+          "type": "string"
+        },
+        {
+          "name": "telnet",
+          "type": "boolean"
+        },
+        {
+          "name": "reconnect",
+          "type": "number"
+        },
+        {
+          "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": "werror",
+          "help": "write error action",
+          "type": "string"
+        },
+        {
+          "name": "rerror",
+          "help": "read error action",
+          "type": "string"
+        },
+        {
+          "name": "read-only",
+          "help": "open drive file as read-only",
+          "type": "boolean"
+        },
+        {
+          "name": "file",
+          "help": "file name",
+          "type": "string"
+        },
+        {
+          "name": "serial",
+          "help": "disk serial number",
+          "type": "string"
+        },
+        {
+          "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": "stats-account-failed",
+          "help": "whether to account for failed I/O operations in the statistics",
+          "type": "boolean"
+        },
+        {
+          "name": "stats-account-invalid",
+          "help": "whether to account for invalid I/O operations in the statistics",
+          "type": "boolean"
+        },
+        {
+          "name": "detect-zeroes",
+          "help": "try to optimize zero writes (off, on, unmap)",
+          "type": "string"
+        },
+        {
+          "name": "throttling.group",
+          "help": "name of the block throttling group",
+          "type": "string"
+        },
+        {
+          "name": "throttling.iops-size",
+          "help": "when limiting by iops max size of an I/O in bytes",
+          "type": "number"
+        },
+        {
+          "name": "throttling.bps-write-max-length",
+          "help": "length of the bps-write-max burst period, in seconds",
+          "type": "number"
+        },
+        {
+          "name": "throttling.bps-read-max-length",
+          "help": "length of the bps-read-max burst period, in seconds",
+          "type": "number"
+        },
+        {
+          "name": "throttling.bps-total-max-length",
+          "help": "length of the bps-total-max burst period, in seconds",
+          "type": "number"
+        },
+        {
+          "name": "throttling.iops-write-max-length",
+          "help": "length of the iops-write-max burst period, in seconds",
+          "type": "number"
+        },
+        {
+          "name": "throttling.iops-read-max-length",
+          "help": "length of the iops-read-max burst period, in seconds",
+          "type": "number"
+        },
+        {
+          "name": "throttling.iops-total-max-length",
+          "help": "length of the iops-total-max burst period, in seconds",
+          "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": "format",
+          "help": "disk format (raw, qcow2, ...)",
+          "type": "string"
+        },
+        {
+          "name": "cache.writeback",
+          "help": "Enable writeback mode",
+          "type": "boolean"
+        },
+        {
+          "name": "aio",
+          "help": "host AIO implementation (threads, native)",
+          "type": "string"
+        },
+        {
+          "name": "discard",
+          "help": "discard operation (ignore/off, unmap/on)",
+          "type": "string"
+        },
+        {
+          "name": "snapshot",
+          "help": "enable/disable snapshot mode",
+          "type": "boolean"
+        }
+      ],
+      "option": "drive"
+    }
+  ],
+  "id": "libvirt-45"
+}
+
+{
+  "return": [
+    {
+      "state": false,
+      "capability": "xbzrle"
+    },
+    {
+      "state": false,
+      "capability": "rdma-pin-all"
+    },
+    {
+      "state": false,
+      "capability": "auto-converge"
+    },
+    {
+      "state": false,
+      "capability": "zero-blocks"
+    },
+    {
+      "state": false,
+      "capability": "compress"
+    },
+    {
+      "state": false,
+      "capability": "events"
+    },
+    {
+      "state": false,
+      "capability": "postcopy-ram"
+    }
+  ],
+  "id": "libvirt-46"
+}
+
+{
+  "return": [
+    {
+      "emulated": false,
+      "version": 3,
+      "kernel": true
+    },
+    {
+      "emulated": true,
+      "version": 2,
+      "kernel": false
+    }
+  ],
+  "id": "libvirt-47"
+}
diff --git a/tests/qemucapabilitiesdata/caps_2.6.0-gicv3.aarch64.xml b/tests/qemucapabilitiesdata/caps_2.6.0-gicv3.aarch64.xml
new file mode 100644 (file)
index 0000000..f4d60d1
--- /dev/null
@@ -0,0 +1,238 @@
+<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='device'/>
+  <flag name='sdl'/>
+  <flag name='smp-topology'/>
+  <flag name='netdev'/>
+  <flag name='rtc'/>
+  <flag name='vhost-net'/>
+  <flag name='nodefconfig'/>
+  <flag name='boot-menu'/>
+  <flag name='fsdev'/>
+  <flag name='name-process'/>
+  <flag name='drive-readonly'/>
+  <flag name='smbios-type'/>
+  <flag name='vga-none'/>
+  <flag name='boot-index'/>
+  <flag name='hda-duplex'/>
+  <flag name='drive-aio'/>
+  <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='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='fsdev-readonly'/>
+  <flag name='virtio-blk-pci.scsi'/>
+  <flag name='blk-sg-io'/>
+  <flag name='drive-copy-on-read'/>
+  <flag name='cpu-host'/>
+  <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='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-host.bootindex'/>
+  <flag name='blockdev-snapshot-sync'/>
+  <flag name='VGA'/>
+  <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='usb-storage'/>
+  <flag name='usb-storage.removable'/>
+  <flag name='virtio-mmio'/>
+  <flag name='ich9-intel-hda'/>
+  <flag name='boot-strict'/>
+  <flag name='spiceport'/>
+  <flag name='usb-kbd'/>
+  <flag name='host-pci-multidomain'/>
+  <flag name='msg-timestamp'/>
+  <flag name='active-commit'/>
+  <flag name='change-backing-file'/>
+  <flag name='memory-backend-ram'/>
+  <flag name='numa'/>
+  <flag name='memory-backend-file'/>
+  <flag name='usb-audio'/>
+  <flag name='splash-timeout'/>
+  <flag name='iothread'/>
+  <flag name='migrate-rdma'/>
+  <flag name='ivshmem'/>
+  <flag name='drive-iotune-max'/>
+  <flag name='VGA.vgamem_mb'/>
+  <flag name='machine-vmport-opt'/>
+  <flag name='aes-key-wrap'/>
+  <flag name='dea-key-wrap'/>
+  <flag name='pci-serial'/>
+  <flag name='aarch64-off'/>
+  <flag name='vhost-user-multiqueue'/>
+  <flag name='migration-event'/>
+  <flag name='gpex-pcihost'/>
+  <flag name='ioh3420'/>
+  <flag name='x3130-upstream'/>
+  <flag name='xio3130-downstream'/>
+  <flag name='rtl8139'/>
+  <flag name='e1000'/>
+  <flag name='virtio-net'/>
+  <flag name='gic-version'/>
+  <flag name='incoming-defer'/>
+  <flag name='virtio-gpu'/>
+  <flag name='virtio-keyboard'/>
+  <flag name='virtio-mouse'/>
+  <flag name='virtio-tablet'/>
+  <flag name='virtio-input-host'/>
+  <flag name='chardev-file-append'/>
+  <flag name='vserport-change-event'/>
+  <flag name='virtio-balloon-pci.deflate-on-oom'/>
+  <flag name='mptsas1068'/>
+  <flag name='chardev-logfile'/>
+  <flag name='debug-threads'/>
+  <flag name='secret'/>
+  <flag name='pxb'/>
+  <flag name='pxb-pcie'/>
+  <flag name='device-tray-moved-event'/>
+  <flag name='nec-usb-xhci-ports'/>
+  <flag name='virtio-scsi-pci.iothread'/>
+  <version>2005094</version>
+  <kvmVersion>0</kvmVersion>
+  <package></package>
+  <arch>aarch64</arch>
+  <cpu name='pxa262'/>
+  <cpu name='pxa270-a0'/>
+  <cpu name='arm1136'/>
+  <cpu name='cortex-a15'/>
+  <cpu name='pxa260'/>
+  <cpu name='arm1136-r2'/>
+  <cpu name='pxa261'/>
+  <cpu name='pxa255'/>
+  <cpu name='arm926'/>
+  <cpu name='arm11mpcore'/>
+  <cpu name='pxa250'/>
+  <cpu name='ti925t'/>
+  <cpu name='cortex-a57'/>
+  <cpu name='sa1110'/>
+  <cpu name='arm1176'/>
+  <cpu name='cortex-a53'/>
+  <cpu name='sa1100'/>
+  <cpu name='pxa270-c5'/>
+  <cpu name='cortex-a9'/>
+  <cpu name='cortex-a8'/>
+  <cpu name='pxa270-c0'/>
+  <cpu name='arm1026'/>
+  <cpu name='pxa270-b1'/>
+  <cpu name='cortex-m3'/>
+  <cpu name='cortex-m4'/>
+  <cpu name='pxa270-b0'/>
+  <cpu name='arm946'/>
+  <cpu name='cortex-r5'/>
+  <cpu name='pxa270-a1'/>
+  <cpu name='pxa270'/>
+  <machine name='integratorcp' maxCpus='1'/>
+  <machine name='nuri' maxCpus='2'/>
+  <machine name='verdex' maxCpus='1'/>
+  <machine name='smdkc210' maxCpus='2'/>
+  <machine name='collie' maxCpus='1'/>
+  <machine name='imx25-pdk' maxCpus='1'/>
+  <machine name='spitz' maxCpus='1'/>
+  <machine name='realview-pbx-a9' maxCpus='4'/>
+  <machine name='realview-eb' maxCpus='1'/>
+  <machine name='versatilepb' maxCpus='1'/>
+  <machine name='realview-pb-a8' maxCpus='1'/>
+  <machine name='musicpal' maxCpus='1'/>
+  <machine name='z2' maxCpus='1'/>
+  <machine name='akita' maxCpus='1'/>
+  <machine name='kzm' maxCpus='1'/>
+  <machine name='realview-eb-mpcore' maxCpus='4'/>
+  <machine name='sx1' maxCpus='1'/>
+  <machine name='sx1-v1' maxCpus='1'/>
+  <machine name='virt-2.6' alias='virt' maxCpus='255'/>
+  <machine name='cubieboard' maxCpus='1'/>
+  <machine name='highbank' maxCpus='4'/>
+  <machine name='raspi2' maxCpus='4'/>
+  <machine name='netduino2' maxCpus='1'/>
+  <machine name='terrier' maxCpus='1'/>
+  <machine name='n810' maxCpus='1'/>
+  <machine name='mainstone' maxCpus='1'/>
+  <machine name='palmetto-bmc' maxCpus='1'/>
+  <machine name='midway' maxCpus='4'/>
+  <machine name='cheetah' maxCpus='1'/>
+  <machine name='tosa' maxCpus='1'/>
+  <machine name='borzoi' maxCpus='1'/>
+  <machine name='versatileab' maxCpus='1'/>
+  <machine name='lm3s6965evb' maxCpus='1'/>
+  <machine name='n800' maxCpus='1'/>
+  <machine name='connex' maxCpus='1'/>
+  <machine name='xilinx-zynq-a9' maxCpus='1'/>
+  <machine name='xlnx-ep108' maxCpus='1'/>
+  <machine name='vexpress-a9' maxCpus='4'/>
+  <machine name='vexpress-a15' maxCpus='4'/>
+  <machine name='canon-a1100' maxCpus='1'/>
+  <machine name='lm3s811evb' maxCpus='1'/>
+  <gic version='3' kernel='yes' emulated='no'/>
+  <gic version='2' kernel='no' emulated='yes'/>
+</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.ppc64le.replies b/tests/qemucapabilitiesdata/caps_2.6.0.ppc64le.replies
new file mode 100644 (file)
index 0000000..372dfd5
--- /dev/null
@@ -0,0 +1,6163 @@
+{
+  "QMP": {
+    "version": {
+      "qemu": {
+        "micro": 94,
+        "minor": 5,
+        "major": 2
+      },
+      "package": ""
+    },
+    "capabilities": [
+    ]
+  }
+}
+
+{
+  "return": {
+  },
+  "id": "libvirt-1"
+}
+
+{
+  "return": {
+    "qemu": {
+      "micro": 94,
+      "minor": 5,
+      "major": 2
+    },
+    "package": ""
+  },
+  "id": "libvirt-2"
+}
+
+{
+  "return": {
+    "arch": "ppc64"
+  },
+  "id": "libvirt-3"
+}
+
+{
+  "return": [
+    {
+      "name": "query-rocker-of-dpa-groups"
+    },
+    {
+      "name": "query-rocker-of-dpa-flows"
+    },
+    {
+      "name": "query-rocker-ports"
+    },
+    {
+      "name": "query-rocker"
+    },
+    {
+      "name": "block-set-write-threshold"
+    },
+    {
+      "name": "input-send-event"
+    },
+    {
+      "name": "trace-event-set-state"
+    },
+    {
+      "name": "trace-event-get-state"
+    },
+    {
+      "name": "query-acpi-ospm-status"
+    },
+    {
+      "name": "query-memory-devices"
+    },
+    {
+      "name": "query-memdev"
+    },
+    {
+      "name": "blockdev-change-medium"
+    },
+    {
+      "name": "query-named-block-nodes"
+    },
+    {
+      "name": "x-blockdev-insert-medium"
+    },
+    {
+      "name": "x-blockdev-remove-medium"
+    },
+    {
+      "name": "blockdev-close-tray"
+    },
+    {
+      "name": "blockdev-open-tray"
+    },
+    {
+      "name": "x-blockdev-del"
+    },
+    {
+      "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-parameters"
+    },
+    {
+      "name": "migrate-set-parameters"
+    },
+    {
+      "name": "query-migrate-capabilities"
+    },
+    {
+      "name": "migrate-set-capabilities"
+    },
+    {
+      "name": "query-migrate"
+    },
+    {
+      "name": "query-command-line-options"
+    },
+    {
+      "name": "query-uuid"
+    },
+    {
+      "name": "query-name"
+    },
+    {
+      "name": "query-vnc-servers"
+    },
+    {
+      "name": "query-vnc"
+    },
+    {
+      "name": "query-mice"
+    },
+    {
+      "name": "query-status"
+    },
+    {
+      "name": "query-kvm"
+    },
+    {
+      "name": "query-pci"
+    },
+    {
+      "name": "query-iothreads"
+    },
+    {
+      "name": "query-cpus"
+    },
+    {
+      "name": "query-blockstats"
+    },
+    {
+      "name": "query-block"
+    },
+    {
+      "name": "query-chardev-backends"
+    },
+    {
+      "name": "query-chardev"
+    },
+    {
+      "name": "query-qmp-schema"
+    },
+    {
+      "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": "change-backing-file"
+    },
+    {
+      "name": "blockdev-mirror"
+    },
+    {
+      "name": "drive-mirror"
+    },
+    {
+      "name": "blockdev-snapshot-delete-internal-sync"
+    },
+    {
+      "name": "blockdev-snapshot-internal-sync"
+    },
+    {
+      "name": "blockdev-snapshot"
+    },
+    {
+      "name": "blockdev-snapshot-sync"
+    },
+    {
+      "name": "block-dirty-bitmap-clear"
+    },
+    {
+      "name": "block-dirty-bitmap-remove"
+    },
+    {
+      "name": "block-dirty-bitmap-add"
+    },
+    {
+      "name": "transaction"
+    },
+    {
+      "name": "block-job-complete"
+    },
+    {
+      "name": "block-job-resume"
+    },
+    {
+      "name": "block-job-pause"
+    },
+    {
+      "name": "block-job-cancel"
+    },
+    {
+      "name": "block-job-set-speed"
+    },
+    {
+      "name": "blockdev-backup"
+    },
+    {
+      "name": "drive-backup"
+    },
+    {
+      "name": "block-commit"
+    },
+    {
+      "name": "block-stream"
+    },
+    {
+      "name": "block_resize"
+    },
+    {
+      "name": "object-del"
+    },
+    {
+      "name": "object-add"
+    },
+    {
+      "name": "netdev_del"
+    },
+    {
+      "name": "netdev_add"
+    },
+    {
+      "name": "query-dump"
+    },
+    {
+      "name": "query-dump-guest-memory-capability"
+    },
+    {
+      "name": "dump-guest-memory"
+    },
+    {
+      "name": "client_migrate_info"
+    },
+    {
+      "name": "migrate_set_downtime"
+    },
+    {
+      "name": "migrate_set_speed"
+    },
+    {
+      "name": "query-migrate-cache-size"
+    },
+    {
+      "name": "migrate-start-postcopy"
+    },
+    {
+      "name": "migrate-set-cache-size"
+    },
+    {
+      "name": "migrate-incoming"
+    },
+    {
+      "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": 13,
+    "fdset-id": 0
+  },
+  "id": "libvirt-5"
+}
+
+{
+  "id": "libvirt-6",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'bogus' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "WATCHDOG"
+    },
+    {
+      "name": "WAKEUP"
+    },
+    {
+      "name": "VSERPORT_CHANGE"
+    },
+    {
+      "name": "VNC_INITIALIZED"
+    },
+    {
+      "name": "VNC_DISCONNECTED"
+    },
+    {
+      "name": "VNC_CONNECTED"
+    },
+    {
+      "name": "SUSPEND_DISK"
+    },
+    {
+      "name": "SUSPEND"
+    },
+    {
+      "name": "STOP"
+    },
+    {
+      "name": "SPICE_MIGRATE_COMPLETED"
+    },
+    {
+      "name": "SPICE_INITIALIZED"
+    },
+    {
+      "name": "SPICE_DISCONNECTED"
+    },
+    {
+      "name": "SPICE_CONNECTED"
+    },
+    {
+      "name": "SHUTDOWN"
+    },
+    {
+      "name": "RTC_CHANGE"
+    },
+    {
+      "name": "RESUME"
+    },
+    {
+      "name": "RESET"
+    },
+    {
+      "name": "QUORUM_REPORT_BAD"
+    },
+    {
+      "name": "QUORUM_FAILURE"
+    },
+    {
+      "name": "POWERDOWN"
+    },
+    {
+      "name": "NIC_RX_FILTER_CHANGED"
+    },
+    {
+      "name": "MIGRATION_PASS"
+    },
+    {
+      "name": "MIGRATION"
+    },
+    {
+      "name": "MEM_UNPLUG_ERROR"
+    },
+    {
+      "name": "GUEST_PANICKED"
+    },
+    {
+      "name": "DUMP_COMPLETED"
+    },
+    {
+      "name": "DEVICE_TRAY_MOVED"
+    },
+    {
+      "name": "DEVICE_DELETED"
+    },
+    {
+      "name": "BLOCK_WRITE_THRESHOLD"
+    },
+    {
+      "name": "BLOCK_JOB_READY"
+    },
+    {
+      "name": "BLOCK_JOB_ERROR"
+    },
+    {
+      "name": "BLOCK_JOB_COMPLETED"
+    },
+    {
+      "name": "BLOCK_JOB_CANCELLED"
+    },
+    {
+      "name": "BLOCK_IO_ERROR"
+    },
+    {
+      "name": "BLOCK_IMAGE_CORRUPTED"
+    },
+    {
+      "name": "BALLOON_CHANGE"
+    },
+    {
+      "name": "ACPI_DEVICE_OST"
+    }
+  ],
+  "id": "libvirt-7"
+}
+
+{
+  "return": [
+    {
+      "name": "scsi-generic"
+    },
+    {
+      "name": "qio-channel-tls"
+    },
+    {
+      "name": "virtio-mmio"
+    },
+    {
+      "name": "scsi-hd"
+    },
+    {
+      "name": "MPC8541E_v11-powerpc64-cpu"
+    },
+    {
+      "name": "isa-m48t59"
+    },
+    {
+      "name": "405GPb-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8544E_v11-powerpc64-cpu"
+    },
+    {
+      "name": "usb-bot"
+    },
+    {
+      "name": "750_v3.1-powerpc64-cpu"
+    },
+    {
+      "name": "dec-21154"
+    },
+    {
+      "name": "spapr-pci-vfio-host-bridge"
+    },
+    {
+      "name": "e300c2-powerpc64-cpu"
+    },
+    {
+      "name": "lsi53c895a"
+    },
+    {
+      "name": "MPC8568-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8379-powerpc64-cpu"
+    },
+    {
+      "name": "virtio-keyboard-pci"
+    },
+    {
+      "name": "401-powerpc64-cpu"
+    },
+    {
+      "name": "750cxe_v3.1-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8349EA-powerpc64-cpu"
+    },
+    {
+      "name": "750cxr-powerpc64-cpu"
+    },
+    {
+      "name": "750cl_v2.0-powerpc64-cpu"
+    },
+    {
+      "name": "G2HiP4-powerpc64-cpu"
+    },
+    {
+      "name": "745_v1.0-powerpc64-cpu"
+    },
+    {
+      "name": "STB04-powerpc64-cpu"
+    },
+    {
+      "name": "ide-hd"
+    },
+    {
+      "name": "virtio-net-device"
+    },
+    {
+      "name": "601_v0-powerpc64-cpu"
+    },
+    {
+      "name": "ppc4xx-pcihost"
+    },
+    {
+      "name": "spapr-vio-bus"
+    },
+    {
+      "name": "ppc4xx-host-bridge"
+    },
+    {
+      "name": "750fx_v2.1-powerpc64-cpu"
+    },
+    {
+      "name": "macio-newworld"
+    },
+    {
+      "name": "MPC8377E-powerpc64-cpu"
+    },
+    {
+      "name": "970fx_v2.1-powerpc64-cpu"
+    },
+    {
+      "name": "440EPa-powerpc64-cpu"
+    },
+    {
+      "name": "SUNW,fdtwo"
+    },
+    {
+      "name": "virtio-serial-pci"
+    },
+    {
+      "name": "isa-pcspk"
+    },
+    {
+      "name": "dec-21154-p2p-bridge"
+    },
+    {
+      "name": "7445_v3.3-powerpc64-cpu"
+    },
+    {
+      "name": "603e_v4.1-powerpc64-cpu"
+    },
+    {
+      "name": "G2leGP3-powerpc64-cpu"
+    },
+    {
+      "name": "spapr-vscsi"
+    },
+    {
+      "name": "xlnx.xps-ethernetlite"
+    },
+    {
+      "name": "7410_v1.0-powerpc64-cpu"
+    },
+    {
+      "name": "platform-bus-device"
+    },
+    {
+      "name": "xics"
+    },
+    {
+      "name": "MPC5200_v10-powerpc64-cpu"
+    },
+    {
+      "name": "750cxe_v2.4b-powerpc64-cpu"
+    },
+    {
+      "name": "ics"
+    },
+    {
+      "name": "403GA-powerpc64-cpu"
+    },
+    {
+      "name": "icp"
+    },
+    {
+      "name": "MPC8610-powerpc64-cpu"
+    },
+    {
+      "name": "usb-host"
+    },
+    {
+      "name": "MPC8548E_v20-powerpc64-cpu"
+    },
+    {
+      "name": "745_v2.5-powerpc64-cpu"
+    },
+    {
+      "name": "7447_v1.0-powerpc64-cpu"
+    },
+    {
+      "name": "970fx_v3.1-powerpc64-cpu"
+    },
+    {
+      "name": "7457_v1.2-powerpc64-cpu"
+    },
+    {
+      "name": "usb-bt-dongle"
+    },
+    {
+      "name": "virtio-input-host-pci"
+    },
+    {
+      "name": "xlnx.xps-intc"
+    },
+    {
+      "name": "MPC8343EA-powerpc64-cpu"
+    },
+    {
+      "name": "e1000"
+    },
+    {
+      "name": "mpc8xxx_gpio"
+    },
+    {
+      "name": "401F2-powerpc64-cpu"
+    },
+    {
+      "name": "pseries-2.1-machine"
+    },
+    {
+      "name": "ich9-usb-uhci6"
+    },
+    {
+      "name": "ich9-usb-uhci5"
+    },
+    {
+      "name": "usb-mtp"
+    },
+    {
+      "name": "ich9-usb-uhci3"
+    },
+    {
+      "name": "cmd646-ide"
+    },
+    {
+      "name": "ich9-usb-uhci4"
+    },
+    {
+      "name": "sysbus-ahci"
+    },
+    {
+      "name": "e500v2_v22-powerpc64-cpu"
+    },
+    {
+      "name": "ich9-usb-uhci2"
+    },
+    {
+      "name": "ich9-usb-uhci1"
+    },
+    {
+      "name": "MPC8533E_v11-powerpc64-cpu"
+    },
+    {
+      "name": "7447A_v1.2-powerpc64-cpu"
+    },
+    {
+      "name": "tpci200"
+    },
+    {
+      "name": "memory-backend-file"
+    },
+    {
+      "name": "604r-powerpc64-cpu"
+    },
+    {
+      "name": "603e7v2-powerpc64-cpu"
+    },
+    {
+      "name": "970mp_v1.1-powerpc64-cpu"
+    },
+    {
+      "name": "sysbus-m48t59"
+    },
+    {
+      "name": "rtl8139"
+    },
+    {
+      "name": "usb-audio"
+    },
+    {
+      "name": "uni-north-internal-pci-pcihost"
+    },
+    {
+      "name": "MPC8347EAT-powerpc64-cpu"
+    },
+    {
+      "name": "megasas"
+    },
+    {
+      "name": "405GPc-powerpc64-cpu"
+    },
+    {
+      "name": "7455_v2.1-powerpc64-cpu"
+    },
+    {
+      "name": "7400_v2.8-powerpc64-cpu"
+    },
+    {
+      "name": "u3-agp"
+    },
+    {
+      "name": "container"
+    },
+    {
+      "name": "7450_v2.0-powerpc64-cpu"
+    },
+    {
+      "name": "scsi-block"
+    },
+    {
+      "name": "7451_v2.3-powerpc64-cpu"
+    },
+    {
+      "name": "pci-bridge"
+    },
+    {
+      "name": "603e_v1.1-powerpc64-cpu"
+    },
+    {
+      "name": "eTSEC"
+    },
+    {
+      "name": "scsi-cd"
+    },
+    {
+      "name": "pxb-bus"
+    },
+    {
+      "name": "uni-north-agp"
+    },
+    {
+      "name": "440EPX-powerpc64-cpu"
+    },
+    {
+      "name": "MPC5200B_v20-powerpc64-cpu"
+    },
+    {
+      "name": "accel"
+    },
+    {
+      "name": "740p-powerpc64-cpu"
+    },
+    {
+      "name": "virtio-vga"
+    },
+    {
+      "name": "440-Xilinx-powerpc64-cpu"
+    },
+    {
+      "name": "spapr-rng"
+    },
+    {
+      "name": "xlnx.xps-timer"
+    },
+    {
+      "name": "isa-serial"
+    },
+    {
+      "name": "virtio-serial-device"
+    },
+    {
+      "name": "970_v2.2-powerpc64-cpu"
+    },
+    {
+      "name": "vhost-scsi-pci"
+    },
+    {
+      "name": "tls-creds-anon"
+    },
+    {
+      "name": "pc-testdev"
+    },
+    {
+      "name": "icskvm"
+    },
+    {
+      "name": "escc"
+    },
+    {
+      "name": "usb-uas"
+    },
+    {
+      "name": "fw_cfg_mem"
+    },
+    {
+      "name": "603e_v3-powerpc64-cpu"
+    },
+    {
+      "name": "pseries-2.3-machine"
+    },
+    {
+      "name": "MPC8347T-powerpc64-cpu"
+    },
+    {
+      "name": "taihu-machine"
+    },
+    {
+      "name": "icp-kvm"
+    },
+    {
+      "name": "MPC8555_v10-powerpc64-cpu"
+    },
+    {
+      "name": "G2-powerpc64-cpu"
+    },
+    {
+      "name": "virtio-balloon-pci"
+    },
+    {
+      "name": "ide-cd"
+    },
+    {
+      "name": "usb-ccid"
+    },
+    {
+      "name": "7445_v3.4-powerpc64-cpu"
+    },
+    {
+      "name": "745_v2.1-powerpc64-cpu"
+    },
+    {
+      "name": "pseries-2.2-machine"
+    },
+    {
+      "name": "750p-powerpc64-cpu"
+    },
+    {
+      "name": "403GCX-powerpc64-cpu"
+    },
+    {
+      "name": "iothread"
+    },
+    {
+      "name": "sb16"
+    },
+    {
+      "name": "750gl-powerpc64-cpu"
+    },
+    {
+      "name": "filter-redirector"
+    },
+    {
+      "name": "7410_v1.1-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8347EP-powerpc64-cpu"
+    },
+    {
+      "name": "755_v2.3-powerpc64-cpu"
+    },
+    {
+      "name": "MPC5200_v11-powerpc64-cpu"
+    },
+    {
+      "name": "7450_v1.0-powerpc64-cpu"
+    },
+    {
+      "name": "750_v2.2-powerpc64-cpu"
+    },
+    {
+      "name": "POWER7_v2.3-powerpc64-cpu"
+    },
+    {
+      "name": "i82559er"
+    },
+    {
+      "name": "MPC8545E_v21-powerpc64-cpu"
+    },
+    {
+      "name": "sdhci-pci"
+    },
+    {
+      "name": "virtio-input-host-device"
+    },
+    {
+      "name": "403GB-powerpc64-cpu"
+    },
+    {
+      "name": "G2le-powerpc64-cpu"
+    },
+    {
+      "name": "745_v2.6-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8548E_v21-powerpc64-cpu"
+    },
+    {
+      "name": "cs4231a"
+    },
+    {
+      "name": "755_v2.8-powerpc64-cpu"
+    },
+    {
+      "name": "604e_v2.4-powerpc64-cpu"
+    },
+    {
+      "name": "ivshmem-doorbell"
+    },
+    {
+      "name": "750cxe_v2.2-powerpc64-cpu"
+    },
+    {
+      "name": "750cx_v1.0-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8343-powerpc64-cpu"
+    },
+    {
+      "name": "virtio-rng-device"
+    },
+    {
+      "name": "G2leLS-powerpc64-cpu"
+    },
+    {
+      "name": "isa-parallel"
+    },
+    {
+      "name": "MPC8548E_v10-powerpc64-cpu"
+    },
+    {
+      "name": "adlib"
+    },
+    {
+      "name": "602-powerpc64-cpu"
+    },
+    {
+      "name": "pci-bridge-seat"
+    },
+    {
+      "name": "hda-micro"
+    },
+    {
+      "name": "fw_cfg_io"
+    },
+    {
+      "name": "dc390"
+    },
+    {
+      "name": "POWER5+_v2.1-powerpc64-cpu"
+    },
+    {
+      "name": "740_v3.0-powerpc64-cpu"
+    },
+    {
+      "name": "7441_v2.1-powerpc64-cpu"
+    },
+    {
+      "name": "IDE"
+    },
+    {
+      "name": "MPC8533_v10-powerpc64-cpu"
+    },
+    {
+      "name": "e300c3-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8641D-powerpc64-cpu"
+    },
+    {
+      "name": "401E2-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8347EAP-powerpc64-cpu"
+    },
+    {
+      "name": "spapr-pci-host-bridge"
+    },
+    {
+      "name": "memory-backend-ram"
+    },
+    {
+      "name": "am53c974"
+    },
+    {
+      "name": "pseries-2.5-machine"
+    },
+    {
+      "name": "750cx_v2.0-powerpc64-cpu"
+    },
+    {
+      "name": "POWER7+_v2.1-powerpc64-cpu"
+    },
+    {
+      "name": "virtio-blk-device"
+    },
+    {
+      "name": "745_v1.1-powerpc64-cpu"
+    },
+    {
+      "name": "601_v1-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8544_v10-powerpc64-cpu"
+    },
+    {
+      "name": "740_v1.0-powerpc64-cpu"
+    },
+    {
+      "name": "qio-channel-websock"
+    },
+    {
+      "name": "pseries-2.4-machine"
+    },
+    {
+      "name": "mc146818rtc"
+    },
+    {
+      "name": "spapr-nvram"
+    },
+    {
+      "name": "qio-channel-file"
+    },
+    {
+      "name": "uni-north-pci"
+    },
+    {
+      "name": "750fx_v2.2-powerpc64-cpu"
+    },
+    {
+      "name": "603e_v1.2-powerpc64-cpu"
+    },
+    {
+      "name": "hda-output"
+    },
+    {
+      "name": "MPC603-powerpc64-cpu"
+    },
+    {
+      "name": "sysbus-m48t08"
+    },
+    {
+      "name": "raven"
+    },
+    {
+      "name": "440EPb-powerpc64-cpu"
+    },
+    {
+      "name": "VGA"
+    },
+    {
+      "name": "i8257"
+    },
+    {
+      "name": "sysbus-m48t02"
+    },
+    {
+      "name": "pc87312"
+    },
+    {
+      "name": "mptsas1068"
+    },
+    {
+      "name": "edu"
+    },
+    {
+      "name": "MPC8347P-powerpc64-cpu"
+    },
+    {
+      "name": "virtio-mouse-pci"
+    },
+    {
+      "name": "740_v2.0-powerpc64-cpu"
+    },
+    {
+      "name": "7455_v3.2-powerpc64-cpu"
+    },
+    {
+      "name": "spapr-vlan"
+    },
+    {
+      "name": "603e_v4-powerpc64-cpu"
+    },
+    {
+      "name": "HDA"
+    },
+    {
+      "name": "603e_v2.2-powerpc64-cpu"
+    },
+    {
+      "name": "7447_v1.1-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8543E_v20-powerpc64-cpu"
+    },
+    {
+      "name": "macio-oldworld"
+    },
+    {
+      "name": "qemu:memory-region"
+    },
+    {
+      "name": "adb-keyboard"
+    },
+    {
+      "name": "G2LS-powerpc64-cpu"
+    },
+    {
+      "name": "sysbus-ohci"
+    },
+    {
+      "name": "7445_v1.0-powerpc64-cpu"
+    },
+    {
+      "name": "755_v2.4-powerpc64-cpu"
+    },
+    {
+      "name": "7450_v1.1-powerpc64-cpu"
+    },
+    {
+      "name": "e600-powerpc64-cpu"
+    },
+    {
+      "name": "qio-channel-command"
+    },
+    {
+      "name": "usb-serial"
+    },
+    {
+      "name": "x2vp20-powerpc64-cpu"
+    },
+    {
+      "name": "qtest-accel"
+    },
+    {
+      "name": "pseries-2.6-machine"
+    },
+    {
+      "name": "750l_v2.0-powerpc64-cpu"
+    },
+    {
+      "name": "750fl-powerpc64-cpu"
+    },
+    {
+      "name": "vt82c686b-usb-uhci"
+    },
+    {
+      "name": "pxb-host"
+    },
+    {
+      "name": "405D2-powerpc64-cpu"
+    },
+    {
+      "name": "virtio-blk-pci"
+    },
+    {
+      "name": "virtio-gpu-device"
+    },
+    {
+      "name": "MPC8560_v20-powerpc64-cpu"
+    },
+    {
+      "name": "750gx_v1.0-powerpc64-cpu"
+    },
+    {
+      "name": "QJSON"
+    },
+    {
+      "name": "System"
+    },
+    {
+      "name": "lsi53c810"
+    },
+    {
+      "name": "uni-north-agp-pcihost"
+    },
+    {
+      "name": "IOP480-powerpc64-cpu"
+    },
+    {
+      "name": "603e7t-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8548E_v11-powerpc64-cpu"
+    },
+    {
+      "name": "405GPd-powerpc64-cpu"
+    },
+    {
+      "name": "603-powerpc64-cpu"
+    },
+    {
+      "name": "G2GP-powerpc64-cpu"
+    },
+    {
+      "name": "7400_v2.9-powerpc64-cpu"
+    },
+    {
+      "name": "750cxe_v3.1b-powerpc64-cpu"
+    },
+    {
+      "name": "G2leGP-powerpc64-cpu"
+    },
+    {
+      "name": "7450_v2.1-powerpc64-cpu"
+    },
+    {
+      "name": "7448_v2.0-powerpc64-cpu"
+    },
+    {
+      "name": "mac99-machine"
+    },
+    {
+      "name": "e300c4-powerpc64-cpu"
+    },
+    {
+      "name": "750l_v3.0-powerpc64-cpu"
+    },
+    {
+      "name": "MPC5200B_v21-powerpc64-cpu"
+    },
+    {
+      "name": "PCIE"
+    },
+    {
+      "name": "750cx_v2.1-powerpc64-cpu"
+    },
+    {
+      "name": "cuda"
+    },
+    {
+      "name": "604e_v1.0-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8572E-powerpc64-cpu"
+    },
+    {
+      "name": "virtio-serial-bus"
+    },
+    {
+      "name": "vhost-scsi"
+    },
+    {
+      "name": "secondary-vga"
+    },
+    {
+      "name": "401D2-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8544_v11-powerpc64-cpu"
+    },
+    {
+      "name": "e500-ccsr"
+    },
+    {
+      "name": "601_v2-powerpc64-cpu"
+    },
+    {
+      "name": "405EP-powerpc64-cpu"
+    },
+    {
+      "name": "ccid-bus"
+    },
+    {
+      "name": "pci-ohci"
+    },
+    {
+      "name": "cfi.pflash02"
+    },
+    {
+      "name": "cfi.pflash01"
+    },
+    {
+      "name": "usb-hub"
+    },
+    {
+      "name": "750fx_v2.3-powerpc64-cpu"
+    },
+    {
+      "name": "405LP-powerpc64-cpu"
+    },
+    {
+      "name": "nmi"
+    },
+    {
+      "name": "MPC8541_v10-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8555_v11-powerpc64-cpu"
+    },
+    {
+      "name": "input-linux"
+    },
+    {
+      "name": "x2vp4-powerpc64-cpu"
+    },
+    {
+      "name": "7410_v1.2-powerpc64-cpu"
+    },
+    {
+      "name": "xics-kvm"
+    },
+    {
+      "name": "7400_v1.0-powerpc64-cpu"
+    },
+    {
+      "name": "745_v2.2-powerpc64-cpu"
+    },
+    {
+      "name": "vfio-amd-xgbe"
+    },
+    {
+      "name": "740_v2.1-powerpc64-cpu"
+    },
+    {
+      "name": "MPC5200_v12-powerpc64-cpu"
+    },
+    {
+      "name": "7448_v1.0-powerpc64-cpu"
+    },
+    {
+      "name": "e5500-powerpc64-cpu"
+    },
+    {
+      "name": "xlnx.xps-uartlite"
+    },
+    {
+      "name": "403GC-powerpc64-cpu"
+    },
+    {
+      "name": "pci-serial"
+    },
+    {
+      "name": "745_v2.7-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8543_v20-powerpc64-cpu"
+    },
+    {
+      "name": "i8042"
+    },
+    {
+      "name": "750cxe_v2.3-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8543E_v21-powerpc64-cpu"
+    },
+    {
+      "name": "i82559c"
+    },
+    {
+      "name": "i82559b"
+    },
+    {
+      "name": "i82559a"
+    },
+    {
+      "name": "SCSI"
+    },
+    {
+      "name": "rocker"
+    },
+    {
+      "name": "pcnet"
+    },
+    {
+      "name": "rng-egd"
+    },
+    {
+      "name": "MPC8543E_v10-powerpc64-cpu"
+    },
+    {
+      "name": "405CRa-powerpc64-cpu"
+    },
+    {
+      "name": "spapr-tce-table"
+    },
+    {
+      "name": "7400_v2.0-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8349-powerpc64-cpu"
+    },
+    {
+      "name": "e200z5-powerpc64-cpu"
+    },
+    {
+      "name": "740_v3.1-powerpc64-cpu"
+    },
+    {
+      "name": "filter-dump"
+    },
+    {
+      "name": "MPC8533_v11-powerpc64-cpu"
+    },
+    {
+      "name": "i82558b"
+    },
+    {
+      "name": "G2H4-powerpc64-cpu"
+    },
+    {
+      "name": "i82558a"
+    },
+    {
+      "name": "MPC8560_v21-powerpc64-cpu"
+    },
+    {
+      "name": "smbus-eeprom"
+    },
+    {
+      "name": "i82801"
+    },
+    {
+      "name": "tls-creds-x509"
+    },
+    {
+      "name": "virtio-net-pci"
+    },
+    {
+      "name": "virtio-keyboard-device"
+    },
+    {
+      "name": "i82562"
+    },
+    {
+      "name": "usb-net"
+    },
+    {
+      "name": "MPC8560_v10-powerpc64-cpu"
+    },
+    {
+      "name": "603e_v1.3-powerpc64-cpu"
+    },
+    {
+      "name": "755_v1.0-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8568E-powerpc64-cpu"
+    },
+    {
+      "name": "i82557c"
+    },
+    {
+      "name": "i82557b"
+    },
+    {
+      "name": "i82557a"
+    },
+    {
+      "name": "isa-i8259"
+    },
+    {
+      "name": "virtio-gpu-pci"
+    },
+    {
+      "name": "usb-mouse"
+    },
+    {
+      "name": "sdhci-bus"
+    },
+    {
+      "name": "i82551"
+    },
+    {
+      "name": "i82550"
+    },
+    {
+      "name": "405EZ-powerpc64-cpu"
+    },
+    {
+      "name": "7455_v3.3-powerpc64-cpu"
+    },
+    {
+      "name": "apple-desktop-bus"
+    },
+    {
+      "name": "e500v2_v30-powerpc64-cpu"
+    },
+    {
+      "name": "macio-ide"
+    },
+    {
+      "name": "401C2-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8541_v11-powerpc64-cpu"
+    },
+    {
+      "name": "nec-usb-xhci"
+    },
+    {
+      "name": "755_v2.0-powerpc64-cpu"
+    },
+    {
+      "name": "filter-mirror"
+    },
+    {
+      "name": "user-creatable"
+    },
+    {
+      "name": "ich9-usb-ehci2"
+    },
+    {
+      "name": "ich9-usb-ehci1"
+    },
+    {
+      "name": "vfio-pci"
+    },
+    {
+      "name": "prep-machine"
+    },
+    {
+      "name": "irq"
+    },
+    {
+      "name": "isa-ide"
+    },
+    {
+      "name": "405GPR-powerpc64-cpu"
+    },
+    {
+      "name": "750l_v2.1-powerpc64-cpu"
+    },
+    {
+      "name": "745_v2.3-powerpc64-cpu"
+    },
+    {
+      "name": "7410_v1.3-powerpc64-cpu"
+    },
+    {
+      "name": "755_v2.5-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8572-powerpc64-cpu"
+    },
+    {
+      "name": "7450_v1.2-powerpc64-cpu"
+    },
+    {
+      "name": "7457_v1.0-powerpc64-cpu"
+    },
+    {
+      "name": "7457A_v1.0-powerpc64-cpu"
+    },
+    {
+      "name": "POWER8NVL_v1.0-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8347AT-powerpc64-cpu"
+    },
+    {
+      "name": "qio-channel-socket"
+    },
+    {
+      "name": "piix3-usb-uhci"
+    },
+    {
+      "name": "sd-bus"
+    },
+    {
+      "name": "virtserialport"
+    },
+    {
+      "name": "pvscsi"
+    },
+    {
+      "name": "MPC8548_v20-powerpc64-cpu"
+    },
+    {
+      "name": "750cxe_v2.4-powerpc64-cpu"
+    },
+    {
+      "name": "i82378"
+    },
+    {
+      "name": "MPC8543E_v11-powerpc64-cpu"
+    },
+    {
+      "name": "750gx_v1.1-powerpc64-cpu"
+    },
+    {
+      "name": "ich9-ahci"
+    },
+    {
+      "name": "e500_v20-powerpc64-cpu"
+    },
+    {
+      "name": "7445_v2.1-powerpc64-cpu"
+    },
+    {
+      "name": "i82374"
+    },
+    {
+      "name": "7447A_v1.0-powerpc64-cpu"
+    },
+    {
+      "name": "gus"
+    },
+    {
+      "name": "pc-dimm"
+    },
+    {
+      "name": "MPC8543_v10-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8540_v20-powerpc64-cpu"
+    },
+    {
+      "name": "604-powerpc64-cpu"
+    },
+    {
+      "name": "405CRb-powerpc64-cpu"
+    },
+    {
+      "name": "g3beige-machine"
+    },
+    {
+      "name": "7400_v2.1-powerpc64-cpu"
+    },
+    {
+      "name": "isa-dma"
+    },
+    {
+      "name": "xics-common"
+    },
+    {
+      "name": "7441_v2.3-powerpc64-cpu"
+    },
+    {
+      "name": "7448_v2.1-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8377-powerpc64-cpu"
+    },
+    {
+      "name": "401A1-powerpc64-cpu"
+    },
+    {
+      "name": "603e7-powerpc64-cpu"
+    },
+    {
+      "name": "IndustryPack"
+    },
+    {
+      "name": "adb-mouse"
+    },
+    {
+      "name": "Npe405L-powerpc64-cpu"
+    },
+    {
+      "name": "nvram"
+    },
+    {
+      "name": "750cx_v2.2-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8343E-powerpc64-cpu"
+    },
+    {
+      "name": "7451_v2.10-powerpc64-cpu"
+    },
+    {
+      "name": "virtio-rng-pci"
+    },
+    {
+      "name": "usb-ehci"
+    },
+    {
+      "name": "bamboo-machine"
+    },
+    {
+      "name": "G2leGP1-powerpc64-cpu"
+    },
+    {
+      "name": "603e_v1.4-powerpc64-cpu"
+    },
+    {
+      "name": "dec-21154-sysbus"
+    },
+    {
+      "name": "spapr-vty"
+    },
+    {
+      "name": "e1000-82545em"
+    },
+    {
+      "name": "7441_v2.10-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8567E-powerpc64-cpu"
+    },
+    {
+      "name": "virtio-9p-pci"
+    },
+    {
+      "name": "7400_v1.1-powerpc64-cpu"
+    },
+    {
+      "name": "e1000-82544gc"
+    },
+    {
+      "name": "740_v2.2-powerpc64-cpu"
+    },
+    {
+      "name": "7448_v1.1-powerpc64-cpu"
+    },
+    {
+      "name": "7455_v3.4-powerpc64-cpu"
+    },
+    {
+      "name": "e500-spin"
+    },
+    {
+      "name": "745_v2.8-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8547E_v20-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8543_v21-powerpc64-cpu"
+    },
+    {
+      "name": "755_v2.1-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8349E-powerpc64-cpu"
+    },
+    {
+      "name": "401B2-powerpc64-cpu"
+    },
+    {
+      "name": "filter-buffer"
+    },
+    {
+      "name": "mpc8544ds-machine"
+    },
+    {
+      "name": "pci-serial-4x"
+    },
+    {
+      "name": "ich9-intel-hda"
+    },
+    {
+      "name": "virtio-9p-device"
+    },
+    {
+      "name": "MPC8347AP-powerpc64-cpu"
+    },
+    {
+      "name": "ivshmem"
+    },
+    {
+      "name": "e500v2_v20-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8379E-powerpc64-cpu"
+    },
+    {
+      "name": "virtio-scsi-pci"
+    },
+    {
+      "name": "e200z6-powerpc64-cpu"
+    },
+    {
+      "name": "7457A_v1.1-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8555E_v10-powerpc64-cpu"
+    },
+    {
+      "name": "qemu-console"
+    },
+    {
+      "name": "ppce500-machine"
+    },
+    {
+      "name": "virtio-pci-bus"
+    },
+    {
+      "name": "750l_v2.2-powerpc64-cpu"
+    },
+    {
+      "name": "ISA"
+    },
+    {
+      "name": "MPC8541E_v10-powerpc64-cpu"
+    },
+    {
+      "name": "ipoctal232"
+    },
+    {
+      "name": "mpc8544-guts"
+    },
+    {
+      "name": "uni-north-pci-pcihost"
+    },
+    {
+      "name": "MPC8548_v21-powerpc64-cpu"
+    },
+    {
+      "name": "pci-testdev"
+    },
+    {
+      "name": "405GPa-powerpc64-cpu"
+    },
+    {
+      "name": "piix4-usb-uhci"
+    },
+    {
+      "name": "7400_v2.6-powerpc64-cpu"
+    },
+    {
+      "name": "virtio-tablet-device"
+    },
+    {
+      "name": "Npe405H-powerpc64-cpu"
+    },
+    {
+      "name": "750_v3.0-powerpc64-cpu"
+    },
+    {
+      "name": "Npe405H2-powerpc64-cpu"
+    },
+    {
+      "name": "603e7v-powerpc64-cpu"
+    },
+    {
+      "name": "ES1370"
+    },
+    {
+      "name": "openpic"
+    },
+    {
+      "name": "755_v1.1-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8548_v10-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8545_v20-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8567-powerpc64-cpu"
+    },
+    {
+      "name": "STB03-powerpc64-cpu"
+    },
+    {
+      "name": "e500_v10-powerpc64-cpu"
+    },
+    {
+      "name": "750cxe_v3.0-powerpc64-cpu"
+    },
+    {
+      "name": "G2HiP3-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8378-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8343A-powerpc64-cpu"
+    },
+    {
+      "name": "tcg-accel"
+    },
+    {
+      "name": "750_v1.0-powerpc64-cpu"
+    },
+    {
+      "name": "virtconsole"
+    },
+    {
+      "name": "MPC8540_v10-powerpc64-cpu"
+    },
+    {
+      "name": "750l_v3.2-powerpc64-cpu"
+    },
+    {
+      "name": "pci-serial-2x"
+    },
+    {
+      "name": "ne2k_isa"
+    },
+    {
+      "name": "isa-fdc"
+    },
+    {
+      "name": "virtio-mmio-bus"
+    },
+    {
+      "name": "virtio-tablet-pci"
+    },
+    {
+      "name": "usb-bus"
+    },
+    {
+      "name": "7445_v3.2-powerpc64-cpu"
+    },
+    {
+      "name": "hotplug-handler"
+    },
+    {
+      "name": "PCI"
+    },
+    {
+      "name": "kvm-openpic"
+    },
+    {
+      "name": "usb-storage"
+    },
+    {
+      "name": "esp"
+    },
+    {
+      "name": "virtex-ml507-machine"
+    },
+    {
+      "name": "750_v2.0-powerpc64-cpu"
+    },
+    {
+      "name": "e500-host-bridge"
+    },
+    {
+      "name": "745_v2.4-powerpc64-cpu"
+    },
+    {
+      "name": "usb-kbd"
+    },
+    {
+      "name": "ne2k_pci"
+    },
+    {
+      "name": "Npe4GS3-powerpc64-cpu"
+    },
+    {
+      "name": "7410_v1.4-powerpc64-cpu"
+    },
+    {
+      "name": "isabus-bridge"
+    },
+    {
+      "name": "ivshmem-plain"
+    },
+    {
+      "name": "755_v2.6-powerpc64-cpu"
+    },
+    {
+      "name": "604e_v2.2-powerpc64-cpu"
+    },
+    {
+      "name": "qio-channel-buffer"
+    },
+    {
+      "name": "970fx_v3.0-powerpc64-cpu"
+    },
+    {
+      "name": "7457_v1.1-powerpc64-cpu"
+    },
+    {
+      "name": "u3-agp-pcihost"
+    },
+    {
+      "name": "spapr-vio-bridge"
+    },
+    {
+      "name": "secret"
+    },
+    {
+      "name": "pxb-pcie-bus"
+    },
+    {
+      "name": "hda-duplex"
+    },
+    {
+      "name": "scsi-disk"
+    },
+    {
+      "name": "spapr-dr-connector"
+    },
+    {
+      "name": "allwinner-ahci"
+    },
+    {
+      "name": "raven-pcihost"
+    },
+    {
+      "name": "sysbus-fdc"
+    },
+    {
+      "name": "405D4-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8544E_v10-powerpc64-cpu"
+    },
+    {
+      "name": "virtio-balloon-device"
+    },
+    {
+      "name": "MPC8641-powerpc64-cpu"
+    },
+    {
+      "name": "none-machine"
+    },
+    {
+      "name": "750fx_v1.0-powerpc64-cpu"
+    },
+    {
+      "name": "750gx_v1.2-powerpc64-cpu"
+    },
+    {
+      "name": "megasas-gen2"
+    },
+    {
+      "name": "AC97"
+    },
+    {
+      "name": "usb-tablet"
+    },
+    {
+      "name": "970fx_v1.0-powerpc64-cpu"
+    },
+    {
+      "name": "7400_v2.2-powerpc64-cpu"
+    },
+    {
+      "name": "e300c1-powerpc64-cpu"
+    },
+    {
+      "name": "e500v2_v21-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8540_v21-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8533E_v10-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8543_v11-powerpc64-cpu"
+    },
+    {
+      "name": "nvme"
+    },
+    {
+      "name": "7447A_v1.1-powerpc64-cpu"
+    },
+    {
+      "name": "405CRc-powerpc64-cpu"
+    },
+    {
+      "name": "740e-powerpc64-cpu"
+    },
+    {
+      "name": "usb-braille"
+    },
+    {
+      "name": "440-Xilinx-w-dfpu-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8555E_v11-powerpc64-cpu"
+    },
+    {
+      "name": "970mp_v1.0-powerpc64-cpu"
+    },
+    {
+      "name": "fw_cfg"
+    },
+    {
+      "name": "603e7v1-powerpc64-cpu"
+    },
+    {
+      "name": "e500mc-powerpc64-cpu"
+    },
+    {
+      "name": "e500v2_v10-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8378E-powerpc64-cpu"
+    },
+    {
+      "name": "intel-hda"
+    },
+    {
+      "name": "kvm-accel"
+    },
+    {
+      "name": "7400_v2.7-powerpc64-cpu"
+    },
+    {
+      "name": "virtio-scsi-device"
+    },
+    {
+      "name": "603p-powerpc64-cpu"
+    },
+    {
+      "name": "grackle"
+    },
+    {
+      "name": "Cobra-powerpc64-cpu"
+    },
+    {
+      "name": "POWER8E_v2.1-powerpc64-cpu"
+    },
+    {
+      "name": "750fx_v2.0-powerpc64-cpu"
+    },
+    {
+      "name": "usb-wacom-tablet"
+    },
+    {
+      "name": "970fx_v2.0-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8548_v11-powerpc64-cpu"
+    },
+    {
+      "name": "MPC8545_v21-powerpc64-cpu"
+    },
+    {
+      "name": "i2c-bus"
+    },
+    {
+      "name": "virtio-mouse-device"
+    },
+    {
+      "name": "pxb-pcie"
+    },
+    {
+      "name": "750e-powerpc64-cpu"
+    },
+    {
+      "name": "macio-nvram"
+    },
+    {
+      "name": "isa-pit"
+    },
+    {
+      "name": "i6300esb"
+    },
+    {
+      "name": "ide-drive"
+    },
+    {
+      "name": "generic-sdhci"
+    },
+    {
+      "name": "ref405ep-machine"
+    },
+    {
+      "name": "MPC8349A-powerpc64-cpu"
+    },
+    {
+      "name": "401G2-powerpc64-cpu"
+    },
+    {
+      "name": "pxb"
+    },
+    {
+      "name": "POWER8_v2.0-powerpc64-cpu"
+    },
+    {
+      "name": "sd-card"
+    },
+    {
+      "name": "STB25-powerpc64-cpu"
+    },
+    {
+      "name": "grackle-pcihost"
+    },
+    {
+      "name": "MPC8547E_v21-powerpc64-cpu"
+    },
+    {
+      "name": "7455_v1.0-powerpc64-cpu"
+    },
+    {
+      "name": "745_v2.0-powerpc64-cpu"
+    },
+    {
+      "name": "755_v2.2-powerpc64-cpu"
+    },
+    {
+      "name": "e500-pcihost"
+    },
+    {
+      "name": "vmxnet3"
+    },
+    {
+      "name": "750_v2.1-powerpc64-cpu"
+    },
+    {
+      "name": "vfio-calxeda-xgmac"
+    },
+    {
+      "name": "MPC8545E_v20-powerpc64-cpu"
+    },
+    {
+      "name": "uni-north-internal-pci"
+    },
+    {
+      "name": "spapr-rtc"
+    },
+    {
+      "name": "MPC8347ET-powerpc64-cpu"
+    },
+    {
+      "name": "755_v2.7-powerpc64-cpu"
+    },
+    {
+      "name": "7457A_v1.2-powerpc64-cpu"
+    },
+    {
+      "name": "750cxe_v2.1-powerpc64-cpu"
+    },
+    {
+      "name": "rng-random"
+    },
+    {
+      "name": "750cl_v1.0-powerpc64-cpu"
+    },
+    {
+      "name": "fw-path-provider"
+    }
+  ],
+  "id": "libvirt-8"
+}
+
+{
+  "return": [
+    {
+      "name": "request-merging",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "secs",
+      "type": "uint32"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "heads",
+      "type": "uint32"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "ioeventfd",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "scsi",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "cyls",
+      "type": "uint32"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "x-disable-pcie",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "iothread",
+      "type": "link<iothread>"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "class",
+      "type": "uint32"
+    },
+    {
+      "name": "migrate-extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "modern-pio-notify",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-blk-device>"
+    },
+    {
+      "name": "config-wce",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-9"
+}
+
+{
+  "return": [
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-txtimer",
+      "type": "uint32"
+    },
+    {
+      "name": "guest_ufo",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "mq",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "status",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host_ecn",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ioeventfd",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "tx",
+      "type": "str"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "ctrl_rx_extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_vq",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "mac",
+      "description": "Ethernet 6-byte MAC Address, example: 52:54:00:12:34:56",
+      "type": "str"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-disable-pcie",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_tso6",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "gso",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_ecn",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_rx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_tso4",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_csum",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_announce",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-txburst",
+      "type": "int32"
+    },
+    {
+      "name": "ctrl_vlan",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "csum",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "mrg_rxbuf",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_guest_offloads",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host_tso6",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_mac_addr",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "migrate-extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "modern-pio-notify",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "vlan",
+      "description": "Integer VLAN id to connect to",
+      "type": "int32"
+    },
+    {
+      "name": "host_tso4",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host_ufo",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-net-device>"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "netdev",
+      "description": "ID of a netdev to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-10"
+}
+
+{
+  "return": [
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ioeventfd",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "cmd_per_lun",
+      "type": "uint32"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "param_change",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "iothread",
+      "type": "link<iothread>"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "migrate-extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "hotplug",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "modern-pio-notify",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "num_queues",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-scsi-device>"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "x-disable-pcie",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "max_sectors",
+      "type": "uint32"
+    },
+    {
+      "name": "rombar",
+      "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"
+  }
+}
+
+{
+  "id": "libvirt-18",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'kvm-pci-assign' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "x-pci-sub-device-id",
+      "type": "uint32"
+    },
+    {
+      "name": "x-no-kvm-msi",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "x-vga",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-pci-vendor-id",
+      "type": "uint32"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "x-req",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "x-no-kvm-intx",
+      "type": "bool"
+    },
+    {
+      "name": "x-pci-device-id",
+      "type": "uint32"
+    },
+    {
+      "name": "host",
+      "description": "Address (bus/device/function) of the host device, example: 04:10.0",
+      "type": "str"
+    },
+    {
+      "name": "x-no-kvm-msix",
+      "type": "bool"
+    },
+    {
+      "name": "x-intx-mmap-timeout-ms",
+      "type": "uint32"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "x-pci-sub-vendor-id",
+      "type": "uint32"
+    },
+    {
+      "name": "sysfsdev",
+      "type": "str"
+    },
+    {
+      "name": "x-no-mmap",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-19"
+}
+
+{
+  "return": [
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "port_index",
+      "type": "uint16"
+    },
+    {
+      "name": "dpofua",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "lun",
+      "type": "uint32"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "port_wwn",
+      "type": "uint64"
+    },
+    {
+      "name": "max_unmap_size",
+      "type": "uint64"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "product",
+      "type": "str"
+    },
+    {
+      "name": "vendor",
+      "type": "str"
+    },
+    {
+      "name": "channel",
+      "type": "uint32"
+    },
+    {
+      "name": "wwn",
+      "type": "uint64"
+    },
+    {
+      "name": "removable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "scsi-id",
+      "type": "uint32"
+    },
+    {
+      "name": "ver",
+      "type": "str"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "max_io_size",
+      "type": "uint64"
+    }
+  ],
+  "id": "libvirt-20"
+}
+
+{
+  "return": [
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "unit",
+      "type": "uint32"
+    },
+    {
+      "name": "wwn",
+      "type": "uint64"
+    },
+    {
+      "name": "model",
+      "type": "str"
+    },
+    {
+      "name": "ver",
+      "type": "str"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    }
+  ],
+  "id": "libvirt-21"
+}
+
+{
+  "id": "libvirt-22",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'PIIX4_PM' not found"
+  }
+}
+
+{
+  "id": "libvirt-23",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'usb-redir' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "isobufs",
+      "type": "uint32"
+    },
+    {
+      "name": "hostaddr",
+      "type": "uint32"
+    },
+    {
+      "name": "msos-desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "productid",
+      "type": "uint32"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "isobsize",
+      "type": "uint32"
+    },
+    {
+      "name": "port",
+      "type": "str"
+    },
+    {
+      "name": "vendorid",
+      "type": "uint32"
+    },
+    {
+      "name": "pipeline",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "hostport",
+      "type": "str"
+    },
+    {
+      "name": "full-path",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "loglevel",
+      "type": "uint32"
+    },
+    {
+      "name": "hostbus",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-24"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "lun",
+      "type": "uint32"
+    },
+    {
+      "name": "channel",
+      "type": "uint32"
+    },
+    {
+      "name": "scsi-id",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-25"
+}
+
+{
+  "id": "libvirt-26",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'i440FX-pcihost' not found"
+  }
+}
+
+{
+  "id": "libvirt-27",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'q35-pcihost' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "msos-desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "port",
+      "type": "str"
+    },
+    {
+      "name": "full-path",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "removable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    }
+  ],
+  "id": "libvirt-28"
+}
+
+{
+  "id": "libvirt-29",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'kvm-pit' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "mmio",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "qemu-extended-regs",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "big-endian-framebuffer",
+      "type": "bool"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "vgamem_mb",
+      "type": "uint32"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    }
+  ],
+  "id": "libvirt-30"
+}
+
+{
+  "id": "libvirt-31",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'vmware-svga' not found"
+  }
+}
+
+{
+  "id": "libvirt-32",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'qxl' not found"
+  }
+}
+
+{
+  "id": "libvirt-33",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'qxl-vga' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ioeventfd",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "migrate-extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "modern-pio-notify",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-gpu-device>"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "x-disable-pcie",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "max_outputs",
+      "type": "uint32"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-34"
+}
+
+{
+  "id": "libvirt-35",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'ICH9-LPC' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "class",
+      "type": "uint32"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest-stats-polling-interval",
+      "type": "int"
+    },
+    {
+      "name": "guest-stats",
+      "type": "guest statistics"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "migrate-extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "modern-pio-notify",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-balloon-device>"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-disable-pcie",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "deflate-on-oom",
+      "description": "on/off",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-36"
+}
+
+{
+  "id": "libvirt-37",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'virtio-balloon-ccw' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest-stats",
+      "type": "guest statistics"
+    },
+    {
+      "name": "guest-stats-polling-interval",
+      "type": "int"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "deflate-on-oom",
+      "description": "on/off",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-38"
+}
+
+{
+  "return": [
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "intrs",
+      "type": "uint32"
+    },
+    {
+      "name": "msix",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "msi",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "superspeed-ports-first",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "streams",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "force-pcie-endcap",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "p3",
+      "type": "uint32"
+    },
+    {
+      "name": "p2",
+      "type": "uint32"
+    },
+    {
+      "name": "slots",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-39"
+}
+
+{
+  "return": [
+    {
+      "name": "ref405ep",
+      "cpu-max": 1
+    },
+    {
+      "name": "none",
+      "cpu-max": 1
+    },
+    {
+      "name": "virtex-ml507",
+      "cpu-max": 1
+    },
+    {
+      "name": "ppce500",
+      "cpu-max": 32
+    },
+    {
+      "name": "mpc8544ds",
+      "cpu-max": 15
+    },
+    {
+      "name": "bamboo",
+      "cpu-max": 1
+    },
+    {
+      "name": "g3beige",
+      "cpu-max": 1
+    },
+    {
+      "name": "prep",
+      "cpu-max": 1
+    },
+    {
+      "name": "mac99",
+      "cpu-max": 1
+    },
+    {
+      "name": "pseries-2.6",
+      "is-default": true,
+      "cpu-max": 255,
+      "alias": "pseries"
+    },
+    {
+      "name": "pseries-2.4",
+      "cpu-max": 255
+    },
+    {
+      "name": "pseries-2.5",
+      "cpu-max": 255
+    },
+    {
+      "name": "pseries-2.2",
+      "cpu-max": 255
+    },
+    {
+      "name": "taihu",
+      "cpu-max": 1
+    },
+    {
+      "name": "pseries-2.3",
+      "cpu-max": 255
+    },
+    {
+      "name": "pseries-2.1",
+      "cpu-max": 255
+    }
+  ],
+  "id": "libvirt-40"
+}
+
+{
+  "return": [
+    {
+      "name": "default"
+    },
+    {
+      "name": "ppc"
+    },
+    {
+      "name": "ppc32"
+    },
+    {
+      "name": "ppc64"
+    },
+    {
+      "name": "970mp"
+    },
+    {
+      "name": "970fx"
+    },
+    {
+      "name": "970"
+    },
+    {
+      "name": "POWER8NVL"
+    },
+    {
+      "name": "POWER8"
+    },
+    {
+      "name": "POWER8E"
+    },
+    {
+      "name": "POWER7+"
+    },
+    {
+      "name": "POWER7"
+    },
+    {
+      "name": "POWER5gs"
+    },
+    {
+      "name": "POWER5+"
+    },
+    {
+      "name": "Apollo7PM"
+    },
+    {
+      "name": "7457A"
+    },
+    {
+      "name": "7447A"
+    },
+    {
+      "name": "Apollo7"
+    },
+    {
+      "name": "7457"
+    },
+    {
+      "name": "Apollo6"
+    },
+    {
+      "name": "7455"
+    },
+    {
+      "name": "7445"
+    },
+    {
+      "name": "7451"
+    },
+    {
+      "name": "7441"
+    },
+    {
+      "name": "Vger"
+    },
+    {
+      "name": "7450"
+    },
+    {
+      "name": "7448"
+    },
+    {
+      "name": "Nitro"
+    },
+    {
+      "name": "7410"
+    },
+    {
+      "name": "G4"
+    },
+    {
+      "name": "Max"
+    },
+    {
+      "name": "7400"
+    },
+    {
+      "name": "Goldfinger"
+    },
+    {
+      "name": "755"
+    },
+    {
+      "name": "745"
+    },
+    {
+      "name": "LoneStar"
+    },
+    {
+      "name": "750l"
+    },
+    {
+      "name": "750gx"
+    },
+    {
+      "name": "750fx"
+    },
+    {
+      "name": "750cxe"
+    },
+    {
+      "name": "750cx"
+    },
+    {
+      "name": "750cl"
+    },
+    {
+      "name": "Conan/Doyle"
+    },
+    {
+      "name": "G3"
+    },
+    {
+      "name": "Typhoon"
+    },
+    {
+      "name": "750"
+    },
+    {
+      "name": "Arthur"
+    },
+    {
+      "name": "740"
+    },
+    {
+      "name": "Mach5"
+    },
+    {
+      "name": "Sirocco"
+    },
+    {
+      "name": "604e"
+    },
+    {
+      "name": "Goldeneye"
+    },
+    {
+      "name": "603r"
+    },
+    {
+      "name": "Vaillant"
+    },
+    {
+      "name": "Stretch"
+    },
+    {
+      "name": "603e"
+    },
+    {
+      "name": "Vanilla"
+    },
+    {
+      "name": "601v"
+    },
+    {
+      "name": "601"
+    },
+    {
+      "name": "MPC8560"
+    },
+    {
+      "name": "MPC8555E"
+    },
+    {
+      "name": "MPC8555"
+    },
+    {
+      "name": "MPC8548E"
+    },
+    {
+      "name": "MPC8548"
+    },
+    {
+      "name": "MPC8547E"
+    },
+    {
+      "name": "MPC8545E"
+    },
+    {
+      "name": "MPC8545"
+    },
+    {
+      "name": "MPC8544E"
+    },
+    {
+      "name": "MPC8544"
+    },
+    {
+      "name": "MPC8543E"
+    },
+    {
+      "name": "MPC8543"
+    },
+    {
+      "name": "MPC8541E"
+    },
+    {
+      "name": "MPC8541"
+    },
+    {
+      "name": "MPC8540"
+    },
+    {
+      "name": "MPC8533E"
+    },
+    {
+      "name": "MPC8533"
+    },
+    {
+      "name": "e500v2"
+    },
+    {
+      "name": "e500v1"
+    },
+    {
+      "name": "e500"
+    },
+    {
+      "name": "MPC8347EA"
+    },
+    {
+      "name": "MPC8347E"
+    },
+    {
+      "name": "MPC8347A"
+    },
+    {
+      "name": "MPC8347"
+    },
+    {
+      "name": "e300"
+    },
+    {
+      "name": "e200"
+    },
+    {
+      "name": "MPC8280"
+    },
+    {
+      "name": "MPC8275"
+    },
+    {
+      "name": "MPC8272"
+    },
+    {
+      "name": "MPC8271"
+    },
+    {
+      "name": "MPC8270"
+    },
+    {
+      "name": "MPC8266_HiP4"
+    },
+    {
+      "name": "MPC8266_HiP3"
+    },
+    {
+      "name": "MPC8266"
+    },
+    {
+      "name": "MPC8265_HiP4"
+    },
+    {
+      "name": "MPC8265_HiP3"
+    },
+    {
+      "name": "MPC8265"
+    },
+    {
+      "name": "MPC8264_HiP4"
+    },
+    {
+      "name": "MPC8264_HiP3"
+    },
+    {
+      "name": "MPC8264"
+    },
+    {
+      "name": "MPC8260_HiP4"
+    },
+    {
+      "name": "MPC8260_HiP3"
+    },
+    {
+      "name": "MPC8260"
+    },
+    {
+      "name": "MPC8255_HiP4"
+    },
+    {
+      "name": "MPC8255_HiP3"
+    },
+    {
+      "name": "MPC8255"
+    },
+    {
+      "name": "MPC8250_HiP4"
+    },
+    {
+      "name": "MPC8250_HiP3"
+    },
+    {
+      "name": "MPC8250"
+    },
+    {
+      "name": "MPC8248"
+    },
+    {
+      "name": "MPC8247"
+    },
+    {
+      "name": "MPC8245"
+    },
+    {
+      "name": "MPC8241"
+    },
+    {
+      "name": "PowerQUICC-II"
+    },
+    {
+      "name": "MPC82xx"
+    },
+    {
+      "name": "MPC5200B"
+    },
+    {
+      "name": "MPC5200"
+    },
+    {
+      "name": "MPC52xx"
+    },
+    {
+      "name": "MPC8240"
+    },
+    {
+      "name": "440EP"
+    },
+    {
+      "name": "x2vp50"
+    },
+    {
+      "name": "x2vp7"
+    },
+    {
+      "name": "405GPe"
+    },
+    {
+      "name": "405GP"
+    },
+    {
+      "name": "405CR"
+    },
+    {
+      "name": "405"
+    },
+    {
+      "name": "403"
+    },
+    {
+      "name": "750cl_v1.0"
+    },
+    {
+      "name": "750cxe_v2.1"
+    },
+    {
+      "name": "7457A_v1.2"
+    },
+    {
+      "name": "755_v2.7"
+    },
+    {
+      "name": "MPC8347ET"
+    },
+    {
+      "name": "MPC8545E_v20"
+    },
+    {
+      "name": "750_v2.1"
+    },
+    {
+      "name": "755_v2.2"
+    },
+    {
+      "name": "745_v2.0"
+    },
+    {
+      "name": "7455_v1.0"
+    },
+    {
+      "name": "MPC8547E_v21"
+    },
+    {
+      "name": "STB25"
+    },
+    {
+      "name": "POWER8_v2.0"
+    },
+    {
+      "name": "401G2"
+    },
+    {
+      "name": "MPC8349A"
+    },
+    {
+      "name": "750e"
+    },
+    {
+      "name": "MPC8545_v21"
+    },
+    {
+      "name": "MPC8548_v11"
+    },
+    {
+      "name": "970fx_v2.0"
+    },
+    {
+      "name": "750fx_v2.0"
+    },
+    {
+      "name": "POWER8E_v2.1"
+    },
+    {
+      "name": "Cobra"
+    },
+    {
+      "name": "603p"
+    },
+    {
+      "name": "7400_v2.7"
+    },
+    {
+      "name": "MPC8378E"
+    },
+    {
+      "name": "e500v2_v10"
+    },
+    {
+      "name": "e500mc"
+    },
+    {
+      "name": "603e7v1"
+    },
+    {
+      "name": "970mp_v1.0"
+    },
+    {
+      "name": "MPC8555E_v11"
+    },
+    {
+      "name": "440-Xilinx-w-dfpu"
+    },
+    {
+      "name": "740e"
+    },
+    {
+      "name": "405CRc"
+    },
+    {
+      "name": "7447A_v1.1"
+    },
+    {
+      "name": "MPC8543_v11"
+    },
+    {
+      "name": "MPC8533E_v10"
+    },
+    {
+      "name": "MPC8540_v21"
+    },
+    {
+      "name": "e500v2_v21"
+    },
+    {
+      "name": "e300c1"
+    },
+    {
+      "name": "7400_v2.2"
+    },
+    {
+      "name": "970fx_v1.0"
+    },
+    {
+      "name": "750gx_v1.2"
+    },
+    {
+      "name": "750fx_v1.0"
+    },
+    {
+      "name": "MPC8641"
+    },
+    {
+      "name": "MPC8544E_v10"
+    },
+    {
+      "name": "405D4"
+    },
+    {
+      "name": "7457_v1.1"
+    },
+    {
+      "name": "970fx_v3.0"
+    },
+    {
+      "name": "604e_v2.2"
+    },
+    {
+      "name": "755_v2.6"
+    },
+    {
+      "name": "7410_v1.4"
+    },
+    {
+      "name": "Npe4GS3"
+    },
+    {
+      "name": "745_v2.4"
+    },
+    {
+      "name": "750_v2.0"
+    },
+    {
+      "name": "7445_v3.2"
+    },
+    {
+      "name": "750l_v3.2"
+    },
+    {
+      "name": "MPC8540_v10"
+    },
+    {
+      "name": "750_v1.0"
+    },
+    {
+      "name": "MPC8343A"
+    },
+    {
+      "name": "MPC8378"
+    },
+    {
+      "name": "G2HiP3"
+    },
+    {
+      "name": "750cxe_v3.0"
+    },
+    {
+      "name": "e500_v10"
+    },
+    {
+      "name": "STB03"
+    },
+    {
+      "name": "MPC8567"
+    },
+    {
+      "name": "MPC8545_v20"
+    },
+    {
+      "name": "MPC8548_v10"
+    },
+    {
+      "name": "755_v1.1"
+    },
+    {
+      "name": "603e7v"
+    },
+    {
+      "name": "Npe405H2"
+    },
+    {
+      "name": "750_v3.0"
+    },
+    {
+      "name": "Npe405H"
+    },
+    {
+      "name": "7400_v2.6"
+    },
+    {
+      "name": "405GPa"
+    },
+    {
+      "name": "MPC8548_v21"
+    },
+    {
+      "name": "MPC8541E_v10"
+    },
+    {
+      "name": "750l_v2.2"
+    },
+    {
+      "name": "MPC8555E_v10"
+    },
+    {
+      "name": "7457A_v1.1"
+    },
+    {
+      "name": "e200z6"
+    },
+    {
+      "name": "MPC8379E"
+    },
+    {
+      "name": "e500v2_v20"
+    },
+    {
+      "name": "MPC8347AP"
+    },
+    {
+      "name": "401B2"
+    },
+    {
+      "name": "MPC8349E"
+    },
+    {
+      "name": "755_v2.1"
+    },
+    {
+      "name": "MPC8543_v21"
+    },
+    {
+      "name": "MPC8547E_v20"
+    },
+    {
+      "name": "745_v2.8"
+    },
+    {
+      "name": "7455_v3.4"
+    },
+    {
+      "name": "7448_v1.1"
+    },
+    {
+      "name": "740_v2.2"
+    },
+    {
+      "name": "7400_v1.1"
+    },
+    {
+      "name": "MPC8567E"
+    },
+    {
+      "name": "7441_v2.10"
+    },
+    {
+      "name": "603e_v1.4"
+    },
+    {
+      "name": "G2leGP1"
+    },
+    {
+      "name": "7451_v2.10"
+    },
+    {
+      "name": "MPC8343E"
+    },
+    {
+      "name": "750cx_v2.2"
+    },
+    {
+      "name": "Npe405L"
+    },
+    {
+      "name": "603e7"
+    },
+    {
+      "name": "401A1"
+    },
+    {
+      "name": "MPC8377"
+    },
+    {
+      "name": "7448_v2.1"
+    },
+    {
+      "name": "7441_v2.3"
+    },
+    {
+      "name": "7400_v2.1"
+    },
+    {
+      "name": "405CRb"
+    },
+    {
+      "name": "604"
+    },
+    {
+      "name": "MPC8540_v20"
+    },
+    {
+      "name": "MPC8543_v10"
+    },
+    {
+      "name": "7447A_v1.0"
+    },
+    {
+      "name": "7445_v2.1"
+    },
+    {
+      "name": "e500_v20"
+    },
+    {
+      "name": "750gx_v1.1"
+    },
+    {
+      "name": "MPC8543E_v11"
+    },
+    {
+      "name": "750cxe_v2.4"
+    },
+    {
+      "name": "MPC8548_v20"
+    },
+    {
+      "name": "MPC8347AT"
+    },
+    {
+      "name": "POWER8NVL_v1.0"
+    },
+    {
+      "name": "7457A_v1.0"
+    },
+    {
+      "name": "7457_v1.0"
+    },
+    {
+      "name": "7450_v1.2"
+    },
+    {
+      "name": "MPC8572"
+    },
+    {
+      "name": "755_v2.5"
+    },
+    {
+      "name": "7410_v1.3"
+    },
+    {
+      "name": "745_v2.3"
+    },
+    {
+      "name": "750l_v2.1"
+    },
+    {
+      "name": "405GPR"
+    },
+    {
+      "name": "755_v2.0"
+    },
+    {
+      "name": "MPC8541_v11"
+    },
+    {
+      "name": "401C2"
+    },
+    {
+      "name": "e500v2_v30"
+    },
+    {
+      "name": "7455_v3.3"
+    },
+    {
+      "name": "405EZ"
+    },
+    {
+      "name": "MPC8568E"
+    },
+    {
+      "name": "755_v1.0"
+    },
+    {
+      "name": "603e_v1.3"
+    },
+    {
+      "name": "MPC8560_v10"
+    },
+    {
+      "name": "MPC8560_v21"
+    },
+    {
+      "name": "G2H4"
+    },
+    {
+      "name": "MPC8533_v11"
+    },
+    {
+      "name": "740_v3.1"
+    },
+    {
+      "name": "e200z5"
+    },
+    {
+      "name": "MPC8349"
+    },
+    {
+      "name": "7400_v2.0"
+    },
+    {
+      "name": "405CRa"
+    },
+    {
+      "name": "MPC8543E_v10"
+    },
+    {
+      "name": "MPC8543E_v21"
+    },
+    {
+      "name": "750cxe_v2.3"
+    },
+    {
+      "name": "MPC8543_v20"
+    },
+    {
+      "name": "745_v2.7"
+    },
+    {
+      "name": "403GC"
+    },
+    {
+      "name": "e5500"
+    },
+    {
+      "name": "7448_v1.0"
+    },
+    {
+      "name": "MPC5200_v12"
+    },
+    {
+      "name": "740_v2.1"
+    },
+    {
+      "name": "745_v2.2"
+    },
+    {
+      "name": "7400_v1.0"
+    },
+    {
+      "name": "7410_v1.2"
+    },
+    {
+      "name": "x2vp4"
+    },
+    {
+      "name": "MPC8555_v11"
+    },
+    {
+      "name": "MPC8541_v10"
+    },
+    {
+      "name": "405LP"
+    },
+    {
+      "name": "750fx_v2.3"
+    },
+    {
+      "name": "405EP"
+    },
+    {
+      "name": "601_v2"
+    },
+    {
+      "name": "MPC8544_v11"
+    },
+    {
+      "name": "401D2"
+    },
+    {
+      "name": "MPC8572E"
+    },
+    {
+      "name": "604e_v1.0"
+    },
+    {
+      "name": "750cx_v2.1"
+    },
+    {
+      "name": "MPC5200B_v21"
+    },
+    {
+      "name": "750l_v3.0"
+    },
+    {
+      "name": "e300c4"
+    },
+    {
+      "name": "7448_v2.0"
+    },
+    {
+      "name": "7450_v2.1"
+    },
+    {
+      "name": "G2leGP"
+    },
+    {
+      "name": "750cxe_v3.1b"
+    },
+    {
+      "name": "7400_v2.9"
+    },
+    {
+      "name": "G2GP"
+    },
+    {
+      "name": "603"
+    },
+    {
+      "name": "405GPd"
+    },
+    {
+      "name": "MPC8548E_v11"
+    },
+    {
+      "name": "603e7t"
+    },
+    {
+      "name": "IOP480"
+    },
+    {
+      "name": "750gx_v1.0"
+    },
+    {
+      "name": "MPC8560_v20"
+    },
+    {
+      "name": "405D2"
+    },
+    {
+      "name": "750fl"
+    },
+    {
+      "name": "750l_v2.0"
+    },
+    {
+      "name": "x2vp20"
+    },
+    {
+      "name": "e600"
+    },
+    {
+      "name": "7450_v1.1"
+    },
+    {
+      "name": "755_v2.4"
+    },
+    {
+      "name": "7445_v1.0"
+    },
+    {
+      "name": "G2LS"
+    },
+    {
+      "name": "MPC8543E_v20"
+    },
+    {
+      "name": "7447_v1.1"
+    },
+    {
+      "name": "603e_v2.2"
+    },
+    {
+      "name": "603e_v4"
+    },
+    {
+      "name": "7455_v3.2"
+    },
+    {
+      "name": "740_v2.0"
+    },
+    {
+      "name": "MPC8347P"
+    },
+    {
+      "name": "440EPb"
+    },
+    {
+      "name": "MPC603"
+    },
+    {
+      "name": "603e_v1.2"
+    },
+    {
+      "name": "750fx_v2.2"
+    },
+    {
+      "name": "740_v1.0"
+    },
+    {
+      "name": "MPC8544_v10"
+    },
+    {
+      "name": "601_v1"
+    },
+    {
+      "name": "745_v1.1"
+    },
+    {
+      "name": "POWER7+_v2.1"
+    },
+    {
+      "name": "750cx_v2.0"
+    },
+    {
+      "name": "MPC8347EAP"
+    },
+    {
+      "name": "401E2"
+    },
+    {
+      "name": "MPC8641D"
+    },
+    {
+      "name": "e300c3"
+    },
+    {
+      "name": "MPC8533_v10"
+    },
+    {
+      "name": "7441_v2.1"
+    },
+    {
+      "name": "740_v3.0"
+    },
+    {
+      "name": "POWER5+_v2.1"
+    },
+    {
+      "name": "602"
+    },
+    {
+      "name": "MPC8548E_v10"
+    },
+    {
+      "name": "G2leLS"
+    },
+    {
+      "name": "MPC8343"
+    },
+    {
+      "name": "750cx_v1.0"
+    },
+    {
+      "name": "750cxe_v2.2"
+    },
+    {
+      "name": "604e_v2.4"
+    },
+    {
+      "name": "755_v2.8"
+    },
+    {
+      "name": "MPC8548E_v21"
+    },
+    {
+      "name": "745_v2.6"
+    },
+    {
+      "name": "G2le"
+    },
+    {
+      "name": "403GB"
+    },
+    {
+      "name": "MPC8545E_v21"
+    },
+    {
+      "name": "POWER7_v2.3"
+    },
+    {
+      "name": "750_v2.2"
+    },
+    {
+      "name": "7450_v1.0"
+    },
+    {
+      "name": "MPC5200_v11"
+    },
+    {
+      "name": "755_v2.3"
+    },
+    {
+      "name": "MPC8347EP"
+    },
+    {
+      "name": "7410_v1.1"
+    },
+    {
+      "name": "750gl"
+    },
+    {
+      "name": "403GCX"
+    },
+    {
+      "name": "750p"
+    },
+    {
+      "name": "745_v2.1"
+    },
+    {
+      "name": "7445_v3.4"
+    },
+    {
+      "name": "G2"
+    },
+    {
+      "name": "MPC8555_v10"
+    },
+    {
+      "name": "MPC8347T"
+    },
+    {
+      "name": "603e_v3"
+    },
+    {
+      "name": "970_v2.2"
+    },
+    {
+      "name": "440-Xilinx"
+    },
+    {
+      "name": "740p"
+    },
+    {
+      "name": "MPC5200B_v20"
+    },
+    {
+      "name": "440EPX"
+    },
+    {
+      "name": "603e_v1.1"
+    },
+    {
+      "name": "7451_v2.3"
+    },
+    {
+      "name": "7450_v2.0"
+    },
+    {
+      "name": "7400_v2.8"
+    },
+    {
+      "name": "7455_v2.1"
+    },
+    {
+      "name": "405GPc"
+    },
+    {
+      "name": "MPC8347EAT"
+    },
+    {
+      "name": "970mp_v1.1"
+    },
+    {
+      "name": "603e7v2"
+    },
+    {
+      "name": "604r"
+    },
+    {
+      "name": "7447A_v1.2"
+    },
+    {
+      "name": "MPC8533E_v11"
+    },
+    {
+      "name": "e500v2_v22"
+    },
+    {
+      "name": "401F2"
+    },
+    {
+      "name": "MPC8343EA"
+    },
+    {
+      "name": "7457_v1.2"
+    },
+    {
+      "name": "970fx_v3.1"
+    },
+    {
+      "name": "7447_v1.0"
+    },
+    {
+      "name": "745_v2.5"
+    },
+    {
+      "name": "MPC8548E_v20"
+    },
+    {
+      "name": "MPC8610"
+    },
+    {
+      "name": "403GA"
+    },
+    {
+      "name": "750cxe_v2.4b"
+    },
+    {
+      "name": "MPC5200_v10"
+    },
+    {
+      "name": "7410_v1.0"
+    },
+    {
+      "name": "G2leGP3"
+    },
+    {
+      "name": "603e_v4.1"
+    },
+    {
+      "name": "7445_v3.3"
+    },
+    {
+      "name": "440EPa"
+    },
+    {
+      "name": "970fx_v2.1"
+    },
+    {
+      "name": "MPC8377E"
+    },
+    {
+      "name": "750fx_v2.1"
+    },
+    {
+      "name": "601_v0"
+    },
+    {
+      "name": "STB04"
+    },
+    {
+      "name": "745_v1.0"
+    },
+    {
+      "name": "G2HiP4"
+    },
+    {
+      "name": "750cl_v2.0"
+    },
+    {
+      "name": "750cxr"
+    },
+    {
+      "name": "MPC8349EA"
+    },
+    {
+      "name": "750cxe_v3.1"
+    },
+    {
+      "name": "401"
+    },
+    {
+      "name": "MPC8379"
+    },
+    {
+      "name": "MPC8568"
+    },
+    {
+      "name": "e300c2"
+    },
+    {
+      "name": "750_v3.1"
+    },
+    {
+      "name": "MPC8544E_v11"
+    },
+    {
+      "name": "405GPb"
+    },
+    {
+      "name": "MPC8541E_v11"
+    }
+  ],
+  "id": "libvirt-41"
+}
+
+{
+  "return": {
+    "enabled": false,
+    "present": true
+  },
+  "id": "libvirt-42"
+}
+
+{
+  "return": [
+  ],
+  "id": "libvirt-43"
+}
+
+{
+  "return": [
+  ],
+  "id": "libvirt-44"
+}
+
+{
+  "return": [
+    {
+      "parameters": [
+        {
+          "name": "timeout",
+          "help": "Request timeout in seconds (default 0 = no timeout)",
+          "type": "number"
+        },
+        {
+          "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-secret",
+          "help": "ID of the secret providing password for CHAP authentication to target",
+          "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": [
+        {
+          "name": "non-adaptive",
+          "type": "boolean"
+        },
+        {
+          "name": "lossy",
+          "type": "boolean"
+        },
+        {
+          "name": "acl",
+          "type": "boolean"
+        },
+        {
+          "name": "x509verify",
+          "type": "string"
+        },
+        {
+          "name": "tls",
+          "type": "boolean"
+        },
+        {
+          "name": "sasl",
+          "type": "boolean"
+        },
+        {
+          "name": "lock-key-sync",
+          "type": "boolean"
+        },
+        {
+          "name": "reverse",
+          "type": "boolean"
+        },
+        {
+          "name": "password",
+          "type": "boolean"
+        },
+        {
+          "name": "ipv6",
+          "type": "boolean"
+        },
+        {
+          "name": "ipv4",
+          "type": "boolean"
+        },
+        {
+          "name": "to",
+          "type": "number"
+        },
+        {
+          "name": "connections",
+          "type": "number"
+        },
+        {
+          "name": "head",
+          "type": "number"
+        },
+        {
+          "name": "display",
+          "type": "string"
+        },
+        {
+          "name": "share",
+          "type": "string"
+        },
+        {
+          "name": "x509",
+          "type": "string"
+        },
+        {
+          "name": "tls-creds",
+          "type": "string"
+        },
+        {
+          "name": "websocket",
+          "type": "string"
+        },
+        {
+          "name": "vnc",
+          "type": "string"
+        }
+      ],
+      "option": "vnc"
+    },
+    {
+      "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": "string",
+          "help": "Sets content of the blob to be inserted from a string",
+          "type": "string"
+        },
+        {
+          "name": "file",
+          "help": "Sets the name of the file from which\nthe fw_cfg blob will be loaded",
+          "type": "string"
+        },
+        {
+          "name": "name",
+          "help": "Sets the fw_cfg name of the blob to be inserted",
+          "type": "string"
+        }
+      ],
+      "option": "fw_cfg"
+    },
+    {
+      "parameters": [
+        {
+          "name": "arg",
+          "type": "string"
+        },
+        {
+          "name": "target",
+          "type": "string"
+        },
+        {
+          "name": "enable",
+          "type": "boolean"
+        }
+      ],
+      "option": "semihosting-config"
+    },
+    {
+      "parameters": [
+        {
+          "name": "rrfile",
+          "type": "string"
+        },
+        {
+          "name": "rr",
+          "type": "string"
+        },
+        {
+          "name": "sleep",
+          "type": "boolean"
+        },
+        {
+          "name": "align",
+          "type": "boolean"
+        },
+        {
+          "name": "shift",
+          "type": "string"
+        }
+      ],
+      "option": "icount"
+    },
+    {
+      "parameters": [
+      ],
+      "option": "numa"
+    },
+    {
+      "parameters": [
+        {
+          "name": "debug-threads",
+          "help": "When enabled, name the individual threads; defaults off.\nNOTE: The thread names are for debugging and not a\nstable API.",
+          "type": "boolean"
+        },
+        {
+          "name": "process",
+          "help": "Sets the name of the QEMU process, as shown in top etc",
+          "type": "string"
+        },
+        {
+          "name": "guest",
+          "help": "Sets the name of the guest.\nThis name will be displayed in the SDL window caption.\nThe name will also be used for the VNC server",
+          "type": "string"
+        }
+      ],
+      "option": "name"
+    },
+    {
+      "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": "boolean"
+        },
+        {
+          "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": "maxmem",
+          "type": "size"
+        },
+        {
+          "name": "slots",
+          "type": "number"
+        },
+        {
+          "name": "size",
+          "type": "size"
+        }
+      ],
+      "option": "memory"
+    },
+    {
+      "parameters": [
+        {
+          "name": "dea-key-wrap",
+          "help": "enable/disable DEA key wrapping using the CPACF wrapping key",
+          "type": "boolean"
+        },
+        {
+          "name": "aes-key-wrap",
+          "help": "enable/disable AES key wrapping using the CPACF wrapping key",
+          "type": "boolean"
+        },
+        {
+          "name": "suppress-vmdesc",
+          "help": "Set on to disable self-describing migration",
+          "type": "boolean"
+        },
+        {
+          "name": "iommu",
+          "help": "Set on/off to enable/disable Intel IOMMU (VT-d)",
+          "type": "boolean"
+        },
+        {
+          "name": "firmware",
+          "help": "firmware image",
+          "type": "string"
+        },
+        {
+          "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"
+        },
+        {
+          "name": "enable",
+          "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": "logappend",
+          "type": "boolean"
+        },
+        {
+          "name": "logfile",
+          "type": "string"
+        },
+        {
+          "name": "append",
+          "type": "boolean"
+        },
+        {
+          "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": "tls-creds",
+          "type": "string"
+        },
+        {
+          "name": "telnet",
+          "type": "boolean"
+        },
+        {
+          "name": "reconnect",
+          "type": "number"
+        },
+        {
+          "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": "werror",
+          "help": "write error action",
+          "type": "string"
+        },
+        {
+          "name": "rerror",
+          "help": "read error action",
+          "type": "string"
+        },
+        {
+          "name": "read-only",
+          "help": "open drive file as read-only",
+          "type": "boolean"
+        },
+        {
+          "name": "file",
+          "help": "file name",
+          "type": "string"
+        },
+        {
+          "name": "serial",
+          "help": "disk serial number",
+          "type": "string"
+        },
+        {
+          "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": "stats-account-failed",
+          "help": "whether to account for failed I/O operations in the statistics",
+          "type": "boolean"
+        },
+        {
+          "name": "stats-account-invalid",
+          "help": "whether to account for invalid I/O operations in the statistics",
+          "type": "boolean"
+        },
+        {
+          "name": "detect-zeroes",
+          "help": "try to optimize zero writes (off, on, unmap)",
+          "type": "string"
+        },
+        {
+          "name": "throttling.group",
+          "help": "name of the block throttling group",
+          "type": "string"
+        },
+        {
+          "name": "throttling.iops-size",
+          "help": "when limiting by iops max size of an I/O in bytes",
+          "type": "number"
+        },
+        {
+          "name": "throttling.bps-write-max-length",
+          "help": "length of the bps-write-max burst period, in seconds",
+          "type": "number"
+        },
+        {
+          "name": "throttling.bps-read-max-length",
+          "help": "length of the bps-read-max burst period, in seconds",
+          "type": "number"
+        },
+        {
+          "name": "throttling.bps-total-max-length",
+          "help": "length of the bps-total-max burst period, in seconds",
+          "type": "number"
+        },
+        {
+          "name": "throttling.iops-write-max-length",
+          "help": "length of the iops-write-max burst period, in seconds",
+          "type": "number"
+        },
+        {
+          "name": "throttling.iops-read-max-length",
+          "help": "length of the iops-read-max burst period, in seconds",
+          "type": "number"
+        },
+        {
+          "name": "throttling.iops-total-max-length",
+          "help": "length of the iops-total-max burst period, in seconds",
+          "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": "format",
+          "help": "disk format (raw, qcow2, ...)",
+          "type": "string"
+        },
+        {
+          "name": "cache.writeback",
+          "help": "Enable writeback mode",
+          "type": "boolean"
+        },
+        {
+          "name": "aio",
+          "help": "host AIO implementation (threads, native)",
+          "type": "string"
+        },
+        {
+          "name": "discard",
+          "help": "discard operation (ignore/off, unmap/on)",
+          "type": "string"
+        },
+        {
+          "name": "snapshot",
+          "help": "enable/disable snapshot mode",
+          "type": "boolean"
+        }
+      ],
+      "option": "drive"
+    }
+  ],
+  "id": "libvirt-45"
+}
+
+{
+  "return": [
+    {
+      "state": false,
+      "capability": "xbzrle"
+    },
+    {
+      "state": false,
+      "capability": "rdma-pin-all"
+    },
+    {
+      "state": false,
+      "capability": "auto-converge"
+    },
+    {
+      "state": false,
+      "capability": "zero-blocks"
+    },
+    {
+      "state": false,
+      "capability": "compress"
+    },
+    {
+      "state": false,
+      "capability": "events"
+    },
+    {
+      "state": false,
+      "capability": "postcopy-ram"
+    }
+  ],
+  "id": "libvirt-46"
+}
diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.ppc64le.xml b/tests/qemucapabilitiesdata/caps_2.6.0.ppc64le.xml
new file mode 100644 (file)
index 0000000..96a02a5
--- /dev/null
@@ -0,0 +1,604 @@
+<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='device'/>
+  <flag name='sdl'/>
+  <flag name='smp-topology'/>
+  <flag name='netdev'/>
+  <flag name='rtc'/>
+  <flag name='vhost-net'/>
+  <flag name='nodefconfig'/>
+  <flag name='boot-menu'/>
+  <flag name='fsdev'/>
+  <flag name='name-process'/>
+  <flag name='drive-readonly'/>
+  <flag name='smbios-type'/>
+  <flag name='vga-none'/>
+  <flag name='boot-index'/>
+  <flag name='hda-duplex'/>
+  <flag name='drive-aio'/>
+  <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='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='fsdev-readonly'/>
+  <flag name='virtio-blk-pci.scsi'/>
+  <flag name='blk-sg-io'/>
+  <flag name='drive-copy-on-read'/>
+  <flag name='cpu-host'/>
+  <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='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-host.bootindex'/>
+  <flag name='blockdev-snapshot-sync'/>
+  <flag name='VGA'/>
+  <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='nvram'/>
+  <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='usb-storage'/>
+  <flag name='usb-storage.removable'/>
+  <flag name='virtio-mmio'/>
+  <flag name='ich9-intel-hda'/>
+  <flag name='boot-strict'/>
+  <flag name='spiceport'/>
+  <flag name='usb-kbd'/>
+  <flag name='host-pci-multidomain'/>
+  <flag name='msg-timestamp'/>
+  <flag name='active-commit'/>
+  <flag name='change-backing-file'/>
+  <flag name='memory-backend-ram'/>
+  <flag name='numa'/>
+  <flag name='memory-backend-file'/>
+  <flag name='usb-audio'/>
+  <flag name='splash-timeout'/>
+  <flag name='iothread'/>
+  <flag name='migrate-rdma'/>
+  <flag name='ivshmem'/>
+  <flag name='drive-iotune-max'/>
+  <flag name='VGA.vgamem_mb'/>
+  <flag name='pc-dimm'/>
+  <flag name='machine-vmport-opt'/>
+  <flag name='aes-key-wrap'/>
+  <flag name='dea-key-wrap'/>
+  <flag name='pci-serial'/>
+  <flag name='vhost-user-multiqueue'/>
+  <flag name='migration-event'/>
+  <flag name='rtl8139'/>
+  <flag name='e1000'/>
+  <flag name='virtio-net'/>
+  <flag name='gic-version'/>
+  <flag name='incoming-defer'/>
+  <flag name='virtio-gpu'/>
+  <flag name='virtio-keyboard'/>
+  <flag name='virtio-mouse'/>
+  <flag name='virtio-tablet'/>
+  <flag name='virtio-input-host'/>
+  <flag name='chardev-file-append'/>
+  <flag name='vserport-change-event'/>
+  <flag name='virtio-balloon-pci.deflate-on-oom'/>
+  <flag name='mptsas1068'/>
+  <flag name='chardev-logfile'/>
+  <flag name='debug-threads'/>
+  <flag name='secret'/>
+  <flag name='pxb'/>
+  <flag name='pxb-pcie'/>
+  <flag name='device-tray-moved-event'/>
+  <flag name='nec-usb-xhci-ports'/>
+  <flag name='virtio-scsi-pci.iothread'/>
+  <version>2005094</version>
+  <kvmVersion>0</kvmVersion>
+  <package></package>
+  <arch>ppc64</arch>
+  <cpu name='default'/>
+  <cpu name='ppc'/>
+  <cpu name='ppc32'/>
+  <cpu name='ppc64'/>
+  <cpu name='970mp'/>
+  <cpu name='970fx'/>
+  <cpu name='970'/>
+  <cpu name='POWER8NVL'/>
+  <cpu name='POWER8'/>
+  <cpu name='POWER8E'/>
+  <cpu name='POWER7+'/>
+  <cpu name='POWER7'/>
+  <cpu name='POWER5gs'/>
+  <cpu name='POWER5+'/>
+  <cpu name='Apollo7PM'/>
+  <cpu name='7457A'/>
+  <cpu name='7447A'/>
+  <cpu name='Apollo7'/>
+  <cpu name='7457'/>
+  <cpu name='Apollo6'/>
+  <cpu name='7455'/>
+  <cpu name='7445'/>
+  <cpu name='7451'/>
+  <cpu name='7441'/>
+  <cpu name='Vger'/>
+  <cpu name='7450'/>
+  <cpu name='7448'/>
+  <cpu name='Nitro'/>
+  <cpu name='7410'/>
+  <cpu name='G4'/>
+  <cpu name='Max'/>
+  <cpu name='7400'/>
+  <cpu name='Goldfinger'/>
+  <cpu name='755'/>
+  <cpu name='745'/>
+  <cpu name='LoneStar'/>
+  <cpu name='750l'/>
+  <cpu name='750gx'/>
+  <cpu name='750fx'/>
+  <cpu name='750cxe'/>
+  <cpu name='750cx'/>
+  <cpu name='750cl'/>
+  <cpu name='Conan/Doyle'/>
+  <cpu name='G3'/>
+  <cpu name='Typhoon'/>
+  <cpu name='750'/>
+  <cpu name='Arthur'/>
+  <cpu name='740'/>
+  <cpu name='Mach5'/>
+  <cpu name='Sirocco'/>
+  <cpu name='604e'/>
+  <cpu name='Goldeneye'/>
+  <cpu name='603r'/>
+  <cpu name='Vaillant'/>
+  <cpu name='Stretch'/>
+  <cpu name='603e'/>
+  <cpu name='Vanilla'/>
+  <cpu name='601v'/>
+  <cpu name='601'/>
+  <cpu name='MPC8560'/>
+  <cpu name='MPC8555E'/>
+  <cpu name='MPC8555'/>
+  <cpu name='MPC8548E'/>
+  <cpu name='MPC8548'/>
+  <cpu name='MPC8547E'/>
+  <cpu name='MPC8545E'/>
+  <cpu name='MPC8545'/>
+  <cpu name='MPC8544E'/>
+  <cpu name='MPC8544'/>
+  <cpu name='MPC8543E'/>
+  <cpu name='MPC8543'/>
+  <cpu name='MPC8541E'/>
+  <cpu name='MPC8541'/>
+  <cpu name='MPC8540'/>
+  <cpu name='MPC8533E'/>
+  <cpu name='MPC8533'/>
+  <cpu name='e500v2'/>
+  <cpu name='e500v1'/>
+  <cpu name='e500'/>
+  <cpu name='MPC8347EA'/>
+  <cpu name='MPC8347E'/>
+  <cpu name='MPC8347A'/>
+  <cpu name='MPC8347'/>
+  <cpu name='e300'/>
+  <cpu name='e200'/>
+  <cpu name='MPC8280'/>
+  <cpu name='MPC8275'/>
+  <cpu name='MPC8272'/>
+  <cpu name='MPC8271'/>
+  <cpu name='MPC8270'/>
+  <cpu name='MPC8266_HiP4'/>
+  <cpu name='MPC8266_HiP3'/>
+  <cpu name='MPC8266'/>
+  <cpu name='MPC8265_HiP4'/>
+  <cpu name='MPC8265_HiP3'/>
+  <cpu name='MPC8265'/>
+  <cpu name='MPC8264_HiP4'/>
+  <cpu name='MPC8264_HiP3'/>
+  <cpu name='MPC8264'/>
+  <cpu name='MPC8260_HiP4'/>
+  <cpu name='MPC8260_HiP3'/>
+  <cpu name='MPC8260'/>
+  <cpu name='MPC8255_HiP4'/>
+  <cpu name='MPC8255_HiP3'/>
+  <cpu name='MPC8255'/>
+  <cpu name='MPC8250_HiP4'/>
+  <cpu name='MPC8250_HiP3'/>
+  <cpu name='MPC8250'/>
+  <cpu name='MPC8248'/>
+  <cpu name='MPC8247'/>
+  <cpu name='MPC8245'/>
+  <cpu name='MPC8241'/>
+  <cpu name='PowerQUICC-II'/>
+  <cpu name='MPC82xx'/>
+  <cpu name='MPC5200B'/>
+  <cpu name='MPC5200'/>
+  <cpu name='MPC52xx'/>
+  <cpu name='MPC8240'/>
+  <cpu name='440EP'/>
+  <cpu name='x2vp50'/>
+  <cpu name='x2vp7'/>
+  <cpu name='405GPe'/>
+  <cpu name='405GP'/>
+  <cpu name='405CR'/>
+  <cpu name='405'/>
+  <cpu name='403'/>
+  <cpu name='750cl_v1.0'/>
+  <cpu name='750cxe_v2.1'/>
+  <cpu name='7457A_v1.2'/>
+  <cpu name='755_v2.7'/>
+  <cpu name='MPC8347ET'/>
+  <cpu name='MPC8545E_v20'/>
+  <cpu name='750_v2.1'/>
+  <cpu name='755_v2.2'/>
+  <cpu name='745_v2.0'/>
+  <cpu name='7455_v1.0'/>
+  <cpu name='MPC8547E_v21'/>
+  <cpu name='STB25'/>
+  <cpu name='POWER8_v2.0'/>
+  <cpu name='401G2'/>
+  <cpu name='MPC8349A'/>
+  <cpu name='750e'/>
+  <cpu name='MPC8545_v21'/>
+  <cpu name='MPC8548_v11'/>
+  <cpu name='970fx_v2.0'/>
+  <cpu name='750fx_v2.0'/>
+  <cpu name='POWER8E_v2.1'/>
+  <cpu name='Cobra'/>
+  <cpu name='603p'/>
+  <cpu name='7400_v2.7'/>
+  <cpu name='MPC8378E'/>
+  <cpu name='e500v2_v10'/>
+  <cpu name='e500mc'/>
+  <cpu name='603e7v1'/>
+  <cpu name='970mp_v1.0'/>
+  <cpu name='MPC8555E_v11'/>
+  <cpu name='440-Xilinx-w-dfpu'/>
+  <cpu name='740e'/>
+  <cpu name='405CRc'/>
+  <cpu name='7447A_v1.1'/>
+  <cpu name='MPC8543_v11'/>
+  <cpu name='MPC8533E_v10'/>
+  <cpu name='MPC8540_v21'/>
+  <cpu name='e500v2_v21'/>
+  <cpu name='e300c1'/>
+  <cpu name='7400_v2.2'/>
+  <cpu name='970fx_v1.0'/>
+  <cpu name='750gx_v1.2'/>
+  <cpu name='750fx_v1.0'/>
+  <cpu name='MPC8641'/>
+  <cpu name='MPC8544E_v10'/>
+  <cpu name='405D4'/>
+  <cpu name='7457_v1.1'/>
+  <cpu name='970fx_v3.0'/>
+  <cpu name='604e_v2.2'/>
+  <cpu name='755_v2.6'/>
+  <cpu name='7410_v1.4'/>
+  <cpu name='Npe4GS3'/>
+  <cpu name='745_v2.4'/>
+  <cpu name='750_v2.0'/>
+  <cpu name='7445_v3.2'/>
+  <cpu name='750l_v3.2'/>
+  <cpu name='MPC8540_v10'/>
+  <cpu name='750_v1.0'/>
+  <cpu name='MPC8343A'/>
+  <cpu name='MPC8378'/>
+  <cpu name='G2HiP3'/>
+  <cpu name='750cxe_v3.0'/>
+  <cpu name='e500_v10'/>
+  <cpu name='STB03'/>
+  <cpu name='MPC8567'/>
+  <cpu name='MPC8545_v20'/>
+  <cpu name='MPC8548_v10'/>
+  <cpu name='755_v1.1'/>
+  <cpu name='603e7v'/>
+  <cpu name='Npe405H2'/>
+  <cpu name='750_v3.0'/>
+  <cpu name='Npe405H'/>
+  <cpu name='7400_v2.6'/>
+  <cpu name='405GPa'/>
+  <cpu name='MPC8548_v21'/>
+  <cpu name='MPC8541E_v10'/>
+  <cpu name='750l_v2.2'/>
+  <cpu name='MPC8555E_v10'/>
+  <cpu name='7457A_v1.1'/>
+  <cpu name='e200z6'/>
+  <cpu name='MPC8379E'/>
+  <cpu name='e500v2_v20'/>
+  <cpu name='MPC8347AP'/>
+  <cpu name='401B2'/>
+  <cpu name='MPC8349E'/>
+  <cpu name='755_v2.1'/>
+  <cpu name='MPC8543_v21'/>
+  <cpu name='MPC8547E_v20'/>
+  <cpu name='745_v2.8'/>
+  <cpu name='7455_v3.4'/>
+  <cpu name='7448_v1.1'/>
+  <cpu name='740_v2.2'/>
+  <cpu name='7400_v1.1'/>
+  <cpu name='MPC8567E'/>
+  <cpu name='7441_v2.10'/>
+  <cpu name='603e_v1.4'/>
+  <cpu name='G2leGP1'/>
+  <cpu name='7451_v2.10'/>
+  <cpu name='MPC8343E'/>
+  <cpu name='750cx_v2.2'/>
+  <cpu name='Npe405L'/>
+  <cpu name='603e7'/>
+  <cpu name='401A1'/>
+  <cpu name='MPC8377'/>
+  <cpu name='7448_v2.1'/>
+  <cpu name='7441_v2.3'/>
+  <cpu name='7400_v2.1'/>
+  <cpu name='405CRb'/>
+  <cpu name='604'/>
+  <cpu name='MPC8540_v20'/>
+  <cpu name='MPC8543_v10'/>
+  <cpu name='7447A_v1.0'/>
+  <cpu name='7445_v2.1'/>
+  <cpu name='e500_v20'/>
+  <cpu name='750gx_v1.1'/>
+  <cpu name='MPC8543E_v11'/>
+  <cpu name='750cxe_v2.4'/>
+  <cpu name='MPC8548_v20'/>
+  <cpu name='MPC8347AT'/>
+  <cpu name='POWER8NVL_v1.0'/>
+  <cpu name='7457A_v1.0'/>
+  <cpu name='7457_v1.0'/>
+  <cpu name='7450_v1.2'/>
+  <cpu name='MPC8572'/>
+  <cpu name='755_v2.5'/>
+  <cpu name='7410_v1.3'/>
+  <cpu name='745_v2.3'/>
+  <cpu name='750l_v2.1'/>
+  <cpu name='405GPR'/>
+  <cpu name='755_v2.0'/>
+  <cpu name='MPC8541_v11'/>
+  <cpu name='401C2'/>
+  <cpu name='e500v2_v30'/>
+  <cpu name='7455_v3.3'/>
+  <cpu name='405EZ'/>
+  <cpu name='MPC8568E'/>
+  <cpu name='755_v1.0'/>
+  <cpu name='603e_v1.3'/>
+  <cpu name='MPC8560_v10'/>
+  <cpu name='MPC8560_v21'/>
+  <cpu name='G2H4'/>
+  <cpu name='MPC8533_v11'/>
+  <cpu name='740_v3.1'/>
+  <cpu name='e200z5'/>
+  <cpu name='MPC8349'/>
+  <cpu name='7400_v2.0'/>
+  <cpu name='405CRa'/>
+  <cpu name='MPC8543E_v10'/>
+  <cpu name='MPC8543E_v21'/>
+  <cpu name='750cxe_v2.3'/>
+  <cpu name='MPC8543_v20'/>
+  <cpu name='745_v2.7'/>
+  <cpu name='403GC'/>
+  <cpu name='e5500'/>
+  <cpu name='7448_v1.0'/>
+  <cpu name='MPC5200_v12'/>
+  <cpu name='740_v2.1'/>
+  <cpu name='745_v2.2'/>
+  <cpu name='7400_v1.0'/>
+  <cpu name='7410_v1.2'/>
+  <cpu name='x2vp4'/>
+  <cpu name='MPC8555_v11'/>
+  <cpu name='MPC8541_v10'/>
+  <cpu name='405LP'/>
+  <cpu name='750fx_v2.3'/>
+  <cpu name='405EP'/>
+  <cpu name='601_v2'/>
+  <cpu name='MPC8544_v11'/>
+  <cpu name='401D2'/>
+  <cpu name='MPC8572E'/>
+  <cpu name='604e_v1.0'/>
+  <cpu name='750cx_v2.1'/>
+  <cpu name='MPC5200B_v21'/>
+  <cpu name='750l_v3.0'/>
+  <cpu name='e300c4'/>
+  <cpu name='7448_v2.0'/>
+  <cpu name='7450_v2.1'/>
+  <cpu name='G2leGP'/>
+  <cpu name='750cxe_v3.1b'/>
+  <cpu name='7400_v2.9'/>
+  <cpu name='G2GP'/>
+  <cpu name='603'/>
+  <cpu name='405GPd'/>
+  <cpu name='MPC8548E_v11'/>
+  <cpu name='603e7t'/>
+  <cpu name='IOP480'/>
+  <cpu name='750gx_v1.0'/>
+  <cpu name='MPC8560_v20'/>
+  <cpu name='405D2'/>
+  <cpu name='750fl'/>
+  <cpu name='750l_v2.0'/>
+  <cpu name='x2vp20'/>
+  <cpu name='e600'/>
+  <cpu name='7450_v1.1'/>
+  <cpu name='755_v2.4'/>
+  <cpu name='7445_v1.0'/>
+  <cpu name='G2LS'/>
+  <cpu name='MPC8543E_v20'/>
+  <cpu name='7447_v1.1'/>
+  <cpu name='603e_v2.2'/>
+  <cpu name='603e_v4'/>
+  <cpu name='7455_v3.2'/>
+  <cpu name='740_v2.0'/>
+  <cpu name='MPC8347P'/>
+  <cpu name='440EPb'/>
+  <cpu name='MPC603'/>
+  <cpu name='603e_v1.2'/>
+  <cpu name='750fx_v2.2'/>
+  <cpu name='740_v1.0'/>
+  <cpu name='MPC8544_v10'/>
+  <cpu name='601_v1'/>
+  <cpu name='745_v1.1'/>
+  <cpu name='POWER7+_v2.1'/>
+  <cpu name='750cx_v2.0'/>
+  <cpu name='MPC8347EAP'/>
+  <cpu name='401E2'/>
+  <cpu name='MPC8641D'/>
+  <cpu name='e300c3'/>
+  <cpu name='MPC8533_v10'/>
+  <cpu name='7441_v2.1'/>
+  <cpu name='740_v3.0'/>
+  <cpu name='POWER5+_v2.1'/>
+  <cpu name='602'/>
+  <cpu name='MPC8548E_v10'/>
+  <cpu name='G2leLS'/>
+  <cpu name='MPC8343'/>
+  <cpu name='750cx_v1.0'/>
+  <cpu name='750cxe_v2.2'/>
+  <cpu name='604e_v2.4'/>
+  <cpu name='755_v2.8'/>
+  <cpu name='MPC8548E_v21'/>
+  <cpu name='745_v2.6'/>
+  <cpu name='G2le'/>
+  <cpu name='403GB'/>
+  <cpu name='MPC8545E_v21'/>
+  <cpu name='POWER7_v2.3'/>
+  <cpu name='750_v2.2'/>
+  <cpu name='7450_v1.0'/>
+  <cpu name='MPC5200_v11'/>
+  <cpu name='755_v2.3'/>
+  <cpu name='MPC8347EP'/>
+  <cpu name='7410_v1.1'/>
+  <cpu name='750gl'/>
+  <cpu name='403GCX'/>
+  <cpu name='750p'/>
+  <cpu name='745_v2.1'/>
+  <cpu name='7445_v3.4'/>
+  <cpu name='G2'/>
+  <cpu name='MPC8555_v10'/>
+  <cpu name='MPC8347T'/>
+  <cpu name='603e_v3'/>
+  <cpu name='970_v2.2'/>
+  <cpu name='440-Xilinx'/>
+  <cpu name='740p'/>
+  <cpu name='MPC5200B_v20'/>
+  <cpu name='440EPX'/>
+  <cpu name='603e_v1.1'/>
+  <cpu name='7451_v2.3'/>
+  <cpu name='7450_v2.0'/>
+  <cpu name='7400_v2.8'/>
+  <cpu name='7455_v2.1'/>
+  <cpu name='405GPc'/>
+  <cpu name='MPC8347EAT'/>
+  <cpu name='970mp_v1.1'/>
+  <cpu name='603e7v2'/>
+  <cpu name='604r'/>
+  <cpu name='7447A_v1.2'/>
+  <cpu name='MPC8533E_v11'/>
+  <cpu name='e500v2_v22'/>
+  <cpu name='401F2'/>
+  <cpu name='MPC8343EA'/>
+  <cpu name='7457_v1.2'/>
+  <cpu name='970fx_v3.1'/>
+  <cpu name='7447_v1.0'/>
+  <cpu name='745_v2.5'/>
+  <cpu name='MPC8548E_v20'/>
+  <cpu name='MPC8610'/>
+  <cpu name='403GA'/>
+  <cpu name='750cxe_v2.4b'/>
+  <cpu name='MPC5200_v10'/>
+  <cpu name='7410_v1.0'/>
+  <cpu name='G2leGP3'/>
+  <cpu name='603e_v4.1'/>
+  <cpu name='7445_v3.3'/>
+  <cpu name='440EPa'/>
+  <cpu name='970fx_v2.1'/>
+  <cpu name='MPC8377E'/>
+  <cpu name='750fx_v2.1'/>
+  <cpu name='601_v0'/>
+  <cpu name='STB04'/>
+  <cpu name='745_v1.0'/>
+  <cpu name='G2HiP4'/>
+  <cpu name='750cl_v2.0'/>
+  <cpu name='750cxr'/>
+  <cpu name='MPC8349EA'/>
+  <cpu name='750cxe_v3.1'/>
+  <cpu name='401'/>
+  <cpu name='MPC8379'/>
+  <cpu name='MPC8568'/>
+  <cpu name='e300c2'/>
+  <cpu name='750_v3.1'/>
+  <cpu name='MPC8544E_v11'/>
+  <cpu name='405GPb'/>
+  <cpu name='MPC8541E_v11'/>
+  <machine name='pseries-2.6' alias='pseries' maxCpus='255'/>
+  <machine name='ref405ep' maxCpus='1'/>
+  <machine name='virtex-ml507' maxCpus='1'/>
+  <machine name='ppce500' maxCpus='32'/>
+  <machine name='mpc8544ds' maxCpus='15'/>
+  <machine name='bamboo' maxCpus='1'/>
+  <machine name='g3beige' maxCpus='1'/>
+  <machine name='prep' maxCpus='1'/>
+  <machine name='mac99' maxCpus='1'/>
+  <machine name='pseries-2.4' maxCpus='255'/>
+  <machine name='pseries-2.5' maxCpus='255'/>
+  <machine name='pseries-2.2' maxCpus='255'/>
+  <machine name='taihu' maxCpus='1'/>
+  <machine name='pseries-2.3' maxCpus='255'/>
+  <machine name='pseries-2.1' maxCpus='255'/>
+</qemuCaps>
diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.replies b/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.replies
new file mode 100644 (file)
index 0000000..583a5af
--- /dev/null
@@ -0,0 +1,4445 @@
+{
+  "QMP": {
+    "version": {
+      "qemu": {
+        "micro": 50,
+        "minor": 5,
+        "major": 2
+      },
+      "package": ""
+    },
+    "capabilities": [
+    ]
+  }
+}
+
+{
+  "return": {
+  },
+  "id": "libvirt-1"
+}
+
+{
+  "return": {
+    "qemu": {
+      "micro": 50,
+      "minor": 5,
+      "major": 2
+    },
+    "package": ""
+  },
+  "id": "libvirt-2"
+}
+
+{
+  "return": {
+    "arch": "x86_64"
+  },
+  "id": "libvirt-3"
+}
+
+{
+  "return": [
+    {
+      "name": "query-rocker-of-dpa-groups"
+    },
+    {
+      "name": "query-rocker-of-dpa-flows"
+    },
+    {
+      "name": "query-rocker-ports"
+    },
+    {
+      "name": "query-rocker"
+    },
+    {
+      "name": "block-set-write-threshold"
+    },
+    {
+      "name": "x-input-send-event"
+    },
+    {
+      "name": "trace-event-set-state"
+    },
+    {
+      "name": "trace-event-get-state"
+    },
+    {
+      "name": "rtc-reset-reinjection"
+    },
+    {
+      "name": "query-acpi-ospm-status"
+    },
+    {
+      "name": "query-memory-devices"
+    },
+    {
+      "name": "query-memdev"
+    },
+    {
+      "name": "query-named-block-nodes"
+    },
+    {
+      "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-parameters"
+    },
+    {
+      "name": "migrate-set-parameters"
+    },
+    {
+      "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-servers"
+    },
+    {
+      "name": "query-vnc"
+    },
+    {
+      "name": "query-mice"
+    },
+    {
+      "name": "query-status"
+    },
+    {
+      "name": "query-kvm"
+    },
+    {
+      "name": "query-pci"
+    },
+    {
+      "name": "query-iothreads"
+    },
+    {
+      "name": "query-cpus"
+    },
+    {
+      "name": "query-blockstats"
+    },
+    {
+      "name": "query-block"
+    },
+    {
+      "name": "query-chardev-backends"
+    },
+    {
+      "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": "change-backing-file"
+    },
+    {
+      "name": "drive-mirror"
+    },
+    {
+      "name": "blockdev-snapshot-delete-internal-sync"
+    },
+    {
+      "name": "blockdev-snapshot-internal-sync"
+    },
+    {
+      "name": "blockdev-snapshot-sync"
+    },
+    {
+      "name": "block-dirty-bitmap-clear"
+    },
+    {
+      "name": "block-dirty-bitmap-remove"
+    },
+    {
+      "name": "block-dirty-bitmap-add"
+    },
+    {
+      "name": "transaction"
+    },
+    {
+      "name": "block-job-complete"
+    },
+    {
+      "name": "block-job-resume"
+    },
+    {
+      "name": "block-job-pause"
+    },
+    {
+      "name": "block-job-cancel"
+    },
+    {
+      "name": "block-job-set-speed"
+    },
+    {
+      "name": "blockdev-backup"
+    },
+    {
+      "name": "drive-backup"
+    },
+    {
+      "name": "block-commit"
+    },
+    {
+      "name": "block-stream"
+    },
+    {
+      "name": "block_resize"
+    },
+    {
+      "name": "object-del"
+    },
+    {
+      "name": "object-add"
+    },
+    {
+      "name": "netdev_del"
+    },
+    {
+      "name": "netdev_add"
+    },
+    {
+      "name": "query-dump-guest-memory-capability"
+    },
+    {
+      "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-incoming"
+    },
+    {
+      "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": "DeviceNotFound",
+    "desc": "Device 'bogus' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "MEM_UNPLUG_ERROR"
+    },
+    {
+      "name": "VSERPORT_CHANGE"
+    },
+    {
+      "name": "QUORUM_REPORT_BAD"
+    },
+    {
+      "name": "QUORUM_FAILURE"
+    },
+    {
+      "name": "GUEST_PANICKED"
+    },
+    {
+      "name": "BALLOON_CHANGE"
+    },
+    {
+      "name": "ACPI_DEVICE_OST"
+    },
+    {
+      "name": "MIGRATION"
+    },
+    {
+      "name": "SPICE_MIGRATE_COMPLETED"
+    },
+    {
+      "name": "SPICE_DISCONNECTED"
+    },
+    {
+      "name": "SPICE_INITIALIZED"
+    },
+    {
+      "name": "SPICE_CONNECTED"
+    },
+    {
+      "name": "VNC_DISCONNECTED"
+    },
+    {
+      "name": "VNC_INITIALIZED"
+    },
+    {
+      "name": "VNC_CONNECTED"
+    },
+    {
+      "name": "NIC_RX_FILTER_CHANGED"
+    },
+    {
+      "name": "DEVICE_DELETED"
+    },
+    {
+      "name": "WATCHDOG"
+    },
+    {
+      "name": "RTC_CHANGE"
+    },
+    {
+      "name": "WAKEUP"
+    },
+    {
+      "name": "SUSPEND_DISK"
+    },
+    {
+      "name": "SUSPEND"
+    },
+    {
+      "name": "RESUME"
+    },
+    {
+      "name": "STOP"
+    },
+    {
+      "name": "RESET"
+    },
+    {
+      "name": "POWERDOWN"
+    },
+    {
+      "name": "SHUTDOWN"
+    },
+    {
+      "name": "DEVICE_TRAY_MOVED"
+    },
+    {
+      "name": "BLOCK_WRITE_THRESHOLD"
+    },
+    {
+      "name": "BLOCK_JOB_READY"
+    },
+    {
+      "name": "BLOCK_JOB_ERROR"
+    },
+    {
+      "name": "BLOCK_JOB_CANCELLED"
+    },
+    {
+      "name": "BLOCK_JOB_COMPLETED"
+    },
+    {
+      "name": "BLOCK_IO_ERROR"
+    },
+    {
+      "name": "BLOCK_IMAGE_CORRUPTED"
+    }
+  ],
+  "id": "libvirt-7"
+}
+
+{
+  "return": [
+    {
+      "name": "virtio-tablet-pci"
+    },
+    {
+      "name": "pc-0.13-machine"
+    },
+    {
+      "name": "fw_cfg"
+    },
+    {
+      "name": "generic-sdhci"
+    },
+    {
+      "name": "i82551"
+    },
+    {
+      "name": "i82550"
+    },
+    {
+      "name": "Westmere-x86_64-cpu"
+    },
+    {
+      "name": "e1000-82540em"
+    },
+    {
+      "name": "pci-serial-4x"
+    },
+    {
+      "name": "Penryn-x86_64-cpu"
+    },
+    {
+      "name": "Haswell-x86_64-cpu"
+    },
+    {
+      "name": "iothread"
+    },
+    {
+      "name": "pc-q35-2.3-machine"
+    },
+    {
+      "name": "icc-bridge"
+    },
+    {
+      "name": "cfi.pflash01"
+    },
+    {
+      "name": "virtio-gpu-device"
+    },
+    {
+      "name": "Opteron_G3-x86_64-cpu"
+    },
+    {
+      "name": "Broadwell-x86_64-cpu"
+    },
+    {
+      "name": "piix3-ide"
+    },
+    {
+      "name": "isa-parallel"
+    },
+    {
+      "name": "pc-q35-2.4-machine"
+    },
+    {
+      "name": "i2c-bus"
+    },
+    {
+      "name": "megasas"
+    },
+    {
+      "name": "usb-braille"
+    },
+    {
+      "name": "vmware-svga"
+    },
+    {
+      "name": "pc-i440fx-2.0-machine"
+    },
+    {
+      "name": "PIIX3-xen"
+    },
+    {
+      "name": "ccid-bus"
+    },
+    {
+      "name": "scsi-cd"
+    },
+    {
+      "name": "isa-serial"
+    },
+    {
+      "name": "usb-ehci"
+    },
+    {
+      "name": "user-creatable"
+    },
+    {
+      "name": "container"
+    },
+    {
+      "name": "host-x86_64-cpu"
+    },
+    {
+      "name": "pci-serial-2x"
+    },
+    {
+      "name": "piix4-ide"
+    },
+    {
+      "name": "scsi-generic"
+    },
+    {
+      "name": "pc-1.0-machine"
+    },
+    {
+      "name": "virtio-net-pci"
+    },
+    {
+      "name": "pc-dimm"
+    },
+    {
+      "name": "pc-q35-1.7-machine"
+    },
+    {
+      "name": "Haswell-noTSX-x86_64-cpu"
+    },
+    {
+      "name": "pc-i440fx-2.1-machine"
+    },
+    {
+      "name": "virtio-mouse-device"
+    },
+    {
+      "name": "virtio-mouse-pci"
+    },
+    {
+      "name": "isa-debugcon"
+    },
+    {
+      "name": "ide-hd"
+    },
+    {
+      "name": "virtio-vga"
+    },
+    {
+      "name": "qemu64-x86_64-cpu"
+    },
+    {
+      "name": "rng-egd"
+    },
+    {
+      "name": "isa-pcspk"
+    },
+    {
+      "name": "isa-pit"
+    },
+    {
+      "name": "pc-1.1-machine"
+    },
+    {
+      "name": "ich9-usb-ehci1"
+    },
+    {
+      "name": "ich9-usb-ehci2"
+    },
+    {
+      "name": "pxb-host"
+    },
+    {
+      "name": "intel-iommu"
+    },
+    {
+      "name": "irq"
+    },
+    {
+      "name": "cirrus-vga"
+    },
+    {
+      "name": "virtconsole"
+    },
+    {
+      "name": "virtio-rng-pci"
+    },
+    {
+      "name": "PCIE"
+    },
+    {
+      "name": "pentium3-x86_64-cpu"
+    },
+    {
+      "name": "qxl-vga"
+    },
+    {
+      "name": "ioapic"
+    },
+    {
+      "name": "kvm-pit"
+    },
+    {
+      "name": "pc-0.14-machine"
+    },
+    {
+      "name": "pc-i440fx-1.4-machine"
+    },
+    {
+      "name": "pc-q35-2.0-machine"
+    },
+    {
+      "name": "usb-host"
+    },
+    {
+      "name": "usb-bus"
+    },
+    {
+      "name": "vhost-scsi-pci"
+    },
+    {
+      "name": "usb-kbd"
+    },
+    {
+      "name": "486-x86_64-cpu"
+    },
+    {
+      "name": "ES1370"
+    },
+    {
+      "name": "gus"
+    },
+    {
+      "name": "PIIX3"
+    },
+    {
+      "name": "isa-applesmc"
+    },
+    {
+      "name": "kvm-pci-assign"
+    },
+    {
+      "name": "i82559er"
+    },
+    {
+      "name": "q35-pcihost"
+    },
+    {
+      "name": "e1000-82545em"
+    },
+    {
+      "name": "pc-i440fx-1.5-machine"
+    },
+    {
+      "name": "usb-bt-dongle"
+    },
+    {
+      "name": "AC97"
+    },
+    {
+      "name": "i6300esb"
+    },
+    {
+      "name": "mc146818rtc"
+    },
+    {
+      "name": "e1000-82544gc"
+    },
+    {
+      "name": "PIIX4_PM"
+    },
+    {
+      "name": "piix4-usb-uhci"
+    },
+    {
+      "name": "sysbus-ahci"
+    },
+    {
+      "name": "virtio-tablet-device"
+    },
+    {
+      "name": "kvm-ioapic"
+    },
+    {
+      "name": "pvpanic"
+    },
+    {
+      "name": "core2duo-x86_64-cpu"
+    },
+    {
+      "name": "virtio-9p-pci"
+    },
+    {
+      "name": "scsi-disk"
+    },
+    {
+      "name": "acpi-device-interface"
+    },
+    {
+      "name": "sb16"
+    },
+    {
+      "name": "pc-0.15-machine"
+    },
+    {
+      "name": "usb-mouse"
+    },
+    {
+      "name": "piix3-usb-uhci"
+    },
+    {
+      "name": "vfio-calxeda-xgmac"
+    },
+    {
+      "name": "virtio-scsi-device"
+    },
+    {
+      "name": "virtio-blk-pci"
+    },
+    {
+      "name": "virtio-9p-device"
+    },
+    {
+      "name": "hda-output"
+    },
+    {
+      "name": "SUNW,fdtwo"
+    },
+    {
+      "name": "tpci200"
+    },
+    {
+      "name": "Opteron_G4-x86_64-cpu"
+    },
+    {
+      "name": "pc-q35-1.4-machine"
+    },
+    {
+      "name": "virtio-mmio"
+    },
+    {
+      "name": "qemu-console"
+    },
+    {
+      "name": "isa-i8259"
+    },
+    {
+      "name": "System"
+    },
+    {
+      "name": "pvscsi"
+    },
+    {
+      "name": "virtio-net-device"
+    },
+    {
+      "name": "usb-hub"
+    },
+    {
+      "name": "IvyBridge-x86_64-cpu"
+    },
+    {
+      "name": "hda-duplex"
+    },
+    {
+      "name": "pc-i440fx-2.3-machine"
+    },
+    {
+      "name": "virtio-keyboard-pci"
+    },
+    {
+      "name": "pci-ohci"
+    },
+    {
+      "name": "isapc-machine"
+    },
+    {
+      "name": "ipoctal232"
+    },
+    {
+      "name": "pc-1.2-machine"
+    },
+    {
+      "name": "xio3130-downstream"
+    },
+    {
+      "name": "ide-cd"
+    },
+    {
+      "name": "pc-i440fx-2.2-machine"
+    },
+    {
+      "name": "isabus-bridge"
+    },
+    {
+      "name": "nec-usb-xhci"
+    },
+    {
+      "name": "memory-backend-file"
+    },
+    {
+      "name": "isa-ide"
+    },
+    {
+      "name": "virtio-keyboard-device"
+    },
+    {
+      "name": "megasas-gen2"
+    },
+    {
+      "name": "isa-vga"
+    },
+    {
+      "name": "qemu:memory-region"
+    },
+    {
+      "name": "rng-random"
+    },
+    {
+      "name": "hotplug-handler"
+    },
+    {
+      "name": "kvm-i8259"
+    },
+    {
+      "name": "i440FX-pcihost"
+    },
+    {
+      "name": "qemu32-x86_64-cpu"
+    },
+    {
+      "name": "tpm-tis"
+    },
+    {
+      "name": "tpm-passthrough"
+    },
+    {
+      "name": "apic"
+    },
+    {
+      "name": "isa-debug-exit"
+    },
+    {
+      "name": "pc-0.10-machine"
+    },
+    {
+      "name": "pc-testdev"
+    },
+    {
+      "name": "rocker"
+    },
+    {
+      "name": "Opteron_G1-x86_64-cpu"
+    },
+    {
+      "name": "sga"
+    },
+    {
+      "name": "pcnet"
+    },
+    {
+      "name": "ivshmem"
+    },
+    {
+      "name": "hpet"
+    },
+    {
+      "name": "adlib"
+    },
+    {
+      "name": "lsi53c895a"
+    },
+    {
+      "name": "pxb-bus"
+    },
+    {
+      "name": "usb-audio"
+    },
+    {
+      "name": "usb-wacom-tablet"
+    },
+    {
+      "name": "pc-0.11-machine"
+    },
+    {
+      "name": "kvm-apic"
+    },
+    {
+      "name": "phenom-x86_64-cpu"
+    },
+    {
+      "name": "fw_cfg_io"
+    },
+    {
+      "name": "ioh3420"
+    },
+    {
+      "name": "pc-q35-2.1-machine"
+    },
+    {
+      "name": "cs4231a"
+    },
+    {
+      "name": "dc390"
+    },
+    {
+      "name": "nvme"
+    },
+    {
+      "name": "i82801b11-bridge"
+    },
+    {
+      "name": "kvmvapic"
+    },
+    {
+      "name": "fw-path-provider"
+    },
+    {
+      "name": "usb-net"
+    },
+    {
+      "name": "pci-bridge-seat"
+    },
+    {
+      "name": "mch"
+    },
+    {
+      "name": "usb-tablet"
+    },
+    {
+      "name": "vhost-scsi"
+    },
+    {
+      "name": "usb-ccid"
+    },
+    {
+      "name": "pc-i440fx-1.7-machine"
+    },
+    {
+      "name": "tcg-accel"
+    },
+    {
+      "name": "virtio-mmio-bus"
+    },
+    {
+      "name": "pc-q35-2.2-machine"
+    },
+    {
+      "name": "usb-bot"
+    },
+    {
+      "name": "ICH9-LPC"
+    },
+    {
+      "name": "edu"
+    },
+    {
+      "name": "accel"
+    },
+    {
+      "name": "pc-i440fx-1.6-machine"
+    },
+    {
+      "name": "kvmclock"
+    },
+    {
+      "name": "lsi53c810"
+    },
+    {
+      "name": "isa-cirrus-vga"
+    },
+    {
+      "name": "virtio-serial-bus"
+    },
+    {
+      "name": "ib700"
+    },
+    {
+      "name": "SandyBridge-x86_64-cpu"
+    },
+    {
+      "name": "esp"
+    },
+    {
+      "name": "virtio-balloon-device"
+    },
+    {
+      "name": "ccid-card-passthru"
+    },
+    {
+      "name": "ich9-usb-uhci5"
+    },
+    {
+      "name": "qxl"
+    },
+    {
+      "name": "intel-hda"
+    },
+    {
+      "name": "ich9-usb-uhci6"
+    },
+    {
+      "name": "pci-bridge"
+    },
+    {
+      "name": "virtio-serial-device"
+    },
+    {
+      "name": "ich9-usb-uhci3"
+    },
+    {
+      "name": "ICH9 SMB"
+    },
+    {
+      "name": "ich9-usb-uhci4"
+    },
+    {
+      "name": "piix3-ide-xen"
+    },
+    {
+      "name": "virtio-input-host-device"
+    },
+    {
+      "name": "icc-bus"
+    },
+    {
+      "name": "vmxnet3"
+    },
+    {
+      "name": "IDE"
+    },
+    {
+      "name": "VGA"
+    },
+    {
+      "name": "pci-testdev"
+    },
+    {
+      "name": "ich9-usb-uhci2"
+    },
+    {
+      "name": "ich9-usb-uhci1"
+    },
+    {
+      "name": "x3130-upstream"
+    },
+    {
+      "name": "none-machine"
+    },
+    {
+      "name": "sysbus-fdc"
+    },
+    {
+      "name": "SCSI"
+    },
+    {
+      "name": "n270-x86_64-cpu"
+    },
+    {
+      "name": "pci-serial"
+    },
+    {
+      "name": "pc-q35-1.5-machine"
+    },
+    {
+      "name": "athlon-x86_64-cpu"
+    },
+    {
+      "name": "ISA"
+    },
+    {
+      "name": "i8042"
+    },
+    {
+      "name": "kvm-accel"
+    },
+    {
+      "name": "secret"
+    },
+    {
+      "name": "i82559c"
+    },
+    {
+      "name": "i82559b"
+    },
+    {
+      "name": "i82559a"
+    },
+    {
+      "name": "scsi-hd"
+    },
+    {
+      "name": "qtest-accel"
+    },
+    {
+      "name": "virtio-balloon-pci"
+    },
+    {
+      "name": "hda-micro"
+    },
+    {
+      "name": "scsi-block"
+    },
+    {
+      "name": "virtio-scsi-pci"
+    },
+    {
+      "name": "rtl8139"
+    },
+    {
+      "name": "vmmouse"
+    },
+    {
+      "name": "ich9-intel-hda"
+    },
+    {
+      "name": "usb-mtp"
+    },
+    {
+      "name": "ide-drive"
+    },
+    {
+      "name": "fw_cfg_mem"
+    },
+    {
+      "name": "PCI"
+    },
+    {
+      "name": "Opteron_G5-x86_64-cpu"
+    },
+    {
+      "name": "vmport"
+    },
+    {
+      "name": "coreduo-x86_64-cpu"
+    },
+    {
+      "name": "virtio-serial-pci"
+    },
+    {
+      "name": "pc-q35-1.6-machine"
+    },
+    {
+      "name": "virtio-input-host-pci"
+    },
+    {
+      "name": "virtio-pci-bus"
+    },
+    {
+      "name": "pentium2-x86_64-cpu"
+    },
+    {
+      "name": "nmi"
+    },
+    {
+      "name": "i82558b"
+    },
+    {
+      "name": "i82558a"
+    },
+    {
+      "name": "pc-0.12-machine"
+    },
+    {
+      "name": "am53c974"
+    },
+    {
+      "name": "sdhci-pci"
+    },
+    {
+      "name": "port92"
+    },
+    {
+      "name": "pxb"
+    },
+    {
+      "name": "pxb-pcie"
+    },
+    {
+      "name": "kvm64-x86_64-cpu"
+    },
+    {
+      "name": "e1000"
+    },
+    {
+      "name": "Conroe-x86_64-cpu"
+    },
+    {
+      "name": "ne2k_isa"
+    },
+    {
+      "name": "pc-1.3-machine"
+    },
+    {
+      "name": "HDA"
+    },
+    {
+      "name": "usb-storage"
+    },
+    {
+      "name": "usb-serial"
+    },
+    {
+      "name": "usb-uas"
+    },
+    {
+      "name": "pc-i440fx-2.4-machine"
+    },
+    {
+      "name": "sysbus-ohci"
+    },
+    {
+      "name": "usb-redir"
+    },
+    {
+      "name": "i82801"
+    },
+    {
+      "name": "Broadwell-noTSX-x86_64-cpu"
+    },
+    {
+      "name": "i82557c"
+    },
+    {
+      "name": "i82557b"
+    },
+    {
+      "name": "i82557a"
+    },
+    {
+      "name": "Nehalem-x86_64-cpu"
+    },
+    {
+      "name": "memory-backend-ram"
+    },
+    {
+      "name": "QJSON"
+    },
+    {
+      "name": "virtserialport"
+    },
+    {
+      "name": "i440FX"
+    },
+    {
+      "name": "ne2k_pci"
+    },
+    {
+      "name": "smbus-eeprom"
+    },
+    {
+      "name": "i82562"
+    },
+    {
+      "name": "ich9-ahci"
+    },
+    {
+      "name": "virtio-rng-device"
+    },
+    {
+      "name": "isa-fdc"
+    },
+    {
+      "name": "kvm32-x86_64-cpu"
+    },
+    {
+      "name": "Opteron_G2-x86_64-cpu"
+    },
+    {
+      "name": "vfio-pci"
+    },
+    {
+      "name": "IndustryPack"
+    },
+    {
+      "name": "virtio-gpu-pci"
+    },
+    {
+      "name": "vt82c686b-usb-uhci"
+    },
+    {
+      "name": "secondary-vga"
+    },
+    {
+      "name": "pentium-x86_64-cpu"
+    },
+    {
+      "name": "virtio-blk-device"
+    }
+  ],
+  "id": "libvirt-8"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "iothread",
+      "type": "link<iothread>"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-data-plane",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "request-merging",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "scsi",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "config-wce",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "secs",
+      "type": "uint32"
+    },
+    {
+      "name": "heads",
+      "type": "uint32"
+    },
+    {
+      "name": "cyls",
+      "type": "uint32"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-blk-device>"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "ioeventfd",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "class",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-9"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "tx",
+      "type": "str"
+    },
+    {
+      "name": "x-txburst",
+      "type": "int32"
+    },
+    {
+      "name": "x-txtimer",
+      "type": "uint32"
+    },
+    {
+      "name": "netdev",
+      "description": "ID of a netdev to use as a backend",
+      "type": "str"
+    },
+    {
+      "name": "vlan",
+      "description": "Integer VLAN id to connect to",
+      "type": "int32"
+    },
+    {
+      "name": "mac",
+      "description": "Ethernet 6-byte MAC Address, example: 52:54:00:12:34:56",
+      "type": "str"
+    },
+    {
+      "name": "mq",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_guest_offloads",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_mac_addr",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_rx_extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_vlan",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_rx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "ctrl_vq",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "status",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "mrg_rxbuf",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host_ufo",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host_ecn",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host_tso6",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host_tso4",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_announce",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_ufo",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_ecn",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_tso6",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_tso4",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "gso",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest_csum",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "csum",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-net-device>"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "ioeventfd",
+      "description": "on/off",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-10"
+}
+
+{
+    "return": [
+        {
+            "name": "disable-modern",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "ioeventfd",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "virtio-pci-bus-master-bug-migration",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "event_idx",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "cmd_per_lun",
+            "type": "uint32"
+        },
+        {
+            "name": "indirect_desc",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "param_change",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "iothread",
+            "type": "link<iothread>"
+        },
+        {
+            "name": "multifunction",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "migrate-extra",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "notify_on_empty",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "hotplug",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "modern-pio-notify",
+            "description": "on/off",
+            "type":"bool"
+        },
+        {
+            "name": "num_queues",
+            "type": "uint32"
+        },
+        {
+            "name": "romfile",
+            "type": "str"
+        },
+        {
+            "name": "virtio-backend",
+            "type": "child<virtio-scsi-device>"
+        },
+        {
+            "name": "disable-legacy",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "command_serr_enable",
+            "description":"on/off",
+            "type": "bool"
+        },
+        {
+            "name": "vectors",
+            "type": "uint32"
+        },
+        {
+            "name": "x-disable-pcie",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "addr",
+            "description": "Slot and optional function number, example: 06.0 or 06",
+            "type": "int32"
+        },
+        {
+            "name": "any_layout",
+            "description": "on/off",
+            "type": "bool"
+        },
+        {
+            "name": "max_sectors",
+            "type": "uint32"
+        },
+        {
+            "name": "rombar",
+            "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": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "configfd",
+      "type": "str"
+    },
+    {
+      "name": "share_intx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "prefer_msi",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "host",
+      "description": "Address (bus/device/function) of the host device, example: 04:10.0",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-18"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "x-mmap",
+      "type": "bool"
+    },
+    {
+      "name": "x-req",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-vga",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-intx-mmap-timeout-ms",
+      "type": "uint32"
+    },
+    {
+      "name": "host",
+      "description": "Address (bus/device/function) of the host device, example: 04:10.0",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-19"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "lun",
+      "type": "uint32"
+    },
+    {
+      "name": "scsi-id",
+      "type": "uint32"
+    },
+    {
+      "name": "channel",
+      "type": "uint32"
+    },
+    {
+      "name": "max_io_size",
+      "type": "uint64"
+    },
+    {
+      "name": "max_unmap_size",
+      "type": "uint64"
+    },
+    {
+      "name": "port_index",
+      "type": "uint16"
+    },
+    {
+      "name": "port_wwn",
+      "type": "uint64"
+    },
+    {
+      "name": "wwn",
+      "type": "uint64"
+    },
+    {
+      "name": "dpofua",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "removable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "product",
+      "type": "str"
+    },
+    {
+      "name": "vendor",
+      "type": "str"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "ver",
+      "type": "str"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-20"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "unit",
+      "type": "uint32"
+    },
+    {
+      "name": "model",
+      "type": "str"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "wwn",
+      "type": "uint64"
+    },
+    {
+      "name": "ver",
+      "type": "str"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-21"
+}
+
+{
+  "return": [
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "memory-hotplug-support",
+      "type": "bool"
+    },
+    {
+      "name": "acpi-pci-hotplug-with-bridge-support",
+      "type": "bool"
+    },
+    {
+      "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": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "msos-desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "full-path",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "port",
+      "type": "str"
+    },
+    {
+      "name": "filter",
+      "type": "str"
+    },
+    {
+      "name": "debug",
+      "type": "uint8"
+    },
+    {
+      "name": "chardev",
+      "description": "ID of a chardev to use as a backend",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-23"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "msos-desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "full-path",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "port",
+      "type": "str"
+    },
+    {
+      "name": "pipeline",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "loglevel",
+      "type": "uint32"
+    },
+    {
+      "name": "isobsize",
+      "type": "uint32"
+    },
+    {
+      "name": "isobufs",
+      "type": "uint32"
+    },
+    {
+      "name": "productid",
+      "type": "uint32"
+    },
+    {
+      "name": "vendorid",
+      "type": "uint32"
+    },
+    {
+      "name": "hostport",
+      "type": "str"
+    },
+    {
+      "name": "hostaddr",
+      "type": "uint32"
+    },
+    {
+      "name": "hostbus",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-24"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "lun",
+      "type": "uint32"
+    },
+    {
+      "name": "scsi-id",
+      "type": "uint32"
+    },
+    {
+      "name": "channel",
+      "type": "uint32"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-25"
+}
+
+{
+  "return": [
+    {
+      "name": "pci-hole64-end",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole64-start",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole-end",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole-start",
+      "type": "int"
+    },
+    {
+      "name": "pci-conf-data[0]",
+      "type": "child<qemu:memory-region>"
+    },
+    {
+      "name": "pci-conf-idx[0]",
+      "type": "child<qemu:memory-region>"
+    },
+    {
+      "name": "short_root_bus",
+      "type": "uint32"
+    },
+    {
+      "name": "pci-hole64-size",
+      "type": "size"
+    }
+  ],
+  "id": "libvirt-26"
+}
+
+{
+  "return": [
+    {
+      "name": "mcfg_size",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole64-end",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole64-start",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole-end",
+      "type": "int"
+    },
+    {
+      "name": "pci-hole-start",
+      "type": "int"
+    },
+    {
+      "name": "mch",
+      "type": "child<mch>"
+    },
+    {
+      "name": "pci-conf-data[0]",
+      "type": "child<qemu:memory-region>"
+    },
+    {
+      "name": "pci-conf-idx[0]",
+      "type": "child<qemu:memory-region>"
+    },
+    {
+      "name": "pcie-mmcfg-mmio[0]",
+      "type": "child<qemu:memory-region>"
+    },
+    {
+      "name": "short_root_bus",
+      "type": "uint32"
+    },
+    {
+      "name": "pci-hole64-size",
+      "type": "size"
+    },
+    {
+      "name": "MCFG",
+      "type": "uint64"
+    }
+  ],
+  "id": "libvirt-27"
+}
+
+{
+  "return": [
+    {
+      "name": "bootindex",
+      "type": "int32"
+    },
+    {
+      "name": "msos-desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "full-path",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "serial",
+      "type": "str"
+    },
+    {
+      "name": "port",
+      "type": "str"
+    },
+    {
+      "name": "removable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "discard_granularity",
+      "type": "uint32"
+    },
+    {
+      "name": "opt_io_size",
+      "type": "uint32"
+    },
+    {
+      "name": "min_io_size",
+      "type": "uint16"
+    },
+    {
+      "name": "physical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "logical_block_size",
+      "description": "A power of two between 512 and 32768",
+      "type": "uint16"
+    },
+    {
+      "name": "drive",
+      "description": "ID of a drive to use as a backend",
+      "type": "str"
+    }
+  ],
+  "id": "libvirt-28"
+}
+
+{
+  "return": [
+    {
+      "name": "lost_tick_policy",
+      "type": "LostTickPolicy"
+    },
+    {
+      "name": "iobase",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-29"
+}
+
+{
+  "return": [
+    {
+      "name": "big-endian-framebuffer",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "qemu-extended-regs",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "mmio",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vgamem_mb",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-30"
+}
+
+{
+  "return": [
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "vgamem_mb",
+      "type": "uint32"
+    }
+  ],
+  "id": "libvirt-31"
+}
+
+{
+  "return": [
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "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",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "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"
+}
+
+{
+  "return": [
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virgl",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "max_outputs",
+      "type": "uint32"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-gpu-device>"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "vectors",
+      "type": "uint32"
+    },
+    {
+      "name": "ioeventfd",
+      "description": "on/off",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-34"
+}
+
+{
+  "return":  [
+    {
+      "type": "bool",
+      "name": "memory-hotplug-support"
+    },
+    {
+      "type": "uint32",
+      "name": "rombar"
+    },
+    {
+      "type": "uint32",
+      "name": "sci_int"
+    },
+    {
+      "type": "uint32",
+      "name": "gpe0_blk_len"
+    },
+    {
+      "type": "uint32",
+      "name": "pm_io_base"
+    },
+    {
+      "type": "bool",
+      "name": "noreboot"
+    },
+    {
+      "type": "bool",
+      "name": "multifunction",
+      "description": "on/off"
+    },
+    {
+      "type": "uint8",
+      "name": "disable_s4"
+    },
+    {
+      "type": "uint8",
+      "name": "acpi_disable_cmd"
+    },
+    {
+      "type": "str",
+      "name": "romfile"
+    },
+    {
+      "type": "uint8",
+      "name": "disable_s3"
+    },
+    {
+      "type": "uint8",
+      "name": "s4_val"
+    },
+    {
+      "type": "uint8",
+      "name": "acpi_enable_cmd"
+    },
+    {
+      "type": "bool",
+      "name": "command_serr_enable",
+      "description": "on/off"
+    },
+    {
+      "type": "int32",
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06"
+    },
+    {
+      "type": "bool",
+      "name": "enable_tco"
+    },
+    {
+      "type": "uint32",
+      "name": "gpe0_blk"
+    }
+  ],
+  "id": "libvirt-35"
+}
+
+
+{
+  "return": [
+    {
+      "name": "disable-modern",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "rombar",
+      "type": "uint32"
+    },
+    {
+      "name": "virtio-pci-bus-master-bug-migration",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "class",
+      "type": "uint32"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest-stats-polling-interval",
+      "type": "int"
+    },
+    {
+      "name": "guest-stats",
+      "type": "guest statistics"
+    },
+    {
+      "name": "multifunction",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "migrate-extra",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "modern-pio-notify",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "romfile",
+      "type": "str"
+    },
+    {
+      "name": "virtio-backend",
+      "type": "child<virtio-balloon-device>"
+    },
+    {
+      "name": "disable-legacy",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "command_serr_enable",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "x-disable-pcie",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "addr",
+      "description": "Slot and optional function number, example: 06.0 or 06",
+      "type": "int32"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "deflate-on-oom",
+      "description": "on/off",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-36"
+}
+
+{
+  "id": "libvirt-37",
+  "error": {
+    "class": "DeviceNotFound",
+    "desc": "Device 'virtio-balloon-ccw' not found"
+  }
+}
+
+{
+  "return": [
+    {
+      "name": "notify_on_empty",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "any_layout",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "indirect_desc",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "guest-stats-polling-interval",
+      "type": "int"
+    },
+    {
+      "name": "guest-stats",
+      "type": "guest statistics"
+    },
+    {
+      "name": "event_idx",
+      "description": "on/off",
+      "type": "bool"
+    },
+    {
+      "name": "deflate-on-oom",
+      "description": "on/off",
+      "type": "bool"
+    }
+  ],
+  "id": "libvirt-38"
+}
+
+{
+    "return": [
+        {
+            "name": "msi",
+            "type": "on/off"
+        },
+        {
+            "name": "msix",
+            "type": "on/off"
+        },
+        {
+            "name": "superspeed-ports-first",
+            "type": "on/off"
+        },
+        {
+            "name": "force-pcie-endcap",
+            "type": "on/off"
+        },
+        {
+            "name": "streams",
+            "type": "on/off"
+        },
+        {
+            "name": "intrs",
+            "type": "uint32"
+        },
+        {
+            "name": "slots",
+            "type": "uint32"
+        },
+        {
+            "name": "2",
+            "type": "uint32"
+        },
+        {
+            "name": "p3",
+            "type": "uint32"
+        }
+    ]
+}
+
+{
+  "return": [
+    {
+      "name": "pc-i440fx-2.4",
+      "is-default": true,
+      "cpu-max": 255,
+      "alias": "pc"
+    },
+    {
+      "name": "pc-1.3",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.12",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-1.6",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-1.5",
+      "cpu-max": 255
+    },
+    {
+      "name": "none",
+      "cpu-max": 1
+    },
+    {
+      "name": "pc-i440fx-1.6",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-2.2",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-1.7",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-2.1",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.11",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.10",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-2.2",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-1.2",
+      "cpu-max": 255
+    },
+    {
+      "name": "isapc",
+      "cpu-max": 1
+    },
+    {
+      "name": "pc-i440fx-2.3",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-1.4",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.15",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-1.5",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-2.0",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-1.4",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.14",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-1.1",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-2.1",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-1.7",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-1.0",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-i440fx-2.0",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-q35-2.4",
+      "cpu-max": 255,
+      "alias": "q35"
+    },
+    {
+      "name": "pc-q35-2.3",
+      "cpu-max": 255
+    },
+    {
+      "name": "pc-0.13",
+      "cpu-max": 255
+    }
+  ],
+  "id": "libvirt-39"
+}
+
+{
+  "return": [
+    {
+      "name": "Opteron_G5"
+    },
+    {
+      "name": "Opteron_G4"
+    },
+    {
+      "name": "Opteron_G3"
+    },
+    {
+      "name": "Opteron_G2"
+    },
+    {
+      "name": "Opteron_G1"
+    },
+    {
+      "name": "Broadwell"
+    },
+    {
+      "name": "Broadwell-noTSX"
+    },
+    {
+      "name": "Haswell"
+    },
+    {
+      "name": "Haswell-noTSX"
+    },
+    {
+      "name": "IvyBridge"
+    },
+    {
+      "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": [
+    "tpm-tis"
+  ],
+  "id": "libvirt-42"
+}
+
+{
+  "return": [
+    "passthrough"
+  ],
+  "id": "libvirt-43"
+}
+
+{
+  "return": [
+    {
+      "parameters": [
+        {
+          "name": "timeout",
+          "help": "Request timeout in seconds (default 0 = no timeout)",
+          "type": "number"
+        },
+        {
+          "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": [
+        {
+          "name": "non-adaptive",
+          "type": "boolean"
+        },
+        {
+          "name": "lossy",
+          "type": "boolean"
+        },
+        {
+          "name": "acl",
+          "type": "boolean"
+        },
+        {
+          "name": "x509verify",
+          "type": "string"
+        },
+        {
+          "name": "tls",
+          "type": "boolean"
+        },
+        {
+          "name": "sasl",
+          "type": "boolean"
+        },
+        {
+          "name": "lock-key-sync",
+          "type": "boolean"
+        },
+        {
+          "name": "reverse",
+          "type": "boolean"
+        },
+        {
+          "name": "password",
+          "type": "boolean"
+        },
+        {
+          "name": "ipv6",
+          "type": "boolean"
+        },
+        {
+          "name": "ipv4",
+          "type": "boolean"
+        },
+        {
+          "name": "to",
+          "type": "number"
+        },
+        {
+          "name": "connections",
+          "type": "number"
+        },
+        {
+          "name": "head",
+          "type": "number"
+        },
+        {
+          "name": "display",
+          "type": "string"
+        },
+        {
+          "name": "share",
+          "type": "string"
+        },
+        {
+          "name": "x509",
+          "type": "string"
+        },
+        {
+          "name": "websocket",
+          "type": "string"
+        },
+        {
+          "name": "vnc",
+          "type": "string"
+        }
+      ],
+      "option": "vnc"
+    },
+    {
+      "parameters": [
+        {
+          "name": "gl",
+          "type": "boolean"
+        },
+        {
+          "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": [
+      ],
+      "option": "smbios"
+    },
+    {
+      "parameters": [
+        {
+          "name": "file",
+          "help": "Sets the name of the file from which\nthe fw_cfg blob will be loaded",
+          "type": "string"
+        },
+        {
+          "name": "name",
+          "help": "Sets the fw_cfg name of the blob to be inserted",
+          "type": "string"
+        }
+      ],
+      "option": "fw_cfg"
+    },
+    {
+      "parameters": [
+        {
+          "name": "arg",
+          "type": "string"
+        },
+        {
+          "name": "target",
+          "type": "string"
+        },
+        {
+          "name": "enable",
+          "type": "boolean"
+        }
+      ],
+      "option": "semihosting-config"
+    },
+    {
+      "parameters": [
+        {
+          "name": "sleep",
+          "type": "boolean"
+        },
+        {
+          "name": "align",
+          "type": "boolean"
+        },
+        {
+          "name": "shift",
+          "type": "string"
+        }
+      ],
+      "option": "icount"
+    },
+    {
+      "parameters": [
+      ],
+      "option": "numa"
+    },
+    {
+      "parameters": [
+        {
+          "name": "debug-threads",
+          "help": "When enabled, name the individual threads; defaults off.\nNOTE: The thread names are for debugging and not a\nstable API.",
+          "type": "boolean"
+        },
+        {
+          "name": "process",
+          "help": "Sets the name of the QEMU process, as shown in top etc",
+          "type": "string"
+        },
+        {
+          "name": "guest",
+          "help": "Sets the name of the guest.\nThis name will be displayed in the SDL window caption.\nThe name will also be used for the VNC server",
+          "type": "string"
+        }
+      ],
+      "option": "name"
+    },
+    {
+      "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": "boolean"
+        },
+        {
+          "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": "maxmem",
+          "type": "size"
+        },
+        {
+          "name": "slots",
+          "type": "number"
+        },
+        {
+          "name": "size",
+          "type": "size"
+        }
+      ],
+      "option": "memory"
+    },
+    {
+      "parameters": [
+        {
+          "name": "suppress-vmdesc",
+          "help": "Set on to disable self-describing migration",
+          "type": "boolean"
+        },
+        {
+          "name": "iommu",
+          "help": "Set on/off to enable/disable Intel IOMMU (VT-d)",
+          "type": "boolean"
+        },
+        {
+          "name": "firmware",
+          "help": "firmware image",
+          "type": "string"
+        },
+        {
+          "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": "append",
+          "type": "bool"
+        },
+        {
+          "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": "reconnect",
+          "type": "number"
+        },
+        {
+          "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": "werror",
+          "help": "write error action",
+          "type": "string"
+        },
+        {
+          "name": "rerror",
+          "help": "read error action",
+          "type": "string"
+        },
+        {
+          "name": "read-only",
+          "help": "open drive file as read-only",
+          "type": "boolean"
+        },
+        {
+          "name": "file",
+          "help": "file name",
+          "type": "string"
+        },
+        {
+          "name": "serial",
+          "help": "disk serial number",
+          "type": "string"
+        },
+        {
+          "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": "detect-zeroes",
+          "help": "try to optimize zero writes (off, on, unmap)",
+          "type": "string"
+        },
+        {
+          "name": "throttling.group",
+          "help": "name of the block throttling group",
+          "type": "string"
+        },
+        {
+          "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": "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": "snapshot",
+          "help": "enable/disable snapshot mode",
+          "type": "boolean"
+        }
+      ],
+      "option": "drive"
+    }
+  ],
+  "id": "libvirt-44"
+}
+
+{
+  "return": [
+    {
+      "state": false,
+      "capability": "xbzrle"
+    },
+    {
+      "state": false,
+      "capability": "rdma-pin-all"
+    },
+    {
+      "state": false,
+      "capability": "auto-converge"
+    },
+    {
+      "state": false,
+      "capability": "zero-blocks"
+    },
+    {
+      "state": false,
+      "capability": "compress"
+    },
+    {
+      "state": false,
+      "capability": "events"
+    }
+  ],
+  "id": "libvirt-45"
+}
diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml b/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml
new file mode 100644 (file)
index 0000000..9024d63
--- /dev/null
@@ -0,0 +1,251 @@
+<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='device'/>
+  <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='drive-readonly'/>
+  <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-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='rombar'/>
+  <flag name='ich9-ahci'/>
+  <flag name='no-acpi'/>
+  <flag name='fsdev-readonly'/>
+  <flag name='virtio-blk-pci.scsi'/>
+  <flag name='blk-sg-io'/>
+  <flag name='drive-copy-on-read'/>
+  <flag name='cpu-host'/>
+  <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='tpm-passthrough'/>
+  <flag name='tpm-tis'/>
+  <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='active-commit'/>
+  <flag name='change-backing-file'/>
+  <flag name='memory-backend-ram'/>
+  <flag name='numa'/>
+  <flag name='memory-backend-file'/>
+  <flag name='usb-audio'/>
+  <flag name='rtc-reset-reinjection'/>
+  <flag name='splash-timeout'/>
+  <flag name='iothread'/>
+  <flag name='migrate-rdma'/>
+  <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='pc-dimm'/>
+  <flag name='machine-vmport-opt'/>
+  <flag name='pci-serial'/>
+  <flag name='vhost-user-multiqueue'/>
+  <flag name='migration-event'/>
+  <flag name='ioh3420'/>
+  <flag name='x3130-upstream'/>
+  <flag name='xio3130-downstream'/>
+  <flag name='rtl8139'/>
+  <flag name='e1000'/>
+  <flag name='virtio-net'/>
+  <flag name='gic-version'/>
+  <flag name='incoming-defer'/>
+  <flag name='virtio-gpu'/>
+  <flag name='virtio-gpu.virgl'/>
+  <flag name='virtio-keyboard'/>
+  <flag name='virtio-mouse'/>
+  <flag name='virtio-tablet'/>
+  <flag name='virtio-input-host'/>
+  <flag name='chardev-file-append'/>
+  <flag name='ich9-disable-s3'/>
+  <flag name='ich9-disable-s4'/>
+  <flag name='vserport-change-event'/>
+  <flag name='virtio-balloon-pci.deflate-on-oom'/>
+  <flag name='spice-gl'/>
+  <flag name='qxl.vram64_size_mb'/>
+  <flag name='qxl-vga.vram64_size_mb'/>
+  <flag name='debug-threads'/>
+  <flag name='secret'/>
+  <flag name='pxb'/>
+  <flag name='pxb-pcie'/>
+  <flag name='device-tray-moved-event'/>
+  <flag name='nec-usb-xhci-ports'/>
+  <flag name='virtio-scsi-pci.iothread'/>
+  <version>2005050</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='Broadwell'/>
+  <cpu name='Broadwell-noTSX'/>
+  <cpu name='Haswell'/>
+  <cpu name='Haswell-noTSX'/>
+  <cpu name='IvyBridge'/>
+  <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-2.4' alias='pc' maxCpus='255'/>
+  <machine name='pc-1.3' maxCpus='255'/>
+  <machine name='pc-0.12' maxCpus='255'/>
+  <machine name='pc-q35-1.6' maxCpus='255'/>
+  <machine name='pc-q35-1.5' maxCpus='255'/>
+  <machine name='pc-i440fx-1.6' maxCpus='255'/>
+  <machine name='pc-q35-2.2' maxCpus='255'/>
+  <machine name='pc-i440fx-1.7' maxCpus='255'/>
+  <machine name='pc-q35-2.1' maxCpus='255'/>
+  <machine name='pc-0.11' maxCpus='255'/>
+  <machine name='pc-0.10' maxCpus='255'/>
+  <machine name='pc-i440fx-2.2' maxCpus='255'/>
+  <machine name='pc-1.2' maxCpus='255'/>
+  <machine name='isapc' maxCpus='1'/>
+  <machine name='pc-i440fx-2.3' maxCpus='255'/>
+  <machine name='pc-q35-1.4' maxCpus='255'/>
+  <machine name='pc-0.15' maxCpus='255'/>
+  <machine name='pc-i440fx-1.5' maxCpus='255'/>
+  <machine name='pc-q35-2.0' maxCpus='255'/>
+  <machine name='pc-i440fx-1.4' maxCpus='255'/>
+  <machine name='pc-0.14' maxCpus='255'/>
+  <machine name='pc-1.1' maxCpus='255'/>
+  <machine name='pc-i440fx-2.1' maxCpus='255'/>
+  <machine name='pc-q35-1.7' maxCpus='255'/>
+  <machine name='pc-1.0' maxCpus='255'/>
+  <machine name='pc-i440fx-2.0' maxCpus='255'/>
+  <machine name='pc-q35-2.4' alias='q35' maxCpus='255'/>
+  <machine name='pc-q35-2.3' maxCpus='255'/>
+  <machine name='pc-0.13' maxCpus='255'/>
+</qemuCaps>
index 9a5a250e913fef785cadc957fc0081023f183be6..058ad8ca50dbef04fcbb51cb26dd803e8185ebaf 100644 (file)
@@ -160,19 +160,19 @@ mymain(void)
             ret = -1;                                                   \
     } while (0)
 
-    DO_TEST("x86_64", "caps_1.2.2-1");
-    DO_TEST("x86_64", "caps_1.3.1-1");
-    DO_TEST("x86_64", "caps_1.4.2-1");
-    DO_TEST("x86_64", "caps_1.5.3-1");
-    DO_TEST("x86_64", "caps_1.6.0-1");
-    DO_TEST("x86_64", "caps_1.6.50-1");
-    DO_TEST("x86_64", "caps_2.1.1-1");
-    DO_TEST("x86_64", "caps_2.4.0-1");
-    DO_TEST("x86_64", "caps_2.5.0-1");
-    DO_TEST("x86_64", "caps_2.6.0-1");
-    DO_TEST("aarch64", "caps_2.6.0-1");
-    DO_TEST("aarch64", "caps_2.6.0-2");
-    DO_TEST("ppc64le", "caps_2.6.0-1");
+    DO_TEST("x86_64", "caps_1.2.2");
+    DO_TEST("x86_64", "caps_1.3.1");
+    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_2.1.1");
+    DO_TEST("x86_64", "caps_2.4.0");
+    DO_TEST("x86_64", "caps_2.5.0");
+    DO_TEST("x86_64", "caps_2.6.0");
+    DO_TEST("aarch64", "caps_2.6.0-gicv2");
+    DO_TEST("aarch64", "caps_2.6.0-gicv3");
+    DO_TEST("ppc64le", "caps_2.6.0");
 
     /*
      * Run "tests/qemucapsprobe /path/to/qemu/binary >foo.replies"