[libvirt] [PATCH v3 0/5] docs: Update third-party JavaScript libraries
by Andrea Bolognani
We're carrying around embedded copies of a few JavaScript libraries
for use in our homepage, and we've been unforgivably bad at keeping
them up to date. Address that.
While doing so, replace the minified version of each library with
its non-minified counterpart so that libvirt.git and release archives
will include the actual source code for them, rather than what is
basically the JavaScript equivalent of binary blobs.
Note that I consider this to be merely a stop-gap measure until we
start generating the blog roll, the only part of the libvirt website
that uses these libraries, on the server side and finally drop them
entirely. I don't have cycles to dedicate to that effort at the
moment though, and this is better than leaving the situation
unchanged for who knows how much longer.
Since the diffs are kinda big and honestly just not very interesting,
I've snipped them liberally; the unabridged version of this series
can be fetched with
$ git fetch https://github.com/andreabolognani/libvirt js
Changes from [v2]:
* import non-minified libraries and minify them at build time.
Changes from [v1]:
* drop libraries instead of updating them.
[v2] https://www.redhat.com/archives/libvir-list/2019-June/msg00611.html
[v1] https://www.redhat.com/archives/libvir-list/2019-June/msg00551.html
Andrea Bolognani (5):
docs: Update jQuery
docs: Update Moment.js
docs: Update jquery.rss
docs: Perform JavaScript minimization at build time
spec: Require uglifyjs for RPM build
.gitignore | 1 +
docs/Makefile.am | 37 +-
docs/index.html.in | 6 +-
docs/js/jquery-3.1.1.min.js | 4 -
docs/js/jquery-3.4.1.js | 10598 +++++++++++++++++++++++++++++++++
docs/js/jquery.rss-3.3.0.js | 333 ++
docs/js/jquery.rss.min.js | 11 -
docs/js/moment-2.24.0.js | 4602 ++++++++++++++
docs/js/moment.min.js | 7 -
docs/page.xsl | 2 +-
docs/site.xsl | 1 +
docs/subsite.xsl | 1 +
libvirt.spec.in | 5 +
m4/virt-external-programs.m4 | 2 +
14 files changed, 15578 insertions(+), 32 deletions(-)
delete mode 100644 docs/js/jquery-3.1.1.min.js
create mode 100644 docs/js/jquery-3.4.1.js
create mode 100644 docs/js/jquery.rss-3.3.0.js
delete mode 100644 docs/js/jquery.rss.min.js
create mode 100644 docs/js/moment-2.24.0.js
delete mode 100644 docs/js/moment.min.js
--
2.21.0
5 years, 6 months
[libvirt] [PATCHv2 0/9] qemu: drop command line parsing
by Peter Krempa
All the code is mostly outdated and does not really help in most cases.
Since this was already proposed and I did not see anything against here
are the patches.
As a follow up I'll refactor and move the rest of qemu_parse_command.c
once this is out of the way.
you can fetch this by
git fetch https://github.com/pipo/libvirt.git parse-command-delete
Version 2 contains fixes for things suggested by Jano and Andrea and
also adds documentation to the hvsupport page and also to news.
Additionally the rest of the code from qemu_parse_command.(ch) is moved
out.
Peter Krempa (9):
docs: hvsupport: Add support for deprecating hypervisor
implementations
qemu: driver: Drop support for qemu-attach
qemu: parse: Drop qemuParseCommandLinePid and friends
qemu: driver: Remove support for native->XML conversion
news: Document removal of qemu commandline parsing
tests: Drop qemuargv2xmltest
qemu: parse: Drop unused qemu command line parsing infrastructure
qemu: Move QEMU_QXL_VGAMEM_DEFAULT macro
qemu: Move qemuParseKeywords(Free) to the monitor code
docs/hvsupport.pl | 44 +-
docs/libvirt.css | 4 +
docs/news.xml | 12 +
po/POTFILES | 1 -
src/check-aclrules.pl | 1 +
src/qemu/Makefile.inc.am | 2 -
src/qemu/qemu_domain.c | 3 +-
src/qemu/qemu_driver.c | 138 +-
src/qemu/qemu_monitor_json.c | 124 +-
src/qemu/qemu_parse_command.c | 2861 -----------------
src/qemu/qemu_parse_command.h | 60 -
tests/Makefile.am | 11 +-
tests/qemuargv2xmldata/boot-cdrom.args | 22 -
tests/qemuargv2xmldata/boot-cdrom.xml | 35 -
tests/qemuargv2xmldata/boot-floppy.args | 23 -
tests/qemuargv2xmldata/boot-floppy.xml | 41 -
tests/qemuargv2xmldata/boot-network.args | 22 -
tests/qemuargv2xmldata/boot-network.xml | 34 -
tests/qemuargv2xmldata/clock-localtime.args | 23 -
tests/qemuargv2xmldata/clock-localtime.xml | 34 -
tests/qemuargv2xmldata/clock-utc.args | 22 -
tests/qemuargv2xmldata/clock-utc.xml | 34 -
tests/qemuargv2xmldata/console-compat.args | 22 -
tests/qemuargv2xmldata/console-compat.xml | 42 -
tests/qemuargv2xmldata/disk-cdrom-empty.args | 23 -
tests/qemuargv2xmldata/disk-cdrom-empty.xml | 40 -
tests/qemuargv2xmldata/disk-cdrom.args | 23 -
tests/qemuargv2xmldata/disk-cdrom.xml | 41 -
.../disk-drive-boot-cdrom.args | 23 -
.../disk-drive-boot-cdrom.xml | 41 -
.../disk-drive-boot-disk.args | 23 -
.../qemuargv2xmldata/disk-drive-boot-disk.xml | 41 -
.../disk-drive-cache-directsync.args | 24 -
.../disk-drive-cache-directsync.xml | 41 -
.../disk-drive-cache-unsafe.args | 24 -
.../disk-drive-cache-unsafe.xml | 41 -
.../disk-drive-cache-v2-none.args | 23 -
.../disk-drive-cache-v2-none.xml | 41 -
.../disk-drive-cache-v2-wb.args | 24 -
.../disk-drive-cache-v2-wb.xml | 41 -
.../disk-drive-cache-v2-wt.args | 24 -
.../disk-drive-cache-v2-wt.xml | 41 -
.../disk-drive-error-policy-enospace.args | 24 -
.../disk-drive-error-policy-enospace.xml | 41 -
.../disk-drive-error-policy-stop.args | 24 -
.../disk-drive-error-policy-stop.xml | 41 -
...sk-drive-error-policy-wreport-rignore.args | 24 -
...isk-drive-error-policy-wreport-rignore.xml | 41 -
.../qemuargv2xmldata/disk-drive-fmt-qcow.args | 23 -
.../qemuargv2xmldata/disk-drive-fmt-qcow.xml | 41 -
.../disk-drive-network-gluster.args | 25 -
.../disk-drive-network-gluster.xml | 41 -
.../disk-drive-network-iscsi-auth.args | 25 -
.../disk-drive-network-iscsi-auth.xml | 44 -
.../disk-drive-network-iscsi.args | 25 -
.../disk-drive-network-iscsi.xml | 41 -
.../disk-drive-network-nbd-export.args | 23 -
.../disk-drive-network-nbd-export.xml | 42 -
.../disk-drive-network-nbd-ipv6-export.args | 23 -
.../disk-drive-network-nbd-ipv6-export.xml | 42 -
.../disk-drive-network-nbd-ipv6.args | 23 -
.../disk-drive-network-nbd-ipv6.xml | 42 -
.../disk-drive-network-nbd-unix.args | 23 -
.../disk-drive-network-nbd-unix.xml | 42 -
.../disk-drive-network-nbd.args | 23 -
.../disk-drive-network-nbd.xml | 42 -
.../disk-drive-network-rbd-auth.args | 26 -
.../disk-drive-network-rbd-auth.xml | 47 -
.../disk-drive-network-rbd-ceph-env.args | 25 -
.../disk-drive-network-rbd-ceph-env.xml | 44 -
.../disk-drive-network-rbd-ipv6.args | 25 -
.../disk-drive-network-rbd-ipv6.xml | 45 -
.../disk-drive-network-rbd.args | 29 -
.../disk-drive-network-rbd.xml | 72 -
.../disk-drive-network-sheepdog.args | 23 -
.../disk-drive-network-sheepdog.xml | 42 -
tests/qemuargv2xmldata/disk-floppy.args | 24 -
tests/qemuargv2xmldata/disk-floppy.xml | 47 -
tests/qemuargv2xmldata/disk-many.args | 25 -
tests/qemuargv2xmldata/disk-many.xml | 52 -
tests/qemuargv2xmldata/disk-usb.args | 23 -
tests/qemuargv2xmldata/disk-usb.xml | 39 -
tests/qemuargv2xmldata/disk-virtio.args | 25 -
tests/qemuargv2xmldata/disk-virtio.xml | 53 -
.../graphics-sdl-fullscreen.args | 25 -
.../graphics-sdl-fullscreen.xml | 39 -
tests/qemuargv2xmldata/graphics-sdl.args | 24 -
tests/qemuargv2xmldata/graphics-sdl.xml | 39 -
.../qemuargv2xmldata/graphics-vnc-policy.args | 23 -
.../qemuargv2xmldata/graphics-vnc-policy.xml | 41 -
tests/qemuargv2xmldata/graphics-vnc-sasl.args | 24 -
tests/qemuargv2xmldata/graphics-vnc-sasl.xml | 41 -
.../qemuargv2xmldata/graphics-vnc-socket.args | 23 -
.../qemuargv2xmldata/graphics-vnc-socket.xml | 41 -
tests/qemuargv2xmldata/graphics-vnc-tls.args | 24 -
tests/qemuargv2xmldata/graphics-vnc-tls.xml | 41 -
.../graphics-vnc-websocket.args | 22 -
.../graphics-vnc-websocket.xml | 32 -
tests/qemuargv2xmldata/graphics-vnc.args | 23 -
tests/qemuargv2xmldata/graphics-vnc.xml | 41 -
.../qemuargv2xmldata/hostdev-pci-address.args | 23 -
.../qemuargv2xmldata/hostdev-pci-address.xml | 40 -
.../qemuargv2xmldata/hostdev-usb-address.args | 23 -
.../qemuargv2xmldata/hostdev-usb-address.xml | 39 -
tests/qemuargv2xmldata/hyperv-panic.args | 21 -
tests/qemuargv2xmldata/hyperv-panic.xml | 29 -
tests/qemuargv2xmldata/hyperv.args | 21 -
tests/qemuargv2xmldata/hyperv.xml | 33 -
tests/qemuargv2xmldata/input-usbmouse.args | 23 -
tests/qemuargv2xmldata/input-usbmouse.xml | 35 -
tests/qemuargv2xmldata/input-usbtablet.args | 23 -
tests/qemuargv2xmldata/input-usbtablet.xml | 35 -
tests/qemuargv2xmldata/kvm-features.args | 21 -
tests/qemuargv2xmldata/kvm-features.xml | 31 -
tests/qemuargv2xmldata/kvmclock.args | 22 -
tests/qemuargv2xmldata/kvmclock.xml | 30 -
.../machine-aeskeywrap-off-argv.args | 18 -
.../machine-aeskeywrap-off-argv.xml | 23 -
.../machine-aeskeywrap-on-argv.args | 18 -
.../machine-aeskeywrap-on-argv.xml | 23 -
tests/qemuargv2xmldata/machine-core-off.args | 22 -
tests/qemuargv2xmldata/machine-core-off.xml | 34 -
tests/qemuargv2xmldata/machine-core-on.args | 22 -
tests/qemuargv2xmldata/machine-core-on.xml | 34 -
.../machine-deakeywrap-off-argv.args | 18 -
.../machine-deakeywrap-off-argv.xml | 23 -
.../machine-deakeywrap-on-argv.args | 18 -
.../machine-deakeywrap-on-argv.xml | 23 -
.../machine-keywrap-none-argv.args | 18 -
.../machine-keywrap-none-argv.xml | 20 -
.../qemuargv2xmldata/mem-scale-maxmemory.args | 22 -
.../qemuargv2xmldata/mem-scale-maxmemory.xml | 38 -
tests/qemuargv2xmldata/mem-scale.args | 22 -
tests/qemuargv2xmldata/mem-scale.xml | 37 -
tests/qemuargv2xmldata/migrate.args | 23 -
tests/qemuargv2xmldata/migrate.xml | 34 -
tests/qemuargv2xmldata/misc-acpi.args | 21 -
tests/qemuargv2xmldata/misc-acpi.xml | 37 -
tests/qemuargv2xmldata/misc-disable-s3.args | 23 -
tests/qemuargv2xmldata/misc-disable-s3.xml | 37 -
.../misc-disable-suspends.args | 24 -
.../misc-disable-suspends.xml | 38 -
tests/qemuargv2xmldata/misc-enable-s4.args | 23 -
tests/qemuargv2xmldata/misc-enable-s4.xml | 37 -
tests/qemuargv2xmldata/misc-no-reboot.args | 23 -
tests/qemuargv2xmldata/misc-no-reboot.xml | 34 -
tests/qemuargv2xmldata/misc-uuid.args | 21 -
tests/qemuargv2xmldata/misc-uuid.xml | 37 -
tests/qemuargv2xmldata/net-eth-ifname.args | 23 -
tests/qemuargv2xmldata/net-eth-ifname.xml | 41 -
tests/qemuargv2xmldata/net-eth.args | 23 -
tests/qemuargv2xmldata/net-eth.xml | 40 -
tests/qemuargv2xmldata/net-user.args | 23 -
tests/qemuargv2xmldata/net-user.xml | 39 -
tests/qemuargv2xmldata/net-virtio.args | 23 -
tests/qemuargv2xmldata/net-virtio.xml | 39 -
.../nographics-vga-display.args | 23 -
.../nographics-vga-display.xml | 34 -
tests/qemuargv2xmldata/nographics-vga.args | 23 -
tests/qemuargv2xmldata/nographics-vga.xml | 34 -
tests/qemuargv2xmldata/nomachine-ppc64.args | 11 -
tests/qemuargv2xmldata/nomachine-ppc64.xml | 50 -
tests/qemuargv2xmldata/nomachine-x86_64.args | 11 -
tests/qemuargv2xmldata/nomachine-x86_64.xml | 49 -
tests/qemuargv2xmldata/nosharepages.args | 22 -
tests/qemuargv2xmldata/nosharepages.xml | 37 -
tests/qemuargv2xmldata/parallel-tcp.args | 22 -
tests/qemuargv2xmldata/parallel-tcp.xml | 39 -
tests/qemuargv2xmldata/pseries-disk.args | 18 -
tests/qemuargv2xmldata/pseries-disk.xml | 50 -
tests/qemuargv2xmldata/pseries-nvram.args | 22 -
tests/qemuargv2xmldata/pseries-nvram.xml | 30 -
tests/qemuargv2xmldata/qemu-ns-no-env.args | 23 -
tests/qemuargv2xmldata/qemu-ns-no-env.xml | 38 -
.../reboot-timeout-disabled.args | 21 -
.../reboot-timeout-disabled.xml | 26 -
.../reboot-timeout-enabled.args | 21 -
.../reboot-timeout-enabled.xml | 26 -
tests/qemuargv2xmldata/restore-v2.args | 23 -
tests/qemuargv2xmldata/restore-v2.xml | 34 -
tests/qemuargv2xmldata/serial-dev.args | 22 -
tests/qemuargv2xmldata/serial-dev.xml | 44 -
tests/qemuargv2xmldata/serial-file.args | 22 -
tests/qemuargv2xmldata/serial-file.xml | 44 -
tests/qemuargv2xmldata/serial-many.args | 23 -
tests/qemuargv2xmldata/serial-many.xml | 48 -
tests/qemuargv2xmldata/serial-pty.args | 22 -
tests/qemuargv2xmldata/serial-pty.xml | 42 -
tests/qemuargv2xmldata/serial-tcp-telnet.args | 22 -
tests/qemuargv2xmldata/serial-tcp-telnet.xml | 46 -
tests/qemuargv2xmldata/serial-tcp.args | 22 -
tests/qemuargv2xmldata/serial-tcp.xml | 46 -
tests/qemuargv2xmldata/serial-udp.args | 23 -
tests/qemuargv2xmldata/serial-udp.xml | 52 -
tests/qemuargv2xmldata/serial-unix.args | 22 -
tests/qemuargv2xmldata/serial-unix.xml | 44 -
tests/qemuargv2xmldata/serial-vc.args | 22 -
tests/qemuargv2xmldata/serial-vc.xml | 42 -
tests/qemuargv2xmldata/smp.args | 22 -
tests/qemuargv2xmldata/smp.xml | 37 -
tests/qemuargv2xmldata/sound.args | 23 -
tests/qemuargv2xmldata/sound.xml | 42 -
tests/qemuargv2xmldata/watchdog.args | 24 -
tests/qemuargv2xmldata/watchdog.xml | 35 -
tests/qemuargv2xmltest.c | 323 --
tests/virschematest.c | 2 +-
206 files changed, 190 insertions(+), 9306 deletions(-)
delete mode 100644 src/qemu/qemu_parse_command.c
delete mode 100644 src/qemu/qemu_parse_command.h
delete mode 100644 tests/qemuargv2xmldata/boot-cdrom.args
delete mode 100644 tests/qemuargv2xmldata/boot-cdrom.xml
delete mode 100644 tests/qemuargv2xmldata/boot-floppy.args
delete mode 100644 tests/qemuargv2xmldata/boot-floppy.xml
delete mode 100644 tests/qemuargv2xmldata/boot-network.args
delete mode 100644 tests/qemuargv2xmldata/boot-network.xml
delete mode 100644 tests/qemuargv2xmldata/clock-localtime.args
delete mode 100644 tests/qemuargv2xmldata/clock-localtime.xml
delete mode 100644 tests/qemuargv2xmldata/clock-utc.args
delete mode 100644 tests/qemuargv2xmldata/clock-utc.xml
delete mode 100644 tests/qemuargv2xmldata/console-compat.args
delete mode 100644 tests/qemuargv2xmldata/console-compat.xml
delete mode 100644 tests/qemuargv2xmldata/disk-cdrom-empty.args
delete mode 100644 tests/qemuargv2xmldata/disk-cdrom-empty.xml
delete mode 100644 tests/qemuargv2xmldata/disk-cdrom.args
delete mode 100644 tests/qemuargv2xmldata/disk-cdrom.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-boot-cdrom.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-boot-cdrom.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-boot-disk.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-boot-disk.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-cache-directsync.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-cache-directsync.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-cache-unsafe.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-cache-unsafe.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-cache-v2-none.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-cache-v2-none.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-cache-v2-wb.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-cache-v2-wb.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-cache-v2-wt.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-cache-v2-wt.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-error-policy-enospace.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-error-policy-enospace.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-error-policy-stop.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-error-policy-stop.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-error-policy-wreport-rignore.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-error-policy-wreport-rignore.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-fmt-qcow.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-fmt-qcow.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-gluster.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-gluster.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-iscsi-auth.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-iscsi-auth.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-iscsi.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-iscsi.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-nbd-export.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-nbd-export.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-nbd-ipv6-export.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-nbd-ipv6-export.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-nbd-ipv6.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-nbd-ipv6.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-nbd-unix.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-nbd-unix.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-nbd.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-nbd.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-rbd-auth.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-rbd-auth.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-rbd-ceph-env.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-rbd-ceph-env.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-rbd-ipv6.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-rbd-ipv6.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-rbd.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-rbd.xml
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-sheepdog.args
delete mode 100644 tests/qemuargv2xmldata/disk-drive-network-sheepdog.xml
delete mode 100644 tests/qemuargv2xmldata/disk-floppy.args
delete mode 100644 tests/qemuargv2xmldata/disk-floppy.xml
delete mode 100644 tests/qemuargv2xmldata/disk-many.args
delete mode 100644 tests/qemuargv2xmldata/disk-many.xml
delete mode 100644 tests/qemuargv2xmldata/disk-usb.args
delete mode 100644 tests/qemuargv2xmldata/disk-usb.xml
delete mode 100644 tests/qemuargv2xmldata/disk-virtio.args
delete mode 100644 tests/qemuargv2xmldata/disk-virtio.xml
delete mode 100644 tests/qemuargv2xmldata/graphics-sdl-fullscreen.args
delete mode 100644 tests/qemuargv2xmldata/graphics-sdl-fullscreen.xml
delete mode 100644 tests/qemuargv2xmldata/graphics-sdl.args
delete mode 100644 tests/qemuargv2xmldata/graphics-sdl.xml
delete mode 100644 tests/qemuargv2xmldata/graphics-vnc-policy.args
delete mode 100644 tests/qemuargv2xmldata/graphics-vnc-policy.xml
delete mode 100644 tests/qemuargv2xmldata/graphics-vnc-sasl.args
delete mode 100644 tests/qemuargv2xmldata/graphics-vnc-sasl.xml
delete mode 100644 tests/qemuargv2xmldata/graphics-vnc-socket.args
delete mode 100644 tests/qemuargv2xmldata/graphics-vnc-socket.xml
delete mode 100644 tests/qemuargv2xmldata/graphics-vnc-tls.args
delete mode 100644 tests/qemuargv2xmldata/graphics-vnc-tls.xml
delete mode 100644 tests/qemuargv2xmldata/graphics-vnc-websocket.args
delete mode 100644 tests/qemuargv2xmldata/graphics-vnc-websocket.xml
delete mode 100644 tests/qemuargv2xmldata/graphics-vnc.args
delete mode 100644 tests/qemuargv2xmldata/graphics-vnc.xml
delete mode 100644 tests/qemuargv2xmldata/hostdev-pci-address.args
delete mode 100644 tests/qemuargv2xmldata/hostdev-pci-address.xml
delete mode 100644 tests/qemuargv2xmldata/hostdev-usb-address.args
delete mode 100644 tests/qemuargv2xmldata/hostdev-usb-address.xml
delete mode 100644 tests/qemuargv2xmldata/hyperv-panic.args
delete mode 100644 tests/qemuargv2xmldata/hyperv-panic.xml
delete mode 100644 tests/qemuargv2xmldata/hyperv.args
delete mode 100644 tests/qemuargv2xmldata/hyperv.xml
delete mode 100644 tests/qemuargv2xmldata/input-usbmouse.args
delete mode 100644 tests/qemuargv2xmldata/input-usbmouse.xml
delete mode 100644 tests/qemuargv2xmldata/input-usbtablet.args
delete mode 100644 tests/qemuargv2xmldata/input-usbtablet.xml
delete mode 100644 tests/qemuargv2xmldata/kvm-features.args
delete mode 100644 tests/qemuargv2xmldata/kvm-features.xml
delete mode 100644 tests/qemuargv2xmldata/kvmclock.args
delete mode 100644 tests/qemuargv2xmldata/kvmclock.xml
delete mode 100644 tests/qemuargv2xmldata/machine-aeskeywrap-off-argv.args
delete mode 100644 tests/qemuargv2xmldata/machine-aeskeywrap-off-argv.xml
delete mode 100644 tests/qemuargv2xmldata/machine-aeskeywrap-on-argv.args
delete mode 100644 tests/qemuargv2xmldata/machine-aeskeywrap-on-argv.xml
delete mode 100644 tests/qemuargv2xmldata/machine-core-off.args
delete mode 100644 tests/qemuargv2xmldata/machine-core-off.xml
delete mode 100644 tests/qemuargv2xmldata/machine-core-on.args
delete mode 100644 tests/qemuargv2xmldata/machine-core-on.xml
delete mode 100644 tests/qemuargv2xmldata/machine-deakeywrap-off-argv.args
delete mode 100644 tests/qemuargv2xmldata/machine-deakeywrap-off-argv.xml
delete mode 100644 tests/qemuargv2xmldata/machine-deakeywrap-on-argv.args
delete mode 100644 tests/qemuargv2xmldata/machine-deakeywrap-on-argv.xml
delete mode 100644 tests/qemuargv2xmldata/machine-keywrap-none-argv.args
delete mode 100644 tests/qemuargv2xmldata/machine-keywrap-none-argv.xml
delete mode 100644 tests/qemuargv2xmldata/mem-scale-maxmemory.args
delete mode 100644 tests/qemuargv2xmldata/mem-scale-maxmemory.xml
delete mode 100644 tests/qemuargv2xmldata/mem-scale.args
delete mode 100644 tests/qemuargv2xmldata/mem-scale.xml
delete mode 100644 tests/qemuargv2xmldata/migrate.args
delete mode 100644 tests/qemuargv2xmldata/migrate.xml
delete mode 100644 tests/qemuargv2xmldata/misc-acpi.args
delete mode 100644 tests/qemuargv2xmldata/misc-acpi.xml
delete mode 100644 tests/qemuargv2xmldata/misc-disable-s3.args
delete mode 100644 tests/qemuargv2xmldata/misc-disable-s3.xml
delete mode 100644 tests/qemuargv2xmldata/misc-disable-suspends.args
delete mode 100644 tests/qemuargv2xmldata/misc-disable-suspends.xml
delete mode 100644 tests/qemuargv2xmldata/misc-enable-s4.args
delete mode 100644 tests/qemuargv2xmldata/misc-enable-s4.xml
delete mode 100644 tests/qemuargv2xmldata/misc-no-reboot.args
delete mode 100644 tests/qemuargv2xmldata/misc-no-reboot.xml
delete mode 100644 tests/qemuargv2xmldata/misc-uuid.args
delete mode 100644 tests/qemuargv2xmldata/misc-uuid.xml
delete mode 100644 tests/qemuargv2xmldata/net-eth-ifname.args
delete mode 100644 tests/qemuargv2xmldata/net-eth-ifname.xml
delete mode 100644 tests/qemuargv2xmldata/net-eth.args
delete mode 100644 tests/qemuargv2xmldata/net-eth.xml
delete mode 100644 tests/qemuargv2xmldata/net-user.args
delete mode 100644 tests/qemuargv2xmldata/net-user.xml
delete mode 100644 tests/qemuargv2xmldata/net-virtio.args
delete mode 100644 tests/qemuargv2xmldata/net-virtio.xml
delete mode 100644 tests/qemuargv2xmldata/nographics-vga-display.args
delete mode 100644 tests/qemuargv2xmldata/nographics-vga-display.xml
delete mode 100644 tests/qemuargv2xmldata/nographics-vga.args
delete mode 100644 tests/qemuargv2xmldata/nographics-vga.xml
delete mode 100644 tests/qemuargv2xmldata/nomachine-ppc64.args
delete mode 100644 tests/qemuargv2xmldata/nomachine-ppc64.xml
delete mode 100644 tests/qemuargv2xmldata/nomachine-x86_64.args
delete mode 100644 tests/qemuargv2xmldata/nomachine-x86_64.xml
delete mode 100644 tests/qemuargv2xmldata/nosharepages.args
delete mode 100644 tests/qemuargv2xmldata/nosharepages.xml
delete mode 100644 tests/qemuargv2xmldata/parallel-tcp.args
delete mode 100644 tests/qemuargv2xmldata/parallel-tcp.xml
delete mode 100644 tests/qemuargv2xmldata/pseries-disk.args
delete mode 100644 tests/qemuargv2xmldata/pseries-disk.xml
delete mode 100644 tests/qemuargv2xmldata/pseries-nvram.args
delete mode 100644 tests/qemuargv2xmldata/pseries-nvram.xml
delete mode 100644 tests/qemuargv2xmldata/qemu-ns-no-env.args
delete mode 100644 tests/qemuargv2xmldata/qemu-ns-no-env.xml
delete mode 100644 tests/qemuargv2xmldata/reboot-timeout-disabled.args
delete mode 100644 tests/qemuargv2xmldata/reboot-timeout-disabled.xml
delete mode 100644 tests/qemuargv2xmldata/reboot-timeout-enabled.args
delete mode 100644 tests/qemuargv2xmldata/reboot-timeout-enabled.xml
delete mode 100644 tests/qemuargv2xmldata/restore-v2.args
delete mode 100644 tests/qemuargv2xmldata/restore-v2.xml
delete mode 100644 tests/qemuargv2xmldata/serial-dev.args
delete mode 100644 tests/qemuargv2xmldata/serial-dev.xml
delete mode 100644 tests/qemuargv2xmldata/serial-file.args
delete mode 100644 tests/qemuargv2xmldata/serial-file.xml
delete mode 100644 tests/qemuargv2xmldata/serial-many.args
delete mode 100644 tests/qemuargv2xmldata/serial-many.xml
delete mode 100644 tests/qemuargv2xmldata/serial-pty.args
delete mode 100644 tests/qemuargv2xmldata/serial-pty.xml
delete mode 100644 tests/qemuargv2xmldata/serial-tcp-telnet.args
delete mode 100644 tests/qemuargv2xmldata/serial-tcp-telnet.xml
delete mode 100644 tests/qemuargv2xmldata/serial-tcp.args
delete mode 100644 tests/qemuargv2xmldata/serial-tcp.xml
delete mode 100644 tests/qemuargv2xmldata/serial-udp.args
delete mode 100644 tests/qemuargv2xmldata/serial-udp.xml
delete mode 100644 tests/qemuargv2xmldata/serial-unix.args
delete mode 100644 tests/qemuargv2xmldata/serial-unix.xml
delete mode 100644 tests/qemuargv2xmldata/serial-vc.args
delete mode 100644 tests/qemuargv2xmldata/serial-vc.xml
delete mode 100644 tests/qemuargv2xmldata/smp.args
delete mode 100644 tests/qemuargv2xmldata/smp.xml
delete mode 100644 tests/qemuargv2xmldata/sound.args
delete mode 100644 tests/qemuargv2xmldata/sound.xml
delete mode 100644 tests/qemuargv2xmldata/watchdog.args
delete mode 100644 tests/qemuargv2xmldata/watchdog.xml
delete mode 100644 tests/qemuargv2xmltest.c
--
2.21.0
5 years, 6 months
[libvirt] [PATCH 0/3] tests: drop the JSON field from qemuMonitorTest
by Ján Tomko
Ján Tomko (3):
tests: assume JSON in qemuMonitorTestIO
tests: qemuMonitorTestProcessCommandDefaultValidate: simplify
condition
tests: qemuMonitorTest: drop the JSON field
tests/qemumonitortestutils.c | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
--
2.19.2
5 years, 6 months
[libvirt] [PATCH] test_driver: implement virDomainGetMemoryParameters
by Ilias Stamatis
Signed-off-by: Ilias Stamatis <stamatis.iliass(a)gmail.com>
---
src/test/test_driver.c | 46 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index 8ef843b203..9e8236a5b6 100644
--- a/src/test/test_driver.c
+++ b/src/test/test_driver.c
@@ -1474,6 +1474,7 @@ static int testConnectGetMaxVcpus(virConnectPtr conn ATTRIBUTE_UNUSED,
return 32;
}
+
static char *
testConnectBaselineCPU(virConnectPtr conn ATTRIBUTE_UNUSED,
const char **xmlCPUs,
@@ -2498,6 +2499,50 @@ testDomainGetMaxVcpus(virDomainPtr domain)
VIR_DOMAIN_VCPU_MAXIMUM));
}
+
+#define TEST_ASSIGN_MEM_PARAM(index, name, value) \
+ if (index < *nparams && \
+ virTypedParameterAssign(¶ms[index], name, VIR_TYPED_PARAM_ULLONG, \
+ value) < 0) \
+ goto cleanup
+
+static int
+testDomainGetMemoryParameters(virDomainPtr dom,
+ virTypedParameterPtr params,
+ int *nparams,
+ unsigned int flags)
+{
+ int ret = -1;
+ virDomainObjPtr vm = NULL;
+
+ virCheckFlags(VIR_DOMAIN_AFFECT_LIVE |
+ VIR_DOMAIN_AFFECT_CONFIG |
+ VIR_TYPED_PARAM_STRING_OKAY, -1);
+
+ if ((*nparams) == 0) {
+ *nparams = 3;
+ return 0;
+ }
+
+ if (!(vm = testDomObjFromDomain(dom)))
+ goto cleanup;
+
+ TEST_ASSIGN_MEM_PARAM(0, VIR_DOMAIN_MEMORY_HARD_LIMIT, vm->def->mem.hard_limit);
+ TEST_ASSIGN_MEM_PARAM(1, VIR_DOMAIN_MEMORY_SOFT_LIMIT, vm->def->mem.soft_limit);
+ TEST_ASSIGN_MEM_PARAM(2, VIR_DOMAIN_MEMORY_SWAP_HARD_LIMIT, vm->def->mem.swap_hard_limit);
+
+ if (*nparams > 3)
+ *nparams = 3;
+
+ ret = 0;
+
+ cleanup:
+ virDomainObjEndAPI(&vm);
+ return ret;
+}
+#undef TEST_ASSIGN_MEM_PARAM
+
+
static int
testDomainSetVcpusFlags(virDomainPtr domain, unsigned int nrCpus,
unsigned int flags)
@@ -7162,6 +7207,7 @@ static virHypervisorDriver testHypervisorDriver = {
.domainGetVcpus = testDomainGetVcpus, /* 0.7.3 */
.domainGetVcpuPinInfo = testDomainGetVcpuPinInfo, /* 1.2.18 */
.domainGetMaxVcpus = testDomainGetMaxVcpus, /* 0.7.3 */
+ .domainGetMemoryParameters = testDomainGetMemoryParameters, /* 5.5.0 */
.domainGetXMLDesc = testDomainGetXMLDesc, /* 0.1.4 */
.connectListDefinedDomains = testConnectListDefinedDomains, /* 0.1.11 */
.connectNumOfDefinedDomains = testConnectNumOfDefinedDomains, /* 0.1.11 */
--
2.21.0
5 years, 6 months
[libvirt] [PATCH 0/8] virhostdev: Couple of improvements
by Michal Privoznik
I'm working around this area and noticed a room for improvements.
This is basically a few patches that I have at the bottom if my branch
and they are independent of the feature I'm working on.
Michal Prívozník (8):
virHostdevGetPCIHostDeviceList: Add @pci a bit later
virHostdevGetPCIHostDeviceList: Use VIR_AUTOPTR for virPCIDevice
virHostdevPreparePCIDevices: Construct pcidevs list earlier
virHostdevReAttachPCIDevices: Construct pcidevs list earlier
virhostdev: Use VIR_AUTOUNREF more
virHostdevFindUSBDevice: Simplify flow a bit
virHostdevPrepareSCSIVHostDevices: Simplify logic
virhostdev: Use VIR_AUTOPTR more
src/util/virhostdev.c | 220 +++++++++++++++++-------------------------
1 file changed, 87 insertions(+), 133 deletions(-)
--
2.21.0
5 years, 6 months
[libvirt] [PATCH] tests: qemucaps: Update 4.1.0 capabilities to a more recent version
by Peter Krempa
Update the capabilities from a non-upstream version (9c70209b63 is not
in qemu.git) to qemu upstream commit 33d6099906 (2019/06/18) so that we
get the QMP schema 'features' field support and are able to detect that
the 'file' block backend supports dynamic auto-read-only.
Note that I've rebuilt this on a machine with a more modern kernel and
microcode which exposes e.g. the recent CPU bug mitigations, thus I
opted to keep the CPU changes rather than trying to do a franken-caps
by updating only the output of query-qmp-schema.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
.../qemu_4.1.0.x86_64.xml | 24 +-
.../caps_4.1.0.x86_64.replies | 4595 ++++++++---------
.../caps_4.1.0.x86_64.xml | 125 +-
3 files changed, 2335 insertions(+), 2409 deletions(-)
diff --git a/tests/domaincapsschemadata/qemu_4.1.0.x86_64.xml b/tests/domaincapsschemadata/qemu_4.1.0.x86_64.xml
index 389e641bbb..d638795359 100644
--- a/tests/domaincapsschemadata/qemu_4.1.0.x86_64.xml
+++ b/tests/domaincapsschemadata/qemu_4.1.0.x86_64.xml
@@ -30,7 +30,7 @@
<cpu>
<mode name='host-passthrough' supported='yes'/>
<mode name='host-model' supported='yes'>
- <model fallback='forbid'>Skylake-Client</model>
+ <model fallback='forbid'>Skylake-Client-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
@@ -38,9 +38,13 @@
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='clflushopt'/>
<feature policy='require' name='umip'/>
+ <feature policy='require' name='md-clear'/>
+ <feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
+ <feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaves'/>
<feature policy='require' name='pdpe1gb'/>
+ <feature policy='require' name='invtsc'/>
</mode>
<mode name='custom' supported='yes'>
<model usable='yes'>qemu64</model>
@@ -55,13 +59,13 @@
<model usable='yes'>coreduo</model>
<model usable='yes'>core2duo</model>
<model usable='no'>athlon</model>
- <model usable='no'>Westmere-IBRS</model>
+ <model usable='yes'>Westmere-IBRS</model>
<model usable='yes'>Westmere</model>
<model usable='no'>Skylake-Server-IBRS</model>
<model usable='no'>Skylake-Server</model>
- <model usable='no'>Skylake-Client-IBRS</model>
+ <model usable='yes'>Skylake-Client-IBRS</model>
<model usable='yes'>Skylake-Client</model>
- <model usable='no'>SandyBridge-IBRS</model>
+ <model usable='yes'>SandyBridge-IBRS</model>
<model usable='yes'>SandyBridge</model>
<model usable='yes'>Penryn</model>
<model usable='no'>Opteron_G5</model>
@@ -69,23 +73,23 @@
<model usable='no'>Opteron_G3</model>
<model usable='yes'>Opteron_G2</model>
<model usable='yes'>Opteron_G1</model>
- <model usable='no'>Nehalem-IBRS</model>
+ <model usable='yes'>Nehalem-IBRS</model>
<model usable='yes'>Nehalem</model>
- <model usable='no'>IvyBridge-IBRS</model>
+ <model usable='yes'>IvyBridge-IBRS</model>
<model usable='yes'>IvyBridge</model>
<model usable='no'>Icelake-Server</model>
<model usable='no'>Icelake-Client</model>
- <model usable='no'>Haswell-noTSX-IBRS</model>
+ <model usable='yes'>Haswell-noTSX-IBRS</model>
<model usable='yes'>Haswell-noTSX</model>
- <model usable='no'>Haswell-IBRS</model>
+ <model usable='yes'>Haswell-IBRS</model>
<model usable='yes'>Haswell</model>
<model usable='no'>EPYC-IBPB</model>
<model usable='no'>EPYC</model>
<model usable='yes'>Conroe</model>
<model usable='no'>Cascadelake-Server</model>
- <model usable='no'>Broadwell-noTSX-IBRS</model>
+ <model usable='yes'>Broadwell-noTSX-IBRS</model>
<model usable='yes'>Broadwell-noTSX</model>
- <model usable='no'>Broadwell-IBRS</model>
+ <model usable='yes'>Broadwell-IBRS</model>
<model usable='yes'>Broadwell</model>
<model usable='yes'>486</model>
</mode>
diff --git a/tests/qemucapabilitiesdata/caps_4.1.0.x86_64.replies b/tests/qemucapabilitiesdata/caps_4.1.0.x86_64.replies
index 77de06bdd7..516e7139bd 100644
--- a/tests/qemucapabilitiesdata/caps_4.1.0.x86_64.replies
+++ b/tests/qemucapabilitiesdata/caps_4.1.0.x86_64.replies
@@ -21,7 +21,7 @@
"minor": 0,
"major": 4
},
- "package": "v4.0.0-1173-g9c70209b63"
+ "package": "v4.0.0-1481-g33d6099906"
},
"id": "libvirt-2"
}
@@ -619,399 +619,379 @@
{
"return": [
{
- "name": "vhost-vsock-pci",
- "parent": "vhost-vsock-pci-base"
+ "name": "pcie-pci-bridge",
+ "parent": "base-pci-bridge"
},
{
- "name": "scsi-generic",
- "parent": "scsi-device"
+ "name": "pc-q35-2.11-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "qio-channel-tls",
- "parent": "qio-channel"
+ "name": "isa-applesmc",
+ "parent": "isa-device"
},
{
- "name": "scsi-hd",
- "parent": "scsi-disk-base"
+ "name": "Westmere-IBRS-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "usb-bot",
- "parent": "usb-storage-dev"
+ "name": "floppy-bus",
+ "parent": "bus"
},
{
- "name": "chardev-null",
- "parent": "chardev"
+ "name": "chardev-stdio",
+ "parent": "chardev-fd"
},
{
- "name": "chardev-parallel",
+ "name": "chardev-testdev",
"parent": "chardev"
},
{
- "name": "qemu-xhci",
- "parent": "base-xhci"
- },
- {
- "name": "lsi53c895a",
- "parent": "pci-device"
+ "name": "virtio-rng-device",
+ "parent": "virtio-device"
},
{
- "name": "kvm-ioapic",
- "parent": "ioapic-common"
+ "name": "sev-guest",
+ "parent": "object"
},
{
- "name": "cpu-cluster",
- "parent": "device"
+ "name": "usb-redir",
+ "parent": "usb-device"
},
{
- "name": "virtio-keyboard-pci",
- "parent": "virtio-input-hid-pci"
+ "name": "filter-buffer",
+ "parent": "netfilter"
},
{
- "name": "xen-sysbus",
- "parent": "bus"
+ "name": "usb-wacom-tablet",
+ "parent": "usb-device"
},
{
- "name": "xen-bus",
- "parent": "bus"
+ "name": "ich9-usb-uhci6",
+ "parent": "pci-uhci-usb"
},
{
- "name": "i440FX",
- "parent": "pci-device"
+ "name": "secondary-vga",
+ "parent": "pci-vga"
},
{
- "name": "ide-hd",
- "parent": "ide-device"
+ "name": "kvm-pit",
+ "parent": "pit-common"
},
{
- "name": "Opteron_G1-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "vhost-user-input-pci",
+ "parent": "virtio-input-pci"
},
{
- "name": "kvm64-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "rtl8139",
+ "parent": "pci-device"
},
{
- "name": "vhost-scsi-pci-non-transitional",
- "parent": "vhost-scsi-pci-base"
+ "name": "ich9-usb-uhci5",
+ "parent": "pci-uhci-usb"
},
{
- "name": "virtio-net-device",
- "parent": "virtio-device"
+ "name": "pci-bridge",
+ "parent": "base-pci-bridge"
},
{
- "name": "kvm-i8259",
- "parent": "pic-common"
+ "name": "pc-i440fx-3.0-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "virtio-9p-pci-non-transitional",
- "parent": "virtio-9p-pci-base"
+ "name": "pcm3680_pci",
+ "parent": "pci-device"
},
{
- "name": "chardev-pty",
- "parent": "chardev"
+ "name": "virtio-crypto-device",
+ "parent": "virtio-device"
},
{
- "name": "xen-apic",
- "parent": "apic-common"
+ "name": "core2duo-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "SUNW,fdtwo",
- "parent": "base-sysbus-fdc"
+ "name": "virtio-blk-pci-transitional",
+ "parent": "virtio-blk-pci-base"
},
{
- "name": "isa-pcspk",
- "parent": "isa-device"
+ "name": "pc-q35-2.5-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "Haswell-IBRS-x86_64-cpu",
+ "name": "max-x86_64-cpu",
"parent": "x86_64-cpu"
},
{
- "name": "pc-q35-4.1-machine",
- "parent": "generic-pc-machine"
+ "name": "vmware-svga",
+ "parent": "pci-device"
},
{
- "name": "loader",
+ "name": "tpm-crb",
"parent": "device"
},
{
- "name": "filter-rewriter",
- "parent": "netfilter"
- },
- {
- "name": "pc-q35-4.0-machine",
- "parent": "generic-pc-machine"
- },
- {
- "name": "virtio-serial-pci",
- "parent": "virtio-serial-pci-base"
+ "name": "kvm-ioapic",
+ "parent": "ioapic-common"
},
{
- "name": "Nehalem-IBRS-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "gus",
+ "parent": "isa-device"
},
{
- "name": "pc-0.12-machine",
- "parent": "generic-pc-machine"
+ "name": "ich9-usb-uhci4",
+ "parent": "pci-uhci-usb"
},
{
- "name": "pcie-root-port",
- "parent": "pcie-root-port-base"
+ "name": "usb-hub",
+ "parent": "usb-device"
},
{
- "name": "virtio-crypto-device",
+ "name": "virtio-blk-device",
"parent": "virtio-device"
},
{
- "name": "usb-host",
- "parent": "usb-device"
+ "name": "ich9-usb-uhci3",
+ "parent": "pci-uhci-usb"
},
{
"name": "Icelake-Client-x86_64-cpu",
"parent": "x86_64-cpu"
},
{
- "name": "usb-bt-dongle",
- "parent": "usb-device"
+ "name": "chardev-wctablet",
+ "parent": "chardev"
},
{
- "name": "igd-passthrough-isa-bridge",
- "parent": "pci-device"
+ "name": "ich9-usb-uhci2",
+ "parent": "pci-uhci-usb"
},
{
- "name": "usb-mtp",
- "parent": "usb-device"
+ "name": "pc-i440fx-2.8-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "qemu64-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "chardev-serial",
+ "parent": "chardev-fd"
},
{
- "name": "virtio-input-host-pci",
- "parent": "virtio-input-pci"
+ "name": "qtest-accel",
+ "parent": "accel"
},
{
- "name": "pc-i440fx-2.10-machine",
- "parent": "generic-pc-machine"
+ "name": "chardev-pty",
+ "parent": "chardev"
},
{
- "name": "phenom-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "PCIE",
+ "parent": "PCI"
},
{
- "name": "e1000",
- "parent": "e1000-base"
+ "name": "ich9-usb-uhci1",
+ "parent": "pci-uhci-usb"
},
{
- "name": "PIIX3-xen",
- "parent": "pci-piix3"
+ "name": "scsi-generic",
+ "parent": "scsi-device"
},
{
- "name": "sysbus-ahci",
+ "name": "kvmclock",
"parent": "sys-bus-device"
},
{
- "name": "ccid-card-emulated",
- "parent": "ccid-card"
+ "name": "x3130-upstream",
+ "parent": "pcie-port"
},
{
- "name": "ich9-usb-uhci5",
- "parent": "pci-uhci-usb"
+ "name": "memory-backend-ram",
+ "parent": "memory-backend"
},
{
- "name": "pc-i440fx-1.4-machine",
- "parent": "generic-pc-machine"
+ "name": "virtio-serial-pci-transitional",
+ "parent": "virtio-serial-pci-base"
},
{
- "name": "ICH9-LPC",
+ "name": "e1000e",
"parent": "pci-device"
},
{
- "name": "pc-q35-2.6-machine",
- "parent": "generic-pc-machine"
+ "name": "n270-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "ich9-usb-uhci6",
- "parent": "pci-uhci-usb"
+ "name": "pxb-host",
+ "parent": "pci-host-bridge"
},
{
- "name": "ich9-usb-uhci4",
- "parent": "pci-uhci-usb"
+ "name": "scsi-disk",
+ "parent": "scsi-disk-base"
},
{
- "name": "chardev-spicevmc",
- "parent": "chardev-spice"
+ "name": "chardev-file",
+ "parent": "chardev-fd"
},
{
- "name": "ich9-usb-uhci3",
- "parent": "pci-uhci-usb"
+ "name": "tpm-passthrough",
+ "parent": "tpm-backend"
},
{
- "name": "ich9-usb-uhci2",
- "parent": "pci-uhci-usb"
+ "name": "virtio-serial-bus",
+ "parent": "bus"
},
{
- "name": "ich9-usb-uhci1",
- "parent": "pci-uhci-usb"
+ "name": "usb-host",
+ "parent": "usb-device"
},
{
- "name": "tls-creds-psk",
- "parent": "tls-creds"
+ "name": "piix3-ide",
+ "parent": "pci-ide"
},
{
- "name": "tpci200",
- "parent": "pci-device"
+ "name": "filter-rewriter",
+ "parent": "netfilter"
},
{
- "name": "memory-backend-file",
- "parent": "memory-backend"
+ "name": "pc-i440fx-4.0-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "pc-q35-2.5-machine",
+ "name": "pc-1.2-machine",
"parent": "generic-pc-machine"
},
{
- "name": "AMDVI-PCI",
- "parent": "pci-device"
+ "name": "isa-ipmi-bt",
+ "parent": "isa-device"
},
{
- "name": "filter-redirector",
- "parent": "netfilter"
+ "name": "vhost-scsi-pci",
+ "parent": "vhost-scsi-pci-base"
},
{
- "name": "rtl8139",
- "parent": "pci-device"
+ "name": "virtio-gpu-pci",
+ "parent": "virtio-gpu-pci-base"
},
{
- "name": "chardev-hci",
- "parent": "chardev"
+ "name": "xio3130-downstream",
+ "parent": "pcie-slot"
},
{
- "name": "pc-q35-2.4-machine",
- "parent": "generic-pc-machine"
+ "name": "intel-iommu-iommu-memory-region",
+ "parent": "qemu:iommu-memory-region"
},
{
- "name": "container",
- "parent": "object"
+ "name": "pc-i440fx-2.3-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "pc-i440fx-3.1-machine",
- "parent": "generic-pc-machine"
- },
- {
- "name": "megasas",
- "parent": "megasas-base"
+ "name": "ICH9-LPC",
+ "parent": "pci-device"
},
{
- "name": "base-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "PCI",
+ "parent": "bus"
},
{
- "name": "virtio-balloon-pci-non-transitional",
- "parent": "virtio-balloon-pci-base"
+ "name": "sdhci-bus",
+ "parent": "sd-bus"
},
{
- "name": "qxl-vga",
- "parent": "pci-qxl"
+ "name": "imx-usdhc",
+ "parent": "generic-sdhci"
},
{
- "name": "scsi-block",
- "parent": "scsi-disk-base"
+ "name": "pci-serial-2x",
+ "parent": "pci-device"
},
{
- "name": "Opteron_G2-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "igd-passthrough-isa-bridge",
+ "parent": "pci-device"
},
{
- "name": "unimplemented-device",
- "parent": "sys-bus-device"
+ "name": "virtio-9p-device",
+ "parent": "virtio-device"
},
{
- "name": "vhost-user-input",
- "parent": "virtio-input-device"
+ "name": "virtio-scsi-pci",
+ "parent": "virtio-scsi-pci-base"
},
{
- "name": "tls-creds-anon",
- "parent": "tls-creds"
+ "name": "ipmi-bmc-extern",
+ "parent": "ipmi-bmc"
},
{
- "name": "pc-i440fx-3.0-machine",
+ "name": "pc-q35-4.0-machine",
"parent": "generic-pc-machine"
},
{
- "name": "scsi-cd",
- "parent": "scsi-disk-base"
- },
- {
- "name": "pxb-bus",
- "parent": "PCI"
+ "name": "authz-list-file",
+ "parent": "authz"
},
{
- "name": "pc-0.14-machine",
- "parent": "generic-pc-machine"
+ "name": "usb-audio",
+ "parent": "usb-device"
},
{
- "name": "accel",
- "parent": "object"
+ "name": "qemu32-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "floppy-bus",
- "parent": "bus"
+ "name": "ich9-usb-ehci2",
+ "parent": "pci-ehci-usb"
},
{
- "name": "usb-audio",
+ "name": "usb-net",
"parent": "usb-device"
},
{
- "name": "virtio-vga",
- "parent": "virtio-vga-base"
+ "name": "vhost-vsock-pci-non-transitional",
+ "parent": "vhost-vsock-pci-base"
},
{
- "name": "pc-i440fx-2.12-machine",
- "parent": "generic-pc-machine"
+ "name": "isa-debug-exit",
+ "parent": "isa-device"
},
{
- "name": "vmware-svga",
- "parent": "pci-device"
+ "name": "KnightsMill-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "pc-0.13-machine",
- "parent": "generic-pc-machine"
+ "name": "vfio-pci-nohotplug",
+ "parent": "vfio-pci"
},
{
- "name": "isa-serial",
- "parent": "isa-device"
+ "name": "i2c-bus",
+ "parent": "bus"
},
{
- "name": "virtio-serial-device",
- "parent": "virtio-device"
+ "name": "ich9-usb-ehci1",
+ "parent": "pci-ehci-usb"
},
{
- "name": "isa-debug-exit",
- "parent": "isa-device"
+ "name": "virtio-input-host-pci",
+ "parent": "virtio-input-pci"
},
{
- "name": "vhost-scsi-pci",
- "parent": "vhost-scsi-pci-base"
+ "name": "mch",
+ "parent": "pci-device"
},
{
- "name": "chardev-gdb",
+ "name": "chardev-hci",
"parent": "chardev"
},
{
- "name": "fdc37m81x-superio",
- "parent": "isa-superio"
+ "name": "nvdimm",
+ "parent": "pc-dimm"
},
{
- "name": "pc-testdev",
- "parent": "isa-device"
+ "name": "pc-q35-3.0-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "xen-backend",
- "parent": "xen-sysdev"
+ "name": "virtio-9p-pci-transitional",
+ "parent": "virtio-9p-pci-base"
},
{
- "name": "Haswell-noTSX-IBRS-x86_64-cpu",
+ "name": "Opteron_G1-x86_64-cpu",
"parent": "x86_64-cpu"
},
{
@@ -1019,1484 +999,1440 @@
"parent": "pr-manager"
},
{
- "name": "fw_cfg_mem",
- "parent": "fw_cfg"
+ "name": "pc-i440fx-2.10-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "virtio-scsi-pci-transitional",
- "parent": "virtio-scsi-pci-base"
+ "name": "i82557c",
+ "parent": "pci-device"
},
{
- "name": "usb-uas",
- "parent": "usb-device"
+ "name": "virtio-scsi-device",
+ "parent": "virtio-scsi-common"
},
{
- "name": "ide-cd",
- "parent": "ide-device"
+ "name": "pxb-pcie",
+ "parent": "pci-device"
},
{
- "name": "pc-q35-2.8-machine",
- "parent": "generic-pc-machine"
+ "name": "Haswell-IBRS-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "pc-i440fx-2.11-machine",
- "parent": "generic-pc-machine"
+ "name": "cpu-cluster",
+ "parent": "device"
},
{
- "name": "pc-i440fx-1.6-machine",
- "parent": "generic-pc-machine"
+ "name": "i82557b",
+ "parent": "pci-device"
},
{
- "name": "virtio-balloon-pci",
- "parent": "virtio-balloon-pci-base"
+ "name": "migration",
+ "parent": "device"
},
{
- "name": "chardev-socket",
- "parent": "chardev"
+ "name": "pc-q35-2.8-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "iothread",
- "parent": "object"
+ "name": "vhost-user-scsi-pci-non-transitional",
+ "parent": "vhost-user-scsi-pci-base"
},
{
- "name": "sb16",
- "parent": "isa-device"
+ "name": "generic-sdhci",
+ "parent": "sys-bus-device"
},
{
- "name": "chardev-mux",
- "parent": "chardev"
+ "name": "i82557a",
+ "parent": "pci-device"
},
{
- "name": "pc-q35-2.7-machine",
+ "name": "pc-0.13-machine",
"parent": "generic-pc-machine"
},
{
- "name": "pc-i440fx-1.5-machine",
- "parent": "generic-pc-machine"
+ "name": "virtio-scsi-pci-non-transitional",
+ "parent": "virtio-scsi-pci-base"
},
{
- "name": "486-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "vmmouse",
+ "parent": "isa-device"
},
{
- "name": "bochs-display",
- "parent": "pci-device"
+ "name": "athlon-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "usb-ccid",
- "parent": "usb-device"
+ "name": "chardev-udp",
+ "parent": "chardev"
},
{
- "name": "isa-cirrus-vga",
- "parent": "isa-device"
+ "name": "virtio-mouse-pci",
+ "parent": "virtio-input-hid-pci"
},
{
- "name": "qio-channel-rdma",
- "parent": "qio-channel"
+ "name": "chardev-memory",
+ "parent": "chardev-ringbuf"
},
{
- "name": "vhost-vsock-device",
- "parent": "virtio-device"
+ "name": "pc-i440fx-1.6-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "sdhci-pci",
- "parent": "pci-device"
+ "name": "vhost-user-vga",
+ "parent": "virtio-vga-base"
},
{
- "name": "virtio-input-host-device",
- "parent": "virtio-input-device"
+ "name": "usb-braille",
+ "parent": "usb-serial-dev"
},
{
- "name": "i82559er",
- "parent": "pci-device"
+ "name": "EPYC-IBPB-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "pci-bridge",
- "parent": "base-pci-bridge"
+ "name": "ib700",
+ "parent": "isa-device"
},
{
- "name": "cs4231a",
- "parent": "isa-device"
+ "name": "amd-iommu",
+ "parent": "x86-iommu"
},
{
- "name": "ivshmem-doorbell",
- "parent": "ivshmem-common"
+ "name": "virtio-9p-pci-non-transitional",
+ "parent": "virtio-9p-pci-base"
},
{
- "name": "chardev-udp",
- "parent": "chardev"
+ "name": "igd-passthrough-i440FX",
+ "parent": "i440FX"
},
{
- "name": "virtio-rng-device",
- "parent": "virtio-device"
+ "name": "memory-backend-file",
+ "parent": "memory-backend"
},
{
- "name": "isa-parallel",
+ "name": "isa-pcspk",
"parent": "isa-device"
},
{
- "name": "piix4-ide",
- "parent": "pci-ide"
+ "name": "vhost-vsock-device",
+ "parent": "virtio-device"
},
{
- "name": "adlib",
- "parent": "isa-device"
+ "name": "sd-card",
+ "parent": "device"
},
{
- "name": "pc-0.15-machine",
+ "name": "pc-q35-4.0.1-machine",
"parent": "generic-pc-machine"
},
{
- "name": "authz-list-file",
- "parent": "authz"
- },
- {
- "name": "kvmvapic",
+ "name": "sysbus-ahci",
"parent": "sys-bus-device"
},
{
- "name": "hda-micro",
- "parent": "hda-audio"
+ "name": "vhost-scsi",
+ "parent": "vhost-scsi-common"
},
{
- "name": "pci-bridge-seat",
- "parent": "pci-bridge"
+ "name": "usb-tablet",
+ "parent": "usb-hid"
},
{
- "name": "dc390",
- "parent": "am53c974"
+ "name": "virtio-blk-pci-non-transitional",
+ "parent": "virtio-blk-pci-base"
},
{
- "name": "chardev-pipe",
- "parent": "chardev-fd"
+ "name": "esp",
+ "parent": "sys-bus-device"
},
{
- "name": "qemu,register",
- "parent": "device"
+ "name": "isabus-bridge",
+ "parent": "sys-bus-device"
},
{
- "name": "IDE",
+ "name": "ne2k_pci",
+ "parent": "pci-device"
+ },
+ {
+ "name": "usb-bus",
"parent": "bus"
},
{
- "name": "fw_cfg_io",
- "parent": "fw_cfg"
+ "name": "ide-cd",
+ "parent": "ide-device"
},
{
- "name": "tpm-crb",
- "parent": "device"
+ "name": "tcg-accel",
+ "parent": "accel"
},
{
- "name": "am53c974",
- "parent": "pci-device"
+ "name": "virtio-balloon-pci",
+ "parent": "virtio-balloon-pci-base"
},
{
- "name": "memory-backend-ram",
- "parent": "memory-backend"
+ "name": "qemu:memory-region",
+ "parent": "object"
},
{
- "name": "xen-cdrom",
- "parent": "xen-block"
+ "name": "virtio-gpu-device",
+ "parent": "virtio-gpu-base"
},
{
- "name": "virtio-blk-device",
- "parent": "virtio-device"
+ "name": "e1000",
+ "parent": "e1000-base"
},
{
- "name": "pc-q35-2.9-machine",
- "parent": "generic-pc-machine"
+ "name": "ES1370",
+ "parent": "pci-device"
},
{
- "name": "nvdimm",
- "parent": "pc-dimm"
+ "name": "pc-i440fx-2.6-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "mc146818rtc",
- "parent": "isa-device"
+ "name": "i82551",
+ "parent": "pci-device"
},
{
- "name": "qio-channel-websock",
- "parent": "qio-channel"
+ "name": "isa-ipmi-kcs",
+ "parent": "isa-device"
},
{
- "name": "qio-channel-file",
- "parent": "qio-channel"
+ "name": "nvme",
+ "parent": "pci-device"
},
{
- "name": "chardev-msmouse",
- "parent": "chardev"
+ "name": "SandyBridge-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "pc-i440fx-1.7-machine",
- "parent": "generic-pc-machine"
+ "name": "vmxnet3",
+ "parent": "pci-device"
},
{
- "name": "pc-q35-4.0.1-machine",
- "parent": "generic-pc-machine"
+ "name": "piix4-ide",
+ "parent": "pci-ide"
},
{
- "name": "cryptodev-backend-builtin",
- "parent": "cryptodev-backend"
+ "name": "vhost-user-backend",
+ "parent": "object"
},
{
- "name": "hda-output",
- "parent": "hda-audio"
+ "name": "mioe3680_pci",
+ "parent": "pci-device"
},
{
- "name": "KnightsMill-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "i82550",
+ "parent": "pci-device"
},
{
- "name": "chardev-spiceport",
- "parent": "chardev-spice"
+ "name": "nec-usb-xhci",
+ "parent": "base-xhci"
},
{
- "name": "VGA",
- "parent": "pci-vga"
+ "name": "kvm-apic",
+ "parent": "apic-common"
},
{
- "name": "vfio-pci-nohotplug",
- "parent": "vfio-pci"
+ "name": "kvm64-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "sga",
- "parent": "isa-device"
+ "name": "isa-pit",
+ "parent": "pit-common"
},
{
- "name": "i8257",
- "parent": "isa-device"
+ "name": "memory-backend-memfd",
+ "parent": "memory-backend"
},
{
- "name": "qio-net-listener",
- "parent": "object"
+ "name": "smbus-eeprom",
+ "parent": "smbus-device"
},
{
- "name": "port92",
- "parent": "isa-device"
+ "name": "virtio-serial-device",
+ "parent": "virtio-device"
},
{
- "name": "mptsas1068",
- "parent": "pci-device"
+ "name": "vhost-user-gpu-pci",
+ "parent": "virtio-gpu-pci-base"
},
{
- "name": "edu",
- "parent": "pci-device"
+ "name": "virtio-crypto-pci",
+ "parent": "virtio-pci"
},
{
- "name": "Dhyana-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "iothread",
+ "parent": "object"
},
{
- "name": "virtio-mouse-pci",
- "parent": "virtio-input-hid-pci"
+ "name": "i8042",
+ "parent": "isa-device"
},
{
- "name": "Skylake-Client-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "System",
+ "parent": "bus"
},
{
- "name": "ICH9 SMB",
- "parent": "pci-device"
+ "name": "or-irq",
+ "parent": "device"
},
{
- "name": "Broadwell-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "pc-1.0-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "vfio-pci-igd-lpc-bridge",
+ "name": "ati-vga",
"parent": "pci-device"
},
{
- "name": "HDA",
- "parent": "bus"
+ "name": "pentium3-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "n270-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "kvm-i8259",
+ "parent": "pic-common"
},
{
- "name": "usb-redir",
- "parent": "usb-device"
+ "name": "isa-serial",
+ "parent": "isa-device"
},
{
- "name": "pcm3680_pci",
+ "name": "cirrus-vga",
"parent": "pci-device"
},
{
- "name": "floppy",
- "parent": "device"
+ "name": "pc-i440fx-2.1-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "qemu:memory-region",
- "parent": "object"
+ "name": "virtio-serial-pci",
+ "parent": "virtio-serial-pci-base"
},
{
- "name": "mioe3680_pci",
+ "name": "i82559er",
"parent": "pci-device"
},
{
- "name": "sysbus-ohci",
- "parent": "sys-bus-device"
+ "name": "virtio-rng-pci-non-transitional",
+ "parent": "virtio-rng-pci-base"
},
{
- "name": "chardev-ringbuf",
- "parent": "chardev"
+ "name": "Skylake-Client-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "max-x86_64-cpu",
+ "name": "Opteron_G3-x86_64-cpu",
"parent": "x86_64-cpu"
},
{
- "name": "can-bus",
- "parent": "object"
+ "name": "split-irq",
+ "parent": "device"
},
{
- "name": "qtest-accel",
- "parent": "accel"
+ "name": "am53c974",
+ "parent": "pci-device"
},
{
- "name": "qio-channel-command",
- "parent": "qio-channel"
+ "name": "container",
+ "parent": "object"
},
{
- "name": "pxb-host",
- "parent": "pci-host-bridge"
+ "name": "scsi-cd",
+ "parent": "scsi-disk-base"
},
{
- "name": "IvyBridge-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "vmport",
+ "parent": "isa-device"
},
{
- "name": "vhost-user-gpu",
- "parent": "virtio-gpu-base"
+ "name": "vhost-user-blk-pci-non-transitional",
+ "parent": "vhost-user-blk-pci-base"
},
{
- "name": "xio3130-downstream",
- "parent": "pcie-slot"
+ "name": "isa-ide",
+ "parent": "isa-device"
},
{
- "name": "virtio-gpu-device",
- "parent": "virtio-gpu-base"
+ "name": "e1000-82545em",
+ "parent": "e1000-base"
},
{
- "name": "virtio-blk-pci",
- "parent": "virtio-blk-pci-base"
+ "name": "virtio-serial-pci-non-transitional",
+ "parent": "virtio-serial-pci-base"
},
{
- "name": "cirrus-vga",
+ "name": "ICH9 SMB",
"parent": "pci-device"
},
{
- "name": "isa-ipmi-kcs",
- "parent": "isa-device"
- },
- {
- "name": "kvmclock",
- "parent": "sys-bus-device"
+ "name": "pxb-pcie-bus",
+ "parent": "PCIE"
},
{
- "name": "cryptodev-vhost-user",
- "parent": "cryptodev-backend"
+ "name": "sdhci-pci",
+ "parent": "pci-device"
},
{
- "name": "Opteron_G3-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "vhost-user-scsi",
+ "parent": "vhost-scsi-common"
},
{
- "name": "lsi53c810",
- "parent": "lsi53c895a"
+ "name": "PIIX4_PM",
+ "parent": "pci-device"
},
{
- "name": "System",
- "parent": "bus"
+ "name": "virtio-rng-pci-transitional",
+ "parent": "virtio-rng-pci-base"
},
{
- "name": "Westmere-IBRS-x86_64-cpu",
+ "name": "EPYC-x86_64-cpu",
"parent": "x86_64-cpu"
},
{
- "name": "usb-serial",
- "parent": "usb-serial-dev"
+ "name": "usb-bot",
+ "parent": "usb-storage-dev"
},
{
- "name": "Cascadelake-Server-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "pc-q35-2.12-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "vt82c686b-usb-uhci",
- "parent": "pci-uhci-usb"
+ "name": "VGA",
+ "parent": "pci-vga"
},
{
- "name": "chardev-braille",
- "parent": "chardev"
+ "name": "qio-channel-buffer",
+ "parent": "qio-channel"
},
{
- "name": "chardev-file",
- "parent": "chardev-fd"
+ "name": "i440FX",
+ "parent": "pci-device"
},
{
- "name": "vhost-user-scsi-pci-non-transitional",
- "parent": "vhost-user-scsi-pci-base"
+ "name": "vhost-vsock-pci-transitional",
+ "parent": "vhost-vsock-pci-base"
},
{
- "name": "xen-sysdev",
- "parent": "sys-bus-device"
+ "name": "Conroe-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "intel-iommu",
- "parent": "x86-iommu"
- },
- {
- "name": "pc-q35-2.10-machine",
+ "name": "pc-i440fx-3.1-machine",
"parent": "generic-pc-machine"
},
{
- "name": "tpm-tis",
- "parent": "isa-device"
+ "name": "fdc37m81x-superio",
+ "parent": "isa-superio"
},
{
- "name": "PCIE",
- "parent": "PCI"
+ "name": "pci-serial-4x",
+ "parent": "pci-device"
},
{
- "name": "pcie-pci-bridge",
- "parent": "base-pci-bridge"
+ "name": "Icelake-Server-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "ccid-card-passthru",
- "parent": "ccid-card"
+ "name": "apic",
+ "parent": "apic-common"
},
{
- "name": "qio-dns-resolver",
- "parent": "object"
+ "name": "sga",
+ "parent": "isa-device"
},
{
- "name": "vhost-user-blk-pci",
- "parent": "vhost-user-blk-pci-base"
+ "name": "Opteron_G5-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "virtio-net-pci-transitional",
- "parent": "virtio-net-pci-base"
+ "name": "pc-q35-2.6-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "virtio-serial-bus",
- "parent": "bus"
+ "name": "hpet",
+ "parent": "sys-bus-device"
},
{
- "name": "kvm-pit",
- "parent": "pit-common"
+ "name": "pci-ohci",
+ "parent": "pci-device"
},
{
- "name": "secondary-vga",
- "parent": "pci-vga"
+ "name": "virtio-tablet-device",
+ "parent": "virtio-input-hid-device"
},
{
- "name": "vhost-scsi",
- "parent": "vhost-scsi-common"
+ "name": "Haswell-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "pci-ohci",
- "parent": "pci-device"
+ "name": "ccid-card-passthru",
+ "parent": "ccid-card"
},
{
- "name": "cfi.pflash01",
- "parent": "sys-bus-device"
+ "name": "pc-i440fx-1.4-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "usb-hub",
- "parent": "usb-device"
+ "name": "chardev-parallel",
+ "parent": "chardev"
},
{
- "name": "ccid-bus",
- "parent": "bus"
+ "name": "chardev-vc",
+ "parent": "chardev"
},
{
- "name": "xenpv-machine",
- "parent": "machine"
+ "name": "cryptodev-backend",
+ "parent": "object"
},
{
- "name": "EPYC-IBPB-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "isapc-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "input-linux",
- "parent": "object"
+ "name": "ide-drive",
+ "parent": "ide-device"
},
{
- "name": "piix3-ide-xen",
- "parent": "pci-ide"
+ "name": "cryptodev-vhost-user",
+ "parent": "cryptodev-backend"
},
{
- "name": "vmgenid",
- "parent": "device"
+ "name": "tpm-emulator",
+ "parent": "tpm-backend"
},
{
- "name": "virtio-rng-pci-transitional",
- "parent": "virtio-rng-pci-base"
+ "name": "i8257",
+ "parent": "isa-device"
},
{
- "name": "virtio-serial-pci-transitional",
- "parent": "virtio-serial-pci-base"
+ "name": "usb-uas",
+ "parent": "usb-device"
},
{
- "name": "ati-vga",
- "parent": "pci-device"
+ "name": "IvyBridge-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "pc-q35-3.0-machine",
+ "name": "pc-i440fx-2.9-machine",
"parent": "generic-pc-machine"
},
{
- "name": "pci-serial",
- "parent": "pci-device"
+ "name": "ivshmem-plain",
+ "parent": "ivshmem-common"
},
{
- "name": "vmport",
- "parent": "isa-device"
+ "name": "virtio-keyboard-pci",
+ "parent": "virtio-input-hid-pci"
},
{
- "name": "vhost-user-scsi-pci",
- "parent": "vhost-user-scsi-pci-base"
+ "name": "pcnet",
+ "parent": "pci-device"
},
{
- "name": "ipmi-bmc-extern",
- "parent": "ipmi-bmc"
+ "name": "sysbus-fdc",
+ "parent": "base-sysbus-fdc"
},
{
- "name": "PIIX4_PM",
+ "name": "i82559c",
"parent": "pci-device"
},
{
- "name": "i8042",
- "parent": "isa-device"
+ "name": "AMDVI-PCI",
+ "parent": "pci-device"
},
{
- "name": "coreduo-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "virtserialport",
+ "parent": "virtio-serial-port"
},
{
- "name": "i82559c",
- "parent": "pci-device"
+ "name": "ipoctal232",
+ "parent": "ipack-device"
},
{
- "name": "i82559b",
- "parent": "pci-device"
+ "name": "filter-redirector",
+ "parent": "netfilter"
},
{
- "name": "i82559a",
- "parent": "pci-device"
+ "name": "Nehalem-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "virtio-blk-pci-non-transitional",
- "parent": "virtio-blk-pci-base"
+ "name": "i82559b",
+ "parent": "pci-device"
},
{
- "name": "pc-q35-2.12-machine",
- "parent": "generic-pc-machine"
+ "name": "usb-mouse",
+ "parent": "usb-hid"
},
{
- "name": "SCSI",
+ "name": "ccid-bus",
"parent": "bus"
},
{
- "name": "rocker",
- "parent": "pci-device"
+ "name": "ide-hd",
+ "parent": "ide-device"
},
{
- "name": "pcnet",
+ "name": "Broadwell-x86_64-cpu",
+ "parent": "x86_64-cpu"
+ },
+ {
+ "name": "i82559a",
"parent": "pci-device"
},
{
- "name": "rng-egd",
- "parent": "rng-backend"
+ "name": "kvaser_pci",
+ "parent": "pci-device"
},
{
- "name": "Skylake-Server-IBRS-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "vhost-user-scsi-pci",
+ "parent": "vhost-user-scsi-pci-base"
},
{
- "name": "Opteron_G4-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "pc-i440fx-4.1-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "pc-q35-2.11-machine",
+ "name": "pc-1.3-machine",
"parent": "generic-pc-machine"
},
{
- "name": "chardev-testdev",
- "parent": "chardev"
+ "name": "e1000-82544gc",
+ "parent": "e1000-base"
},
{
- "name": "PIIX3",
- "parent": "pci-piix3"
+ "name": "chardev-spiceport",
+ "parent": "chardev-spice"
},
{
- "name": "filter-dump",
- "parent": "netfilter"
+ "name": "qio-channel-command",
+ "parent": "qio-channel"
},
{
- "name": "migration",
- "parent": "device"
+ "name": "usb-ccid",
+ "parent": "usb-device"
},
{
- "name": "vmmouse",
- "parent": "isa-device"
+ "name": "tls-creds-x509",
+ "parent": "tls-creds"
},
{
- "name": "i82558b",
- "parent": "pci-device"
+ "name": "virtio-blk-pci",
+ "parent": "virtio-blk-pci-base"
},
{
- "name": "i82558a",
- "parent": "pci-device"
+ "name": "pc-i440fx-2.4-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "ioapic",
- "parent": "ioapic-common"
+ "name": "port92",
+ "parent": "isa-device"
},
{
- "name": "smbus-eeprom",
- "parent": "smbus-device"
+ "name": "isa-cirrus-vga",
+ "parent": "isa-device"
},
{
- "name": "Haswell-x86_64-cpu",
+ "name": "qemu64-x86_64-cpu",
"parent": "x86_64-cpu"
},
{
- "name": "i82801",
- "parent": "pci-device"
+ "name": "unimplemented-device",
+ "parent": "sys-bus-device"
},
{
- "name": "tls-creds-x509",
- "parent": "tls-creds"
+ "name": "pc-q35-4.1-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "virtio-net-pci",
- "parent": "virtio-net-pci-base"
+ "name": "mc146818rtc",
+ "parent": "isa-device"
},
{
- "name": "virtio-keyboard-device",
- "parent": "virtio-input-hid-device"
+ "name": "vfio-pci",
+ "parent": "pci-device"
},
{
- "name": "i82562",
+ "name": "bochs-display",
"parent": "pci-device"
},
{
- "name": "Haswell-noTSX-x86_64-cpu",
+ "name": "Broadwell-IBRS-x86_64-cpu",
"parent": "x86_64-cpu"
},
{
- "name": "usb-net",
- "parent": "usb-device"
+ "name": "qio-net-listener",
+ "parent": "object"
},
{
- "name": "tpm-passthrough",
- "parent": "tpm-backend"
+ "name": "edu",
+ "parent": "pci-device"
},
{
- "name": "q35-pcihost",
- "parent": "pcie-host-bridge"
+ "name": "pc-testdev",
+ "parent": "isa-device"
},
{
- "name": "amd-iommu",
- "parent": "x86-iommu"
+ "name": "SUNW,fdtwo",
+ "parent": "base-sysbus-fdc"
},
{
- "name": "i440FX-pcihost",
- "parent": "pci-host-bridge"
+ "name": "megasas",
+ "parent": "megasas-base"
},
{
- "name": "i82557c",
- "parent": "pci-device"
+ "name": "qio-channel-websock",
+ "parent": "qio-channel"
},
{
- "name": "i82557b",
- "parent": "pci-device"
+ "name": "chardev-braille",
+ "parent": "chardev"
},
{
- "name": "i82557a",
- "parent": "pci-device"
+ "name": "vmcoreinfo",
+ "parent": "device"
},
{
- "name": "chardev-memory",
- "parent": "chardev-ringbuf"
+ "name": "tpci200",
+ "parent": "pci-device"
},
{
- "name": "isa-i8259",
- "parent": "pic-common"
+ "name": "rocker",
+ "parent": "pci-device"
},
{
- "name": "virtio-gpu-pci",
- "parent": "virtio-gpu-pci-base"
+ "name": "qio-channel-file",
+ "parent": "qio-channel"
},
{
- "name": "pc-i440fx-2.0-machine",
+ "name": "pc-q35-3.1-machine",
"parent": "generic-pc-machine"
},
{
- "name": "SandyBridge-x86_64-cpu",
- "parent": "x86_64-cpu"
- },
- {
- "name": "split-irq",
- "parent": "device"
+ "name": "qio-channel-socket",
+ "parent": "qio-channel"
},
{
- "name": "usb-mouse",
- "parent": "usb-hid"
+ "name": "qemu-console",
+ "parent": "object"
},
{
- "name": "i82551",
- "parent": "pci-device"
+ "name": "host-x86_64-cpu",
+ "parent": "max-x86_64-cpu"
},
{
- "name": "sdhci-bus",
- "parent": "sd-bus"
+ "name": "usb-ehci",
+ "parent": "pci-ehci-usb"
},
{
- "name": "i82550",
+ "name": "pxb",
"parent": "pci-device"
},
{
- "name": "pc-q35-3.1-machine",
+ "name": "pc-i440fx-2.11-machine",
"parent": "generic-pc-machine"
},
{
- "name": "host-x86_64-cpu",
- "parent": "max-x86_64-cpu"
- },
- {
- "name": "virtio-crypto-pci",
- "parent": "virtio-pci"
- },
- {
- "name": "ich9-usb-ehci2",
- "parent": "pci-ehci-usb"
- },
- {
- "name": "vfio-pci",
+ "name": "AC97",
"parent": "pci-device"
},
{
- "name": "ich9-usb-ehci1",
- "parent": "pci-ehci-usb"
+ "name": "vmgenid",
+ "parent": "device"
},
{
- "name": "filter-mirror",
- "parent": "netfilter"
+ "name": "virtio-net-pci-non-transitional",
+ "parent": "virtio-net-pci-base"
},
{
- "name": "xen-disk",
- "parent": "xen-block"
+ "name": "cs4231a",
+ "parent": "isa-device"
},
{
- "name": "isa-ide",
- "parent": "isa-device"
+ "name": "chardev-socket",
+ "parent": "chardev"
},
{
- "name": "irq",
- "parent": "object"
+ "name": "scsi-hd",
+ "parent": "scsi-disk-base"
},
{
- "name": "throttle-group",
+ "name": "secret",
"parent": "object"
},
{
- "name": "IvyBridge-IBRS-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "usb-kbd",
+ "parent": "usb-hid"
},
{
- "name": "memory-backend-memfd",
- "parent": "memory-backend"
+ "name": "isa-fdc",
+ "parent": "isa-device"
},
{
- "name": "can-host-socketcan",
- "parent": "can-host"
+ "name": "input-linux",
+ "parent": "object"
},
{
- "name": "qio-channel-socket",
- "parent": "qio-channel"
+ "name": "filter-replay",
+ "parent": "netfilter"
},
{
- "name": "nec-usb-xhci",
- "parent": "base-xhci"
+ "name": "usb-mtp",
+ "parent": "usb-device"
},
{
- "name": "virtio-serial-pci-non-transitional",
- "parent": "virtio-serial-pci-base"
+ "name": "virtio-net-device",
+ "parent": "virtio-device"
},
{
- "name": "virtio-rng-pci-non-transitional",
- "parent": "virtio-rng-pci-base"
+ "name": "pc-q35-2.9-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "piix3-usb-uhci",
- "parent": "pci-uhci-usb"
+ "name": "pc-0.14-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "virtserialport",
- "parent": "virtio-serial-port"
+ "name": "Skylake-Server-IBRS-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "pvscsi",
- "parent": "pci-device"
+ "name": "hyperv-testdev",
+ "parent": "isa-device"
},
{
- "name": "sd-bus",
- "parent": "bus"
+ "name": "fw_cfg_mem",
+ "parent": "fw_cfg"
},
{
- "name": "Opteron_G5-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "ccid-card-emulated",
+ "parent": "ccid-card"
},
{
- "name": "ich9-ahci",
- "parent": "pci-device"
+ "name": "tpm-tis",
+ "parent": "isa-device"
},
{
- "name": "chardev-stdio",
- "parent": "chardev-fd"
+ "name": "lsi53c810",
+ "parent": "lsi53c895a"
},
{
- "name": "Skylake-Client-IBRS-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "pc-i440fx-1.7-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "pc-dimm",
- "parent": "device"
+ "name": "virtio-mouse-device",
+ "parent": "virtio-input-hid-device"
},
{
- "name": "gus",
- "parent": "isa-device"
+ "name": "virtconsole",
+ "parent": "virtserialport"
},
{
- "name": "vhost-vsock-pci-non-transitional",
- "parent": "vhost-vsock-pci-base"
+ "name": "ioh3420",
+ "parent": "pcie-root-port-base"
},
{
- "name": "hyperv-testdev",
- "parent": "isa-device"
+ "name": "filter-mirror",
+ "parent": "netfilter"
},
{
- "name": "isa-vga",
- "parent": "isa-device"
+ "name": "throttle-group",
+ "parent": "object"
},
{
- "name": "pc-i440fx-2.2-machine",
+ "name": "pc-q35-2.10-machine",
"parent": "generic-pc-machine"
},
{
- "name": "xen-pci-passthrough",
- "parent": "pci-device"
+ "name": "piix4-usb-uhci",
+ "parent": "pci-uhci-usb"
},
{
- "name": "cryptodev-backend",
- "parent": "object"
+ "name": "virtio-rng-pci",
+ "parent": "virtio-rng-pci-base"
},
{
- "name": "IndustryPack",
- "parent": "bus"
+ "name": "chardev-gdb",
+ "parent": "chardev"
},
{
- "name": "pc-i440fx-2.1-machine",
- "parent": "generic-pc-machine"
+ "name": "virtio-scsi-pci-transitional",
+ "parent": "virtio-scsi-pci-base"
},
{
- "name": "pc-i440fx-4.0-machine",
- "parent": "generic-pc-machine"
+ "name": "Skylake-Client-IBRS-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "Icelake-Server-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "pci-testdev",
+ "parent": "pci-device"
},
{
- "name": "or-irq",
- "parent": "device"
+ "name": "vhost-user-input",
+ "parent": "virtio-input-device"
},
{
- "name": "ipmi-bmc-sim",
- "parent": "ipmi-bmc"
+ "name": "vt82c686b-usb-uhci",
+ "parent": "pci-uhci-usb"
},
{
- "name": "Broadwell-noTSX-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "ich9-intel-hda",
+ "parent": "intel-hda-generic"
},
{
- "name": "usb-ehci",
- "parent": "pci-ehci-usb"
+ "name": "PIIX3",
+ "parent": "pci-piix3"
},
{
- "name": "pentium2-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "pc-q35-2.4-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "chardev-vc",
- "parent": "chardev"
+ "name": "virtio-9p-pci",
+ "parent": "virtio-9p-pci-base"
},
{
- "name": "virtio-rng-pci",
- "parent": "virtio-rng-pci-base"
+ "name": "ISA",
+ "parent": "bus"
},
{
- "name": "filter-replay",
- "parent": "netfilter"
+ "name": "vhost-vsock-pci",
+ "parent": "vhost-vsock-pci-base"
},
{
- "name": "vhost-user-vga",
- "parent": "virtio-vga-base"
+ "name": "pc-dimm",
+ "parent": "device"
},
{
- "name": "vhost-user-blk-pci-transitional",
- "parent": "vhost-user-blk-pci-base"
+ "name": "virtio-balloon-pci-non-transitional",
+ "parent": "virtio-balloon-pci-base"
},
{
- "name": "e1000-82545em",
- "parent": "e1000-base"
+ "name": "ipmi-bmc-sim",
+ "parent": "ipmi-bmc"
},
{
- "name": "chardev-wctablet",
- "parent": "chardev"
+ "name": "virtio-net-pci-transitional",
+ "parent": "virtio-net-pci-base"
},
{
- "name": "vhost-user-gpu-pci",
- "parent": "virtio-gpu-pci-base"
+ "name": "IvyBridge-IBRS-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "hyperv-synic",
- "parent": "device"
+ "name": "irq",
+ "parent": "object"
},
{
- "name": "pc-i440fx-2.5-machine",
- "parent": "generic-pc-machine"
+ "name": "coreduo-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "e1000-82544gc",
- "parent": "e1000-base"
+ "name": "tls-creds-psk",
+ "parent": "tls-creds"
},
{
- "name": "hpet",
- "parent": "sys-bus-device"
+ "name": "usb-storage",
+ "parent": "usb-storage-dev"
},
{
- "name": "Broadwell-noTSX-IBRS-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "vhost-user-blk-pci-transitional",
+ "parent": "vhost-user-blk-pci-base"
},
{
- "name": "ioh3420",
- "parent": "pcie-root-port-base"
+ "name": "chardev-msmouse",
+ "parent": "chardev"
},
{
- "name": "pc-i440fx-2.4-machine",
+ "name": "pc-i440fx-2.7-machine",
"parent": "generic-pc-machine"
},
{
- "name": "virtio-9p-pci",
- "parent": "virtio-9p-pci-base"
+ "name": "vhost-scsi-pci-transitional",
+ "parent": "vhost-scsi-pci-base"
},
{
- "name": "vmcoreinfo",
- "parent": "device"
+ "name": "isa-i8259",
+ "parent": "pic-common"
},
{
- "name": "filter-buffer",
- "parent": "netfilter"
+ "name": "colo-compare",
+ "parent": "object"
},
{
- "name": "pci-serial-4x",
- "parent": "pci-device"
+ "name": "pxb-bus",
+ "parent": "PCI"
},
{
- "name": "athlon-x86_64-cpu",
+ "name": "pentium2-x86_64-cpu",
"parent": "x86_64-cpu"
},
{
- "name": "ich9-intel-hda",
- "parent": "intel-hda-generic"
+ "name": "qemu-xhci",
+ "parent": "base-xhci"
},
{
- "name": "pc-i440fx-2.3-machine",
- "parent": "generic-pc-machine"
+ "name": "pvpanic",
+ "parent": "isa-device"
},
{
- "name": "virtio-9p-device",
- "parent": "virtio-device"
+ "name": "rng-random",
+ "parent": "rng-backend"
},
{
- "name": "imx-usdhc",
- "parent": "generic-sdhci"
+ "name": "kvmvapic",
+ "parent": "sys-bus-device"
},
{
- "name": "pc-i440fx-4.1-machine",
- "parent": "generic-pc-machine"
+ "name": "Opteron_G2-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "vhost-user-blk-pci-non-transitional",
+ "name": "megasas-gen2",
+ "parent": "megasas-base"
+ },
+ {
+ "name": "vhost-user-blk-pci",
"parent": "vhost-user-blk-pci-base"
},
{
- "name": "xen-bridge",
- "parent": "sys-bus-device"
+ "name": "authz-simple",
+ "parent": "authz"
},
{
- "name": "vhost-user-backend",
- "parent": "object"
+ "name": "fw_cfg_io",
+ "parent": "fw_cfg"
},
{
- "name": "isa-ipmi-bt",
- "parent": "isa-device"
+ "name": "intel-iommu",
+ "parent": "x86-iommu"
},
{
- "name": "ipoctal232",
- "parent": "ipack-device"
+ "name": "none-machine",
+ "parent": "machine"
},
{
- "name": "virtio-tablet-device",
- "parent": "virtio-input-hid-device"
+ "name": "HDA",
+ "parent": "bus"
},
{
- "name": "virtio-scsi-pci",
- "parent": "virtio-scsi-pci-base"
+ "name": "Broadwell-noTSX-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "piix3-ide",
- "parent": "pci-ide"
+ "name": "pc-1.1-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "virtio-pci-bus",
- "parent": "virtio-bus"
+ "name": "qxl",
+ "parent": "pci-qxl"
},
{
- "name": "xen-pvdevice",
- "parent": "pci-device"
+ "name": "cryptodev-backend-builtin",
+ "parent": "cryptodev-backend"
},
{
- "name": "ES1370",
+ "name": "vfio-pci-igd-lpc-bridge",
"parent": "pci-device"
},
{
- "name": "x3130-upstream",
- "parent": "pcie-port"
+ "name": "Broadwell-noTSX-IBRS-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "xenfv-machine",
+ "name": "pc-i440fx-2.2-machine",
"parent": "generic-pc-machine"
},
{
- "name": "pci-testdev",
- "parent": "pci-device"
- },
- {
- "name": "qemu-console",
+ "name": "qio-dns-resolver",
"parent": "object"
},
- {
- "name": "ISA",
- "parent": "bus"
- },
- {
- "name": "piix4-usb-uhci",
- "parent": "pci-uhci-usb"
- },
{
"name": "virtio-balloon-pci-transitional",
"parent": "virtio-balloon-pci-base"
},
{
- "name": "pc-i440fx-2.7-machine",
- "parent": "generic-pc-machine"
+ "name": "usb-bt-dongle",
+ "parent": "usb-device"
},
{
- "name": "tcg-accel",
- "parent": "accel"
+ "name": "i82801b11-bridge",
+ "parent": "base-pci-bridge"
},
{
- "name": "virtconsole",
- "parent": "virtserialport"
+ "name": "virtio-keyboard-device",
+ "parent": "virtio-input-hid-device"
},
{
- "name": "pci-serial-2x",
- "parent": "pci-device"
+ "name": "ramfb",
+ "parent": "sys-bus-device"
},
{
- "name": "pentium3-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "hda-output",
+ "parent": "hda-audio"
},
{
- "name": "vhost-user-scsi-pci-transitional",
- "parent": "vhost-user-scsi-pci-base"
+ "name": "virtio-input-host-device",
+ "parent": "virtio-input-device"
},
{
- "name": "ne2k_isa",
- "parent": "isa-device"
+ "name": "IndustryPack",
+ "parent": "bus"
},
{
- "name": "isa-fdc",
- "parent": "isa-device"
+ "name": "ioapic",
+ "parent": "ioapic-common"
},
{
- "name": "Nehalem-x86_64-cpu",
+ "name": "pentium-x86_64-cpu",
"parent": "x86_64-cpu"
},
{
- "name": "pc-i440fx-2.6-machine",
- "parent": "generic-pc-machine"
+ "name": "Haswell-noTSX-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "xen-platform",
+ "name": "pci-serial",
"parent": "pci-device"
},
{
- "name": "chardev-serial",
- "parent": "chardev-fd"
- },
- {
- "name": "authz-pam",
- "parent": "authz"
- },
- {
- "name": "igd-passthrough-i440FX",
- "parent": "i440FX"
- },
- {
- "name": "colo-compare",
- "parent": "object"
+ "name": "sysbus-ohci",
+ "parent": "sys-bus-device"
},
{
- "name": "virtio-tablet-pci",
- "parent": "virtio-input-hid-pci"
+ "name": "kvm-accel",
+ "parent": "accel"
},
{
- "name": "e1000e",
- "parent": "pci-device"
+ "name": "vhost-scsi-pci-non-transitional",
+ "parent": "vhost-scsi-pci-base"
},
{
- "name": "usb-bus",
- "parent": "bus"
+ "name": "piix3-usb-uhci",
+ "parent": "pci-uhci-usb"
},
{
- "name": "i82801b11-bridge",
- "parent": "base-pci-bridge"
+ "name": "ne2k_isa",
+ "parent": "isa-device"
},
{
- "name": "PCI",
- "parent": "bus"
+ "name": "phenom-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "usb-storage",
- "parent": "usb-storage-dev"
+ "name": "adlib",
+ "parent": "isa-device"
},
{
- "name": "vhost-user-scsi",
- "parent": "vhost-scsi-common"
+ "name": "vhost-user-gpu",
+ "parent": "virtio-gpu-base"
},
{
- "name": "mch",
- "parent": "pci-device"
+ "name": "hda-duplex",
+ "parent": "hda-audio"
},
{
- "name": "ib700",
- "parent": "isa-device"
+ "name": "amd-iommu-iommu-memory-region",
+ "parent": "qemu:iommu-memory-region"
},
{
- "name": "tpm-emulator",
- "parent": "tpm-backend"
+ "name": "can-bus",
+ "parent": "object"
},
{
- "name": "esp",
- "parent": "sys-bus-device"
+ "name": "Nehalem-IBRS-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "isabus-bridge",
+ "name": "cfi.pflash01",
"parent": "sys-bus-device"
},
{
- "name": "qemu32-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "virtio-balloon-device",
+ "parent": "virtio-device"
},
{
- "name": "ne2k_pci",
- "parent": "pci-device"
+ "name": "Skylake-Server-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "Broadwell-IBRS-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "pc-0.12-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "vhost-user-blk",
- "parent": "virtio-device"
+ "name": "pc-q35-2.7-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "ivshmem-plain",
- "parent": "ivshmem-common"
+ "name": "isa-parallel",
+ "parent": "isa-device"
},
{
- "name": "usb-kbd",
- "parent": "usb-hid"
+ "name": "chardev-null",
+ "parent": "chardev"
},
{
- "name": "isa-applesmc",
+ "name": "isa-vga",
"parent": "isa-device"
},
{
- "name": "xen-accel",
- "parent": "accel"
+ "name": "pc-i440fx-1.5-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "secret",
- "parent": "object"
+ "name": "i440FX-pcihost",
+ "parent": "pci-host-bridge"
},
{
- "name": "hda-duplex",
- "parent": "hda-audio"
+ "name": "isa-debugcon",
+ "parent": "isa-device"
},
{
- "name": "authz-simple",
- "parent": "authz"
+ "name": "tls-creds-anon",
+ "parent": "tls-creds"
},
{
- "name": "kvm32-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "rng-egd",
+ "parent": "rng-backend"
},
{
- "name": "virtio-9p-pci-transitional",
- "parent": "virtio-9p-pci-base"
+ "name": "Cascadelake-Server-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "pc-i440fx-2.9-machine",
- "parent": "generic-pc-machine"
+ "name": "i82558b",
+ "parent": "pci-device"
},
{
- "name": "kvm-apic",
- "parent": "apic-common"
+ "name": "ivshmem-doorbell",
+ "parent": "ivshmem-common"
},
{
- "name": "sev-guest",
- "parent": "object"
+ "name": "qxl-vga",
+ "parent": "pci-qxl"
},
{
- "name": "virtio-balloon-device",
- "parent": "virtio-device"
+ "name": "PIIX3-xen",
+ "parent": "pci-piix3"
},
{
- "name": "none-machine",
- "parent": "machine"
+ "name": "virtio-net-pci",
+ "parent": "virtio-net-pci-base"
},
{
- "name": "sysbus-fdc",
- "parent": "base-sysbus-fdc"
+ "name": "i82558a",
+ "parent": "pci-device"
},
{
- "name": "ramfb",
- "parent": "sys-bus-device"
+ "name": "loader",
+ "parent": "device"
},
{
- "name": "megasas-gen2",
- "parent": "megasas-base"
+ "name": "usb-serial",
+ "parent": "usb-serial-dev"
},
{
- "name": "usb-tablet",
- "parent": "usb-hid"
+ "name": "pvscsi",
+ "parent": "pci-device"
},
{
- "name": "pc-1.0-machine",
- "parent": "generic-pc-machine"
+ "name": "i82801",
+ "parent": "pci-device"
},
{
- "name": "vhost-scsi-pci-transitional",
- "parent": "vhost-scsi-pci-base"
+ "name": "accel",
+ "parent": "object"
},
{
- "name": "core2duo-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "virtio-tablet-pci",
+ "parent": "virtio-input-hid-pci"
},
{
- "name": "qxl",
- "parent": "pci-qxl"
+ "name": "dc390",
+ "parent": "am53c974"
},
{
- "name": "isa-debugcon",
- "parent": "isa-device"
+ "name": "i6300esb",
+ "parent": "pci-device"
},
{
- "name": "pc-i440fx-2.8-machine",
- "parent": "generic-pc-machine"
+ "name": "floppy",
+ "parent": "device"
},
{
- "name": "nvme",
- "parent": "pci-device"
+ "name": "authz-list",
+ "parent": "authz"
},
{
- "name": "SandyBridge-IBRS-x86_64-cpu",
+ "name": "Opteron_G4-x86_64-cpu",
"parent": "x86_64-cpu"
},
{
- "name": "Skylake-Server-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "sb16",
+ "parent": "isa-device"
},
{
- "name": "pentium-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "ich9-ahci",
+ "parent": "pci-device"
},
{
- "name": "vhost-user-input-pci",
- "parent": "virtio-input-pci"
+ "name": "pc-i440fx-2.5-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "usb-braille",
- "parent": "usb-serial-dev"
+ "name": "Westmere-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "qio-channel-buffer",
- "parent": "qio-channel"
+ "name": "vhost-user-scsi-pci-transitional",
+ "parent": "vhost-user-scsi-pci-base"
},
{
- "name": "scsi-disk",
- "parent": "scsi-disk-base"
+ "name": "chardev-pipe",
+ "parent": "chardev-fd"
},
{
- "name": "intel-hda",
- "parent": "intel-hda-generic"
+ "name": "can-host-socketcan",
+ "parent": "can-host"
},
{
- "name": "kvm-accel",
- "parent": "accel"
+ "name": "i82562",
+ "parent": "pci-device"
},
{
- "name": "pxb-pcie-bus",
- "parent": "PCIE"
+ "name": "pci-bridge-seat",
+ "parent": "pci-bridge"
},
{
- "name": "virtio-scsi-device",
- "parent": "virtio-scsi-common"
+ "name": "kvm32-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "AC97",
+ "name": "lsi53c895a",
"parent": "pci-device"
},
{
- "name": "usb-wacom-tablet",
- "parent": "usb-device"
+ "name": "SandyBridge-IBRS-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "virtio-blk-pci-transitional",
- "parent": "virtio-blk-pci-base"
+ "name": "intel-hda",
+ "parent": "intel-hda-generic"
},
{
- "name": "i2c-bus",
- "parent": "bus"
+ "name": "hyperv-synic",
+ "parent": "device"
},
{
- "name": "EPYC-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "chardev-mux",
+ "parent": "chardev"
},
{
- "name": "virtio-mouse-device",
- "parent": "virtio-input-hid-device"
+ "name": "base-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "Conroe-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "IDE",
+ "parent": "bus"
},
{
- "name": "pxb-pcie",
- "parent": "pci-device"
+ "name": "486-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "pc-1.3-machine",
- "parent": "generic-pc-machine"
+ "name": "pcie-root-port",
+ "parent": "pcie-root-port-base"
},
{
- "name": "authz-list",
- "parent": "authz"
+ "name": "mptsas1068",
+ "parent": "pci-device"
},
{
- "name": "ide-drive",
- "parent": "ide-device"
+ "name": "scsi-block",
+ "parent": "scsi-disk-base"
},
{
- "name": "generic-sdhci",
- "parent": "sys-bus-device"
+ "name": "chardev-spicevmc",
+ "parent": "chardev-spice"
},
{
- "name": "pvrdma",
- "parent": "pci-device"
+ "name": "q35-pcihost",
+ "parent": "pcie-host-bridge"
},
{
- "name": "pc-1.2-machine",
+ "name": "pc-i440fx-2.0-machine",
"parent": "generic-pc-machine"
},
{
- "name": "isa-pit",
- "parent": "pit-common"
+ "name": "pc-i440fx-2.12-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "pxb",
- "parent": "pci-device"
+ "name": "SCSI",
+ "parent": "bus"
},
{
- "name": "virtio-net-pci-non-transitional",
- "parent": "virtio-net-pci-base"
+ "name": "Penryn-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "virtio-scsi-pci-non-transitional",
- "parent": "virtio-scsi-pci-base"
+ "name": "hda-micro",
+ "parent": "hda-audio"
},
{
- "name": "intel-iommu-iommu-memory-region",
- "parent": "qemu:iommu-memory-region"
+ "name": "piix3-ide-xen",
+ "parent": "pci-ide"
},
{
- "name": "pc-1.1-machine",
- "parent": "generic-pc-machine"
+ "name": "Dhyana-x86_64-cpu",
+ "parent": "x86_64-cpu"
},
{
- "name": "sd-card",
- "parent": "device"
+ "name": "sd-bus",
+ "parent": "bus"
},
{
- "name": "kvaser_pci",
- "parent": "pci-device"
+ "name": "filter-dump",
+ "parent": "netfilter"
},
{
- "name": "vmxnet3",
- "parent": "pci-device"
+ "name": "virtio-pci-bus",
+ "parent": "virtio-bus"
},
{
- "name": "i6300esb",
- "parent": "pci-device"
+ "name": "qemu,register",
+ "parent": "device"
},
{
- "name": "Westmere-x86_64-cpu",
- "parent": "x86_64-cpu"
+ "name": "chardev-ringbuf",
+ "parent": "chardev"
},
{
- "name": "amd-iommu-iommu-memory-region",
- "parent": "qemu:iommu-memory-region"
+ "name": "pc-0.15-machine",
+ "parent": "generic-pc-machine"
},
{
- "name": "pvpanic",
- "parent": "isa-device"
+ "name": "vhost-user-blk",
+ "parent": "virtio-device"
},
{
- "name": "Penryn-x86_64-cpu",
+ "name": "Haswell-noTSX-IBRS-x86_64-cpu",
"parent": "x86_64-cpu"
},
{
- "name": "vhost-vsock-pci-transitional",
- "parent": "vhost-vsock-pci-base"
- },
- {
- "name": "apic",
- "parent": "apic-common"
+ "name": "qio-channel-tls",
+ "parent": "qio-channel"
},
{
- "name": "isapc-machine",
- "parent": "generic-pc-machine"
+ "name": "virtio-vga",
+ "parent": "virtio-vga-base"
},
{
- "name": "rng-random",
- "parent": "rng-backend"
+ "name": "authz-pam",
+ "parent": "authz"
}
],
"id": "libvirt-6"
@@ -2522,88 +2458,72 @@
"type": "bool"
},
{
- "name": "request-merging",
- "description": "on/off",
- "type": "bool"
- },
- {
- "name": "secs",
- "type": "uint32"
- },
- {
- "name": "min_io_size",
+ "name": "num-queues",
"type": "uint16"
},
{
- "name": "event_idx",
- "description": "on/off",
+ "name": "share-rw",
"type": "bool"
},
{
- "name": "serial",
- "type": "str"
+ "name": "queue-size",
+ "type": "uint16"
},
{
- "name": "heads",
- "type": "uint32"
+ "name": "werror",
+ "description": "Error handling policy, report/ignore/enospc/stop/auto",
+ "type": "BlockdevOnError"
},
{
- "name": "ioeventfd",
- "description": "on/off",
- "type": "bool"
+ "name": "secs",
+ "type": "uint32"
},
{
- "name": "multifunction",
- "description": "on/off",
- "type": "bool"
+ "name": "bootindex",
+ "type": "int32"
},
{
- "name": "rombar",
- "type": "uint32"
+ "name": "serial",
+ "type": "str"
},
{
- "name": "write-zeroes",
- "description": "on/off",
+ "name": "x-ignore-backend-features",
"type": "bool"
},
{
- "name": "scsi",
- "description": "on/off",
- "type": "bool"
+ "name": "rerror",
+ "description": "Error handling policy, report/ignore/enospc/stop/auto",
+ "type": "BlockdevOnError"
},
{
"name": "cyls",
"type": "uint32"
},
{
- "name": "x-disable-pcie",
+ "name": "heads",
+ "type": "uint32"
+ },
+ {
+ "name": "any_layout",
"description": "on/off",
"type": "bool"
},
{
- "name": "logical_block_size",
- "description": "A power of two between 512 and 32768",
- "type": "uint16"
+ "name": "virtio-backend",
+ "type": "child<virtio-blk-device>"
},
{
- "name": "bootindex",
- "type": "int32"
+ "name": "min_io_size",
+ "type": "uint16"
},
{
- "name": "indirect_desc",
+ "name": "config-wce",
"description": "on/off",
"type": "bool"
},
{
- "name": "max-write-zeroes-sectors",
- "type": "uint32"
- },
- {
- "name": "queue-size",
- "type": "uint16"
- },
- {
- "name": "disable-modern",
+ "name": "multifunction",
+ "description": "on/off",
"type": "bool"
},
{
@@ -2612,56 +2532,65 @@
"type": "str"
},
{
- "name": "x-pcie-lnkctl-init",
+ "name": "page-per-vq",
"description": "on/off",
"type": "bool"
},
{
- "name": "disable-legacy",
- "description": "on/off/auto",
- "type": "OnOffAuto"
+ "name": "vectors",
+ "type": "uint32"
},
{
- "name": "command_serr_enable",
+ "name": "x-pcie-deverr-init",
"description": "on/off",
"type": "bool"
},
{
- "name": "werror",
- "description": "Error handling policy, report/ignore/enospc/stop/auto",
- "type": "BlockdevOnError"
+ "name": "disable-legacy",
+ "description": "on/off/auto",
+ "type": "OnOffAuto"
},
{
- "name": "any_layout",
+ "name": "write-cache",
+ "description": "on/off/auto",
+ "type": "OnOffAuto"
+ },
+ {
+ "name": "x-pcie-pm-init",
"description": "on/off",
"type": "bool"
},
{
- "name": "discard_granularity",
+ "name": "max-write-zeroes-sectors",
"type": "uint32"
},
{
- "name": "rerror",
- "description": "Error handling policy, report/ignore/enospc/stop/auto",
- "type": "BlockdevOnError"
+ "name": "physical_block_size",
+ "description": "A power of two between 512 and 32768",
+ "type": "uint16"
},
{
- "name": "page-per-vq",
+ "name": "ioeventfd",
"description": "on/off",
"type": "bool"
},
{
- "name": "x-pcie-deverr-init",
+ "name": "iommu_platform",
"description": "on/off",
"type": "bool"
},
{
- "name": "x-pcie-pm-init",
+ "name": "scsi",
"description": "on/off",
"type": "bool"
},
{
- "name": "max-discard-sectors",
+ "name": "logical_block_size",
+ "description": "A power of two between 512 and 32768",
+ "type": "uint16"
+ },
+ {
+ "name": "opt_io_size",
"type": "uint32"
},
{
@@ -2670,89 +2599,96 @@
"type": "bool"
},
{
- "name": "share-rw",
+ "name": "x-disable-pcie",
+ "description": "on/off",
"type": "bool"
},
{
- "name": "physical_block_size",
- "description": "A power of two between 512 and 32768",
- "type": "uint16"
+ "name": "ats",
+ "description": "on/off",
+ "type": "bool"
},
{
- "name": "config-wce",
+ "name": "write-zeroes",
"description": "on/off",
"type": "bool"
},
{
- "name": "class",
+ "name": "max-discard-sectors",
"type": "uint32"
},
{
- "name": "addr",
- "description": "Slot and optional function number, example: 06.0 or 06",
- "type": "int32"
- },
- {
- "name": "migrate-extra",
+ "name": "request-merging",
"description": "on/off",
"type": "bool"
},
{
- "name": "modern-pio-notify",
+ "name": "discard",
"description": "on/off",
"type": "bool"
},
{
- "name": "vectors",
+ "name": "addr",
+ "description": "Slot and optional function number, example: 06.0 or 06",
+ "type": "int32"
+ },
+ {
+ "name": "discard_granularity",
"type": "uint32"
},
{
- "name": "iommu_platform",
+ "name": "x-pcie-extcap-init",
"description": "on/off",
"type": "bool"
},
{
- "name": "x-pcie-extcap-init",
+ "name": "x-pcie-lnkctl-init",
"description": "on/off",
"type": "bool"
},
{
- "name": "virtio-backend",
- "type": "child<virtio-blk-device>"
+ "name": "romfile",
+ "type": "str"
},
{
- "name": "x-ignore-backend-features",
- "type": "bool"
+ "name": "rombar",
+ "type": "uint32"
},
{
- "name": "discard",
+ "name": "event_idx",
"description": "on/off",
"type": "bool"
},
{
- "name": "write-cache",
- "description": "on/off/auto",
- "type": "OnOffAuto"
+ "name": "disable-modern",
+ "type": "bool"
},
{
- "name": "num-queues",
- "type": "uint16"
+ "name": "class",
+ "type": "uint32"
},
{
- "name": "opt_io_size",
- "type": "uint32"
+ "name": "migrate-extra",
+ "description": "on/off",
+ "type": "bool"
},
{
- "name": "ats",
+ "name": "virtio-pci-bus-master-bug-migration",
"description": "on/off",
"type": "bool"
},
{
- "name": "romfile",
- "type": "str"
+ "name": "modern-pio-notify",
+ "description": "on/off",
+ "type": "bool"
},
{
- "name": "virtio-pci-bus-master-bug-migration",
+ "name": "indirect_desc",
+ "description": "on/off",
+ "type": "bool"
+ },
+ {
+ "name": "command_serr_enable",
"description": "on/off",
"type": "bool"
}
@@ -2771,12 +2707,12 @@
{
"return": [
{
- "name": "ctrl_mac_addr",
+ "name": "ctrl_vlan",
"description": "on/off",
"type": "bool"
},
{
- "name": "romfile",
+ "name": "duplex",
"type": "str"
},
{
@@ -2785,9 +2721,12 @@
"type": "bool"
},
{
- "name": "status",
- "description": "on/off",
- "type": "bool"
+ "name": "virtio-backend",
+ "type": "child<virtio-net-device>"
+ },
+ {
+ "name": "x-txtimer",
+ "type": "uint32"
},
{
"name": "notify_on_empty",
@@ -2795,86 +2734,85 @@
"type": "bool"
},
{
- "name": "command_serr_enable",
+ "name": "guest_tso6",
"description": "on/off",
"type": "bool"
},
{
- "name": "indirect_desc",
+ "name": "status",
"description": "on/off",
"type": "bool"
},
{
- "name": "x-pcie-pm-init",
+ "name": "ctrl_vq",
"description": "on/off",
"type": "bool"
},
{
- "name": "rsc_interval",
- "type": "uint32"
- },
- {
- "name": "guest_csum",
+ "name": "guest_ufo",
"description": "on/off",
"type": "bool"
},
{
- "name": "speed",
- "type": "int32"
- },
- {
- "name": "ctrl_rx",
+ "name": "virtio-pci-bus-master-bug-migration",
"description": "on/off",
"type": "bool"
},
{
- "name": "ctrl_vq",
+ "name": "ctrl_mac_addr",
"description": "on/off",
"type": "bool"
},
{
- "name": "bootindex",
+ "name": "romfile",
+ "type": "str"
+ },
+ {
+ "name": "speed",
"type": "int32"
},
{
- "name": "multifunction",
+ "name": "event_idx",
"description": "on/off",
"type": "bool"
},
{
- "name": "disable-modern",
- "type": "bool"
+ "name": "mac",
+ "description": "Ethernet 6-byte MAC Address, example: 52:54:00:12:34:56",
+ "type": "str"
},
{
- "name": "mrg_rxbuf",
+ "name": "ioeventfd",
"description": "on/off",
"type": "bool"
},
{
- "name": "host_tso6",
+ "name": "guest_tso4",
"description": "on/off",
"type": "bool"
},
{
- "name": "x-txtimer",
- "type": "uint32"
+ "name": "netdev",
+ "description": "ID of a netdev to use as a backend",
+ "type": "str"
},
{
- "name": "host_tso4",
+ "name": "x-disable-pcie",
"description": "on/off",
"type": "bool"
},
{
- "name": "rombar",
- "type": "uint32"
+ "name": "modern-pio-notify",
+ "description": "on/off",
+ "type": "bool"
},
{
- "name": "ctrl_rx_extra",
+ "name": "x-pcie-extcap-init",
"description": "on/off",
"type": "bool"
},
{
- "name": "gso",
+ "name": "guest_csum",
"description": "on/off",
"type": "bool"
},
@@ -2884,48 +2822,50 @@
"type": "bool"
},
{
- "name": "x-disable-pcie",
+ "name": "x-mtu-bypass-backend",
+ "type": "bool"
+ },
+ {
+ "name": "x-pcie-pm-init",
"description": "on/off",
"type": "bool"
},
{
- "name": "x-ignore-backend-features",
+ "name": "migrate-extra",
+ "description": "on/off",
"type": "bool"
},
{
- "name": "x-txburst",
+ "name": "bootindex",
"type": "int32"
},
{
- "name": "iommu_platform",
+ "name": "ats",
"description": "on/off",
"type": "bool"
},
{
- "name": "x-pcie-lnkctl-init",
+ "name": "guest_announce",
"description": "on/off",
"type": "bool"
},
{
- "name": "host_mtu",
- "type": "uint16"
- },
- {
- "name": "ctrl_vlan",
+ "name": "iommu_platform",
"description": "on/off",
"type": "bool"
},
{
- "name": "guest_tso4",
+ "name": "mq",
"description": "on/off",
"type": "bool"
},
{
- "name": "virtio-backend",
- "type": "child<virtio-net-device>"
+ "name": "disable-legacy",
+ "description": "on/off/auto",
+ "type": "OnOffAuto"
},
{
- "name": "event_idx",
+ "name": "indirect_desc",
"description": "on/off",
"type": "bool"
},
@@ -2934,134 +2874,130 @@
"type": "uint32"
},
{
- "name": "guest_announce",
+ "name": "host_tso6",
"description": "on/off",
"type": "bool"
},
{
- "name": "host_ecn",
+ "name": "any_layout",
"description": "on/off",
"type": "bool"
},
{
- "name": "addr",
- "description": "Slot and optional function number, example: 06.0 or 06",
- "type": "int32"
+ "name": "rx_queue_size",
+ "type": "uint16"
},
{
- "name": "ats",
- "description": "on/off",
- "type": "bool"
+ "name": "tx_queue_size",
+ "type": "uint16"
},
{
- "name": "host_ufo",
+ "name": "host_ecn",
"description": "on/off",
"type": "bool"
},
{
- "name": "duplex",
- "type": "str"
- },
- {
- "name": "guest_tso6",
+ "name": "ctrl_rx_extra",
"description": "on/off",
"type": "bool"
},
{
- "name": "ctrl_guest_offloads",
- "description": "on/off",
+ "name": "x-ignore-backend-features",
"type": "bool"
},
+ {
+ "name": "x-txburst",
+ "type": "int32"
+ },
{
"name": "csum",
"description": "on/off",
"type": "bool"
},
{
- "name": "modern-pio-notify",
+ "name": "mrg_rxbuf",
"description": "on/off",
"type": "bool"
},
{
- "name": "ioeventfd",
+ "name": "host_tso4",
"description": "on/off",
"type": "bool"
},
{
- "name": "mq",
+ "name": "gso",
"description": "on/off",
"type": "bool"
},
{
- "name": "any_layout",
+ "name": "x-pcie-deverr-init",
"description": "on/off",
"type": "bool"
},
{
- "name": "guest_ecn",
+ "name": "host_ufo",
"description": "on/off",
"type": "bool"
},
{
- "name": "guest_ufo",
- "description": "on/off",
- "type": "bool"
+ "name": "host_mtu",
+ "type": "uint16"
},
{
- "name": "virtio-pci-bus-master-bug-migration",
+ "name": "command_serr_enable",
"description": "on/off",
"type": "bool"
},
{
- "name": "mac",
- "description": "Ethernet 6-byte MAC Address, example: 52:54:00:12:34:56",
- "type": "str"
- },
- {
- "name": "tx_queue_size",
- "type": "uint16"
- },
- {
- "name": "disable-legacy",
- "description": "on/off/auto",
- "type": "OnOffAuto"
+ "name": "disable-modern",
+ "type": "bool"
},
{
"name": "tx",
"type": "str"
},
{
- "name": "x-pcie-extcap-init",
+ "name": "multifunction",
"description": "on/off",
"type": "bool"
},
{
- "name": "x-mtu-bypass-backend",
+ "name": "guest_rsc_ext",
+ "description": "on/off",
"type": "bool"
},
{
- "name": "x-pcie-deverr-init",
+ "name": "x-pcie-lnkctl-init",
"description": "on/off",
"type": "bool"
},
{
- "name": "netdev",
- "description": "ID of a netdev to use as a backend",
- "type": "str"
+ "name": "rombar",
+ "type": "uint32"
},
{
- "name": "migrate-extra",
+ "name": "rsc_interval",
+ "type": "uint32"
+ },
+ {
+ "name": "ctrl_guest_offloads",
"description": "on/off",
"type": "bool"
},
{
- "name": "guest_rsc_ext",
+ "name": "addr",
+ "description": "Slot and optional function number, example: 06.0 or 06",
+ "type": "int32"
+ },
+ {
+ "name": "ctrl_rx",
"description": "on/off",
"type": "bool"
},
{
- "name": "rx_queue_size",
- "type": "uint16"
+ "name": "guest_ecn",
+ "description": "on/off",
+ "type": "bool"
}
],
"id": "libvirt-8"
@@ -3078,54 +3014,57 @@
{
"return": [
{
- "name": "event_idx",
+ "name": "notify_on_empty",
"description": "on/off",
"type": "bool"
},
{
- "name": "ioeventfd",
- "description": "on/off",
+ "name": "iothread",
+ "type": "link<iothread>"
+ },
+ {
+ "name": "x-ignore-backend-features",
"type": "bool"
},
{
- "name": "multifunction",
+ "name": "param_change",
"description": "on/off",
"type": "bool"
},
{
- "name": "rombar",
+ "name": "max_sectors",
"type": "uint32"
},
+ {
+ "name": "virtio-backend",
+ "type": "child<virtio-scsi-device>"
+ },
{
"name": "virtqueue_size",
"type": "uint32"
},
{
- "name": "x-disable-pcie",
+ "name": "multifunction",
"description": "on/off",
"type": "bool"
},
{
- "name": "indirect_desc",
- "description": "on/off",
- "type": "bool"
+ "name": "num_queues",
+ "type": "uint32"
},
{
- "name": "x-pcie-lnkctl-init",
+ "name": "page-per-vq",
"description": "on/off",
"type": "bool"
},
{
- "name": "disable-modern",
- "type": "bool"
- },
- {
- "name": "num_queues",
+ "name": "vectors",
"type": "uint32"
},
{
- "name": "cmd_per_lun",
- "type": "uint32"
+ "name": "x-pcie-deverr-init",
+ "description": "on/off",
+ "type": "bool"
},
{
"name": "disable-legacy",
@@ -3133,52 +3072,48 @@
"type": "OnOffAuto"
},
{
- "name": "command_serr_enable",
+ "name": "x-pcie-pm-init",
"description": "on/off",
"type": "bool"
},
{
- "name": "hotplug",
+ "name": "iommu_platform",
"description": "on/off",
"type": "bool"
},
{
- "name": "page-per-vq",
+ "name": "ioeventfd",
"description": "on/off",
"type": "bool"
},
{
- "name": "x-pcie-deverr-init",
+ "name": "any_layout",
"description": "on/off",
"type": "bool"
},
{
- "name": "x-pcie-pm-init",
+ "name": "x-pcie-lnksta-dllla",
"description": "on/off",
"type": "bool"
},
{
- "name": "x-pcie-lnksta-dllla",
+ "name": "x-disable-pcie",
"description": "on/off",
"type": "bool"
},
{
- "name": "max_sectors",
- "type": "uint32"
- },
- {
- "name": "param_change",
+ "name": "ats",
"description": "on/off",
"type": "bool"
},
{
- "name": "any_layout",
+ "name": "hotplug",
"description": "on/off",
"type": "bool"
},
{
- "name": "iothread",
- "type": "link<iothread>"
+ "name": "cmd_per_lun",
+ "type": "uint32"
},
{
"name": "addr",
@@ -3186,53 +3121,54 @@
"type": "int32"
},
{
- "name": "migrate-extra",
+ "name": "x-pcie-extcap-init",
"description": "on/off",
"type": "bool"
},
{
- "name": "modern-pio-notify",
+ "name": "x-pcie-lnkctl-init",
"description": "on/off",
"type": "bool"
},
{
- "name": "vectors",
+ "name": "romfile",
+ "type": "str"
+ },
+ {
+ "name": "rombar",
"type": "uint32"
},
{
- "name": "x-pcie-extcap-init",
+ "name": "event_idx",
"description": "on/off",
"type": "bool"
},
{
- "name": "virtio-backend",
- "type": "child<virtio-scsi-device>"
- },
- {
- "name": "x-ignore-backend-features",
+ "name": "disable-modern",
"type": "bool"
},
{
- "name": "notify_on_empty",
+ "name": "migrate-extra",
"description": "on/off",
"type": "bool"
},
{
- "name": "iommu_platform",
+ "name": "virtio-pci-bus-master-bug-migration",
"description": "on/off",
"type": "bool"
},
{
- "name": "ats",
+ "name": "modern-pio-notify",
"description": "on/off",
"type": "bool"
},
{
- "name": "romfile",
- "type": "str"
+ "name": "indirect_desc",
+ "description": "on/off",
+ "type": "bool"
},
{
- "name": "virtio-pci-bus-master-bug-migration",
+ "name": "command_serr_enable",
"description": "on/off",
"type": "bool"
}
@@ -3299,104 +3235,99 @@
{
"return": [
{
- "name": "x-igd-opregion",
- "description": "on/off",
- "type": "bool"
- },
- {
- "name": "x-pci-vendor-id",
+ "name": "x-pci-sub-device-id",
"type": "uint32"
},
{
- "name": "yres",
- "type": "uint32"
+ "name": "x-no-kvm-intx",
+ "type": "bool"
},
{
- "name": "x-pci-sub-device-id",
+ "name": "x-pci-device-id",
"type": "uint32"
},
{
- "name": "x-no-kvm-ioeventfd",
+ "name": "x-no-kvm-msi",
"type": "bool"
},
{
- "name": "multifunction",
- "description": "on/off",
- "type": "bool"
+ "name": "xres",
+ "type": "uint32"
},
{
- "name": "rombar",
- "type": "uint32"
+ "name": "display",
+ "description": "on/off/auto",
+ "type": "OnOffAuto"
},
{
- "name": "x-no-kvm-msi",
- "type": "bool"
+ "name": "bootindex",
+ "type": "int32"
},
{
- "name": "x-req",
- "description": "on/off",
+ "name": "x-no-mmap",
"type": "bool"
},
{
- "name": "xres",
+ "name": "x-pci-sub-vendor-id",
"type": "uint32"
},
{
- "name": "x-no-vfio-ioeventfd",
- "type": "bool"
+ "name": "x-msix-relocation",
+ "description": "off/auto/bar0/bar1/bar2/bar3/bar4/bar5",
+ "type": "OffAutoPCIBAR"
},
{
- "name": "x-no-kvm-intx",
+ "name": "x-req",
+ "description": "on/off",
"type": "bool"
},
{
- "name": "host",
- "description": "Address (bus/device/function) of the host device, example: 04:10.0",
- "type": "str"
+ "name": "x-no-kvm-ioeventfd",
+ "type": "bool"
},
{
- "name": "x-no-kvm-msix",
- "type": "bool"
+ "name": "x-pci-vendor-id",
+ "type": "uint32"
},
{
- "name": "command_serr_enable",
+ "name": "multifunction",
"description": "on/off",
"type": "bool"
},
{
- "name": "x-balloon-allowed",
- "type": "bool"
+ "name": "x-nv-gpudirect-clique",
+ "description": "NVIDIA GPUDirect Clique ID (0 - 15)",
+ "type": "uint4"
},
{
- "name": "x-pcie-lnksta-dllla",
- "description": "on/off",
+ "name": "x-no-vfio-ioeventfd",
"type": "bool"
},
{
- "name": "x-pci-sub-vendor-id",
+ "name": "x-intx-mmap-timeout-ms",
"type": "uint32"
},
{
- "name": "x-pci-device-id",
+ "name": "x-igd-gms",
"type": "uint32"
},
{
- "name": "x-no-geforce-quirks",
+ "name": "x-pcie-lnksta-dllla",
+ "description": "on/off",
"type": "bool"
},
{
- "name": "display",
- "description": "on/off/auto",
- "type": "OnOffAuto"
+ "name": "sysfsdev",
+ "type": "str"
},
{
- "name": "x-nv-gpudirect-clique",
- "description": "NVIDIA GPUDirect Clique ID (0 - 15)",
- "type": "uint4"
+ "name": "yres",
+ "type": "uint32"
},
{
- "name": "x-igd-gms",
- "type": "uint32"
+ "name": "x-pcie-extcap-init",
+ "description": "on/off",
+ "type": "bool"
},
{
"name": "addr",
@@ -3404,39 +3335,44 @@
"type": "int32"
},
{
- "name": "x-msix-relocation",
- "description": "off/auto/bar0/bar1/bar2/bar3/bar4/bar5",
- "type": "OffAutoPCIBAR"
+ "name": "romfile",
+ "type": "str"
},
{
- "name": "x-intx-mmap-timeout-ms",
- "type": "uint32"
+ "name": "x-vga",
+ "description": "on/off",
+ "type": "bool"
},
{
- "name": "x-pcie-extcap-init",
+ "name": "x-igd-opregion",
"description": "on/off",
"type": "bool"
},
{
- "name": "x-no-mmap",
+ "name": "x-no-kvm-msix",
"type": "bool"
},
{
- "name": "bootindex",
- "type": "int32"
+ "name": "rombar",
+ "type": "uint32"
},
{
- "name": "sysfsdev",
+ "name": "host",
+ "description": "Address (bus/device/function) of the host device, example: 04:10.0",
"type": "str"
},
{
- "name": "x-vga",
+ "name": "x-no-geforce-quirks",
+ "type": "bool"
+ },
+ {
+ "name": "command_serr_enable",
"description": "on/off",
"type": "bool"
},
{
- "name": "romfile",
- "type": "str"
+ "name": "x-balloon-allowed",
+ "type": "bool"
}
],
"id": "libvirt-13"
@@ -3453,12 +3389,20 @@
{
"return": [
{
- "name": "min_io_size",
- "type": "uint16"
+ "name": "scsi-id",
+ "type": "uint32"
},
{
- "name": "secs",
- "type": "uint32"
+ "name": "share-rw",
+ "type": "bool"
+ },
+ {
+ "name": "ver",
+ "type": "str"
+ },
+ {
+ "name": "scsi_version",
+ "type": "int32"
},
{
"name": "removable",
@@ -3466,68 +3410,67 @@
"type": "bool"
},
{
- "name": "channel",
- "type": "uint32"
+ "name": "rotation_rate",
+ "type": "uint16"
},
{
- "name": "heads",
- "type": "uint32"
+ "name": "max_unmap_size",
+ "type": "uint64"
},
{
- "name": "lun",
+ "name": "cyls",
"type": "uint32"
},
{
- "name": "dpofua",
- "description": "on/off",
- "type": "bool"
+ "name": "serial",
+ "type": "str"
},
{
- "name": "ver",
+ "name": "secs",
+ "type": "uint32"
+ },
+ {
+ "name": "product",
"type": "str"
},
{
- "name": "scsi-id",
+ "name": "min_io_size",
+ "type": "uint16"
+ },
+ {
+ "name": "heads",
"type": "uint32"
},
{
- "name": "cyls",
+ "name": "lun",
"type": "uint32"
},
{
- "name": "logical_block_size",
- "description": "A power of two between 512 and 32768",
- "type": "uint16"
+ "name": "bootindex",
+ "type": "int32"
},
{
- "name": "rotation_rate",
- "type": "uint16"
+ "name": "dpofua",
+ "description": "on/off",
+ "type": "bool"
},
{
"name": "drive",
"description": "Node name or ID of a block device to use as a backend",
"type": "str"
},
- {
- "name": "scsi_version",
- "type": "int32"
- },
{
"name": "werror",
"description": "Error handling policy, report/ignore/enospc/stop/auto",
"type": "BlockdevOnError"
},
{
- "name": "discard_granularity",
- "type": "uint32"
- },
- {
- "name": "port_wwn",
+ "name": "wwn",
"type": "uint64"
},
{
- "name": "max_unmap_size",
- "type": "uint64"
+ "name": "vendor",
+ "type": "str"
},
{
"name": "rerror",
@@ -3535,54 +3478,47 @@
"type": "BlockdevOnError"
},
{
- "name": "max_io_size",
- "type": "uint64"
- },
- {
- "name": "device_id",
- "type": "str"
+ "name": "write-cache",
+ "description": "on/off/auto",
+ "type": "OnOffAuto"
},
{
- "name": "wwn",
- "type": "uint64"
+ "name": "physical_block_size",
+ "description": "A power of two between 512 and 32768",
+ "type": "uint16"
},
{
- "name": "share-rw",
- "type": "bool"
+ "name": "channel",
+ "type": "uint32"
},
{
- "name": "product",
- "type": "str"
+ "name": "max_io_size",
+ "type": "uint64"
},
{
- "name": "vendor",
- "type": "str"
+ "name": "opt_io_size",
+ "type": "uint32"
},
{
- "name": "physical_block_size",
+ "name": "logical_block_size",
"description": "A power of two between 512 and 32768",
"type": "uint16"
},
{
- "name": "port_index",
- "type": "uint16"
- },
- {
- "name": "bootindex",
- "type": "int32"
+ "name": "discard_granularity",
+ "type": "uint32"
},
{
- "name": "serial",
- "type": "str"
+ "name": "port_wwn",
+ "type": "uint64"
},
{
- "name": "write-cache",
- "description": "on/off/auto",
- "type": "OnOffAuto"
+ "name": "port_index",
+ "type": "uint16"
},
{
- "name": "opt_io_size",
- "type": "uint32"
+ "name": "device_id",
+ "type": "str"
}
],
"id": "libvirt-14"
@@ -3599,12 +3535,21 @@
{
"return": [
{
- "name": "serial",
+ "name": "bootindex",
+ "type": "int32"
+ },
+ {
+ "name": "model",
"type": "str"
},
{
- "name": "secs",
- "type": "uint32"
+ "name": "drive",
+ "description": "Node name or ID of a block device to use as a backend",
+ "type": "str"
+ },
+ {
+ "name": "serial",
+ "type": "str"
},
{
"name": "logical_block_size",
@@ -3612,41 +3557,36 @@
"type": "uint16"
},
{
- "name": "discard_granularity",
- "type": "uint32"
- },
- {
- "name": "bootindex",
- "type": "int32"
+ "name": "ver",
+ "type": "str"
},
{
- "name": "rotation_rate",
- "type": "uint16"
+ "name": "share-rw",
+ "type": "bool"
},
{
- "name": "drive",
- "description": "Node name or ID of a block device to use as a backend",
- "type": "str"
+ "name": "write-cache",
+ "description": "on/off/auto",
+ "type": "OnOffAuto"
},
{
- "name": "heads",
+ "name": "discard_granularity",
"type": "uint32"
},
{
- "name": "write-cache",
- "description": "on/off/auto",
- "type": "OnOffAuto"
+ "name": "wwn",
+ "type": "uint64"
},
{
- "name": "share-rw",
- "type": "bool"
+ "name": "heads",
+ "type": "uint32"
},
{
- "name": "min_io_size",
- "type": "uint16"
+ "name": "unit",
+ "type": "uint32"
},
{
- "name": "opt_io_size",
+ "name": "cyls",
"type": "uint32"
},
{
@@ -3655,30 +3595,25 @@
"type": "BiosAtaTranslation"
},
{
- "name": "unit",
+ "name": "opt_io_size",
"type": "uint32"
},
{
- "name": "wwn",
- "type": "uint64"
- },
- {
- "name": "werror",
+ "name": "rerror",
"description": "Error handling policy, report/ignore/enospc/stop/auto",
"type": "BlockdevOnError"
},
{
- "name": "model",
- "type": "str"
+ "name": "secs",
+ "type": "uint32"
},
{
- "name": "rerror",
- "description": "Error handling policy, report/ignore/enospc/stop/auto",
- "type": "BlockdevOnError"
+ "name": "rotation_rate",
+ "type": "uint16"
},
{
- "name": "ver",
- "type": "str"
+ "name": "min_io_size",
+ "type": "uint16"
},
{
"name": "physical_block_size",
@@ -3686,8 +3621,9 @@
"type": "uint16"
},
{
- "name": "cyls",
- "type": "uint32"
+ "name": "werror",
+ "description": "Error handling policy, report/ignore/enospc/stop/auto",
+ "type": "BlockdevOnError"
}
],
"id": "libvirt-15"
@@ -3704,61 +3640,61 @@
{
"return": [
{
- "name": "memory-hotplug-support",
- "type": "bool"
+ "name": "addr",
+ "description": "Slot and optional function number, example: 06.0 or 06",
+ "type": "int32"
},
{
- "name": "rombar",
- "type": "uint32"
+ "name": "disable_s4",
+ "type": "uint8"
},
{
- "name": "x-pcie-lnksta-dllla",
- "description": "on/off",
+ "name": "acpi-pci-hotplug-with-bridge-support",
"type": "bool"
},
{
- "name": "acpi-pci-hotplug-with-bridge-support",
+ "name": "memory-hotplug-support",
"type": "bool"
},
{
- "name": "multifunction",
+ "name": "x-pcie-extcap-init",
"description": "on/off",
"type": "bool"
},
{
- "name": "romfile",
- "type": "str"
- },
- {
- "name": "disable_s4",
+ "name": "disable_s3",
"type": "uint8"
},
{
- "name": "disable_s3",
+ "name": "s4_val",
"type": "uint8"
},
{
- "name": "x-pcie-extcap-init",
+ "name": "command_serr_enable",
"description": "on/off",
"type": "bool"
},
{
- "name": "command_serr_enable",
+ "name": "smb_io_base",
+ "type": "uint32"
+ },
+ {
+ "name": "x-pcie-lnksta-dllla",
"description": "on/off",
"type": "bool"
},
{
- "name": "s4_val",
- "type": "uint8"
+ "name": "romfile",
+ "type": "str"
},
{
- "name": "smb_io_base",
+ "name": "rombar",
"type": "uint32"
},
{
- "name": "addr",
- "description": "Slot and optional function number, example: 06.0 or 06",
- "type": "int32"
+ "name": "multifunction",
+ "description": "on/off",
+ "type": "bool"
}
],
"id": "libvirt-16"
@@ -3775,47 +3711,47 @@
{
"return": [
{
- "name": "filter",
+ "name": "chardev",
+ "description": "ID of a chardev to use as a backend",
"type": "str"
},
{
- "name": "msos-desc",
- "description": "on/off",
- "type": "bool"
+ "name": "debug",
+ "type": "uint8"
},
{
- "name": "serial",
+ "name": "port",
"type": "str"
},
{
- "name": "bootindex",
- "type": "int32"
+ "name": "streams",
+ "type": "bool"
},
{
- "name": "port",
- "type": "str"
+ "name": "attached",
+ "type": "bool"
},
{
- "name": "debug",
- "type": "uint8"
+ "name": "msos-desc",
+ "description": "on/off",
+ "type": "bool"
},
{
- "name": "streams",
- "type": "bool"
+ "name": "filter",
+ "type": "str"
},
{
- "name": "chardev",
- "description": "ID of a chardev to use as a backend",
+ "name": "bootindex",
+ "type": "int32"
+ },
+ {
+ "name": "serial",
"type": "str"
},
{
"name": "full-path",
"description": "on/off",
"type": "bool"
- },
- {
- "name": "attached",
- "type": "bool"
}
],
"id": "libvirt-17"
@@ -3832,40 +3768,40 @@
{
"return": [
{
- "name": "short_root_bus",
- "type": "uint32"
- },
- {
- "name": "pci-conf-idx[0]",
- "type": "child<qemu:memory-region>"
+ "name": "pci-hole64-end",
+ "type": "uint64"
},
{
- "name": "pci-hole64-end",
+ "name": "pci-hole64-start",
"type": "uint64"
},
{
- "name": "pci-hole-end",
- "type": "uint32"
+ "name": "pci-conf-data[0]",
+ "type": "child<qemu:memory-region>"
},
{
"name": "pci-hole-start",
"type": "uint32"
},
{
- "name": "pci-hole64-start",
- "type": "uint64"
+ "name": "pci-hole-end",
+ "type": "uint32"
},
{
"name": "pci-hole64-size",
"type": "size"
},
{
- "name": "pci-conf-data[0]",
+ "name": "x-pci-hole64-fix",
+ "type": "bool"
+ },
+ {
+ "name": "pci-conf-idx[0]",
"type": "child<qemu:memory-region>"
},
{
- "name": "x-pci-hole64-fix",
- "type": "bool"
+ "name": "short_root_bus",
+ "type": "uint32"
}
],
"id": "libvirt-18"
@@ -3882,80 +3818,80 @@
{
"return": [
{
- "name": "short_root_bus",
- "type": "uint32"
+ "name": "mch",
+ "type": "child<mch>"
},
{
- "name": "system-mem",
- "type": "link<qemu:memory-region>"
+ "name": "pci-hole64-start",
+ "type": "uint64"
},
{
- "name": "pci-conf-idx[0]",
- "type": "child<qemu:memory-region>"
+ "name": "above-4g-mem-size",
+ "type": "size"
+ },
+ {
+ "name": "io-mem",
+ "type": "link<qemu:memory-region>"
},
{
"name": "pcie-mmcfg-mmio[0]",
"type": "child<qemu:memory-region>"
},
{
- "name": "pci-hole64-start",
- "type": "uint64"
+ "name": "below-4g-mem-size",
+ "type": "size"
},
{
- "name": "io-mem",
- "type": "link<qemu:memory-region>"
+ "name": "MCFG",
+ "type": "uint64"
},
{
"name": "pci-hole64-end",
"type": "uint64"
},
{
- "name": "pci-hole-end",
- "type": "uint32"
- },
- {
- "name": "above-4g-mem-size",
- "type": "size"
+ "name": "pci-mem",
+ "type": "link<qemu:memory-region>"
},
{
- "name": "below-4g-mem-size",
- "type": "size"
+ "name": "pci-hole-start",
+ "type": "uint32"
},
{
- "name": "ram-mem",
+ "name": "system-mem",
"type": "link<qemu:memory-region>"
},
{
- "name": "pci-hole-start",
- "type": "uint32"
+ "name": "pci-hole64-size",
+ "type": "size"
},
{
- "name": "MCFG",
+ "name": "mcfg_size",
"type": "uint64"
},
{
- "name": "mch",
- "type": "child<mch>"
+ "name": "pci-hole-end",
+ "type": "uint32"
},
{
- "name": "pci-hole64-size",
- "type": "size"
+ "name": "pci-conf-data[0]",
+ "type": "child<qemu:memory-region>"
},
{
- "name": "pci-mem",
- "type": "link<qemu:memory-region>"
+ "name": "pci-conf-idx[0]",
+ "type": "child<qemu:memory-region>"
},
{
- "name": "pci-conf-data[0]",
- "type": "child<qemu:memory-region>"
+ "name": "ram-mem",
+ "type": "link<qemu:memory-region>"
},
{
"name": "x-pci-hole64-fix",
"type": "bool"
},
{
- "name": "mcfg_size",
- "type": "uint64"
+ "name": "short_root_bus",
+ "type": "uint32"
}
],
"id": "libvirt-19"
@@ -3972,22 +3908,8 @@
{
"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": "bootindex",
+ "type": "int32"
},
{
"name": "drive",
@@ -3995,58 +3917,72 @@
"type": "str"
},
{
- "name": "bootindex",
- "type": "int32"
+ "name": "port",
+ "type": "str"
},
{
- "name": "write-cache",
- "description": "on/off/auto",
- "type": "OnOffAuto"
+ "name": "serial",
+ "type": "str"
},
{
- "name": "share-rw",
- "type": "bool"
+ "name": "logical_block_size",
+ "description": "A power of two between 512 and 32768",
+ "type": "uint16"
},
{
- "name": "min_io_size",
- "type": "uint16"
+ "name": "share-rw",
+ "type": "bool"
},
{
- "name": "opt_io_size",
- "type": "uint32"
+ "name": "write-cache",
+ "description": "on/off/auto",
+ "type": "OnOffAuto"
},
{
- "name": "port",
- "type": "str"
+ "name": "removable",
+ "description": "on/off",
+ "type": "bool"
},
{
- "name": "attached",
- "type": "bool"
+ "name": "discard_granularity",
+ "type": "uint32"
},
{
- "name": "werror",
- "description": "Error handling policy, report/ignore/enospc/stop/auto",
- "type": "BlockdevOnError"
+ "name": "msos-desc",
+ "description": "on/off",
+ "type": "bool"
},
{
"name": "full-path",
"description": "on/off",
"type": "bool"
},
+ {
+ "name": "opt_io_size",
+ "type": "uint32"
+ },
{
"name": "rerror",
"description": "Error handling policy, report/ignore/enospc/stop/auto",
"type": "BlockdevOnError"
},
{
- "name": "removable",
- "description": "on/off",
+ "name": "attached",
"type": "bool"
},
+ {
+ "name": "min_io_size",
+ "type": "uint16"
+ },
{
"name": "physical_block_size",
"description": "A power of two between 512 and 32768",
"type": "uint16"
+ },
+ {
+ "name": "werror",
+ "description": "Error handling policy, report/ignore/enospc/stop/auto",
+ "type": "BlockdevOnError"
}
],
"id": "libvirt-20"
@@ -4062,13 +3998,13 @@
{
"return": [
- {
- "name": "iobase",
- "type": "uint32"
- },
{
"name": "lost_tick_policy",
"type": "LostTickPolicy"
+ },
+ {
+ "name": "iobase",
+ "type": "uint32"
}
],
"id": "libvirt-21"
@@ -4085,66 +4021,74 @@
{
"return": [
{
- "name": "rombar",
+ "name": "global-vmstate",
+ "type": "bool"
+ },
+ {
+ "name": "xmax",
"type": "uint32"
},
{
- "name": "x-pcie-lnksta-dllla",
- "description": "on/off",
- "type": "bool"
+ "name": "yres",
+ "type": "uint32"
},
{
- "name": "mmio",
- "description": "on/off",
+ "name": "big-endian-framebuffer",
"type": "bool"
},
{
- "name": "multifunction",
+ "name": "addr",
+ "description": "Slot and optional function number, example: 06.0 or 06",
+ "type": "int32"
+ },
+ {
+ "name": "x-pcie-lnksta-dllla",
"description": "on/off",
"type": "bool"
},
{
- "name": "qemu-extended-regs",
+ "name": "edid",
"description": "on/off",
"type": "bool"
},
{
- "name": "big-endian-framebuffer",
- "type": "bool"
+ "name": "ymax",
+ "type": "uint32"
},
{
- "name": "command_serr_enable",
+ "name": "multifunction",
"description": "on/off",
"type": "bool"
},
{
- "name": "romfile",
- "type": "str"
+ "name": "x-pcie-extcap-init",
+ "description": "on/off",
+ "type": "bool"
},
{
- "name": "yres",
+ "name": "vgamem_mb",
"type": "uint32"
},
{
- "name": "vgamem_mb",
- "type": "uint32"
+ "name": "command_serr_enable",
+ "description": "on/off",
+ "type": "bool"
},
{
- "name": "x-pcie-extcap-init",
+ "name": "qemu-extended-regs",
"description": "on/off",
"type": "bool"
},
{
- "name": "addr",
- "description": "Slot and optional function number, example: 06.0 or 06",
- "type": "int32"
+ "name": "rombar",
+ "type": "uint32"
},
{
- "name": "global-vmstate",
- "type": "bool"
+ "name": "romfile",
+ "type": "str"
},
{
- "name": "edid",
+ "name": "mmio",
"description": "on/off",
"type": "bool"
},
@@ -4166,28 +4110,32 @@
{
"return": [
- {
- "name": "rombar",
- "type": "uint32"
- },
{
"name": "x-pcie-lnksta-dllla",
"description": "on/off",
"type": "bool"
},
{
- "name": "multifunction",
- "description": "on/off",
+ "name": "global-vmstate",
"type": "bool"
},
+ {
+ "name": "vgamem_mb",
+ "type": "uint32"
+ },
{
"name": "romfile",
"type": "str"
},
{
- "name": "vgamem_mb",
+ "name": "rombar",
"type": "uint32"
},
+ {
+ "name": "addr",
+ "description": "Slot and optional function number, example: 06.0 or 06",
+ "type": "int32"
+ },
{
"name": "x-pcie-extcap-init",
"description": "on/off",
@@ -4199,12 +4147,8 @@
"type": "bool"
},
{
- "name": "addr",
- "description": "Slot and optional function number, example: 06.0 or 06",
- "type": "int32"
- },
- {
- "name": "global-vmstate",
+ "name": "multifunction",
+ "description": "on/off",
"type": "bool"
}
],
@@ -4222,12 +4166,11 @@
{
"return": [
{
- "name": "command_serr_enable",
- "description": "on/off",
+ "name": "global-vmstate",
"type": "bool"
},
{
- "name": "rombar",
+ "name": "debug",
"type": "uint32"
},
{
@@ -4240,78 +4183,79 @@
"type": "uint32"
},
{
- "name": "ram_size_mb",
- "type": "uint32"
+ "name": "addr",
+ "description": "Slot and optional function number, example: 06.0 or 06",
+ "type": "int32"
},
{
- "name": "global-vmstate",
+ "name": "multifunction",
+ "description": "on/off",
"type": "bool"
},
{
- "name": "multifunction",
+ "name": "x-pcie-extcap-init",
"description": "on/off",
"type": "bool"
},
{
- "name": "vgamem_mb",
+ "name": "ram_size",
"type": "uint32"
},
{
- "name": "romfile",
- "type": "str"
+ "name": "ram_size_mb",
+ "type": "uint32"
},
{
- "name": "addr",
- "description": "Slot and optional function number, example: 06.0 or 06",
+ "name": "surfaces",
"type": "int32"
},
{
- "name": "debug",
+ "name": "guestdebug",
"type": "uint32"
},
{
- "name": "vram_size_mb",
+ "name": "vram64_size_mb",
"type": "uint32"
},
{
- "name": "revision",
- "type": "uint32"
+ "name": "vram_size",
+ "type": "uint64"
},
{
- "name": "ram_size",
- "type": "uint32"
+ "name": "command_serr_enable",
+ "description": "on/off",
+ "type": "bool"
},
{
- "name": "vram64_size_mb",
+ "name": "cmdlog",
"type": "uint32"
},
{
- "name": "x-pcie-extcap-init",
- "description": "on/off",
- "type": "bool"
+ "name": "vgamem_mb",
+ "type": "uint32"
},
{
- "name": "guestdebug",
+ "name": "vram_size_mb",
"type": "uint32"
},
{
- "name": "vram_size",
- "type": "uint64"
+ "name": "romfile",
+ "type": "str"
},
{
- "name": "surfaces",
- "type": "int32"
+ "name": "rombar",
+ "type": "uint32"
},
{
"name": "max_outputs",
"type": "uint16"
},
{
- "name": "xres",
+ "name": "revision",
"type": "uint32"
},
{
- "name": "cmdlog",
+ "name": "xres",
"type": "uint32"
}
],
@@ -4329,26 +4273,16 @@
{
"return": [
{
- "name": "event_idx",
- "description": "on/off",
- "type": "bool"
- },
- {
- "name": "yres",
- "type": "uint32"
- },
- {
- "name": "ioeventfd",
+ "name": "notify_on_empty",
"description": "on/off",
"type": "bool"
},
{
- "name": "multifunction",
- "description": "on/off",
+ "name": "x-ignore-backend-features",
"type": "bool"
},
{
- "name": "rombar",
+ "name": "max_outputs",
"type": "uint32"
},
{
@@ -4356,21 +4290,25 @@
"type": "uint32"
},
{
- "name": "x-disable-pcie",
+ "name": "virtio-backend",
+ "type": "child<virtio-gpu-device>"
+ },
+ {
+ "name": "multifunction",
"description": "on/off",
"type": "bool"
},
{
- "name": "indirect_desc",
+ "name": "page-per-vq",
"description": "on/off",
"type": "bool"
},
{
- "name": "disable-modern",
- "type": "bool"
+ "name": "vectors",
+ "type": "uint32"
},
{
- "name": "x-pcie-lnkctl-init",
+ "name": "x-pcie-deverr-init",
"description": "on/off",
"type": "bool"
},
@@ -4380,26 +4318,27 @@
"type": "OnOffAuto"
},
{
- "name": "command_serr_enable",
+ "name": "x-pcie-pm-init",
"description": "on/off",
"type": "bool"
},
{
- "name": "page-per-vq",
+ "name": "iommu_platform",
"description": "on/off",
"type": "bool"
},
{
- "name": "x-pcie-deverr-init",
+ "name": "ioeventfd",
"description": "on/off",
"type": "bool"
},
{
- "name": "max_outputs",
- "type": "uint32"
+ "name": "any_layout",
+ "description": "on/off",
+ "type": "bool"
},
{
- "name": "x-pcie-pm-init",
+ "name": "stats",
"description": "on/off",
"type": "bool"
},
@@ -4409,82 +4348,87 @@
"type": "bool"
},
{
- "name": "any_layout",
+ "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": "edid",
+ "name": "ats",
"description": "on/off",
"type": "bool"
},
{
- "name": "migrate-extra",
- "description": "on/off",
- "type": "bool"
+ "name": "max_hostmem",
+ "type": "size"
},
{
- "name": "modern-pio-notify",
+ "name": "x-pcie-extcap-init",
"description": "on/off",
"type": "bool"
},
{
- "name": "vectors",
+ "name": "addr",
+ "description": "Slot and optional function number, example: 06.0 or 06",
+ "type": "int32"
+ },
+ {
+ "name": "yres",
"type": "uint32"
},
{
- "name": "iommu_platform",
+ "name": "edid",
"description": "on/off",
"type": "bool"
},
{
- "name": "x-pcie-extcap-init",
+ "name": "x-pcie-lnkctl-init",
"description": "on/off",
"type": "bool"
},
{
- "name": "max_hostmem",
- "type": "size"
+ "name": "romfile",
+ "type": "str"
},
{
- "name": "virtio-backend",
- "type": "child<virtio-gpu-device>"
+ "name": "rombar",
+ "type": "uint32"
+ },
+ {
+ "name": "event_idx",
+ "description": "on/off",
+ "type": "bool"
},
{
- "name": "x-ignore-backend-features",
+ "name": "disable-modern",
"type": "bool"
},
{
- "name": "stats",
+ "name": "migrate-extra",
"description": "on/off",
"type": "bool"
},
{
- "name": "notify_on_empty",
+ "name": "virtio-pci-bus-master-bug-migration",
"description": "on/off",
"type": "bool"
},
{
- "name": "virgl",
+ "name": "modern-pio-notify",
"description": "on/off",
"type": "bool"
},
{
- "name": "ats",
+ "name": "indirect_desc",
"description": "on/off",
"type": "bool"
},
{
- "name": "romfile",
- "type": "str"
+ "name": "command_serr_enable",
+ "description": "on/off",
+ "type": "bool"
},
{
- "name": "virtio-pci-bus-master-bug-migration",
+ "name": "virgl",
"description": "on/off",
"type": "bool"
}
@@ -4503,17 +4447,21 @@
{
"return": [
{
- "name": "notify_on_empty",
+ "name": "indirect_desc",
"description": "on/off",
"type": "bool"
},
{
- "name": "any_layout",
+ "name": "yres",
+ "type": "uint32"
+ },
+ {
+ "name": "iommu_platform",
"description": "on/off",
"type": "bool"
},
{
- "name": "indirect_desc",
+ "name": "stats",
"description": "on/off",
"type": "bool"
},
@@ -4523,26 +4471,26 @@
"type": "bool"
},
{
- "name": "yres",
- "type": "uint32"
- },
- {
- "name": "stats",
+ "name": "edid",
"description": "on/off",
"type": "bool"
},
{
- "name": "iommu_platform",
+ "name": "any_layout",
"description": "on/off",
"type": "bool"
},
{
- "name": "virgl",
+ "name": "max_hostmem",
+ "type": "size"
+ },
+ {
+ "name": "notify_on_empty",
"description": "on/off",
"type": "bool"
},
{
- "name": "edid",
+ "name": "virgl",
"description": "on/off",
"type": "bool"
},
@@ -4550,10 +4498,6 @@
"name": "max_outputs",
"type": "uint32"
},
- {
- "name": "max_hostmem",
- "type": "size"
- },
{
"name": "xres",
"type": "uint32"
@@ -4573,93 +4517,93 @@
{
"return": [
{
- "name": "memory-hotplug-support",
+ "name": "s4_val",
+ "type": "uint8"
+ },
+ {
+ "name": "noreboot",
"type": "bool"
},
{
- "name": "rombar",
- "type": "uint32"
+ "name": "addr",
+ "description": "Slot and optional function number, example: 06.0 or 06",
+ "type": "int32"
},
{
- "name": "sci_int",
- "type": "uint32"
+ "name": "acpi_enable_cmd",
+ "type": "uint8"
},
{
- "name": "x-pcie-lnksta-dllla",
- "description": "on/off",
- "type": "bool"
+ "name": "disable_s3",
+ "type": "uint8"
},
{
- "name": "gpe0_blk_len",
- "type": "uint32"
+ "name": "disable_s4",
+ "type": "uint8"
},
{
- "name": "pm_io_base",
+ "name": "sci_int",
"type": "uint32"
},
{
- "name": "noreboot",
+ "name": "cpu-hotplug-legacy",
"type": "bool"
},
{
- "name": "multifunction",
- "description": "on/off",
+ "name": "memory-hotplug-support",
"type": "bool"
},
{
- "name": "cpu-hotplug-legacy",
+ "name": "x-pcie-extcap-init",
+ "description": "on/off",
"type": "bool"
},
{
- "name": "acpi_disable_cmd",
- "type": "uint8"
+ "name": "gpe0_blk_len",
+ "type": "uint32"
},
{
- "name": "x-smi-broadcast",
+ "name": "x-pcie-lnksta-dllla",
"description": "on/off",
"type": "bool"
},
{
- "name": "romfile",
- "type": "str"
+ "name": "command_serr_enable",
+ "description": "on/off",
+ "type": "bool"
},
{
- "name": "disable_s3",
- "type": "uint8"
+ "name": "gpe0_blk",
+ "type": "uint32"
},
{
- "name": "s4_val",
- "type": "uint8"
+ "name": "enable_tco",
+ "type": "bool"
},
{
- "name": "x-pcie-extcap-init",
+ "name": "x-smi-broadcast",
"description": "on/off",
"type": "bool"
},
{
- "name": "command_serr_enable",
- "description": "on/off",
- "type": "bool"
+ "name": "romfile",
+ "type": "str"
},
{
- "name": "addr",
- "description": "Slot and optional function number, example: 06.0 or 06",
- "type": "int32"
+ "name": "rombar",
+ "type": "uint32"
},
{
- "name": "acpi_enable_cmd",
+ "name": "acpi_disable_cmd",
"type": "uint8"
},
{
- "name": "enable_tco",
+ "name": "multifunction",
+ "description": "on/off",
"type": "bool"
},
{
- "name": "disable_s4",
- "type": "uint8"
- },
- {
- "name": "gpe0_blk",
+ "name": "pm_io_base",
"type": "uint32"
}
],
@@ -4677,44 +4621,42 @@
{
"return": [
{
- "name": "guest-stats-polling-interval",
- "type": "int"
- },
- {
- "name": "event_idx",
+ "name": "notify_on_empty",
"description": "on/off",
"type": "bool"
},
{
- "name": "multifunction",
- "description": "on/off",
+ "name": "iothread",
+ "type": "link<iothread>"
+ },
+ {
+ "name": "x-ignore-backend-features",
"type": "bool"
},
{
- "name": "rombar",
- "type": "uint32"
+ "name": "virtio-backend",
+ "type": "child<virtio-balloon-device>"
},
{
- "name": "x-disable-pcie",
- "description": "on/off",
- "type": "bool"
+ "name": "guest-stats-polling-interval",
+ "type": "int"
},
{
- "name": "indirect_desc",
+ "name": "x-pcie-pm-init",
"description": "on/off",
"type": "bool"
},
{
- "name": "x-pcie-lnkctl-init",
- "description": "on/off",
- "type": "bool"
+ "name": "guest-stats",
+ "type": "guest statistics"
},
{
- "name": "disable-modern",
+ "name": "page-per-vq",
+ "description": "on/off",
"type": "bool"
},
{
- "name": "free-page-hint",
+ "name": "x-pcie-deverr-init",
"description": "on/off",
"type": "bool"
},
@@ -4724,51 +4666,44 @@
"type": "OnOffAuto"
},
{
- "name": "command_serr_enable",
+ "name": "multifunction",
"description": "on/off",
"type": "bool"
},
{
- "name": "guest-stats",
- "type": "guest statistics"
- },
- {
- "name": "deflate-on-oom",
+ "name": "iommu_platform",
"description": "on/off",
"type": "bool"
},
{
- "name": "page-per-vq",
+ "name": "any_layout",
"description": "on/off",
"type": "bool"
},
{
- "name": "x-pcie-deverr-init",
+ "name": "free-page-hint",
"description": "on/off",
"type": "bool"
},
{
- "name": "x-pcie-pm-init",
+ "name": "x-pcie-lnksta-dllla",
"description": "on/off",
"type": "bool"
},
{
- "name": "x-pcie-lnksta-dllla",
+ "name": "x-disable-pcie",
"description": "on/off",
"type": "bool"
},
{
- "name": "any_layout",
+ "name": "ats",
"description": "on/off",
"type": "bool"
},
{
- "name": "iothread",
- "type": "link<iothread>"
- },
- {
- "name": "class",
- "type": "uint32"
+ "name": "deflate-on-oom",
+ "description": "on/off",
+ "type": "bool"
},
{
"name": "addr",
@@ -4776,51 +4711,60 @@
"type": "int32"
},
{
- "name": "migrate-extra",
+ "name": "x-pcie-extcap-init",
"description": "on/off",
"type": "bool"
},
{
- "name": "modern-pio-notify",
+ "name": "x-pcie-lnkctl-init",
"description": "on/off",
"type": "bool"
},
{
- "name": "x-pcie-extcap-init",
+ "name": "romfile",
+ "type": "str"
+ },
+ {
+ "name": "rombar",
+ "type": "uint32"
+ },
+ {
+ "name": "event_idx",
"description": "on/off",
"type": "bool"
},
{
- "name": "virtio-backend",
- "type": "child<virtio-balloon-device>"
+ "name": "disable-modern",
+ "type": "bool"
},
{
- "name": "x-ignore-backend-features",
- "type": "bool"
+ "name": "class",
+ "type": "uint32"
},
{
- "name": "notify_on_empty",
+ "name": "migrate-extra",
"description": "on/off",
"type": "bool"
},
{
- "name": "iommu_platform",
+ "name": "virtio-pci-bus-master-bug-migration",
"description": "on/off",
"type": "bool"
},
{
- "name": "ats",
+ "name": "modern-pio-notify",
"description": "on/off",
"type": "bool"
},
{
- "name": "virtio-pci-bus-master-bug-migration",
+ "name": "indirect_desc",
"description": "on/off",
"type": "bool"
},
{
- "name": "romfile",
- "type": "str"
+ "name": "command_serr_enable",
+ "description": "on/off",
+ "type": "bool"
}
],
"id": "libvirt-28"
@@ -4853,44 +4797,39 @@
{
"return": [
{
- "name": "notify_on_empty",
- "description": "on/off",
- "type": "bool"
+ "name": "guest-stats",
+ "type": "guest statistics"
},
{
- "name": "any_layout",
- "description": "on/off",
- "type": "bool"
+ "name": "iothread",
+ "type": "link<iothread>"
},
{
- "name": "indirect_desc",
+ "name": "iommu_platform",
"description": "on/off",
"type": "bool"
},
- {
- "name": "guest-stats",
- "type": "guest statistics"
- },
{
"name": "guest-stats-polling-interval",
"type": "int"
},
{
- "name": "iothread",
- "type": "link<iothread>"
+ "name": "event_idx",
+ "description": "on/off",
+ "type": "bool"
},
{
- "name": "event_idx",
+ "name": "any_layout",
"description": "on/off",
"type": "bool"
},
{
- "name": "free-page-hint",
+ "name": "notify_on_empty",
"description": "on/off",
"type": "bool"
},
{
- "name": "iommu_platform",
+ "name": "free-page-hint",
"description": "on/off",
"type": "bool"
},
@@ -4898,6 +4837,11 @@
"name": "deflate-on-oom",
"description": "on/off",
"type": "bool"
+ },
+ {
+ "name": "indirect_desc",
+ "description": "on/off",
+ "type": "bool"
}
],
"id": "libvirt-30"
@@ -4914,11 +4858,17 @@
{
"return": [
{
- "name": "rombar",
- "type": "uint32"
+ "name": "msix",
+ "description": "on/off/auto",
+ "type": "OnOffAuto"
+ },
+ {
+ "name": "addr",
+ "description": "Slot and optional function number, example: 06.0 or 06",
+ "type": "int32"
},
{
- "name": "intrs",
+ "name": "p2",
"type": "uint32"
},
{
@@ -4927,61 +4877,55 @@
"type": "bool"
},
{
- "name": "msix",
+ "name": "msi",
"description": "on/off/auto",
"type": "OnOffAuto"
},
{
- "name": "multifunction",
+ "name": "force-pcie-endcap",
"description": "on/off",
"type": "bool"
},
{
- "name": "msi",
- "description": "on/off/auto",
- "type": "OnOffAuto"
+ "name": "intrs",
+ "type": "uint32"
},
{
- "name": "superspeed-ports-first",
+ "name": "x-pcie-extcap-init",
"description": "on/off",
"type": "bool"
},
{
- "name": "streams",
+ "name": "multifunction",
"description": "on/off",
"type": "bool"
},
{
- "name": "romfile",
- "type": "str"
- },
- {
- "name": "force-pcie-endcap",
+ "name": "command_serr_enable",
"description": "on/off",
"type": "bool"
},
{
- "name": "x-pcie-extcap-init",
+ "name": "superspeed-ports-first",
"description": "on/off",
"type": "bool"
},
{
- "name": "command_serr_enable",
- "description": "on/off",
- "type": "bool"
+ "name": "romfile",
+ "type": "str"
},
{
- "name": "addr",
- "description": "Slot and optional function number, example: 06.0 or 06",
- "type": "int32"
+ "name": "rombar",
+ "type": "uint32"
},
{
"name": "p3",
"type": "uint32"
},
{
- "name": "p2",
- "type": "uint32"
+ "name": "streams",
+ "description": "on/off",
+ "type": "bool"
},
{
"name": "slots",
@@ -5002,16 +4946,15 @@
{
"return": [
{
- "name": "eim",
- "description": "on/off/auto",
- "type": "OnOffAuto"
+ "name": "device-iotlb",
+ "type": "bool"
},
{
- "name": "caching-mode",
+ "name": "x-scalable-mode",
"type": "bool"
},
{
- "name": "x-buggy-eim",
+ "name": "caching-mode",
"type": "bool"
},
{
@@ -5020,28 +4963,29 @@
"type": "OnOffAuto"
},
{
- "name": "version",
- "type": "uint32"
+ "name": "aw-bits",
+ "type": "uint8"
},
{
- "name": "x-scalable-mode",
- "type": "bool"
+ "name": "eim",
+ "description": "on/off/auto",
+ "type": "OnOffAuto"
},
{
- "name": "dma-drain",
- "type": "bool"
+ "name": "version",
+ "type": "uint32"
},
{
- "name": "pt",
+ "name": "x-buggy-eim",
"type": "bool"
},
{
- "name": "device-iotlb",
+ "name": "pt",
"type": "bool"
},
{
- "name": "aw-bits",
- "type": "uint8"
+ "name": "dma-drain",
+ "type": "bool"
}
],
"id": "libvirt-32"
@@ -5057,27 +5001,27 @@
{
"return": [
- {
- "name": "rombar",
- "type": "uint32"
- },
{
"name": "x-pcie-lnksta-dllla",
"description": "on/off",
"type": "bool"
},
{
- "name": "multifunction",
- "description": "on/off",
- "type": "bool"
+ "name": "romfile",
+ "type": "str"
},
{
- "name": "extended-tseg-mbytes",
- "type": "uint16"
+ "name": "addr",
+ "description": "Slot and optional function number, example: 06.0 or 06",
+ "type": "int32"
},
{
- "name": "romfile",
- "type": "str"
+ "name": "rombar",
+ "type": "uint32"
+ },
+ {
+ "name": "extended-tseg-mbytes",
+ "type": "uint16"
},
{
"name": "x-pcie-extcap-init",
@@ -5090,9 +5034,9 @@
"type": "bool"
},
{
- "name": "addr",
- "description": "Slot and optional function number, example: 06.0 or 06",
- "type": "int32"
+ "name": "multifunction",
+ "description": "on/off",
+ "type": "bool"
}
],
"id": "libvirt-33"
@@ -5108,33 +5052,33 @@
{
"return": [
- {
- "name": "slot",
- "type": "int32"
- },
{
"name": "node",
"type": "uint32"
},
- {
- "name": "size",
- "type": "uint64"
- },
{
"name": "unarmed",
"type": "bool"
},
{
- "name": "label-size",
- "type": "int"
+ "name": "addr",
+ "type": "uint64"
},
{
"name": "memdev",
"type": "link<memory-backend>"
},
{
- "name": "addr",
+ "name": "label-size",
+ "type": "int"
+ },
+ {
+ "name": "size",
"type": "uint64"
+ },
+ {
+ "name": "slot",
+ "type": "int32"
}
],
"id": "libvirt-34"
@@ -5154,11 +5098,6 @@
"name": "type",
"type": "string"
},
- {
- "name": "policy",
- "description": "Set the NUMA policy",
- "type": "HostMemPolicy"
- },
{
"name": "dump",
"description": "Set to 'off' to exclude from core dump",
@@ -5170,17 +5109,22 @@
"type": "bool"
},
{
- "name": "prealloc",
- "description": "Preallocate memory",
+ "name": "x-use-canonical-path-for-ramblock-id",
"type": "bool"
},
+ {
+ "name": "policy",
+ "description": "Set the NUMA policy",
+ "type": "HostMemPolicy"
+ },
{
"name": "size",
"description": "Size of the memory region (ex: 500M)",
"type": "int"
},
{
- "name": "x-use-canonical-path-for-ramblock-id",
+ "name": "prealloc",
+ "description": "Preallocate memory",
"type": "bool"
},
{
@@ -5193,14 +5137,14 @@
"description": "Mark memory as mergeable",
"type": "bool"
},
- {
- "name": "pmem",
- "type": "bool"
- },
{
"name": "align",
"type": "int"
},
+ {
+ "name": "pmem",
+ "type": "bool"
+ },
{
"name": "mem-path",
"type": "string"
@@ -5227,11 +5171,6 @@
"name": "type",
"type": "string"
},
- {
- "name": "policy",
- "description": "Set the NUMA policy",
- "type": "HostMemPolicy"
- },
{
"name": "dump",
"description": "Set to 'off' to exclude from core dump",
@@ -5243,17 +5182,22 @@
"type": "bool"
},
{
- "name": "prealloc",
- "description": "Preallocate memory",
+ "name": "x-use-canonical-path-for-ramblock-id",
"type": "bool"
},
+ {
+ "name": "policy",
+ "description": "Set the NUMA policy",
+ "type": "HostMemPolicy"
+ },
{
"name": "size",
"description": "Size of the memory region (ex: 500M)",
"type": "int"
},
{
- "name": "x-use-canonical-path-for-ramblock-id",
+ "name": "prealloc",
+ "description": "Preallocate memory",
"type": "bool"
},
{
@@ -5266,6 +5210,11 @@
"description": "Mark memory as mergeable",
"type": "bool"
},
+ {
+ "name": "hugetlb",
+ "description": "Use huge pages",
+ "type": "bool"
+ },
{
"name": "seal",
"description": "Seal growing & shrinking",
@@ -5275,11 +5224,6 @@
"name": "hugetlbsize",
"description": "Huge pages size (ex: 2M, 1G)",
"type": "int"
- },
- {
- "name": "hugetlb",
- "description": "Use huge pages",
- "type": "bool"
}
],
"id": "libvirt-36"
@@ -5300,863 +5244,863 @@
"type": "string"
},
{
- "name": "min-xlevel2",
- "type": "uint32"
- },
- {
- "name": "amd-ssbd",
+ "name": "sse4_1",
"type": "bool"
},
{
- "name": "vendor",
- "type": "string"
+ "name": "popcnt",
+ "type": "bool"
},
{
- "name": "gfni",
+ "name": "kvm_mmu",
"type": "bool"
},
{
- "name": "clwb",
+ "name": "dtes64",
"type": "bool"
},
{
- "name": "nx",
- "type": "bool"
+ "name": "min-xlevel2",
+ "type": "uint32"
},
{
- "name": "x2apic",
+ "name": "xstore",
"type": "bool"
},
{
- "name": "mds-no",
- "type": "bool"
+ "name": "stepping",
+ "type": "int"
},
{
- "name": "kvmclock-stable-bit",
+ "name": "pse36",
"type": "bool"
},
{
- "name": "vmcb_clean",
+ "name": "avx512-4vnniw",
"type": "bool"
},
{
- "name": "min-level",
- "type": "uint32"
+ "name": "fma4",
+ "type": "bool"
},
{
- "name": "fxsr-opt",
+ "name": "x-intel-pt-auto-level",
"type": "bool"
},
{
- "name": "skinit",
+ "name": "avx2",
"type": "bool"
},
{
- "name": "avx",
+ "name": "kvm_nopiodelay",
"type": "bool"
},
{
- "name": "unavailable-features",
- "type": "strList"
+ "name": "family",
+ "type": "int"
},
{
- "name": "3dnowext",
+ "name": "pclmuldq",
"type": "bool"
},
{
- "name": "nodeid_msr",
+ "name": "vmware-cpuid-freq",
"type": "bool"
},
{
- "name": "hv-crash",
- "type": "bool"
+ "name": "hv-spinlocks",
+ "type": "int"
},
{
- "name": "hypervisor",
+ "name": "erms",
"type": "bool"
},
{
- "name": "enforce",
+ "name": "vaes",
"type": "bool"
},
{
- "name": "stepping",
- "type": "int"
+ "name": "realized",
+ "type": "bool"
},
{
- "name": "sse4_2",
+ "name": "hv-reset",
"type": "bool"
},
{
- "name": "sse4_1",
+ "name": "rdrand",
"type": "bool"
},
{
- "name": "x-hv-max-vps",
- "type": "int32"
+ "name": "model",
+ "type": "int"
},
{
- "name": "hv-frequencies",
+ "name": "avx512-vpopcntdq",
"type": "bool"
},
{
- "name": "kvm-hint-dedicated",
+ "name": "tbm",
"type": "bool"
},
{
- "name": "cmp_legacy",
+ "name": "xcrypt",
"type": "bool"
},
{
- "name": "tm2",
+ "name": "movdiri",
"type": "bool"
},
{
- "name": "smx",
- "type": "bool"
+ "name": "memory",
+ "type": "link<qemu:memory-region>"
},
{
- "name": "host-cache-info",
+ "name": "kvm-pv-eoi",
"type": "bool"
},
{
- "name": "kvm-pv-ipi",
+ "name": "lm",
"type": "bool"
},
{
- "name": "hv-vendor-id",
- "type": "str"
+ "name": "host-phys-bits-limit",
+ "type": "uint8"
},
{
- "name": "movbe",
+ "name": "pae",
"type": "bool"
},
{
- "name": "3dnowprefetch",
+ "name": "ssse3",
"type": "bool"
},
{
- "name": "mtrr",
+ "name": "hv-runtime",
"type": "bool"
},
{
- "name": "wdt",
+ "name": "phe",
"type": "bool"
},
{
- "name": "thread-id",
- "type": "int32"
- },
- {
- "name": "aes",
+ "name": "host-phys-bits",
"type": "bool"
},
{
- "name": "apic-id",
- "type": "uint32"
+ "name": "perfctr_nb",
+ "type": "bool"
},
{
- "name": "lm",
+ "name": "arat",
"type": "bool"
},
{
- "name": "family",
- "type": "int"
+ "name": "avx512vbmi2",
+ "type": "bool"
},
{
- "name": "tsc-adjust",
+ "name": "perfctr_core",
"type": "bool"
},
{
- "name": "pfthreshold",
+ "name": "kvm_asyncpf",
"type": "bool"
},
{
- "name": "kvm-no-smi-migration",
+ "name": "x2apic",
"type": "bool"
},
{
- "name": "amd-no-ssb",
+ "name": "npt",
"type": "bool"
},
{
- "name": "pse",
+ "name": "avx512ifma",
"type": "bool"
},
{
- "name": "filtered-features",
- "type": "X86CPUFeatureWordInfo"
+ "name": "model-id",
+ "type": "string"
},
{
"name": "hv-evmcs",
"type": "bool"
},
{
- "name": "hv-vpindex",
+ "name": "tsc",
"type": "bool"
},
{
- "name": "i64",
+ "name": "pmm-en",
"type": "bool"
},
{
- "name": "avx512bitalg",
+ "name": "dca",
"type": "bool"
},
{
- "name": "adx",
+ "name": "ia64",
"type": "bool"
},
{
- "name": "vaes",
+ "name": "perfctr-core",
"type": "bool"
},
{
- "name": "ia64",
+ "name": "pmu",
"type": "bool"
},
{
- "name": "nodeid-msr",
+ "name": "kvmclock",
"type": "bool"
},
{
- "name": "ibpb",
+ "name": "pn",
"type": "bool"
},
{
- "name": "hv-synic",
+ "name": "invtsc",
"type": "bool"
},
{
- "name": "ibs",
+ "name": "avx512cd",
"type": "bool"
},
{
- "name": "kvm_mmu",
+ "name": "md-clear",
"type": "bool"
},
{
- "name": "tcg-cpuid",
+ "name": "cmp-legacy",
"type": "bool"
},
{
- "name": "nrip_save",
+ "name": "cx16",
"type": "bool"
},
{
- "name": "kvm_nopiodelay",
+ "name": "avx512dq",
"type": "bool"
},
{
- "name": "lbrv",
+ "name": "abm",
"type": "bool"
},
{
- "name": "rdtscp",
+ "name": "kvm-pv-ipi",
"type": "bool"
},
{
- "name": "memory",
- "type": "link<qemu:memory-region>"
- },
- {
- "name": "avx512vbmi2",
+ "name": "fxsr-opt",
"type": "bool"
},
{
- "name": "ace2-en",
+ "name": "skip-l1dfl-vmentry",
"type": "bool"
},
{
- "name": "invtsc",
+ "name": "fill-mtrr-mask",
"type": "bool"
},
{
- "name": "sse4.2",
+ "name": "x-migrate-smi-count",
"type": "bool"
},
{
- "name": "sse4.1",
+ "name": "pcid",
"type": "bool"
},
{
- "name": "pbe",
+ "name": "rdpid",
"type": "bool"
},
{
- "name": "rdrand",
+ "name": "wbnoinvd",
"type": "bool"
},
{
- "name": "socket-id",
- "type": "int32"
+ "name": "filtered-features",
+ "type": "X86CPUFeatureWordInfo"
},
{
- "name": "hotpluggable",
+ "name": "syscall",
"type": "bool"
},
{
- "name": "l3-cache",
+ "name": "pse",
"type": "bool"
},
{
- "name": "kvm-steal-time",
+ "name": "hotpluggable",
"type": "bool"
},
{
- "name": "vmware-cpuid-freq",
+ "name": "tsc_scale",
"type": "bool"
},
{
- "name": "legacy-cache",
+ "name": "xsaves",
"type": "bool"
},
{
- "name": "xop",
+ "name": "mce",
"type": "bool"
},
{
- "name": "tsc-frequency",
- "type": "int"
+ "name": "node-id",
+ "type": "int32"
},
{
- "name": "fill-mtrr-mask",
+ "name": "ibpb",
"type": "bool"
},
{
- "name": "core-id",
- "type": "int32"
+ "name": "cldemote",
+ "type": "bool"
},
{
- "name": "intel-pt",
+ "name": "hv-tlbflush",
"type": "bool"
},
{
- "name": "pat",
+ "name": "rtm",
"type": "bool"
},
{
- "name": "pcid",
+ "name": "lwp",
"type": "bool"
},
{
- "name": "rsba",
+ "name": "kvm-steal-time",
"type": "bool"
},
{
- "name": "sse4-2",
+ "name": "cpuid-0xb",
"type": "bool"
},
{
- "name": "sse4-1",
+ "name": "nrip_save",
"type": "bool"
},
{
- "name": "pclmulqdq",
+ "name": "vme",
"type": "bool"
},
{
- "name": "sha-ni",
+ "name": "kvm-pv-unhalt",
"type": "bool"
},
{
- "name": "cmov",
+ "name": "kvm-no-smi-migration",
"type": "bool"
},
{
- "name": "pae",
+ "name": "kvm_pv_unhalt",
"type": "bool"
},
{
- "name": "smep",
+ "name": "svm",
"type": "bool"
},
{
- "name": "arch-capabilities",
+ "name": "lahf-lm",
"type": "bool"
},
{
- "name": "virt-ssbd",
+ "name": "kvm-hint-dedicated",
"type": "bool"
},
{
- "name": "abm",
+ "name": "host-cache-info",
"type": "bool"
},
{
- "name": "xstore",
+ "name": "mca",
"type": "bool"
},
{
- "name": "tsc_adjust",
+ "name": "mtrr",
"type": "bool"
},
{
- "name": "kvm-asyncpf",
+ "name": "cid",
"type": "bool"
},
{
- "name": "pdpe1gb",
+ "name": "vmcb_clean",
"type": "bool"
},
{
- "name": "min-xlevel",
- "type": "uint32"
+ "name": "pfthreshold",
+ "type": "bool"
},
{
- "name": "kvm-mmu",
+ "name": "pmm",
"type": "bool"
},
{
- "name": "kvm-pv-unhalt",
+ "name": "tcg-cpuid",
"type": "bool"
},
{
- "name": "avx512f",
- "type": "bool"
+ "name": "x-hv-max-vps",
+ "type": "int32"
},
{
- "name": "avx512vbmi",
+ "name": "tm",
"type": "bool"
},
{
- "name": "xd",
+ "name": "pbe",
"type": "bool"
},
{
- "name": "avx512-4vnniw",
+ "name": "apic-id",
+ "type": "uint32"
+ },
+ {
+ "name": "fpu",
"type": "bool"
},
{
- "name": "mmxext",
+ "name": "l3-cache",
"type": "bool"
},
{
- "name": "decodeassists",
+ "name": "skinit",
"type": "bool"
},
{
- "name": "ht",
+ "name": "sep",
"type": "bool"
},
{
- "name": "xsave",
+ "name": "nx",
"type": "bool"
},
{
- "name": "perfctr_core",
+ "name": "ds-cpl",
"type": "bool"
},
{
- "name": "feature-words",
- "type": "X86CPUFeatureWordInfo"
+ "name": "pause-filter",
+ "type": "bool"
},
{
- "name": "migratable",
+ "name": "pause_filter",
"type": "bool"
},
{
- "name": "3dnow",
+ "name": "nodeid-msr",
"type": "bool"
},
{
- "name": "spec-ctrl",
+ "name": "smap",
"type": "bool"
},
{
- "name": "model",
- "type": "int"
+ "name": "xlevel",
+ "type": "uint32"
},
{
- "name": "nrip-save",
+ "name": "cr8legacy",
"type": "bool"
},
{
- "name": "lwp",
+ "name": "cmp_legacy",
"type": "bool"
},
{
- "name": "xstore-en",
+ "name": "virt-ssbd",
"type": "bool"
},
{
- "name": "avx512vl",
+ "name": "umip",
"type": "bool"
},
{
- "name": "kvm_pv_unhalt",
+ "name": "avx512er",
"type": "bool"
},
{
- "name": "bmi2",
+ "name": "avx512vl",
"type": "bool"
},
{
- "name": "bmi1",
+ "name": "xstore-en",
"type": "bool"
},
{
- "name": "la57",
+ "name": "rsba",
"type": "bool"
},
{
- "name": "ffxsr",
+ "name": "cmov",
"type": "bool"
},
{
- "name": "stibp",
+ "name": "xcrypt-en",
"type": "bool"
},
{
- "name": "vmcb-clean",
+ "name": "tm2",
"type": "bool"
},
{
- "name": "wbnoinvd",
+ "name": "hv-frequencies",
"type": "bool"
},
{
- "name": "pause-filter",
+ "name": "fxsr_opt",
"type": "bool"
},
{
- "name": "pni",
+ "name": "hotplugged",
"type": "bool"
},
{
- "name": "kvm_steal_time",
+ "name": "fsgsbase",
"type": "bool"
},
{
- "name": "rdctl-no",
+ "name": "x-hv-synic-kvm-only",
"type": "bool"
},
{
- "name": "svm_lock",
+ "name": "avx512bw",
"type": "bool"
},
{
- "name": "ibrs-all",
+ "name": "tsc-frequency",
+ "type": "int"
+ },
+ {
+ "name": "lbrv",
"type": "bool"
},
{
- "name": "pse36",
+ "name": "smx",
"type": "bool"
},
{
- "name": "hv-stimer",
+ "name": "hle",
"type": "bool"
},
{
- "name": "host-phys-bits",
+ "name": "monitor",
"type": "bool"
},
{
- "name": "extapic",
+ "name": "sse4a",
"type": "bool"
},
{
- "name": "skip-l1dfl-vmentry",
+ "name": "tce",
"type": "bool"
},
{
- "name": "hv-spinlocks",
- "type": "int"
+ "name": "vpclmulqdq",
+ "type": "bool"
},
{
- "name": "pmu",
+ "name": "tsc-scale",
"type": "bool"
},
{
- "name": "pmm",
+ "name": "kvm-pv-tlb-flush",
"type": "bool"
},
{
- "name": "vpclmulqdq",
+ "name": "mds-no",
"type": "bool"
},
{
- "name": "avx512-vpopcntdq",
+ "name": "i64",
"type": "bool"
},
{
- "name": "avx512er",
+ "name": "adx",
"type": "bool"
},
{
- "name": "pdcm",
- "type": "bool"
+ "name": "crash-information",
+ "type": "GuestPanicInformation"
},
{
- "name": "svm",
+ "name": "ffxsr",
"type": "bool"
},
{
- "name": "apic",
+ "name": "amd-no-ssb",
"type": "bool"
},
{
- "name": "xcrypt-en",
- "type": "bool"
+ "name": "min-level",
+ "type": "uint32"
},
{
- "name": "cr8legacy",
+ "name": "full-cpuid-auto-level",
"type": "bool"
},
{
- "name": "fma4",
+ "name": "svm_lock",
"type": "bool"
},
{
- "name": "host-phys-bits-limit",
- "type": "uint8"
+ "name": "ssb-no",
+ "type": "bool"
},
{
- "name": "erms",
+ "name": "msr",
"type": "bool"
},
{
- "name": "msr",
+ "name": "clflush",
"type": "bool"
},
{
- "name": "ds_cpl",
+ "name": "pclmulqdq",
"type": "bool"
},
{
- "name": "xlevel",
+ "name": "xlevel2",
"type": "uint32"
},
{
- "name": "xsaves",
+ "name": "mpx",
"type": "bool"
},
{
- "name": "hotplugged",
+ "name": "extapic",
"type": "bool"
},
{
- "name": "hv-relaxed",
+ "name": "hv-stimer",
"type": "bool"
},
{
- "name": "pause_filter",
+ "name": "xop",
"type": "bool"
},
{
- "name": "cldemote",
+ "name": "smep",
"type": "bool"
},
{
- "name": "perfctr-core",
+ "name": "xsavec",
"type": "bool"
},
{
- "name": "hv-ipi",
+ "name": "hv-synic",
"type": "bool"
},
{
- "name": "smap",
+ "name": "cx8",
"type": "bool"
},
{
- "name": "sse3",
+ "name": "pku",
"type": "bool"
},
{
- "name": "avx512dq",
+ "name": "kvm",
"type": "bool"
},
{
- "name": "ssse3",
+ "name": "sse4-2",
"type": "bool"
},
{
- "name": "pmm-en",
+ "name": "vmcb-clean",
"type": "bool"
},
{
- "name": "npt",
+ "name": "stibp",
"type": "bool"
},
{
- "name": "kvm-pv-tlb-flush",
+ "name": "hv-reenlightenment",
"type": "bool"
},
{
- "name": "tsc",
+ "name": "svm-lock",
"type": "bool"
},
{
- "name": "monitor",
+ "name": "sse4-1",
"type": "bool"
},
{
- "name": "f16c",
+ "name": "lahf_lm",
"type": "bool"
},
{
- "name": "sse2",
+ "name": "legacy-cache",
"type": "bool"
},
{
- "name": "rdpid",
+ "name": "sse",
"type": "bool"
},
{
- "name": "mce",
+ "name": "hv-vpindex",
"type": "bool"
},
{
- "name": "full-cpuid-auto-level",
+ "name": "ds",
"type": "bool"
},
{
- "name": "xtpr",
+ "name": "osvw",
"type": "bool"
},
{
- "name": "mca",
+ "name": "kvm_steal_time",
"type": "bool"
},
{
- "name": "cid",
+ "name": "kvm_pv_eoi",
"type": "bool"
},
{
- "name": "tm",
+ "name": "movdir64b",
"type": "bool"
},
{
- "name": "sep",
+ "name": "acpi",
"type": "bool"
},
{
- "name": "avx512vnni",
+ "name": "nrip-save",
"type": "bool"
},
{
- "name": "ds",
+ "name": "gfni",
"type": "bool"
},
{
- "name": "pku",
+ "name": "ds_cpl",
"type": "bool"
},
{
- "name": "tce",
+ "name": "lmce",
"type": "bool"
},
{
- "name": "sse4a",
+ "name": "kvm-mmu",
"type": "bool"
},
{
- "name": "kvmclock",
+ "name": "avx512bitalg",
"type": "bool"
},
{
- "name": "lahf-lm",
+ "name": "rdseed",
"type": "bool"
},
{
- "name": "clflushopt",
+ "name": "sha-ni",
"type": "bool"
},
{
- "name": "kvm",
+ "name": "sse2",
"type": "bool"
},
{
- "name": "ss",
+ "name": "ace2",
"type": "bool"
},
{
- "name": "flushbyasid",
+ "name": "nodeid_msr",
"type": "bool"
},
{
- "name": "hv-tlbflush",
+ "name": "sse3",
"type": "bool"
},
{
- "name": "lahf_lm",
+ "name": "f16c",
"type": "bool"
},
{
- "name": "de",
+ "name": "3dnowprefetch",
"type": "bool"
},
{
- "name": "xsavec",
+ "name": "xd",
"type": "bool"
},
{
- "name": "est",
+ "name": "avx",
"type": "bool"
},
{
- "name": "check",
+ "name": "topoext",
"type": "bool"
},
{
- "name": "movdir64b",
+ "name": "rdctl-no",
"type": "bool"
},
{
- "name": "dtes64",
+ "name": "mmx",
"type": "bool"
},
{
- "name": "md-clear",
+ "name": "avx512-4fmaps",
"type": "bool"
},
{
- "name": "vmx",
+ "name": "level",
+ "type": "uint32"
+ },
+ {
+ "name": "avx512vnni",
"type": "bool"
},
{
- "name": "svm-lock",
+ "name": "pni",
"type": "bool"
},
{
- "name": "avx512ifma",
+ "name": "movbe",
"type": "bool"
},
{
- "name": "clflush",
+ "name": "mmxext",
"type": "bool"
},
{
- "name": "rdseed",
+ "name": "flushbyasid",
"type": "bool"
},
{
- "name": "avx512cd",
+ "name": "rdtscp",
"type": "bool"
},
{
- "name": "xsaveopt",
+ "name": "clwb",
"type": "bool"
},
{
- "name": "tbm",
+ "name": "kvm-asyncpf",
"type": "bool"
},
{
- "name": "ace2",
+ "name": "decodeassists",
"type": "bool"
},
{
- "name": "vme",
+ "name": "pat",
"type": "bool"
},
{
- "name": "kvm_asyncpf",
+ "name": "invpcid",
"type": "bool"
},
{
- "name": "hv-vapic",
+ "name": "pdpe1gb",
"type": "bool"
},
{
@@ -6164,19 +6108,19 @@
"type": "link<bus>"
},
{
- "name": "lmce",
+ "name": "tsc-adjust",
"type": "bool"
},
{
- "name": "x-migrate-smi-count",
+ "name": "ht",
"type": "bool"
},
{
- "name": "hv-reset",
+ "name": "xtpr",
"type": "bool"
},
{
- "name": "hv-runtime",
+ "name": "tsc_adjust",
"type": "bool"
},
{
@@ -6184,231 +6128,231 @@
"type": "bool"
},
{
- "name": "avx512bw",
- "type": "bool"
+ "name": "hv-vendor-id",
+ "type": "str"
},
{
- "name": "xcrypt",
+ "name": "3dnowext",
"type": "bool"
},
{
- "name": "fpu",
+ "name": "clflushopt",
"type": "bool"
},
{
- "name": "arat",
- "type": "bool"
+ "name": "unavailable-features",
+ "type": "strList"
},
{
- "name": "fxsr",
+ "name": "xsave",
"type": "bool"
},
{
- "name": "ds-cpl",
+ "name": "pdcm",
"type": "bool"
},
{
- "name": "kvm-pv-eoi",
+ "name": "hv-crash",
"type": "bool"
},
{
- "name": "hle",
+ "name": "est",
"type": "bool"
},
{
- "name": "mpx",
- "type": "bool"
+ "name": "vendor",
+ "type": "string"
},
{
- "name": "invpcid",
+ "name": "pge",
"type": "bool"
},
{
- "name": "cx8",
+ "name": "pcommit",
"type": "bool"
},
{
- "name": "pcommit",
+ "name": "ibs",
"type": "bool"
},
{
- "name": "sse",
+ "name": "tsc-deadline",
"type": "bool"
},
{
- "name": "syscall",
+ "name": "misalignsse",
"type": "bool"
},
{
- "name": "tsc_scale",
+ "name": "kvmclock-stable-bit",
"type": "bool"
},
{
- "name": "movdiri",
+ "name": "check",
"type": "bool"
},
{
- "name": "ssb-no",
+ "name": "hv-time",
"type": "bool"
},
{
- "name": "xlevel2",
- "type": "uint32"
+ "name": "perfctr-nb",
+ "type": "bool"
},
{
- "name": "hv-time",
+ "name": "migratable",
"type": "bool"
},
{
- "name": "kvm_pv_eoi",
- "type": "bool"
+ "name": "feature-words",
+ "type": "X86CPUFeatureWordInfo"
},
{
- "name": "osvw",
- "type": "bool"
+ "name": "phys-bits",
+ "type": "uint32"
},
{
- "name": "perfctr-nb",
+ "name": "apic",
"type": "bool"
},
{
- "name": "rtm",
+ "name": "avx512vbmi",
"type": "bool"
},
{
- "name": "avx512-4fmaps",
- "type": "bool"
+ "name": "thread-id",
+ "type": "int32"
},
{
- "name": "avx2",
- "type": "bool"
+ "name": "min-xlevel",
+ "type": "uint32"
},
{
- "name": "perfctr_nb",
- "type": "bool"
+ "name": "socket-id",
+ "type": "int32"
},
{
- "name": "kvm-nopiodelay",
+ "name": "avx512f",
"type": "bool"
},
{
- "name": "avx512pf",
+ "name": "arch-capabilities",
"type": "bool"
},
{
- "name": "level",
- "type": "uint32"
+ "name": "bmi2",
+ "type": "bool"
},
{
- "name": "phys-bits",
- "type": "uint32"
+ "name": "intel-pt",
+ "type": "bool"
},
{
- "name": "cpuid-0xb",
+ "name": "wdt",
"type": "bool"
},
{
- "name": "tsc-deadline",
+ "name": "ace2-en",
"type": "bool"
},
{
- "name": "fxsr_opt",
+ "name": "avx512pf",
"type": "bool"
},
{
- "name": "xgetbv1",
+ "name": "bmi1",
"type": "bool"
},
{
- "name": "popcnt",
+ "name": "enforce",
"type": "bool"
},
{
- "name": "umip",
+ "name": "kvm-nopiodelay",
"type": "bool"
},
{
- "name": "realized",
+ "name": "sse4.2",
"type": "bool"
},
{
- "name": "phe",
+ "name": "3dnow",
"type": "bool"
},
{
- "name": "cmp-legacy",
+ "name": "vmx",
"type": "bool"
},
{
- "name": "dca",
+ "name": "la57",
"type": "bool"
},
{
- "name": "acpi",
+ "name": "xgetbv1",
"type": "bool"
},
{
- "name": "pn",
+ "name": "ibrs-all",
"type": "bool"
},
{
- "name": "model-id",
- "type": "string"
+ "name": "sse4.1",
+ "type": "bool"
},
{
- "name": "crash-information",
- "type": "GuestPanicInformation"
+ "name": "xsaveopt",
+ "type": "bool"
},
{
- "name": "x-intel-pt-auto-level",
+ "name": "hv-relaxed",
"type": "bool"
},
{
- "name": "x-hv-synic-kvm-only",
+ "name": "spec-ctrl",
"type": "bool"
},
{
- "name": "tsc-scale",
+ "name": "fxsr",
"type": "bool"
},
{
- "name": "node-id",
- "type": "int32"
+ "name": "amd-ssbd",
+ "type": "bool"
},
{
- "name": "hv-reenlightenment",
+ "name": "hv-vapic",
"type": "bool"
},
{
- "name": "cx16",
+ "name": "phe-en",
"type": "bool"
},
{
- "name": "mmx",
+ "name": "hv-ipi",
"type": "bool"
},
{
- "name": "topoext",
+ "name": "hypervisor",
"type": "bool"
},
{
- "name": "pge",
+ "name": "aes",
"type": "bool"
},
{
- "name": "fsgsbase",
+ "name": "de",
"type": "bool"
},
{
- "name": "pclmuldq",
+ "name": "sse4_2",
"type": "bool"
},
{
- "name": "misalignsse",
- "type": "bool"
+ "name": "core-id",
+ "type": "int32"
},
{
- "name": "phe-en",
+ "name": "ss",
"type": "bool"
},
{
@@ -6428,94 +6372,87 @@
"return": [
{
"hotpluggable-cpus": true,
- "name": "isapc",
- "cpu-max": 1
+ "name": "pc-0.15",
+ "cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-1.1",
+ "name": "pc-i440fx-2.12",
"cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-1.2",
+ "name": "pc-i440fx-2.0",
"cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-1.3",
+ "name": "pc-i440fx-2.5",
"cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-i440fx-2.8",
+ "name": "pc-i440fx-1.5",
"cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-1.0",
+ "name": "pc-q35-2.7",
"cpu-max": 255
},
- {
- "hotpluggable-cpus": false,
- "name": "none",
- "cpu-max": 1
- },
{
"hotpluggable-cpus": true,
- "name": "pc-i440fx-2.9",
+ "name": "pc-0.12",
"cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-i440fx-2.6",
+ "name": "pc-i440fx-2.2",
"cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-i440fx-2.7",
+ "name": "pc-1.1",
"cpu-max": 255
},
{
- "hotpluggable-cpus": true,
- "name": "xenfv",
- "cpu-max": 128
+ "hotpluggable-cpus": false,
+ "name": "none",
+ "cpu-max": 1
},
{
"hotpluggable-cpus": true,
- "name": "pc-i440fx-4.1",
- "is-default": true,
- "cpu-max": 255,
- "alias": "pc"
+ "name": "pc-i440fx-2.7",
+ "cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-i440fx-2.3",
+ "name": "pc-q35-2.4",
"cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-i440fx-2.4",
- "cpu-max": 255
+ "name": "pc-q35-2.10",
+ "cpu-max": 288
},
{
"hotpluggable-cpus": true,
- "name": "pc-i440fx-2.5",
+ "name": "pc-i440fx-1.7",
"cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-i440fx-4.0",
+ "name": "pc-0.14",
"cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-i440fx-2.1",
- "cpu-max": 255
+ "name": "pc-q35-2.9",
+ "cpu-max": 288
},
{
"hotpluggable-cpus": true,
- "name": "pc-i440fx-2.2",
+ "name": "pc-i440fx-2.11",
"cpu-max": 255
},
{
@@ -6525,144 +6462,141 @@
},
{
"hotpluggable-cpus": true,
- "name": "pc-i440fx-2.0",
- "cpu-max": 255
+ "name": "pc-q35-4.1",
+ "cpu-max": 288,
+ "alias": "q35"
},
{
"hotpluggable-cpus": true,
- "name": "pc-q35-2.11",
- "cpu-max": 288
+ "name": "pc-i440fx-2.4",
+ "cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-q35-2.12",
- "cpu-max": 288
+ "name": "pc-1.3",
+ "cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-q35-3.0",
- "cpu-max": 288
- },
- {
- "hotpluggable-cpus": false,
- "name": "xenpv",
- "cpu-max": 1
+ "name": "pc-i440fx-4.1",
+ "is-default": true,
+ "cpu-max": 255,
+ "alias": "pc"
},
{
"hotpluggable-cpus": true,
- "name": "pc-q35-2.10",
- "cpu-max": 288
+ "name": "pc-i440fx-2.9",
+ "cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-q35-4.0.1",
- "cpu-max": 288
+ "name": "isapc",
+ "cpu-max": 1
},
{
"hotpluggable-cpus": true,
- "name": "pc-i440fx-1.7",
+ "name": "pc-i440fx-1.4",
"cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-q35-2.9",
- "cpu-max": 288
+ "name": "pc-q35-2.6",
+ "cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-0.15",
+ "name": "pc-i440fx-3.1",
"cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-i440fx-1.5",
- "cpu-max": 255
+ "name": "pc-q35-2.12",
+ "cpu-max": 288
},
{
"hotpluggable-cpus": true,
- "name": "pc-q35-2.7",
+ "name": "pc-i440fx-2.1",
"cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-i440fx-1.6",
+ "name": "pc-1.0",
"cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-i440fx-2.11",
+ "name": "pc-i440fx-2.6",
"cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-q35-2.8",
+ "name": "pc-q35-4.0.1",
"cpu-max": 288
},
{
"hotpluggable-cpus": true,
- "name": "pc-0.13",
+ "name": "pc-i440fx-1.6",
"cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-i440fx-2.12",
+ "name": "pc-0.13",
"cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-0.14",
- "cpu-max": 255
+ "name": "pc-q35-2.8",
+ "cpu-max": 288
},
{
"hotpluggable-cpus": true,
- "name": "pc-i440fx-3.0",
+ "name": "pc-i440fx-2.10",
"cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-i440fx-3.1",
- "cpu-max": 255
+ "name": "pc-q35-3.0",
+ "cpu-max": 288
},
{
"hotpluggable-cpus": true,
- "name": "pc-q35-2.4",
- "cpu-max": 255
+ "name": "pc-q35-4.0",
+ "cpu-max": 288
},
{
"hotpluggable-cpus": true,
- "name": "pc-q35-2.5",
+ "name": "pc-i440fx-2.3",
"cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-q35-2.6",
+ "name": "pc-1.2",
"cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-i440fx-1.4",
+ "name": "pc-i440fx-4.0",
"cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-i440fx-2.10",
+ "name": "pc-i440fx-2.8",
"cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-0.12",
+ "name": "pc-q35-2.5",
"cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-q35-4.0",
- "cpu-max": 288
+ "name": "pc-i440fx-3.0",
+ "cpu-max": 255
},
{
"hotpluggable-cpus": true,
- "name": "pc-q35-4.1",
- "cpu-max": 288,
- "alias": "q35"
+ "name": "pc-q35-2.11",
+ "cpu-max": 288
}
],
"id": "libvirt-38"
@@ -6808,7 +6742,6 @@
"name": "Westmere-IBRS",
"typename": "Westmere-IBRS-x86_64-cpu",
"unavailable-features": [
- "spec-ctrl"
],
"static": false,
"migration-safe": true
@@ -6832,7 +6765,6 @@
"avx512bw",
"avx512vl",
"pku",
- "spec-ctrl",
"avx512f",
"avx512f",
"avx512f",
@@ -6864,7 +6796,6 @@
"name": "Skylake-Client-IBRS",
"typename": "Skylake-Client-IBRS-x86_64-cpu",
"unavailable-features": [
- "spec-ctrl"
],
"static": false,
"migration-safe": true
@@ -6881,7 +6812,6 @@
"name": "SandyBridge-IBRS",
"typename": "SandyBridge-IBRS-x86_64-cpu",
"unavailable-features": [
- "spec-ctrl"
],
"static": false,
"migration-safe": true
@@ -6961,7 +6891,6 @@
"name": "Nehalem-IBRS",
"typename": "Nehalem-IBRS-x86_64-cpu",
"unavailable-features": [
- "spec-ctrl"
],
"static": false,
"migration-safe": true
@@ -6996,7 +6925,6 @@
"name": "IvyBridge-IBRS",
"typename": "IvyBridge-IBRS-x86_64-cpu",
"unavailable-features": [
- "spec-ctrl"
],
"static": false,
"migration-safe": true
@@ -7029,8 +6957,6 @@
"avx512bitalg",
"avx512-vpopcntdq",
"la57",
- "spec-ctrl",
- "ssbd",
"wbnoinvd",
"avx512f",
"avx512f",
@@ -7053,8 +6979,6 @@
"avx512vnni",
"avx512bitalg",
"avx512-vpopcntdq",
- "spec-ctrl",
- "ssbd",
"wbnoinvd",
"pku"
],
@@ -7065,7 +6989,6 @@
"name": "Haswell-noTSX-IBRS",
"typename": "Haswell-noTSX-IBRS-x86_64-cpu",
"unavailable-features": [
- "spec-ctrl"
],
"static": false,
"migration-safe": true
@@ -7082,7 +7005,6 @@
"name": "Haswell-IBRS",
"typename": "Haswell-IBRS-x86_64-cpu",
"unavailable-features": [
- "spec-ctrl"
],
"static": false,
"migration-safe": true
@@ -7167,8 +7089,6 @@
"avx512vl",
"pku",
"avx512vnni",
- "spec-ctrl",
- "ssbd",
"avx512f",
"avx512f",
"avx512f",
@@ -7181,7 +7101,6 @@
"name": "Broadwell-noTSX-IBRS",
"typename": "Broadwell-noTSX-IBRS-x86_64-cpu",
"unavailable-features": [
- "spec-ctrl"
],
"static": false,
"migration-safe": true
@@ -7198,7 +7117,6 @@
"name": "Broadwell-IBRS",
"typename": "Broadwell-IBRS-x86_64-cpu",
"unavailable-features": [
- "spec-ctrl"
],
"static": false,
"migration-safe": true
@@ -15730,7 +15648,10 @@
"type": "bool"
}
],
- "meta-type": "object"
+ "meta-type": "object",
+ "features": [
+ "dynamic-auto-read-only"
+ ]
},
{
"name": "247",
@@ -16094,6 +16015,11 @@
"name": "latency-ns",
"default": null,
"type": "int"
+ },
+ {
+ "name": "read-zeroes",
+ "default": null,
+ "type": "bool"
}
],
"meta-type": "object"
@@ -17719,6 +17645,11 @@
"name": "variants",
"default": null,
"type": "[439]"
+ },
+ {
+ "name": "features",
+ "default": null,
+ "type": "[str]"
}
],
"meta-type": "object"
@@ -18451,6 +18382,11 @@
"default": null,
"type": "int"
},
+ {
+ "name": "iotype",
+ "default": null,
+ "type": "454"
+ },
{
"name": "errno",
"default": null,
@@ -18538,7 +18474,7 @@
"members": [
{
"name": "type",
- "type": "454"
+ "type": "455"
},
{
"name": "host",
@@ -18566,10 +18502,10 @@
"name": "371",
"members": [
{
- "type": "455"
+ "type": "456"
},
{
- "type": "456"
+ "type": "457"
}
],
"meta-type": "alternate"
@@ -18580,17 +18516,17 @@
"variants": [
{
"case": "aes",
- "type": "458"
+ "type": "459"
},
{
"case": "luks",
- "type": "459"
+ "type": "460"
}
],
"members": [
{
"name": "format",
- "type": "457"
+ "type": "458"
}
],
"meta-type": "object"
@@ -18601,13 +18537,13 @@
"variants": [
{
"case": "aes",
- "type": "458"
+ "type": "459"
}
],
"members": [
{
"name": "format",
- "type": "460"
+ "type": "461"
}
],
"meta-type": "object"
@@ -18705,7 +18641,7 @@
"variants": [
{
"case": "hash",
- "type": "462"
+ "type": "463"
},
{
"case": "none",
@@ -18719,7 +18655,7 @@
"members": [
{
"name": "mode",
- "type": "461"
+ "type": "462"
}
],
"meta-type": "object"
@@ -18738,7 +18674,7 @@
{
"name": "preallocation",
"default": null,
- "type": "463"
+ "type": "464"
},
{
"name": "nocow",
@@ -18762,7 +18698,7 @@
{
"name": "preallocation",
"default": null,
- "type": "463"
+ "type": "464"
}
],
"meta-type": "object"
@@ -18778,27 +18714,27 @@
{
"name": "cipher-alg",
"default": null,
- "type": "464"
+ "type": "465"
},
{
"name": "cipher-mode",
"default": null,
- "type": "465"
+ "type": "466"
},
{
"name": "ivgen-alg",
"default": null,
- "type": "466"
+ "type": "467"
},
{
"name": "ivgen-hash-alg",
"default": null,
- "type": "467"
+ "type": "468"
},
{
"name": "hash-alg",
"default": null,
- "type": "467"
+ "type": "468"
},
{
"name": "iter-time",
@@ -18868,7 +18804,7 @@
{
"name": "encrypt",
"default": null,
- "type": "468"
+ "type": "469"
}
],
"meta-type": "object"
@@ -18897,7 +18833,7 @@
{
"name": "version",
"default": null,
- "type": "469"
+ "type": "470"
},
{
"name": "backing-file",
@@ -18912,7 +18848,7 @@
{
"name": "encrypt",
"default": null,
- "type": "468"
+ "type": "469"
},
{
"name": "cluster-size",
@@ -18922,7 +18858,7 @@
{
"name": "preallocation",
"default": null,
- "type": "463"
+ "type": "464"
},
{
"name": "lazy-refcounts",
@@ -19009,12 +18945,12 @@
{
"name": "preallocation",
"default": null,
- "type": "463"
+ "type": "464"
},
{
"name": "redundancy",
"default": null,
- "type": "470"
+ "type": "471"
},
{
"name": "object-size",
@@ -19052,7 +18988,7 @@
{
"name": "preallocation",
"default": null,
- "type": "463"
+ "type": "464"
}
],
"meta-type": "object"
@@ -19081,7 +19017,7 @@
{
"name": "subformat",
"default": null,
- "type": "471"
+ "type": "472"
},
{
"name": "block-state-zero",
@@ -19110,7 +19046,7 @@
{
"name": "subformat",
"default": null,
- "type": "472"
+ "type": "473"
},
{
"name": "backing-file",
@@ -19120,7 +19056,7 @@
{
"name": "adapter-type",
"default": null,
- "type": "473"
+ "type": "474"
},
{
"name": "hwversion",
@@ -19149,7 +19085,7 @@
{
"name": "subformat",
"default": null,
- "type": "474"
+ "type": "475"
},
{
"name": "force-size",
@@ -19245,7 +19181,7 @@
"members": [
{
"name": "data",
- "type": "475"
+ "type": "476"
}
],
"meta-type": "object"
@@ -19255,7 +19191,7 @@
"members": [
{
"name": "data",
- "type": "476"
+ "type": "477"
}
],
"meta-type": "object"
@@ -19265,7 +19201,7 @@
"members": [
{
"name": "data",
- "type": "477"
+ "type": "478"
}
],
"meta-type": "object"
@@ -19275,7 +19211,7 @@
"members": [
{
"name": "data",
- "type": "478"
+ "type": "479"
}
],
"meta-type": "object"
@@ -19285,7 +19221,7 @@
"members": [
{
"name": "data",
- "type": "479"
+ "type": "480"
}
],
"meta-type": "object"
@@ -19295,7 +19231,7 @@
"members": [
{
"name": "data",
- "type": "480"
+ "type": "481"
}
],
"meta-type": "object"
@@ -19305,7 +19241,7 @@
"members": [
{
"name": "data",
- "type": "481"
+ "type": "482"
}
],
"meta-type": "object"
@@ -19315,7 +19251,7 @@
"members": [
{
"name": "data",
- "type": "482"
+ "type": "483"
}
],
"meta-type": "object"
@@ -19325,7 +19261,7 @@
"members": [
{
"name": "data",
- "type": "483"
+ "type": "484"
}
],
"meta-type": "object"
@@ -19335,7 +19271,7 @@
"members": [
{
"name": "data",
- "type": "484"
+ "type": "485"
}
],
"meta-type": "object"
@@ -19345,7 +19281,7 @@
"members": [
{
"name": "data",
- "type": "485"
+ "type": "486"
}
],
"meta-type": "object"
@@ -19363,7 +19299,7 @@
"members": [
{
"name": "data",
- "type": "486"
+ "type": "487"
}
],
"meta-type": "object"
@@ -19373,7 +19309,7 @@
"members": [
{
"name": "data",
- "type": "487"
+ "type": "488"
}
],
"meta-type": "object"
@@ -19401,7 +19337,7 @@
"members": [
{
"name": "data",
- "type": "488"
+ "type": "489"
}
],
"meta-type": "object"
@@ -19421,7 +19357,7 @@
"members": [
{
"name": "data",
- "type": "489"
+ "type": "490"
}
],
"meta-type": "object"
@@ -19431,7 +19367,7 @@
"members": [
{
"name": "data",
- "type": "490"
+ "type": "491"
}
],
"meta-type": "object"
@@ -19441,7 +19377,7 @@
"members": [
{
"name": "data",
- "type": "491"
+ "type": "492"
}
],
"meta-type": "object"
@@ -19512,7 +19448,7 @@
"members": [
{
"name": "data",
- "type": "492"
+ "type": "493"
}
],
"meta-type": "object"
@@ -19732,7 +19668,7 @@
"members": [
{
"name": "bus",
- "type": "493"
+ "type": "494"
},
{
"name": "devices",
@@ -19853,7 +19789,7 @@
"members": [
{
"name": "data",
- "type": "494"
+ "type": "495"
}
],
"meta-type": "object"
@@ -19863,7 +19799,7 @@
"members": [
{
"name": "data",
- "type": "495"
+ "type": "496"
}
],
"meta-type": "object"
@@ -19873,7 +19809,7 @@
"members": [
{
"name": "data",
- "type": "496"
+ "type": "497"
}
],
"meta-type": "object"
@@ -19928,23 +19864,36 @@
"l1_shrink_write_table",
"l1_shrink_free_l2_clusters",
"cor_write",
- "cluster_alloc_space"
+ "cluster_alloc_space",
+ "none"
]
},
{
"name": "454",
"meta-type": "enum",
"values": [
- "inet"
+ "read",
+ "write",
+ "write-zeroes",
+ "discard",
+ "flush",
+ "block-status"
]
},
{
"name": "455",
+ "meta-type": "enum",
+ "values": [
+ "inet"
+ ]
+ },
+ {
+ "name": "456",
"members": [
{
"name": "template",
"default": null,
- "type": "456"
+ "type": "457"
},
{
"name": "main-header",
@@ -19995,7 +19944,7 @@
"meta-type": "object"
},
{
- "name": "456",
+ "name": "457",
"meta-type": "enum",
"values": [
"none",
@@ -20005,7 +19954,7 @@
]
},
{
- "name": "457",
+ "name": "458",
"meta-type": "enum",
"values": [
"aes",
@@ -20013,7 +19962,7 @@
]
},
{
- "name": "458",
+ "name": "459",
"members": [
{
"name": "key-secret",
@@ -20024,7 +19973,7 @@
"meta-type": "object"
},
{
- "name": "459",
+ "name": "460",
"members": [
{
"name": "key-secret",
@@ -20035,14 +19984,14 @@
"meta-type": "object"
},
{
- "name": "460",
+ "name": "461",
"meta-type": "enum",
"values": [
"aes"
]
},
{
- "name": "461",
+ "name": "462",
"meta-type": "enum",
"values": [
"none",
@@ -20051,11 +20000,11 @@
]
},
{
- "name": "462",
+ "name": "463",
"members": [
{
"name": "type",
- "type": "497"
+ "type": "498"
},
{
"name": "hash",
@@ -20065,7 +20014,7 @@
"meta-type": "object"
},
{
- "name": "463",
+ "name": "464",
"meta-type": "enum",
"values": [
"off",
@@ -20075,7 +20024,7 @@
]
},
{
- "name": "464",
+ "name": "465",
"meta-type": "enum",
"values": [
"aes-128",
@@ -20093,7 +20042,7 @@
]
},
{
- "name": "465",
+ "name": "466",
"meta-type": "enum",
"values": [
"ecb",
@@ -20103,7 +20052,7 @@
]
},
{
- "name": "466",
+ "name": "467",
"meta-type": "enum",
"values": [
"plain",
@@ -20112,7 +20061,7 @@
]
},
{
- "name": "467",
+ "name": "468",
"meta-type": "enum",
"values": [
"md5",
@@ -20125,28 +20074,28 @@
]
},
{
- "name": "468",
+ "name": "469",
"tag": "format",
"variants": [
{
"case": "qcow",
- "type": "458"
+ "type": "459"
},
{
"case": "luks",
- "type": "499"
+ "type": "500"
}
],
"members": [
{
"name": "format",
- "type": "498"
+ "type": "499"
}
],
"meta-type": "object"
},
{
- "name": "469",
+ "name": "470",
"meta-type": "enum",
"values": [
"v2",
@@ -20154,28 +20103,28 @@
]
},
{
- "name": "470",
+ "name": "471",
"tag": "type",
"variants": [
{
"case": "full",
- "type": "501"
+ "type": "502"
},
{
"case": "erasure-coded",
- "type": "502"
+ "type": "503"
}
],
"members": [
{
"name": "type",
- "type": "500"
+ "type": "501"
}
],
"meta-type": "object"
},
{
- "name": "471",
+ "name": "472",
"meta-type": "enum",
"values": [
"dynamic",
@@ -20183,7 +20132,7 @@
]
},
{
- "name": "472",
+ "name": "473",
"meta-type": "enum",
"values": [
"monolithicSparse",
@@ -20194,7 +20143,7 @@
]
},
{
- "name": "473",
+ "name": "474",
"meta-type": "enum",
"values": [
"ide",
@@ -20204,7 +20153,7 @@
]
},
{
- "name": "474",
+ "name": "475",
"meta-type": "enum",
"values": [
"dynamic",
@@ -20212,7 +20161,7 @@
]
},
{
- "name": "475",
+ "name": "476",
"members": [
{
"name": "logfile",
@@ -20242,7 +20191,7 @@
"meta-type": "object"
},
{
- "name": "476",
+ "name": "477",
"members": [
{
"name": "logfile",
@@ -20262,7 +20211,7 @@
"meta-type": "object"
},
{
- "name": "477",
+ "name": "478",
"members": [
{
"name": "logfile",
@@ -20327,7 +20276,7 @@
"meta-type": "object"
},
{
- "name": "478",
+ "name": "479",
"members": [
{
"name": "logfile",
@@ -20352,7 +20301,7 @@
"meta-type": "object"
},
{
- "name": "479",
+ "name": "480",
"members": [
{
"name": "logfile",
@@ -20368,7 +20317,7 @@
"meta-type": "object"
},
{
- "name": "480",
+ "name": "481",
"members": [
{
"name": "logfile",
@@ -20388,7 +20337,7 @@
"meta-type": "object"
},
{
- "name": "481",
+ "name": "482",
"members": [
{
"name": "logfile",
@@ -20409,7 +20358,7 @@
"meta-type": "object"
},
{
- "name": "482",
+ "name": "483",
"members": [
{
"name": "logfile",
@@ -20429,7 +20378,7 @@
"meta-type": "object"
},
{
- "name": "483",
+ "name": "484",
"members": [
{
"name": "logfile",
@@ -20449,7 +20398,7 @@
"meta-type": "object"
},
{
- "name": "484",
+ "name": "485",
"members": [
{
"name": "logfile",
@@ -20485,7 +20434,7 @@
"meta-type": "object"
},
{
- "name": "485",
+ "name": "486",
"members": [
{
"name": "logfile",
@@ -20506,7 +20455,7 @@
"meta-type": "object"
},
{
- "name": "486",
+ "name": "487",
"members": [
{
"name": "path",
@@ -20522,7 +20471,7 @@
"meta-type": "object"
},
{
- "name": "487",
+ "name": "488",
"members": [
{
"name": "chardev",
@@ -20532,7 +20481,7 @@
"meta-type": "object"
},
{
- "name": "488",
+ "name": "489",
"meta-type": "enum",
"values": [
"unmapped",
@@ -20686,7 +20635,7 @@
]
},
{
- "name": "489",
+ "name": "490",
"members": [
{
"name": "key",
@@ -20700,11 +20649,11 @@
"meta-type": "object"
},
{
- "name": "490",
+ "name": "491",
"members": [
{
"name": "button",
- "type": "503"
+ "type": "504"
},
{
"name": "down",
@@ -20714,11 +20663,11 @@
"meta-type": "object"
},
{
- "name": "491",
+ "name": "492",
"members": [
{
"name": "axis",
- "type": "504"
+ "type": "505"
},
{
"name": "value",
@@ -20728,13 +20677,13 @@
"meta-type": "object"
},
{
- "name": "492",
+ "name": "493",
"members": [
],
"meta-type": "object"
},
{
- "name": "493",
+ "name": "494",
"members": [
{
"name": "number",
@@ -20750,21 +20699,21 @@
},
{
"name": "io_range",
- "type": "505"
+ "type": "506"
},
{
"name": "memory_range",
- "type": "505"
+ "type": "506"
},
{
"name": "prefetchable_range",
- "type": "505"
+ "type": "506"
}
],
"meta-type": "object"
},
{
- "name": "494",
+ "name": "495",
"members": [
{
"name": "compat",
@@ -20797,18 +20746,18 @@
{
"name": "encrypt",
"default": null,
- "type": "506"
+ "type": "507"
},
{
"name": "bitmaps",
"default": null,
- "type": "[507]"
+ "type": "[508]"
}
],
"meta-type": "object"
},
{
- "name": "495",
+ "name": "496",
"members": [
{
"name": "create-type",
@@ -20830,28 +20779,28 @@
"meta-type": "object"
},
{
- "name": "496",
+ "name": "497",
"members": [
{
"name": "cipher-alg",
- "type": "464"
+ "type": "465"
},
{
"name": "cipher-mode",
- "type": "465"
+ "type": "466"
},
{
"name": "ivgen-alg",
- "type": "466"
+ "type": "467"
},
{
"name": "ivgen-hash-alg",
"default": null,
- "type": "467"
+ "type": "468"
},
{
"name": "hash-alg",
- "type": "467"
+ "type": "468"
},
{
"name": "payload-offset",
@@ -20867,13 +20816,13 @@
},
{
"name": "slots",
- "type": "[508]"
+ "type": "[509]"
}
],
"meta-type": "object"
},
{
- "name": "497",
+ "name": "498",
"meta-type": "enum",
"values": [
"md5",
@@ -20881,7 +20830,7 @@
]
},
{
- "name": "498",
+ "name": "499",
"meta-type": "enum",
"values": [
"qcow",
@@ -20889,7 +20838,7 @@
]
},
{
- "name": "499",
+ "name": "500",
"members": [
{
"name": "key-secret",
@@ -20899,27 +20848,27 @@
{
"name": "cipher-alg",
"default": null,
- "type": "464"
+ "type": "465"
},
{
"name": "cipher-mode",
"default": null,
- "type": "465"
+ "type": "466"
},
{
"name": "ivgen-alg",
"default": null,
- "type": "466"
+ "type": "467"
},
{
"name": "ivgen-hash-alg",
"default": null,
- "type": "467"
+ "type": "468"
},
{
"name": "hash-alg",
"default": null,
- "type": "467"
+ "type": "468"
},
{
"name": "iter-time",
@@ -20930,7 +20879,7 @@
"meta-type": "object"
},
{
- "name": "500",
+ "name": "501",
"meta-type": "enum",
"values": [
"full",
@@ -20938,7 +20887,7 @@
]
},
{
- "name": "501",
+ "name": "502",
"members": [
{
"name": "copies",
@@ -20948,7 +20897,7 @@
"meta-type": "object"
},
{
- "name": "502",
+ "name": "503",
"members": [
{
"name": "data-strips",
@@ -20962,7 +20911,7 @@
"meta-type": "object"
},
{
- "name": "503",
+ "name": "504",
"meta-type": "enum",
"values": [
"left",
@@ -20975,7 +20924,7 @@
]
},
{
- "name": "504",
+ "name": "505",
"meta-type": "enum",
"values": [
"x",
@@ -20983,7 +20932,7 @@
]
},
{
- "name": "505",
+ "name": "506",
"members": [
{
"name": "base",
@@ -20997,12 +20946,12 @@
"meta-type": "object"
},
{
- "name": "506",
+ "name": "507",
"tag": "format",
"variants": [
{
"case": "luks",
- "type": "496"
+ "type": "497"
},
{
"case": "aes",
@@ -21012,18 +20961,18 @@
"members": [
{
"name": "format",
- "type": "457"
+ "type": "458"
}
],
"meta-type": "object"
},
{
- "name": "[507]",
- "element-type": "507",
+ "name": "[508]",
+ "element-type": "508",
"meta-type": "array"
},
{
- "name": "507",
+ "name": "508",
"members": [
{
"name": "name",
@@ -21035,7 +20984,7 @@
},
{
"name": "flags",
- "type": "[509]"
+ "type": "[510]"
}
],
"meta-type": "object"
@@ -21046,12 +20995,12 @@
"meta-type": "array"
},
{
- "name": "[508]",
- "element-type": "508",
+ "name": "[509]",
+ "element-type": "509",
"meta-type": "array"
},
{
- "name": "508",
+ "name": "509",
"members": [
{
"name": "active",
@@ -21075,12 +21024,12 @@
"meta-type": "object"
},
{
- "name": "[509]",
- "element-type": "509",
+ "name": "[510]",
+ "element-type": "510",
"meta-type": "array"
},
{
- "name": "509",
+ "name": "510",
"meta-type": "enum",
"values": [
"in-use",
@@ -21160,7 +21109,7 @@
"3dnowprefetch": true,
"avx512vbmi2": false,
"cr8legacy": false,
- "stibp": false,
+ "stibp": true,
"xcrypt-en": false,
"pn": false,
"rsba": false,
@@ -21206,7 +21155,7 @@
"svm": false,
"invtsc": false,
"sse2": true,
- "ssbd": false,
+ "ssbd": true,
"est": false,
"avx512ifma": false,
"tm2": false,
@@ -21245,7 +21194,7 @@
"osvw": false,
"apic": true,
"pmm": false,
- "spec-ctrl": false,
+ "spec-ctrl": true,
"tsc-adjust": true,
"kvm-steal-time": true,
"kvmclock": true,
@@ -21274,7 +21223,7 @@
"sep": true,
"virt-ssbd": false,
"nodeid-msr": false,
- "md-clear": false,
+ "md-clear": true,
"misalignsse": false,
"min-xlevel": 2147483656,
"bmi1": true,
@@ -21380,7 +21329,7 @@
"3dnowprefetch": true,
"avx512vbmi2": false,
"cr8legacy": false,
- "stibp": false,
+ "stibp": true,
"xcrypt-en": false,
"pn": false,
"rsba": false,
@@ -21424,9 +21373,9 @@
"syscall": true,
"avx512dq": false,
"svm": false,
- "invtsc": false,
+ "invtsc": true,
"sse2": true,
- "ssbd": false,
+ "ssbd": true,
"est": false,
"avx512ifma": false,
"tm2": false,
@@ -21465,7 +21414,7 @@
"osvw": false,
"apic": true,
"pmm": false,
- "spec-ctrl": false,
+ "spec-ctrl": true,
"tsc-adjust": true,
"kvm-steal-time": true,
"kvmclock": true,
@@ -21494,7 +21443,7 @@
"sep": true,
"virt-ssbd": false,
"nodeid-msr": false,
- "md-clear": false,
+ "md-clear": true,
"misalignsse": false,
"min-xlevel": 2147483656,
"bmi1": true,
diff --git a/tests/qemucapabilitiesdata/caps_4.1.0.x86_64.xml b/tests/qemucapabilitiesdata/caps_4.1.0.x86_64.xml
index 0e546bae1e..9cbf65b405 100644
--- a/tests/qemucapabilitiesdata/caps_4.1.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_4.1.0.x86_64.xml
@@ -210,7 +210,7 @@
<version>4000050</version>
<kvmVersion>0</kvmVersion>
<microcodeVersion>43100759</microcodeVersion>
- <package>v4.0.0-1173-g9c70209b63</package>
+ <package>v4.0.0-1481-g33d6099906</package>
<arch>x86_64</arch>
<hostCPU type='kvm' model='base' migratability='yes'>
<property name='cmov' type='boolean' value='true' migratable='yes'/>
@@ -253,7 +253,7 @@
<property name='3dnowprefetch' type='boolean' value='true' migratable='yes'/>
<property name='avx512vbmi2' type='boolean' value='false'/>
<property name='cr8legacy' type='boolean' value='false'/>
- <property name='stibp' type='boolean' value='false'/>
+ <property name='stibp' type='boolean' value='true' migratable='yes'/>
<property name='xcrypt-en' type='boolean' value='false'/>
<property name='pn' type='boolean' value='false'/>
<property name='rsba' type='boolean' value='false'/>
@@ -297,9 +297,9 @@
<property name='syscall' type='boolean' value='true' migratable='yes'/>
<property name='avx512dq' type='boolean' value='false'/>
<property name='svm' type='boolean' value='false'/>
- <property name='invtsc' type='boolean' value='false'/>
+ <property name='invtsc' type='boolean' value='true' migratable='no'/>
<property name='sse2' type='boolean' value='true' migratable='yes'/>
- <property name='ssbd' type='boolean' value='false'/>
+ <property name='ssbd' type='boolean' value='true' migratable='yes'/>
<property name='est' type='boolean' value='false'/>
<property name='avx512ifma' type='boolean' value='false'/>
<property name='tm2' type='boolean' value='false'/>
@@ -338,7 +338,7 @@
<property name='osvw' type='boolean' value='false'/>
<property name='apic' type='boolean' value='true' migratable='yes'/>
<property name='pmm' type='boolean' value='false'/>
- <property name='spec-ctrl' type='boolean' value='false'/>
+ <property name='spec-ctrl' type='boolean' value='true' migratable='yes'/>
<property name='tsc-adjust' type='boolean' value='true' migratable='yes'/>
<property name='kvm-steal-time' type='boolean' value='true' migratable='yes'/>
<property name='kvmclock' type='boolean' value='true' migratable='yes'/>
@@ -367,7 +367,7 @@
<property name='sep' type='boolean' value='true' migratable='yes'/>
<property name='virt-ssbd' type='boolean' value='false'/>
<property name='nodeid-msr' type='boolean' value='false'/>
- <property name='md-clear' type='boolean' value='false'/>
+ <property name='md-clear' type='boolean' value='true' migratable='yes'/>
<property name='misalignsse' type='boolean' value='false'/>
<property name='min-xlevel' type='number' value='2147483656'/>
<property name='bmi1' type='boolean' value='true' migratable='yes'/>
@@ -632,9 +632,7 @@
<blocker name='3dnowext'/>
<blocker name='3dnow'/>
</cpu>
- <cpu type='kvm' name='Westmere-IBRS' usable='no'>
- <blocker name='spec-ctrl'/>
- </cpu>
+ <cpu type='kvm' name='Westmere-IBRS' usable='yes'/>
<cpu type='kvm' name='Westmere' usable='yes'/>
<cpu type='kvm' name='Skylake-Server-IBRS' usable='no'>
<blocker name='avx512f'/>
@@ -644,7 +642,6 @@
<blocker name='avx512bw'/>
<blocker name='avx512vl'/>
<blocker name='pku'/>
- <blocker name='spec-ctrl'/>
<blocker name='avx512f'/>
<blocker name='avx512f'/>
<blocker name='avx512f'/>
@@ -663,13 +660,9 @@
<blocker name='avx512f'/>
<blocker name='pku'/>
</cpu>
- <cpu type='kvm' name='Skylake-Client-IBRS' usable='no'>
- <blocker name='spec-ctrl'/>
- </cpu>
+ <cpu type='kvm' name='Skylake-Client-IBRS' usable='yes'/>
<cpu type='kvm' name='Skylake-Client' usable='yes'/>
- <cpu type='kvm' name='SandyBridge-IBRS' usable='no'>
- <blocker name='spec-ctrl'/>
- </cpu>
+ <cpu type='kvm' name='SandyBridge-IBRS' usable='yes'/>
<cpu type='kvm' name='SandyBridge' usable='yes'/>
<cpu type='kvm' name='Penryn' usable='yes'/>
<cpu type='kvm' name='Opteron_G5' usable='no'>
@@ -695,9 +688,7 @@
</cpu>
<cpu type='kvm' name='Opteron_G2' usable='yes'/>
<cpu type='kvm' name='Opteron_G1' usable='yes'/>
- <cpu type='kvm' name='Nehalem-IBRS' usable='no'>
- <blocker name='spec-ctrl'/>
- </cpu>
+ <cpu type='kvm' name='Nehalem-IBRS' usable='yes'/>
<cpu type='kvm' name='Nehalem' usable='yes'/>
<cpu type='kvm' name='KnightsMill' usable='no'>
<blocker name='avx512f'/>
@@ -711,9 +702,7 @@
<blocker name='avx512f'/>
<blocker name='avx512f'/>
</cpu>
- <cpu type='kvm' name='IvyBridge-IBRS' usable='no'>
- <blocker name='spec-ctrl'/>
- </cpu>
+ <cpu type='kvm' name='IvyBridge-IBRS' usable='yes'/>
<cpu type='kvm' name='IvyBridge' usable='yes'/>
<cpu type='kvm' name='Icelake-Server' usable='no'>
<blocker name='avx512f'/>
@@ -732,8 +721,6 @@
<blocker name='avx512bitalg'/>
<blocker name='avx512-vpopcntdq'/>
<blocker name='la57'/>
- <blocker name='spec-ctrl'/>
- <blocker name='ssbd'/>
<blocker name='wbnoinvd'/>
<blocker name='avx512f'/>
<blocker name='avx512f'/>
@@ -750,18 +737,12 @@
<blocker name='avx512vnni'/>
<blocker name='avx512bitalg'/>
<blocker name='avx512-vpopcntdq'/>
- <blocker name='spec-ctrl'/>
- <blocker name='ssbd'/>
<blocker name='wbnoinvd'/>
<blocker name='pku'/>
</cpu>
- <cpu type='kvm' name='Haswell-noTSX-IBRS' usable='no'>
- <blocker name='spec-ctrl'/>
- </cpu>
+ <cpu type='kvm' name='Haswell-noTSX-IBRS' usable='yes'/>
<cpu type='kvm' name='Haswell-noTSX' usable='yes'/>
- <cpu type='kvm' name='Haswell-IBRS' usable='no'>
- <blocker name='spec-ctrl'/>
- </cpu>
+ <cpu type='kvm' name='Haswell-IBRS' usable='yes'/>
<cpu type='kvm' name='Haswell' usable='yes'/>
<cpu type='kvm' name='EPYC-IBPB' usable='no'>
<blocker name='sha-ni'/>
@@ -807,20 +788,14 @@
<blocker name='avx512vl'/>
<blocker name='pku'/>
<blocker name='avx512vnni'/>
- <blocker name='spec-ctrl'/>
- <blocker name='ssbd'/>
<blocker name='avx512f'/>
<blocker name='avx512f'/>
<blocker name='avx512f'/>
<blocker name='pku'/>
</cpu>
- <cpu type='kvm' name='Broadwell-noTSX-IBRS' usable='no'>
- <blocker name='spec-ctrl'/>
- </cpu>
+ <cpu type='kvm' name='Broadwell-noTSX-IBRS' usable='yes'/>
<cpu type='kvm' name='Broadwell-noTSX' usable='yes'/>
- <cpu type='kvm' name='Broadwell-IBRS' usable='no'>
- <blocker name='spec-ctrl'/>
- </cpu>
+ <cpu type='kvm' name='Broadwell-IBRS' usable='yes'/>
<cpu type='kvm' name='Broadwell' usable='yes'/>
<cpu type='kvm' name='486' usable='yes'/>
<cpu type='tcg' name='max' usable='yes'/>
@@ -1219,49 +1194,47 @@
</cpu>
<cpu type='tcg' name='486' usable='yes'/>
<machine name='pc-i440fx-4.1' alias='pc' hotplugCpus='yes' maxCpus='255' default='yes'/>
- <machine name='isapc' hotplugCpus='yes' maxCpus='1'/>
- <machine name='pc-1.1' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-1.2' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-1.3' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-i440fx-2.8' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-1.0' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-i440fx-2.9' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-i440fx-2.6' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-i440fx-2.7' hotplugCpus='yes' maxCpus='255'/>
- <machine name='xenfv' hotplugCpus='yes' maxCpus='128'/>
- <machine name='pc-i440fx-2.3' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-i440fx-2.4' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-0.15' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-i440fx-2.12' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-i440fx-2.0' hotplugCpus='yes' maxCpus='255'/>
<machine name='pc-i440fx-2.5' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-i440fx-4.0' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-i440fx-2.1' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-i440fx-1.5' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-q35-2.7' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-0.12' hotplugCpus='yes' maxCpus='255'/>
<machine name='pc-i440fx-2.2' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-q35-3.1' hotplugCpus='yes' maxCpus='288'/>
- <machine name='pc-i440fx-2.0' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-q35-2.11' hotplugCpus='yes' maxCpus='288'/>
- <machine name='pc-q35-2.12' hotplugCpus='yes' maxCpus='288'/>
- <machine name='pc-q35-3.0' hotplugCpus='yes' maxCpus='288'/>
- <machine name='xenpv' maxCpus='1'/>
+ <machine name='pc-1.1' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-i440fx-2.7' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-q35-2.4' hotplugCpus='yes' maxCpus='255'/>
<machine name='pc-q35-2.10' hotplugCpus='yes' maxCpus='288'/>
- <machine name='pc-q35-4.0.1' hotplugCpus='yes' maxCpus='288'/>
<machine name='pc-i440fx-1.7' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-0.14' hotplugCpus='yes' maxCpus='255'/>
<machine name='pc-q35-2.9' hotplugCpus='yes' maxCpus='288'/>
- <machine name='pc-0.15' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-i440fx-1.5' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-q35-2.7' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-i440fx-1.6' hotplugCpus='yes' maxCpus='255'/>
<machine name='pc-i440fx-2.11' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-q35-2.8' hotplugCpus='yes' maxCpus='288'/>
- <machine name='pc-0.13' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-i440fx-2.12' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-0.14' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-i440fx-3.0' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-i440fx-3.1' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-q35-2.4' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-q35-2.5' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-q35-2.6' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-q35-3.1' hotplugCpus='yes' maxCpus='288'/>
+ <machine name='pc-q35-4.1' alias='q35' hotplugCpus='yes' maxCpus='288'/>
+ <machine name='pc-i440fx-2.4' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-1.3' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-i440fx-2.9' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='isapc' hotplugCpus='yes' maxCpus='1'/>
<machine name='pc-i440fx-1.4' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-q35-2.6' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-i440fx-3.1' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-q35-2.12' hotplugCpus='yes' maxCpus='288'/>
+ <machine name='pc-i440fx-2.1' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-1.0' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-i440fx-2.6' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-q35-4.0.1' hotplugCpus='yes' maxCpus='288'/>
+ <machine name='pc-i440fx-1.6' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-0.13' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-q35-2.8' hotplugCpus='yes' maxCpus='288'/>
<machine name='pc-i440fx-2.10' hotplugCpus='yes' maxCpus='255'/>
- <machine name='pc-0.12' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-q35-3.0' hotplugCpus='yes' maxCpus='288'/>
<machine name='pc-q35-4.0' hotplugCpus='yes' maxCpus='288'/>
- <machine name='pc-q35-4.1' alias='q35' hotplugCpus='yes' maxCpus='288'/>
+ <machine name='pc-i440fx-2.3' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-1.2' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-i440fx-4.0' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-i440fx-2.8' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-q35-2.5' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-i440fx-3.0' hotplugCpus='yes' maxCpus='255'/>
+ <machine name='pc-q35-2.11' hotplugCpus='yes' maxCpus='288'/>
</qemuCaps>
--
2.21.0
5 years, 6 months
[libvirt] [PATCH v2] syntax check: update header guard check
by Jonathon Jongsma
Internal headers should use #pragma once instead of the standard #ifndef
guard. Public headers still require the existing header guard.
Signed-off-by: Jonathon Jongsma <jjongsma(a)redhat.com>
---
Changes in v2:
- fix error messages when no header guard is found (#ifndef for public headers, #pragma for
internal headers)
- fix test for identifying public headers (omit initial '/')
- fix code spacing
build-aux/header-ifdef.pl | 41 +++++++++++++++++++++++++++++----------
1 file changed, 31 insertions(+), 10 deletions(-)
diff --git a/build-aux/header-ifdef.pl b/build-aux/header-ifdef.pl
index 401f25fb81..dba3dbcbdc 100644
--- a/build-aux/header-ifdef.pl
+++ b/build-aux/header-ifdef.pl
@@ -6,18 +6,26 @@
# ...copyright header...
# */
# <one blank line>
-# #ifndef SYMBOL
-# # define SYMBOL
+# #pragma once
# ....content....
-# #endif /* SYMBOL */
#
-# For any file ending priv.h, before the #ifndef
+#---
+#
+# For any file ending priv.h, before the #pragma once
# We will have a further section
#
# #ifndef SYMBOL_ALLOW
# # error ....
# #endif /* SYMBOL_ALLOW */
# <one blank line>
+#
+#---
+#
+# For public headers (files in include/), use the standard header guard instead of #pragma once:
+# #ifndef SYMBOL
+# # define SYMBOL
+# ....content....
+# #endif /* SYMBOL */
use strict;
use warnings;
@@ -38,6 +46,7 @@ my $file = " ";
my $ret = 0;
my $ifdef = "";
my $ifdefpriv = "";
+my $publicheader = 0;
my $state = $STATE_EOF;
my $mistake = 0;
@@ -64,7 +73,11 @@ while (<>) {
} elsif ($state == $STATE_PRIV_BLANK) {
&mistake("$file: missing blank line after priv header check");
} elsif ($state == $STATE_GUARD_START) {
- &mistake("$file: missing '#ifndef $ifdef'");
+ if ($publicheader) {
+ &mistake("$file: missing '#ifndef $ifdef'");
+ } else {
+ &mistake("$file: missing '#pragma once' header guard");
+ }
} elsif ($state == $STATE_GUARD_DEFINE) {
&mistake("$file: missing '# define $ifdef'");
} elsif ($state == $STATE_GUARD_END) {
@@ -83,6 +96,7 @@ while (<>) {
$file = $ARGV;
$state = $STATE_COPYRIGHT_COMMENT;
$mistake = 0;
+ $publicheader = ($ARGV =~ /include\//);
}
if ($mistake ||
@@ -133,12 +147,19 @@ while (<>) {
} elsif ($state == $STATE_GUARD_START) {
if (/^$/) {
&mistake("$file: too many blank lines after copyright header");
- } elsif(/#pragma once/) {
- $state = $STATE_PRAGMA;
- } elsif (/#ifndef $ifdef$/) {
- $state = $STATE_GUARD_DEFINE;
+ }
+ if ($publicheader) {
+ if (/#ifndef $ifdef$/) {
+ $state = $STATE_GUARD_DEFINE;
+ } else {
+ &mistake("$file: missing '#ifndef $ifdef'");
+ }
} else {
- &mistake("$file: missing '#ifndef $ifdef'");
+ if (/#pragma once/) {
+ $state = $STATE_PRAGMA;
+ } else {
+ &mistake("$file: missing '#pragma once' header guard");
+ }
}
} elsif ($state == $STATE_GUARD_DEFINE) {
if (/# define $ifdef$/) {
--
2.20.1
5 years, 6 months
[libvirt] [PATCH 00/24] Finish support for IA32_ARCH_CAPABILITIES MSR features
by Jiri Denemark
The MSR infrastructure is already present in our cpu driver, but no
features were introduced yet since we needed additional support from
QEMU. This is now pushed upstream and we can finally enable MSR features
for QEMU.
However, one more bit is missing here: we need to make sure to not use
any MSR bits with QEMU which lack support for "unavailable-features" CPU
property, otherwise migration, snapshots and save/restore would be
broken. I'll send patches for this later to give more time for reviewing
the core of this series.
Jiri Denemark (24):
qemu: Drop qemuFeatureNoEffect
qemu_process: Drop cleanup label from qemuProcessUpdateGuestCPU
cpu_conf: Introduce virCPUDefFilterFeatures
qemu: Filter CPU features in active XML
qemuxml2argvtest: Switch some tests to DO_TEST_CAPS_*
qemu_command: Use consistent syntax for CPU features
tests: Add QEMU caps data for future 4.1.0
tests: Add domain capabilities case for QEMU 4.1.0
qemuxml2argvtest: Add 4.0.0 cases for kvm features tests
qemuxml2argvtest: Add test for CPU features translation
qemu: Add APIs for translating CPU features
qemu: Probe for max-x86_64-cpu type
qemu: Probe for "unavailable-features" CPU property
qemu: Probe host CPU after capabilities
qemu_command: Use canonical names of CPU features
qemu: Translate feature names from query-cpu-model-expansion
qemu: Don't use full CPU model expansion
qemu: Make qemuMonitorGetGuestCPU usable on x86 only
cpu: Introduce virCPUDataAddFeature
qemu: Add type filter to qemuMonitorJSONParsePropsList
qemu: Introduce generic qemuMonitorGetGuestCPU
qemu_process: Prefer generic qemuMonitorGetGuestCPU
cpu_x86: Read CPU features from IA32_ARCH_CAPABILITIES MSR
cpu_map: Introduce IA32_ARCH_CAPABILITIES MSR features
src/conf/cpu_conf.c | 22 +
src/conf/cpu_conf.h | 5 +
src/cpu/cpu.c | 33 +
src/cpu/cpu.h | 9 +
src/cpu/cpu_x86.c | 25 +-
src/cpu/cpu_x86.h | 3 -
src/cpu_map/x86_features.xml | 20 +
src/libvirt_private.syms | 3 +-
src/qemu/qemu_capabilities.c | 125 +-
src/qemu/qemu_capabilities.h | 11 +
src/qemu/qemu_capspriv.h | 3 +-
src/qemu/qemu_command.c | 65 +-
src/qemu/qemu_monitor.c | 51 +-
src/qemu/qemu_monitor.h | 11 +-
src/qemu/qemu_monitor_json.c | 272 +-
src/qemu/qemu_monitor_json.h | 8 +-
src/qemu/qemu_process.c | 70 +-
tests/cputest.c | 2 +-
.../x86_64-cpuid-Core-i7-7600U-enabled.xml | 1 +
.../x86_64-cpuid-Core-i7-7600U-json.xml | 1 +
...86_64-cpuid-Xeon-Platinum-8268-enabled.xml | 1 +
.../x86_64-cpuid-Xeon-Platinum-8268-guest.xml | 4 +
.../x86_64-cpuid-Xeon-Platinum-8268-host.xml | 4 +
.../x86_64-cpuid-Xeon-Platinum-8268-json.xml | 3 +
.../qemu_3.1.0.x86_64.xml | 1 +
.../qemu_4.0.0.x86_64.xml | 1 +
.../qemu_4.1.0.x86_64.xml | 161 +
tests/domaincapstest.c | 5 +
.../caps_2.10.0.x86_64.xml | 1 +
.../caps_2.11.0.x86_64.xml | 1 +
.../caps_2.12.0.x86_64.replies | 1104 +-
.../caps_2.12.0.x86_64.xml | 1 +
.../caps_2.9.0.x86_64.xml | 1 +
.../caps_3.0.0.x86_64.replies | 1132 +-
.../caps_3.0.0.x86_64.xml | 1 +
.../caps_3.1.0.x86_64.replies | 1180 +-
.../caps_3.1.0.x86_64.xml | 1 +
.../caps_4.0.0.x86_64.replies | 1196 +-
.../caps_4.0.0.x86_64.xml | 1 +
.../caps_4.1.0.x86_64.replies | 22716 ++++++++++++++++
.../caps_4.1.0.x86_64.xml | 1267 +
tests/qemumonitorjsontest.c | 10 +-
.../cpu-host-model-cmt.x86_64-4.0.0.args | 37 +
.../cpu-translation.x86_64-4.0.0.args | 36 +
.../cpu-translation.x86_64-latest.args | 36 +
tests/qemuxml2argvdata/cpu-translation.xml | 34 +
.../cpu-tsc-frequency.x86_64-4.0.0.args | 36 +
...ed.args => eoi-disabled.x86_64-2.7.0.args} | 12 +-
.../eoi-disabled.x86_64-4.0.0.args | 33 +
.../eoi-disabled.x86_64-latest.args | 33 +
...led.args => eoi-enabled.x86_64-2.7.0.args} | 12 +-
.../eoi-enabled.x86_64-4.0.0.args | 33 +
.../eoi-enabled.x86_64-latest.args | 33 +
...> kvmclock+eoi-disabled.x86_64-2.7.0.args} | 12 +-
.../kvmclock+eoi-disabled.x86_64-4.0.0.args | 33 +
.../kvmclock+eoi-disabled.x86_64-latest.args | 33 +
...=> pv-spinlock-disabled.x86_64-2.7.0.args} | 12 +-
.../pv-spinlock-disabled.x86_64-4.0.0.args | 33 +
.../pv-spinlock-disabled.x86_64-latest.args | 33 +
... => pv-spinlock-enabled.x86_64-2.7.0.args} | 12 +-
.../pv-spinlock-enabled.x86_64-4.0.0.args | 33 +
.../pv-spinlock-enabled.x86_64-latest.args | 33 +
tests/qemuxml2argvtest.c | 22 +-
63 files changed, 29815 insertions(+), 308 deletions(-)
create mode 100644 tests/domaincapsschemadata/qemu_4.1.0.x86_64.xml
create mode 100644 tests/qemucapabilitiesdata/caps_4.1.0.x86_64.replies
create mode 100644 tests/qemucapabilitiesdata/caps_4.1.0.x86_64.xml
create mode 100644 tests/qemuxml2argvdata/cpu-host-model-cmt.x86_64-4.0.0.args
create mode 100644 tests/qemuxml2argvdata/cpu-translation.x86_64-4.0.0.args
create mode 100644 tests/qemuxml2argvdata/cpu-translation.x86_64-latest.args
create mode 100644 tests/qemuxml2argvdata/cpu-translation.xml
create mode 100644 tests/qemuxml2argvdata/cpu-tsc-frequency.x86_64-4.0.0.args
rename tests/qemuxml2argvdata/{eoi-disabled.args => eoi-disabled.x86_64-2.7.0.args} (65%)
create mode 100644 tests/qemuxml2argvdata/eoi-disabled.x86_64-4.0.0.args
create mode 100644 tests/qemuxml2argvdata/eoi-disabled.x86_64-latest.args
rename tests/qemuxml2argvdata/{eoi-enabled.args => eoi-enabled.x86_64-2.7.0.args} (65%)
create mode 100644 tests/qemuxml2argvdata/eoi-enabled.x86_64-4.0.0.args
create mode 100644 tests/qemuxml2argvdata/eoi-enabled.x86_64-latest.args
rename tests/qemuxml2argvdata/{kvmclock+eoi-disabled.args => kvmclock+eoi-disabled.x86_64-2.7.0.args} (66%)
create mode 100644 tests/qemuxml2argvdata/kvmclock+eoi-disabled.x86_64-4.0.0.args
create mode 100644 tests/qemuxml2argvdata/kvmclock+eoi-disabled.x86_64-latest.args
rename tests/qemuxml2argvdata/{pv-spinlock-disabled.args => pv-spinlock-disabled.x86_64-2.7.0.args} (66%)
create mode 100644 tests/qemuxml2argvdata/pv-spinlock-disabled.x86_64-4.0.0.args
create mode 100644 tests/qemuxml2argvdata/pv-spinlock-disabled.x86_64-latest.args
rename tests/qemuxml2argvdata/{pv-spinlock-enabled.args => pv-spinlock-enabled.x86_64-2.7.0.args} (66%)
create mode 100644 tests/qemuxml2argvdata/pv-spinlock-enabled.x86_64-4.0.0.args
create mode 100644 tests/qemuxml2argvdata/pv-spinlock-enabled.x86_64-latest.args
--
2.22.0
5 years, 6 months
[libvirt] [PATCH] qemuProcessLaunch: Return earlier if spawning qemu failed
by Michal Privoznik
If spawning qemu fails then we report an error and proceed to
writing status XML onto the disk. This is unnecessary as we are
sure that the domain is not running.
At the same time, if virPidFileReadPath() fails it returns
-errno. Use it in the error message. It may explain what went
wrong.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
src/qemu/qemu_process.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index 90466771cd..5b5864c021 100644
--- a/src/qemu/qemu_process.c
+++ b/src/qemu/qemu_process.c
@@ -6624,16 +6624,18 @@ qemuProcessLaunch(virConnectPtr conn,
/* wait for qemu process to show up */
if (rv == 0) {
- if (virPidFileReadPath(priv->pidfile, &vm->pid) < 0) {
- virReportError(VIR_ERR_INTERNAL_ERROR,
- _("Domain %s didn't show up"), vm->def->name);
- rv = -1;
+ if ((rv = virPidFileReadPath(priv->pidfile, &vm->pid)) < 0) {
+ virReportSystemError(-rv,
+ _("Domain %s didn't show up"),
+ vm->def->name);
+ goto cleanup;
}
VIR_DEBUG("QEMU vm=%p name=%s running with pid=%lld",
vm, vm->def->name, (long long)vm->pid);
} else {
VIR_DEBUG("QEMU vm=%p name=%s failed to spawn",
vm, vm->def->name);
+ goto cleanup;
}
VIR_DEBUG("Writing early domain status to disk");
--
2.21.0
5 years, 6 months
[libvirt] [PATCH] remote: delete the avahi mDNS support
by Daniel P. Berrangé
Libvirtd has long had integration with avahi for advertising libvirtd
using mDNS when TCP/TLS listening is enabled. For a long time the
virt-manager application had support for auto-detecting libvirtds
on the local network using mDNS, but this was removed last year
commit fc8f8d5d7e3ba80a0771df19cf20e84a05ed2422
Author: Cole Robinson <crobinso(a)redhat.com>
Date: Sat Oct 6 20:55:31 2018 -0400
connect: Drop avahi support
Libvirtd can advertise itself over avahi. The feature is disabled by
default though and in practice I hear of no one actually using it
and frankly I don't think it's all that useful
The 'Open Connection' wizard has a disproportionate amount of code
devoted to this feature, but I don't think it's useful or worth
maintaining, so let's drop it
I've never heard of any other applications having support for using
mDNS to detect libvirtd instances. Though it is theoretically possible
something exists out there, it is clearly going to be a niche use case
in the virt ecosystem as a whole.
By removing avahi integration we can cut down the dependancy chain for
the basic libvirtd install and reduce our code maint burden.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
cfg.mk | 3 -
configure.ac | 3 -
docs/internals/rpc.html.in | 7 -
docs/remote.html.in | 17 -
docs/windows.html.in | 1 -
libvirt.spec.in | 3 -
m4/virt-avahi.m4 | 30 -
mingw-libvirt.spec.in | 1 -
po/POTFILES | 1 -
src/libvirt_remote.syms | 13 -
src/locking/lock_daemon.c | 6 +-
src/logging/log_daemon.c | 6 +-
src/lxc/lxc_controller.c | 3 +-
src/remote/libvirtd.aug | 2 -
src/remote/libvirtd.conf | 17 -
src/remote/remote_daemon.c | 18 +-
src/remote/remote_daemon_config.c | 29 -
src/remote/remote_daemon_config.h | 3 -
src/remote/test_libvirtd.aug.in | 2 -
src/rpc/Makefile.inc.am | 4 -
src/rpc/virnetdaemon.c | 14 -
src/rpc/virnetserver.c | 64 +-
src/rpc/virnetserver.h | 6 +-
src/rpc/virnetservermdns.c | 682 ------------------
src/rpc/virnetservermdns.h | 107 ---
tests/virconfdata/libvirtd.conf | 17 -
tests/virconfdata/libvirtd.out | 14 -
...dmin-nomdns.json => input-data-admin.json} | 0
.../input-data-initial-nomdns.json | 63 --
.../virnetdaemondata/input-data-initial.json | 1 -
...min-nomdns.json => output-data-admin.json} | 0
.../output-data-initial-nomdns.json | 72 --
.../virnetdaemondata/output-data-initial.json | 1 -
tests/virnetdaemontest.c | 17 +-
34 files changed, 16 insertions(+), 1211 deletions(-)
delete mode 100644 m4/virt-avahi.m4
delete mode 100644 src/rpc/virnetservermdns.c
delete mode 100644 src/rpc/virnetservermdns.h
rename tests/virnetdaemondata/{input-data-admin-nomdns.json => input-data-admin.json} (100%)
delete mode 100644 tests/virnetdaemondata/input-data-initial-nomdns.json
rename tests/virnetdaemondata/{output-data-admin-nomdns.json => output-data-admin.json} (100%)
delete mode 100644 tests/virnetdaemondata/output-data-initial-nomdns.json
diff --git a/cfg.mk b/cfg.mk
index c0c240b2c0..9465838175 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -146,9 +146,6 @@ useless_free_options = \
--name=virJSONValueFree \
--name=virLastErrFreeData \
--name=virNetMessageFree \
- --name=virNetServerMDNSFree \
- --name=virNetServerMDNSEntryFree \
- --name=virNetServerMDNSGroupFree \
--name=virNWFilterDefFree \
--name=virNWFilterEntryFree \
--name=virNWFilterHashTableFree \
diff --git a/configure.ac b/configure.ac
index 1f05055d6f..3489a5725e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -245,7 +245,6 @@ LIBVIRT_LINKER_NO_UNDEFINED
LIBVIRT_ARG_APPARMOR
LIBVIRT_ARG_ATTR
LIBVIRT_ARG_AUDIT
-LIBVIRT_ARG_AVAHI
LIBVIRT_ARG_BASH_COMPLETION
LIBVIRT_ARG_BLKID
LIBVIRT_ARG_CAPNG
@@ -284,7 +283,6 @@ LIBVIRT_CHECK_APPARMOR
LIBVIRT_CHECK_ATOMIC
LIBVIRT_CHECK_ATTR
LIBVIRT_CHECK_AUDIT
-LIBVIRT_CHECK_AVAHI
LIBVIRT_CHECK_BASH_COMPLETION
LIBVIRT_CHECK_BLKID
LIBVIRT_CHECK_CAPNG
@@ -970,7 +968,6 @@ LIBVIRT_RESULT_ACL
LIBVIRT_RESULT_APPARMOR
LIBVIRT_RESULT_ATTR
LIBVIRT_RESULT_AUDIT
-LIBVIRT_RESULT_AVAHI
LIBVIRT_RESULT_BASH_COMPLETION
LIBVIRT_RESULT_BLKID
LIBVIRT_RESULT_CAPNG
diff --git a/docs/internals/rpc.html.in b/docs/internals/rpc.html.in
index 048192f818..40d844f31c 100644
--- a/docs/internals/rpc.html.in
+++ b/docs/internals/rpc.html.in
@@ -539,13 +539,6 @@ C <-- |32| 8 | 1 | 3 | 1 | 1 | 0 | .o.oOo | <-- S (reply)
be part of the underlying server.
</dd>
- <dt><code>virNetServerMDNSPtr</code> (virnetservermdns.h)</dt>
- <dd>The virNetServerMDNS APIs are used to advertise a server
- across the local network, enabling clients to automatically
- detect the existence of remote services. This is done by
- interfacing with the Avahi mDNS advertisement service.
- </dd>
-
<dt><code>virNetServerClientPtr</code> (virnetserverclient.h)</dt>
<dd>The virNetServerClient APIs are used to manage I/O related
to a single client network connection. It handles initial
diff --git a/docs/remote.html.in b/docs/remote.html.in
index de09975039..fbcc8bf01c 100644
--- a/docs/remote.html.in
+++ b/docs/remote.html.in
@@ -821,23 +821,6 @@ Blank lines and comments beginning with <code>#</code> are ignored.
<td> "16509" </td>
<td>
The port number or service name to listen on for unencrypted TCP connections.
-</td>
- </tr>
- <tr>
- <td> mdns_adv <i>[0|1]</i> </td>
- <td> 0 (advertise with mDNS) </td>
- <td>
- If set to 1 then the virtualization service will be advertised over
- mDNS to hosts on the local LAN segment.
-</td>
- </tr>
- <tr>
- <td> mdns_name <i>"name"</i> </td>
- <td> "Virtualization Host HOSTNAME" </td>
- <td>
- The name to advertise for this host with Avahi mDNS. The default
- includes the machine's short hostname. This must be unique to the
- local LAN segment.
</td>
</tr>
<tr>
diff --git a/docs/windows.html.in b/docs/windows.html.in
index 57abf8fde5..096d118bf7 100644
--- a/docs/windows.html.in
+++ b/docs/windows.html.in
@@ -182,7 +182,6 @@
<pre>
./configure \
--without-sasl \
- --without-avahi \
--without-polkit \
--without-python \
--without-libxl \
diff --git a/libvirt.spec.in b/libvirt.spec.in
index 3b5b4925fd..d54f58f1d4 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -297,7 +297,6 @@ BuildRequires: sanlock-devel >= 2.4
%endif
BuildRequires: libpcap-devel
BuildRequires: libnl3-devel
-BuildRequires: avahi-devel
BuildRequires: libselinux-devel
BuildRequires: dnsmasq >= 2.41
BuildRequires: iptables
@@ -436,7 +435,6 @@ Requires: iproute
Requires: iproute-tc
%endif
-Requires: avahi-libs
Requires: polkit >= 0.112
%ifarch %{ix86} x86_64 ia64
# For virConnectGetSysinfo
@@ -1163,7 +1161,6 @@ rm -f po/stamp-po
%{?arg_vbox} \
%{?arg_libxl} \
--with-sasl \
- --with-avahi \
--with-polkit \
--with-libvirtd \
%{?arg_phyp} \
diff --git a/m4/virt-avahi.m4 b/m4/virt-avahi.m4
deleted file mode 100644
index d4b3fc6131..0000000000
--- a/m4/virt-avahi.m4
+++ /dev/null
@@ -1,30 +0,0 @@
-dnl The libavahi.so library
-dnl
-dnl Copyright (C) 2012-2013 Red Hat, Inc.
-dnl
-dnl This library is free software; you can redistribute it and/or
-dnl modify it under the terms of the GNU Lesser General Public
-dnl License as published by the Free Software Foundation; either
-dnl version 2.1 of the License, or (at your option) any later version.
-dnl
-dnl This library is distributed in the hope that it will be useful,
-dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
-dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-dnl Lesser General Public License for more details.
-dnl
-dnl You should have received a copy of the GNU Lesser General Public
-dnl License along with this library. If not, see
-dnl <http://www.gnu.org/licenses/>.
-dnl
-
-AC_DEFUN([LIBVIRT_ARG_AVAHI],[
- LIBVIRT_ARG_WITH_FEATURE([AVAHI], [avahi-client], [check], [0.6.0])
-])
-
-AC_DEFUN([LIBVIRT_CHECK_AVAHI],[
- LIBVIRT_CHECK_PKG([AVAHI], [avahi-client], [0.6.0])
-])
-
-AC_DEFUN([LIBVIRT_RESULT_AVAHI],[
- LIBVIRT_RESULT_LIB([AVAHI])
-])
diff --git a/mingw-libvirt.spec.in b/mingw-libvirt.spec.in
index 9add033669..280db4d1aa 100644
--- a/mingw-libvirt.spec.in
+++ b/mingw-libvirt.spec.in
@@ -167,7 +167,6 @@ autoreconf -if
--without-vbox \
%{?_without_xenapi} \
--without-sasl \
- --without-avahi \
--without-polkit \
--without-libvirtd \
%{?_without_phyp} \
diff --git a/po/POTFILES b/po/POTFILES
index 9dd4ee7d99..a5614ac88d 100644
--- a/po/POTFILES
+++ b/po/POTFILES
@@ -161,7 +161,6 @@ src/rpc/virnetmessage.c
src/rpc/virnetsaslcontext.c
src/rpc/virnetserver.c
src/rpc/virnetserverclient.c
-src/rpc/virnetservermdns.c
src/rpc/virnetserverprogram.c
src/rpc/virnetserverservice.c
src/rpc/virnetsocket.c
diff --git a/src/libvirt_remote.syms b/src/libvirt_remote.syms
index 3d68f6ce0a..eb7651a957 100644
--- a/src/libvirt_remote.syms
+++ b/src/libvirt_remote.syms
@@ -182,19 +182,6 @@ virNetServerClientStartKeepAlive;
virNetServerClientWantCloseLocked;
-# rpc/virnetservermdns.h
-virNetServerMDNSAddEntry;
-virNetServerMDNSAddGroup;
-virNetServerMDNSEntryFree;
-virNetServerMDNSFree;
-virNetServerMDNSGroupFree;
-virNetServerMDNSNew;
-virNetServerMDNSRemoveEntry;
-virNetServerMDNSRemoveGroup;
-virNetServerMDNSStart;
-virNetServerMDNSStop;
-
-
# rpc/virnetserverprogram.h
virNetServerProgramDispatch;
virNetServerProgramGetID;
diff --git a/src/locking/lock_daemon.c b/src/locking/lock_daemon.c
index d714ddd2dd..bc2fb4a7fb 100644
--- a/src/locking/lock_daemon.c
+++ b/src/locking/lock_daemon.c
@@ -167,7 +167,6 @@ virLockDaemonNew(virLockDaemonConfigPtr config, bool privileged)
if (!(srv = virNetServerNew("virtlockd", 1,
0, 0, 0, config->max_clients,
config->max_clients, -1, 0,
- NULL,
virLockDaemonClientNew,
virLockDaemonClientPreExecRestart,
virLockDaemonClientFree,
@@ -182,7 +181,6 @@ virLockDaemonNew(virLockDaemonConfigPtr config, bool privileged)
if (!(srv = virNetServerNew("admin", 1,
0, 0, 0, config->admin_max_clients,
config->admin_max_clients, -1, 0,
- NULL,
remoteAdmClientNew,
remoteAdmClientPreExecRestart,
remoteAdmClientFree,
@@ -623,7 +621,7 @@ virLockDaemonSetupNetworkingSystemD(virNetServerPtr lockSrv, virNetServerPtr adm
false, 0, 1)))
return -1;
- if (virNetServerAddService(srv, svc, NULL) < 0) {
+ if (virNetServerAddService(srv, svc) < 0) {
virObjectUnref(svc);
return -1;
}
@@ -644,7 +642,7 @@ virLockDaemonSetupNetworkingNative(virNetServerPtr srv, const char *sock_path)
false, 0, 1)))
return -1;
- if (virNetServerAddService(srv, svc, NULL) < 0) {
+ if (virNetServerAddService(srv, svc) < 0) {
virObjectUnref(svc);
return -1;
}
diff --git a/src/logging/log_daemon.c b/src/logging/log_daemon.c
index 3469d87caa..014596b280 100644
--- a/src/logging/log_daemon.c
+++ b/src/logging/log_daemon.c
@@ -162,7 +162,6 @@ virLogDaemonNew(virLogDaemonConfigPtr config, bool privileged)
if (!(srv = virNetServerNew("virtlogd", 1,
0, 0, 0, config->max_clients,
config->max_clients, -1, 0,
- NULL,
virLogDaemonClientNew,
virLogDaemonClientPreExecRestart,
virLogDaemonClientFree,
@@ -177,7 +176,6 @@ virLogDaemonNew(virLogDaemonConfigPtr config, bool privileged)
if (!(srv = virNetServerNew("admin", 1,
0, 0, 0, config->admin_max_clients,
config->admin_max_clients, -1, 0,
- NULL,
remoteAdmClientNew,
remoteAdmClientPreExecRestart,
remoteAdmClientFree,
@@ -558,7 +556,7 @@ virLogDaemonSetupNetworkingSystemD(virNetServerPtr logSrv, virNetServerPtr admin
false, 0, 1)))
return -1;
- if (virNetServerAddService(srv, svc, NULL) < 0) {
+ if (virNetServerAddService(srv, svc) < 0) {
virObjectUnref(svc);
return -1;
}
@@ -579,7 +577,7 @@ virLogDaemonSetupNetworkingNative(virNetServerPtr srv, const char *sock_path)
false, 0, 1)))
return -1;
- if (virNetServerAddService(srv, svc, NULL) < 0) {
+ if (virNetServerAddService(srv, svc) < 0) {
virObjectUnref(svc);
return -1;
}
diff --git a/src/lxc/lxc_controller.c b/src/lxc/lxc_controller.c
index cd842f2980..c677eb8f6d 100644
--- a/src/lxc/lxc_controller.c
+++ b/src/lxc/lxc_controller.c
@@ -953,7 +953,6 @@ static int virLXCControllerSetupServer(virLXCControllerPtr ctrl)
if (!(srv = virNetServerNew("LXC", 1,
0, 0, 0, 1,
0, -1, 0,
- NULL,
virLXCControllerClientPrivateNew,
NULL,
virLXCControllerClientPrivateFree,
@@ -976,7 +975,7 @@ static int virLXCControllerSetupServer(virLXCControllerPtr ctrl)
if (virSecurityManagerClearSocketLabel(ctrl->securityManager, ctrl->def) < 0)
goto error;
- if (virNetServerAddService(srv, svc, NULL) < 0)
+ if (virNetServerAddService(srv, svc) < 0)
goto error;
virObjectUnref(svc);
svc = NULL;
diff --git a/src/remote/libvirtd.aug b/src/remote/libvirtd.aug
index 13333448a4..0188c23dd7 100644
--- a/src/remote/libvirtd.aug
+++ b/src/remote/libvirtd.aug
@@ -29,8 +29,6 @@ module Libvirtd =
| str_entry "tls_port"
| str_entry "tcp_port"
| str_entry "listen_addr"
- | bool_entry "mdns_adv"
- | str_entry "mdns_name"
let sock_acl_entry = str_entry "unix_sock_group"
| str_entry "unix_sock_ro_perms"
diff --git a/src/remote/libvirtd.conf b/src/remote/libvirtd.conf
index 233c127156..bbeb053495 100644
--- a/src/remote/libvirtd.conf
+++ b/src/remote/libvirtd.conf
@@ -50,23 +50,6 @@
#listen_addr = "192.168.0.1"
-# Flag toggling mDNS advertizement of the libvirt service.
-#
-# Alternatively can disable for all services on a host by
-# stopping the Avahi daemon
-#
-# This is disabled by default, uncomment this to enable it
-#mdns_adv = 1
-
-# Override the default mDNS advertizement name. This must be
-# unique on the immediate broadcast network.
-#
-# The default is "Virtualization Host HOSTNAME", where HOSTNAME
-# is substituted for the short hostname of the machine (without domain)
-#
-#mdns_name = "Virtualization Host Joe Demo"
-
-
#################################################################
#
# UNIX socket access controls
diff --git a/src/remote/remote_daemon.c b/src/remote/remote_daemon.c
index c1544ba914..fdc9e4333a 100644
--- a/src/remote/remote_daemon.c
+++ b/src/remote/remote_daemon.c
@@ -429,14 +429,11 @@ daemonSetupNetworking(virNetServerPtr srv,
goto cleanup;
}
- if (virNetServerAddService(srv, svc,
- config->mdns_adv && !ipsock ?
- "_libvirt._tcp" :
- NULL) < 0)
+ if (virNetServerAddService(srv, svc) < 0)
goto cleanup;
if (svcRO &&
- virNetServerAddService(srv, svcRO, NULL) < 0)
+ virNetServerAddService(srv, svcRO) < 0)
goto cleanup;
if (sock_path_adm) {
@@ -451,7 +448,7 @@ daemonSetupNetworking(virNetServerPtr srv,
config->admin_max_client_requests)))
goto cleanup;
- if (virNetServerAddService(srvAdm, svcAdm, NULL) < 0)
+ if (virNetServerAddService(srvAdm, svcAdm) < 0)
goto cleanup;
}
@@ -469,8 +466,7 @@ daemonSetupNetworking(virNetServerPtr srv,
config->max_client_requests)))
goto cleanup;
- if (virNetServerAddService(srv, svcTCP,
- config->mdns_adv ? "_libvirt._tcp" : NULL) < 0)
+ if (virNetServerAddService(srv, svcTCP) < 0)
goto cleanup;
}
@@ -530,9 +526,7 @@ daemonSetupNetworking(virNetServerPtr srv,
virObjectUnref(ctxt);
goto cleanup;
}
- if (virNetServerAddService(srv, svcTLS,
- config->mdns_adv &&
- !config->listen_tcp ? "_libvirt._tcp" : NULL) < 0)
+ if (virNetServerAddService(srv, svcTLS) < 0)
goto cleanup;
virObjectUnref(ctxt);
@@ -1197,7 +1191,6 @@ int main(int argc, char **argv) {
config->max_anonymous_clients,
config->keepalive_interval,
config->keepalive_count,
- config->mdns_adv ? config->mdns_name : NULL,
remoteClientNew,
NULL,
remoteClientFree,
@@ -1265,7 +1258,6 @@ int main(int argc, char **argv) {
0,
config->admin_keepalive_interval,
config->admin_keepalive_count,
- NULL,
remoteAdmClientNew,
NULL,
remoteAdmClientFree,
diff --git a/src/remote/remote_daemon_config.c b/src/remote/remote_daemon_config.c
index a56aa9065a..537b90a855 100644
--- a/src/remote/remote_daemon_config.c
+++ b/src/remote/remote_daemon_config.c
@@ -102,8 +102,6 @@ struct daemonConfig*
daemonConfigNew(bool privileged ATTRIBUTE_UNUSED)
{
struct daemonConfig *data;
- char *localhost;
- int ret;
if (VIR_ALLOC(data) < 0)
return NULL;
@@ -141,8 +139,6 @@ daemonConfigNew(bool privileged ATTRIBUTE_UNUSED)
#endif
data->auth_tls = REMOTE_AUTH_NONE;
- data->mdns_adv = 0;
-
data->min_workers = 5;
data->max_workers = 20;
data->max_clients = 5000;
@@ -170,25 +166,6 @@ daemonConfigNew(bool privileged ATTRIBUTE_UNUSED)
data->ovs_timeout = VIR_NETDEV_OVS_DEFAULT_TIMEOUT;
- localhost = virGetHostname();
- if (localhost == NULL) {
- /* we couldn't resolve the hostname; assume that we are
- * running in disconnected operation, and report a less
- * useful Avahi string
- */
- ret = VIR_STRDUP(data->mdns_name, "Virtualization Host");
- } else {
- char *tmp;
- /* Extract the host part of the potentially FQDN */
- if ((tmp = strchr(localhost, '.')))
- *tmp = '\0';
- ret = virAsprintf(&data->mdns_name, "Virtualization Host %s",
- localhost);
- }
- VIR_FREE(localhost);
- if (ret < 0)
- goto error;
-
return data;
error:
@@ -219,7 +196,6 @@ daemonConfigFree(struct daemonConfig *data)
VIR_FREE(data->unix_sock_rw_perms);
VIR_FREE(data->unix_sock_group);
VIR_FREE(data->unix_sock_dir);
- VIR_FREE(data->mdns_name);
tmp = data->tls_allowed_dn_list;
while (tmp && *tmp) {
@@ -300,11 +276,6 @@ daemonConfigLoadOptions(struct daemonConfig *data,
if (virConfGetValueString(conf, "unix_sock_dir", &data->unix_sock_dir) < 0)
goto error;
- if (virConfGetValueBool(conf, "mdns_adv", &data->mdns_adv) < 0)
- goto error;
- if (virConfGetValueString(conf, "mdns_name", &data->mdns_name) < 0)
- goto error;
-
if (virConfGetValueBool(conf, "tls_no_sanity_certificate", &data->tls_no_sanity_certificate) < 0)
goto error;
if (virConfGetValueBool(conf, "tls_no_verify_certificate", &data->tls_no_verify_certificate) < 0)
diff --git a/src/remote/remote_daemon_config.h b/src/remote/remote_daemon_config.h
index 56d130bdce..5eac7e4410 100644
--- a/src/remote/remote_daemon_config.h
+++ b/src/remote/remote_daemon_config.h
@@ -47,9 +47,6 @@ struct daemonConfig {
char **access_drivers;
- bool mdns_adv;
- char *mdns_name;
-
bool tls_no_verify_certificate;
bool tls_no_sanity_certificate;
char **tls_allowed_dn_list;
diff --git a/src/remote/test_libvirtd.aug.in b/src/remote/test_libvirtd.aug.in
index 527e3d7d0d..ad6450a569 100644
--- a/src/remote/test_libvirtd.aug.in
+++ b/src/remote/test_libvirtd.aug.in
@@ -7,8 +7,6 @@ module Test_libvirtd =
{ "tls_port" = "16514" }
{ "tcp_port" = "16509" }
{ "listen_addr" = "192.168.0.1" }
- { "mdns_adv" = "1" }
- { "mdns_name" = "Virtualization Host Joe Demo" }
{ "unix_sock_group" = "libvirt" }
{ "unix_sock_ro_perms" = "0777" }
{ "unix_sock_rw_perms" = "0770" }
diff --git a/src/rpc/Makefile.inc.am b/src/rpc/Makefile.inc.am
index 68a4945198..e5b830605a 100644
--- a/src/rpc/Makefile.inc.am
+++ b/src/rpc/Makefile.inc.am
@@ -103,22 +103,18 @@ libvirt_net_rpc_server_la_SOURCES = \
rpc/virnetserverservice.c \
rpc/virnetserverclient.h \
rpc/virnetserverclient.c \
- rpc/virnetservermdns.h \
- rpc/virnetservermdns.c \
rpc/virnetdaemon.h \
rpc/virnetdaemon.c \
rpc/virnetserver.h \
rpc/virnetserver.c \
$(NULL)
libvirt_net_rpc_server_la_CFLAGS = \
- $(AVAHI_CFLAGS) \
$(DBUS_CFLAGS) \
$(XDR_CFLAGS) \
$(AM_CFLAGS) \
$(NULL)
libvirt_net_rpc_server_la_LDFLAGS = \
$(AM_LDFLAGS) \
- $(AVAHI_LIBS) \
$(DBUS_LIBS) \
$(NULL)
libvirt_net_rpc_server_la_LIBADD = $(CYGWIN_EXTRA_LIBADD)
diff --git a/src/rpc/virnetdaemon.c b/src/rpc/virnetdaemon.c
index 0ca61c5a9a..d098cf4ae9 100644
--- a/src/rpc/virnetdaemon.c
+++ b/src/rpc/virnetdaemon.c
@@ -32,7 +32,6 @@
#include "virutil.h"
#include "virfile.h"
#include "virnetserver.h"
-#include "virnetservermdns.h"
#include "virdbus.h"
#include "virhash.h"
#include "virstring.h"
@@ -767,16 +766,6 @@ virNetDaemonUpdateServices(virNetDaemonPtr dmn,
virObjectUnlock(dmn);
}
-static int
-daemonServerRun(void *payload,
- const void *key ATTRIBUTE_UNUSED,
- void *opaque ATTRIBUTE_UNUSED)
-{
- virNetServerPtr srv = payload;
-
- return virNetServerStart(srv);
-};
-
static int
daemonServerProcessClients(void *payload,
const void *key ATTRIBUTE_UNUSED,
@@ -802,9 +791,6 @@ virNetDaemonRun(virNetDaemonPtr dmn)
goto cleanup;
}
- if (virHashForEach(dmn->servers, daemonServerRun, NULL) < 0)
- goto cleanup;
-
dmn->quit = false;
if (dmn->autoShutdownTimeout &&
diff --git a/src/rpc/virnetserver.c b/src/rpc/virnetserver.c
index 4934dba967..0f3fa63fbb 100644
--- a/src/rpc/virnetserver.c
+++ b/src/rpc/virnetserver.c
@@ -27,7 +27,6 @@
#include "virerror.h"
#include "virthread.h"
#include "virthreadpool.h"
-#include "virnetservermdns.h"
#include "virstring.h"
#define VIR_FROM_THIS VIR_FROM_RPC
@@ -52,10 +51,6 @@ struct _virNetServer {
/* Immutable pointer, self-locking APIs */
virThreadPoolPtr workers;
- char *mdnsGroupName;
- virNetServerMDNSPtr mdns;
- virNetServerMDNSGroupPtr mdnsGroup;
-
size_t nservices;
virNetServerServicePtr *services;
@@ -351,7 +346,6 @@ virNetServerPtr virNetServerNew(const char *name,
size_t max_anonymous_clients,
int keepaliveInterval,
unsigned int keepaliveCount,
- const char *mdnsGroupName,
virNetServerClientPrivNew clientPrivNew,
virNetServerClientPrivPreExecRestart clientPrivPreExecRestart,
virFreeCallback clientPrivFree,
@@ -384,16 +378,6 @@ virNetServerPtr virNetServerNew(const char *name,
srv->clientPrivFree = clientPrivFree;
srv->clientPrivOpaque = clientPrivOpaque;
- if (VIR_STRDUP(srv->mdnsGroupName, mdnsGroupName) < 0)
- goto error;
- if (srv->mdnsGroupName) {
- if (!(srv->mdns = virNetServerMDNSNew()))
- goto error;
- if (!(srv->mdnsGroup = virNetServerMDNSAddGroup(srv->mdns,
- srv->mdnsGroupName)))
- goto error;
- }
-
return srv;
error:
virObjectUnref(srv);
@@ -421,7 +405,6 @@ virNetServerPtr virNetServerNewPostExecRestart(virJSONValuePtr object,
unsigned int keepaliveInterval;
unsigned int keepaliveCount;
unsigned long long next_client_id;
- const char *mdnsGroupName = NULL;
if (virJSONValueObjectGetNumberUint(object, "min_workers", &min_workers) < 0) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
@@ -464,13 +447,6 @@ virNetServerPtr virNetServerNewPostExecRestart(virJSONValuePtr object,
goto error;
}
- if (virJSONValueObjectHasKey(object, "mdnsGroupName") &&
- (!(mdnsGroupName = virJSONValueObjectGetString(object, "mdnsGroupName")))) {
- virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("Malformed mdnsGroupName data in JSON document"));
- goto error;
- }
-
if (virJSONValueObjectGetNumberUlong(object, "next_client_id",
&next_client_id) < 0) {
VIR_WARN("Missing next_client_id data in JSON document");
@@ -482,7 +458,6 @@ virNetServerPtr virNetServerNewPostExecRestart(virJSONValuePtr object,
priority_workers, max_clients,
max_anonymous_clients,
keepaliveInterval, keepaliveCount,
- mdnsGroupName,
clientPrivNew, clientPrivPreExecRestart,
clientPrivFree, clientPrivOpaque)))
goto error;
@@ -511,8 +486,7 @@ virNetServerPtr virNetServerNewPostExecRestart(virJSONValuePtr object,
if (!(service = virNetServerServiceNewPostExecRestart(child)))
goto error;
- /* XXX mdns entry names ? */
- if (virNetServerAddService(srv, service, NULL) < 0) {
+ if (virNetServerAddService(srv, service) < 0) {
virObjectUnref(service);
goto error;
}
@@ -622,13 +596,6 @@ virJSONValuePtr virNetServerPreExecRestart(virNetServerPtr srv)
goto error;
}
- if (srv->mdnsGroupName &&
- virJSONValueObjectAppendString(object, "mdnsGroupName", srv->mdnsGroupName) < 0) {
- virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("Cannot set mdnsGroupName data in JSON document"));
- goto error;
- }
-
if (!(services = virJSONValueNewArray()))
goto error;
@@ -680,25 +647,13 @@ virJSONValuePtr virNetServerPreExecRestart(virNetServerPtr srv)
int virNetServerAddService(virNetServerPtr srv,
- virNetServerServicePtr svc,
- const char *mdnsEntryName)
+ virNetServerServicePtr svc)
{
virObjectLock(srv);
if (VIR_EXPAND_N(srv->services, srv->nservices, 1) < 0)
goto error;
- if (mdnsEntryName) {
- int port = virNetServerServiceGetPort(svc);
-
- if (!virNetServerMDNSAddEntry(srv->mdnsGroup,
- mdnsEntryName,
- port)) {
- srv->nservices--;
- goto error;
- }
- }
-
srv->services[srv->nservices-1] = virObjectRef(svc);
virNetServerServiceSetDispatcher(svc,
@@ -820,9 +775,6 @@ void virNetServerDispose(void *obj)
for (i = 0; i < srv->nclients; i++)
virObjectUnref(srv->clients[i]);
VIR_FREE(srv->clients);
-
- VIR_FREE(srv->mdnsGroupName);
- virNetServerMDNSFree(srv->mdns);
}
void virNetServerClose(virNetServerPtr srv)
@@ -909,18 +861,6 @@ virNetServerProcessClients(virNetServerPtr srv)
virObjectUnlock(srv);
}
-int
-virNetServerStart(virNetServerPtr srv)
-{
- /*
- * Do whatever needs to be done before starting.
- */
- if (!srv->mdns)
- return 0;
-
- return virNetServerMDNSStart(srv->mdns);
-}
-
const char *
virNetServerGetName(virNetServerPtr srv)
{
diff --git a/src/rpc/virnetserver.h b/src/rpc/virnetserver.h
index 92a856fb03..49203cdb3a 100644
--- a/src/rpc/virnetserver.h
+++ b/src/rpc/virnetserver.h
@@ -39,7 +39,6 @@ virNetServerPtr virNetServerNew(const char *name,
size_t max_anonymous_clients,
int keepaliveInterval,
unsigned int keepaliveCount,
- const char *mdnsGroupName,
virNetServerClientPrivNew clientPrivNew,
virNetServerClientPrivPreExecRestart clientPrivPreExecRestart,
virFreeCallback clientPrivFree,
@@ -61,8 +60,7 @@ void virNetServerClose(virNetServerPtr srv);
virJSONValuePtr virNetServerPreExecRestart(virNetServerPtr srv);
int virNetServerAddService(virNetServerPtr srv,
- virNetServerServicePtr svc,
- const char *mdnsEntryName);
+ virNetServerServicePtr svc);
int virNetServerAddProgram(virNetServerPtr srv,
virNetServerProgramPtr prog);
@@ -79,8 +77,6 @@ void virNetServerSetClientAuthenticated(virNetServerPtr srv, virNetServerClientP
void virNetServerUpdateServices(virNetServerPtr srv, bool enabled);
-int virNetServerStart(virNetServerPtr srv);
-
const char *virNetServerGetName(virNetServerPtr srv);
int virNetServerGetThreadPoolParameters(virNetServerPtr srv,
diff --git a/src/rpc/virnetservermdns.c b/src/rpc/virnetservermdns.c
deleted file mode 100644
index 4c10749364..0000000000
--- a/src/rpc/virnetservermdns.c
+++ /dev/null
@@ -1,682 +0,0 @@
-/*
- * virnetservermdns.c: advertise server sockets
- *
- * Copyright (C) 2011-2012 Red Hat, Inc.
- * Copyright (C) 2007 Daniel P. Berrange
- *
- * Derived from Avahi example service provider code.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library. If not, see
- * <http://www.gnu.org/licenses/>.
- */
-
-#include <config.h>
-
-#include <time.h>
-
-#if WITH_AVAHI
-# include <avahi-client/client.h>
-# include <avahi-client/publish.h>
-
-# include <avahi-common/alternative.h>
-# include <avahi-common/simple-watch.h>
-# include <avahi-common/malloc.h>
-# include <avahi-common/error.h>
-# include <avahi-common/timeval.h>
-#endif
-
-#include "virnetservermdns.h"
-#include "vireventpoll.h"
-#include "viralloc.h"
-#include "virerror.h"
-#include "virlog.h"
-#include "virstring.h"
-
-#define VIR_FROM_THIS VIR_FROM_RPC
-
-VIR_LOG_INIT("rpc.netservermdns");
-
-struct _virNetServerMDNSEntry {
- char *type;
- int port;
- virNetServerMDNSEntryPtr next;
-};
-
-struct _virNetServerMDNSGroup {
- virNetServerMDNSPtr mdns;
-#if WITH_AVAHI
- AvahiEntryGroup *handle;
-#endif
- char *name;
- virNetServerMDNSEntryPtr entry;
- virNetServerMDNSGroupPtr next;
-};
-
-struct _virNetServerMDNS {
-#if WITH_AVAHI
- AvahiClient *client;
- AvahiPoll *poller;
-#endif
- virNetServerMDNSGroupPtr group;
-};
-
-#if WITH_AVAHI
-/* Avahi API requires this struct name in the app :-( */
-struct AvahiWatch {
- int watch;
- int fd;
- int revents;
- AvahiWatchCallback callback;
- void *userdata;
-};
-
-/* Avahi API requires this struct name in the app :-( */
-struct AvahiTimeout {
- int timer;
- AvahiTimeoutCallback callback;
- void *userdata;
-};
-
-static void virNetServerMDNSCreateServices(virNetServerMDNSGroupPtr group);
-
-/* Called whenever the entry group state changes */
-static void virNetServerMDNSGroupCallback(AvahiEntryGroup *g ATTRIBUTE_UNUSED,
- AvahiEntryGroupState state,
- void *data)
-{
- virNetServerMDNSGroupPtr group = data;
-
- switch (state) {
- case AVAHI_ENTRY_GROUP_ESTABLISHED:
- /* The entry group has been established successfully */
- VIR_DEBUG("Group '%s' established", group->name);
- break;
-
- case AVAHI_ENTRY_GROUP_COLLISION:
- {
- char *n;
-
- /* A service name collision happened. Let's pick a new name */
- n = avahi_alternative_service_name(group->name);
- VIR_FREE(group->name);
- group->name = n;
-
- VIR_DEBUG("Group name collision, renaming service to '%s'", group->name);
-
- /* And recreate the services */
- virNetServerMDNSCreateServices(group);
- }
- break;
-
- case AVAHI_ENTRY_GROUP_FAILURE :
- VIR_DEBUG("Group failure: %s",
- avahi_strerror(avahi_client_errno(group->mdns->client)));
-
- /* Some kind of failure happened while we were registering our services */
- /* avahi_simple_poll_quit(simple_poll); */
- break;
-
- case AVAHI_ENTRY_GROUP_UNCOMMITED:
- case AVAHI_ENTRY_GROUP_REGISTERING:
- ;
- }
-}
-
-static void virNetServerMDNSCreateServices(virNetServerMDNSGroupPtr group)
-{
- virNetServerMDNSPtr mdns = group->mdns;
- virNetServerMDNSEntryPtr entry;
- int ret;
- VIR_DEBUG("Adding services to '%s'", group->name);
-
- /* If we've no services to advertise, just reset the group to make
- * sure it is emptied of any previously advertised services */
- if (!group->entry) {
- if (group->handle)
- avahi_entry_group_reset(group->handle);
- return;
- }
-
- /* If this is the first time we're called, let's create a new entry group */
- if (!group->handle) {
- VIR_DEBUG("Creating initial group %s", group->name);
- if (!(group->handle =
- avahi_entry_group_new(mdns->client,
- virNetServerMDNSGroupCallback,
- group))) {
- VIR_DEBUG("avahi_entry_group_new() failed: %s",
- avahi_strerror(avahi_client_errno(mdns->client)));
- return;
- }
- }
-
- entry = group->entry;
- while (entry) {
- if ((ret = avahi_entry_group_add_service(group->handle,
- AVAHI_IF_UNSPEC,
- AVAHI_PROTO_UNSPEC,
- 0,
- group->name,
- entry->type,
- NULL,
- NULL,
- entry->port,
- NULL)) < 0) {
- VIR_DEBUG("Failed to add %s service on port %d: %s",
- entry->type, entry->port, avahi_strerror(ret));
- avahi_entry_group_reset(group->handle);
- return;
- }
- entry = entry->next;
- }
-
- /* Tell the server to register the service */
- if ((ret = avahi_entry_group_commit(group->handle)) < 0) {
- avahi_entry_group_reset(group->handle);
- VIR_DEBUG("Failed to commit entry_group: %s",
- avahi_strerror(ret));
- return;
- }
-}
-
-
-static void virNetServerMDNSClientCallback(AvahiClient *c,
- AvahiClientState state,
- void *data)
-{
- virNetServerMDNSPtr mdns = data;
- virNetServerMDNSGroupPtr group;
- if (!mdns->client)
- mdns->client = c;
-
- VIR_DEBUG("Callback state=%d", state);
-
- /* Called whenever the client or server state changes */
- switch (state) {
- case AVAHI_CLIENT_S_RUNNING:
- /* The server has startup successfully and registered its host
- * name on the network, so it's time to create our services */
- VIR_DEBUG("Client running %p", mdns->client);
- group = mdns->group;
- while (group) {
- virNetServerMDNSCreateServices(group);
- group = group->next;
- }
- break;
-
- case AVAHI_CLIENT_FAILURE:
- VIR_DEBUG("Client failure: %s",
- avahi_strerror(avahi_client_errno(c)));
- virNetServerMDNSStop(mdns);
- virNetServerMDNSStart(mdns);
- break;
-
- case AVAHI_CLIENT_S_COLLISION:
- /* Let's drop our registered services. When the server is back
- * in AVAHI_SERVER_RUNNING state we will register them
- * again with the new host name. */
-
- ATTRIBUTE_FALLTHROUGH;
-
- case AVAHI_CLIENT_S_REGISTERING:
- /* The server records are now being established. This
- * might be caused by a host name change. We need to wait
- * for our own records to register until the host name is
- * properly established. */
- VIR_DEBUG("Client collision/connecting %p", mdns->client);
- group = mdns->group;
- while (group) {
- if (group->handle)
- avahi_entry_group_reset(group->handle);
- group = group->next;
- }
- break;
-
- case AVAHI_CLIENT_CONNECTING:
- VIR_DEBUG("Client connecting.... %p", mdns->client);
- ;
- }
-}
-
-
-static void virNetServerMDNSWatchDispatch(int watch, int fd, int events, void *opaque)
-{
- AvahiWatch *w = opaque;
- int fd_events = virEventPollToNativeEvents(events);
- VIR_DEBUG("Dispatch watch %d FD %d Event %d", watch, fd, fd_events);
- w->revents = fd_events;
- w->callback(w, fd, fd_events, w->userdata);
-}
-
-static void virNetServerMDNSWatchDofree(void *w)
-{
- VIR_FREE(w);
-}
-
-
-static AvahiWatch *virNetServerMDNSWatchNew(const AvahiPoll *api ATTRIBUTE_UNUSED,
- int fd, AvahiWatchEvent event,
- AvahiWatchCallback cb, void *userdata)
-{
- AvahiWatch *w;
- virEventHandleType hEvents;
- if (VIR_ALLOC(w) < 0)
- return NULL;
-
- w->fd = fd;
- w->revents = 0;
- w->callback = cb;
- w->userdata = userdata;
-
- VIR_DEBUG("New handle %p FD %d Event %d", w, w->fd, event);
- hEvents = virEventPollFromNativeEvents(event);
- if ((w->watch = virEventAddHandle(fd, hEvents,
- virNetServerMDNSWatchDispatch,
- w,
- virNetServerMDNSWatchDofree)) < 0) {
- virReportError(VIR_ERR_INTERNAL_ERROR,
- _("Failed to add watch for fd %d events %d"), fd, hEvents);
- VIR_FREE(w);
- return NULL;
- }
-
- return w;
-}
-
-static void virNetServerMDNSWatchUpdate(AvahiWatch *w, AvahiWatchEvent event)
-{
- VIR_DEBUG("Update handle %p FD %d Event %d", w, w->fd, event);
- virEventUpdateHandle(w->watch, event);
-}
-
-static AvahiWatchEvent virNetServerMDNSWatchGetEvents(AvahiWatch *w)
-{
- VIR_DEBUG("Get handle events %p %d", w, w->fd);
- return w->revents;
-}
-
-static void virNetServerMDNSWatchFree(AvahiWatch *w)
-{
- VIR_DEBUG("Free handle %p %d", w, w->fd);
- virEventRemoveHandle(w->watch);
-}
-
-static void virNetServerMDNSTimeoutDispatch(int timer ATTRIBUTE_UNUSED, void *opaque)
-{
- AvahiTimeout *t = (AvahiTimeout*)opaque;
- VIR_DEBUG("Dispatch timeout %p %d", t, timer);
- virEventUpdateTimeout(t->timer, -1);
- t->callback(t, t->userdata);
-}
-
-static void virNetServerMDNSTimeoutDofree(void *t)
-{
- VIR_FREE(t);
-}
-
-static AvahiTimeout *virNetServerMDNSTimeoutNew(const AvahiPoll *api ATTRIBUTE_UNUSED,
- const struct timeval *tv,
- AvahiTimeoutCallback cb,
- void *userdata)
-{
- AvahiTimeout *t;
- struct timeval now;
- long long nowms, thenms, timeout;
- VIR_DEBUG("Add timeout TV %p", tv);
- if (VIR_ALLOC(t) < 0)
- return NULL;
-
- if (gettimeofday(&now, NULL) < 0) {
- virReportSystemError(errno, "%s",
- _("Unable to get current time"));
- VIR_FREE(t);
- return NULL;
- }
-
- VIR_DEBUG("Trigger timed for %d %d %d %d",
- (int)now.tv_sec, (int)now.tv_usec,
- (int)(tv ? tv->tv_sec : 0), (int)(tv ? tv->tv_usec : 0));
- nowms = (now.tv_sec * 1000ll) + (now.tv_usec / 1000ll);
- if (tv) {
- thenms = (tv->tv_sec * 1000ll) + (tv->tv_usec/1000ll);
- timeout = thenms > nowms ? nowms - thenms : 0;
- if (timeout < 0)
- timeout = 0;
- } else {
- timeout = -1;
- }
-
- t->timer = virEventAddTimeout(timeout,
- virNetServerMDNSTimeoutDispatch,
- t,
- virNetServerMDNSTimeoutDofree);
- t->callback = cb;
- t->userdata = userdata;
-
- if (t->timer < 0) {
- virReportError(VIR_ERR_INTERNAL_ERROR,
- _("Failed to add timer with timeout %lld"), timeout);
- VIR_FREE(t);
- return NULL;
- }
-
- return t;
-}
-
-static void virNetServerMDNSTimeoutUpdate(AvahiTimeout *t, const struct timeval *tv)
-{
- struct timeval now;
- long long nowms, thenms, timeout;
- VIR_DEBUG("Update timeout %p TV %p", t, tv);
- if (gettimeofday(&now, NULL) < 0) {
- VIR_FREE(t);
- return;
- }
-
- nowms = (now.tv_sec * 1000ll) + (now.tv_usec / 1000ll);
- if (tv) {
- thenms = ((tv->tv_sec * 1000ll) + (tv->tv_usec/1000ll));
- timeout = thenms > nowms ? nowms - thenms : 0;
- if (timeout < 0)
- timeout = 0;
- } else {
- timeout = -1;
- }
-
- virEventUpdateTimeout(t->timer, timeout);
-}
-
-static void virNetServerMDNSTimeoutFree(AvahiTimeout *t)
-{
- VIR_DEBUG("Free timeout %p", t);
- virEventRemoveTimeout(t->timer);
-}
-
-
-static AvahiPoll *virNetServerMDNSCreatePoll(void)
-{
- AvahiPoll *p;
- if (VIR_ALLOC(p) < 0)
- return NULL;
-
- p->userdata = NULL;
-
- p->watch_new = virNetServerMDNSWatchNew;
- p->watch_update = virNetServerMDNSWatchUpdate;
- p->watch_get_events = virNetServerMDNSWatchGetEvents;
- p->watch_free = virNetServerMDNSWatchFree;
-
- p->timeout_new = virNetServerMDNSTimeoutNew;
- p->timeout_update = virNetServerMDNSTimeoutUpdate;
- p->timeout_free = virNetServerMDNSTimeoutFree;
-
- return p;
-}
-
-
-virNetServerMDNS *virNetServerMDNSNew(void)
-{
- virNetServerMDNS *mdns;
- if (VIR_ALLOC(mdns) < 0)
- return NULL;
-
- /* Allocate main loop object */
- if (!(mdns->poller = virNetServerMDNSCreatePoll())) {
- VIR_FREE(mdns);
- return NULL;
- }
-
- return mdns;
-}
-
-
-int virNetServerMDNSStart(virNetServerMDNS *mdns)
-{
- int error;
- VIR_DEBUG("Starting client %p", mdns);
- mdns->client = avahi_client_new(mdns->poller,
- AVAHI_CLIENT_NO_FAIL,
- virNetServerMDNSClientCallback,
- mdns, &error);
-
- if (!mdns->client) {
- virReportError(VIR_ERR_INTERNAL_ERROR,
- _("Failed to create mDNS client: %s"),
- avahi_strerror(error));
- return -1;
- }
-
- return 0;
-}
-
-
-virNetServerMDNSGroupPtr virNetServerMDNSAddGroup(virNetServerMDNS *mdns,
- const char *name)
-{
- virNetServerMDNSGroupPtr group;
-
- VIR_DEBUG("Adding group '%s'", name);
- if (VIR_ALLOC(group) < 0)
- return NULL;
-
- if (VIR_STRDUP(group->name, name) < 0) {
- VIR_FREE(group);
- return NULL;
- }
- group->mdns = mdns;
- group->next = mdns->group;
- mdns->group = group;
- return group;
-}
-
-
-void virNetServerMDNSRemoveGroup(virNetServerMDNSPtr mdns,
- virNetServerMDNSGroupPtr group)
-{
- virNetServerMDNSGroupPtr tmp = mdns->group, prev = NULL;
-
- while (tmp) {
- if (tmp == group) {
- VIR_FREE(group->name);
- if (prev)
- prev->next = group->next;
- else
- group->mdns->group = group->next;
- VIR_FREE(group);
- return;
- }
- prev = tmp;
- tmp = tmp->next;
- }
-}
-
-
-virNetServerMDNSEntryPtr virNetServerMDNSAddEntry(virNetServerMDNSGroupPtr group,
- const char *type,
- int port)
-{
- virNetServerMDNSEntryPtr entry;
-
- VIR_DEBUG("Adding entry %s %d to group %s", type, port, group->name);
- if (VIR_ALLOC(entry) < 0)
- return NULL;
-
- entry->port = port;
- if (VIR_STRDUP(entry->type, type) < 0) {
- VIR_FREE(entry);
- return NULL;
- }
- entry->next = group->entry;
- group->entry = entry;
- return entry;
-}
-
-
-void virNetServerMDNSRemoveEntry(virNetServerMDNSGroupPtr group,
- virNetServerMDNSEntryPtr entry)
-{
- virNetServerMDNSEntryPtr tmp = group->entry, prev = NULL;
-
- while (tmp) {
- if (tmp == entry) {
- VIR_FREE(entry->type);
- if (prev)
- prev->next = entry->next;
- else
- group->entry = entry->next;
- return;
- }
- prev = tmp;
- tmp = tmp->next;
- }
-}
-
-
-void virNetServerMDNSStop(virNetServerMDNSPtr mdns)
-{
- virNetServerMDNSGroupPtr group = mdns->group;
- while (group) {
- if (group->handle) {
- avahi_entry_group_free(group->handle);
- group->handle = NULL;
- }
- group = group->next;
- }
- if (mdns->client)
- avahi_client_free(mdns->client);
- mdns->client = NULL;
-}
-
-
-void virNetServerMDNSFree(virNetServerMDNSPtr mdns)
-{
- virNetServerMDNSGroupPtr group, tmp;
-
- if (!mdns)
- return;
-
- group = mdns->group;
- while (group) {
- tmp = group->next;
- virNetServerMDNSGroupFree(group);
- group = tmp;
- }
-
- VIR_FREE(mdns->poller);
- VIR_FREE(mdns);
-}
-
-
-void virNetServerMDNSGroupFree(virNetServerMDNSGroupPtr grp)
-{
- virNetServerMDNSEntryPtr entry, tmp;
-
- if (!grp)
- return;
-
- entry = grp->entry;
- while (entry) {
- tmp = entry->next;
- virNetServerMDNSEntryFree(entry);
- entry = tmp;
- }
-
- VIR_FREE(grp->name);
- VIR_FREE(grp);
-}
-
-
-void virNetServerMDNSEntryFree(virNetServerMDNSEntryPtr entry)
-{
- if (!entry)
- return;
-
- VIR_FREE(entry->type);
- VIR_FREE(entry);
-}
-
-#else /* ! WITH_AVAHI */
-
-static const char *unsupported = N_("avahi not available at build time");
-
-virNetServerMDNS *
-virNetServerMDNSNew(void)
-{
- virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _(unsupported));
- return NULL;
-}
-
-int
-virNetServerMDNSStart(virNetServerMDNS *mdns ATTRIBUTE_UNUSED)
-{
- virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _(unsupported));
- return -1;
-}
-
-virNetServerMDNSGroupPtr
-virNetServerMDNSAddGroup(virNetServerMDNS *mdns ATTRIBUTE_UNUSED,
- const char *name ATTRIBUTE_UNUSED)
-{
- virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _(unsupported));
- return NULL;
-}
-
-void
-virNetServerMDNSRemoveGroup(virNetServerMDNSPtr mdns ATTRIBUTE_UNUSED,
- virNetServerMDNSGroupPtr group ATTRIBUTE_UNUSED)
-{
- VIR_DEBUG("%s", _(unsupported));
-}
-
-virNetServerMDNSEntryPtr
-virNetServerMDNSAddEntry(virNetServerMDNSGroupPtr group ATTRIBUTE_UNUSED,
- const char *type ATTRIBUTE_UNUSED,
- int port ATTRIBUTE_UNUSED)
-{
- virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _(unsupported));
- return NULL;
-}
-
-void
-virNetServerMDNSRemoveEntry(virNetServerMDNSGroupPtr group ATTRIBUTE_UNUSED,
- virNetServerMDNSEntryPtr entry ATTRIBUTE_UNUSED)
-{
- VIR_DEBUG("%s", _(unsupported));
-}
-
-void
-virNetServerMDNSStop(virNetServerMDNSPtr mdns ATTRIBUTE_UNUSED)
-{
- VIR_DEBUG("%s", _(unsupported));
-}
-
-void
-virNetServerMDNSFree(virNetServerMDNSPtr mdns ATTRIBUTE_UNUSED)
-{
- VIR_DEBUG("%s", _(unsupported));
-}
-
-void
-virNetServerMDNSGroupFree(virNetServerMDNSGroupPtr grp ATTRIBUTE_UNUSED)
-{
- VIR_DEBUG("%s", _(unsupported));
-}
-
-void
-virNetServerMDNSEntryFree(virNetServerMDNSEntryPtr entry ATTRIBUTE_UNUSED)
-{
- VIR_DEBUG("%s", _(unsupported));
-}
-
-#endif /* ! WITH_AVAHI */
diff --git a/src/rpc/virnetservermdns.h b/src/rpc/virnetservermdns.h
deleted file mode 100644
index 64511a65c8..0000000000
--- a/src/rpc/virnetservermdns.h
+++ /dev/null
@@ -1,107 +0,0 @@
-/*
- * virnetservermdns.h: advertise server sockets
- *
- * Copyright (C) 2011 Red Hat, Inc.
- * Copyright (C) 2007 Daniel P. Berrange
- *
- * Derived from Avahi example service provider code.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library. If not, see
- * <http://www.gnu.org/licenses/>.
- */
-
-#ifndef LIBVIRT_VIRNETSERVERMDNS_H
-# define LIBVIRT_VIRNETSERVERMDNS_H
-
-# include "internal.h"
-
-typedef struct _virNetServerMDNS virNetServerMDNS;
-typedef virNetServerMDNS *virNetServerMDNSPtr;
-typedef struct _virNetServerMDNSGroup virNetServerMDNSGroup;
-typedef virNetServerMDNSGroup *virNetServerMDNSGroupPtr;
-typedef struct _virNetServerMDNSEntry virNetServerMDNSEntry;
-typedef virNetServerMDNSEntry *virNetServerMDNSEntryPtr;
-
-
-/**
- * Prepares a new mdns manager object for use
- */
-virNetServerMDNSPtr virNetServerMDNSNew(void);
-
-/**
- * Starts the mdns client, advertising any groups/entries currently registered
- *
- * @mdns: manager to start advertising
- *
- * Starts the mdns client. Services may not be immediately visible, since
- * it may asynchronously wait for the mdns service to startup
- *
- * returns -1 upon failure, 0 upon success.
- */
-int virNetServerMDNSStart(virNetServerMDNSPtr mdns);
-
-/**
- * Stops the mdns client, removing any advertisements
- *
- * @mdns: manager to start advertising
- *
- */
-void virNetServerMDNSStop(virNetServerMDNSPtr mdns);
-
-/**
- * Adds a group container for advertisement
- *
- * @mdns manager to attach the group to
- * @name unique human readable service name
- *
- * returns the group record, or NULL upon failure
- */
-virNetServerMDNSGroupPtr virNetServerMDNSAddGroup(virNetServerMDNSPtr mdns,
- const char *name);
-
-/**
- * Removes a group container from advertisement
- *
- * @mdns amanger to detach group from
- * @group group to remove
- */
-void virNetServerMDNSRemoveGroup(virNetServerMDNSPtr mdns,
- virNetServerMDNSGroupPtr group);
-
-/**
- * Adds a service entry in a group
- *
- * @group group to attach the entry to
- * @type service type string
- * @port tcp port number
- *
- * returns the service record, or NULL upon failure
- */
-virNetServerMDNSEntryPtr virNetServerMDNSAddEntry(virNetServerMDNSGroupPtr group,
- const char *type, int port);
-
-/**
- * Removes a service entry from a group
- *
- * @group group to detach service entry from
- * @entry service entry to remove
- */
-void virNetServerMDNSRemoveEntry(virNetServerMDNSGroupPtr group,
- virNetServerMDNSEntryPtr entry);
-
-void virNetServerMDNSFree(virNetServerMDNSPtr ptr);
-void virNetServerMDNSGroupFree(virNetServerMDNSGroupPtr ptr);
-void virNetServerMDNSEntryFree(virNetServerMDNSEntryPtr ptr);
-
-#endif /* LIBVIRT_VIRNETSERVERMDNS_H */
diff --git a/tests/virconfdata/libvirtd.conf b/tests/virconfdata/libvirtd.conf
index ee57593109..602aa08d92 100644
--- a/tests/virconfdata/libvirtd.conf
+++ b/tests/virconfdata/libvirtd.conf
@@ -43,23 +43,6 @@ tcp_port = "16509"
-# Flag toggling mDNS advertizement of the libvirt service.
-#
-# Alternatively can disable for all services on a host by
-# stopping the Avahi daemon
-#
-# This is disabled by default, uncomment this to enable it
-mdns_adv = 1
-
-# Override the default mDNS advertizement name. This must be
-# unique on the immediate broadcast network.
-#
-# The default is "Virtualization Host HOSTNAME", where HOSTNAME
-# is subsituted for the short hostname of the machine (without domain)
-#
-mdns_name = "Virtualization Host Joe Demo"
-
-
#################################################################
#
# UNIX socket access controls
diff --git a/tests/virconfdata/libvirtd.out b/tests/virconfdata/libvirtd.out
index e0b6f0a606..d3f2bd20a7 100644
--- a/tests/virconfdata/libvirtd.out
+++ b/tests/virconfdata/libvirtd.out
@@ -32,20 +32,6 @@ tls_port = "16514"
# This can be a port number, or service name
#
tcp_port = "16509"
-# Flag toggling mDNS advertizement of the libvirt service.
-#
-# Alternatively can disable for all services on a host by
-# stopping the Avahi daemon
-#
-# This is disabled by default, uncomment this to enable it
-mdns_adv = 1
-# Override the default mDNS advertizement name. This must be
-# unique on the immediate broadcast network.
-#
-# The default is "Virtualization Host HOSTNAME", where HOSTNAME
-# is subsituted for the short hostname of the machine (without domain)
-#
-mdns_name = "Virtualization Host Joe Demo"
#################################################################
#
# UNIX socket access controls
diff --git a/tests/virnetdaemondata/input-data-admin-nomdns.json b/tests/virnetdaemondata/input-data-admin.json
similarity index 100%
rename from tests/virnetdaemondata/input-data-admin-nomdns.json
rename to tests/virnetdaemondata/input-data-admin.json
diff --git a/tests/virnetdaemondata/input-data-initial-nomdns.json b/tests/virnetdaemondata/input-data-initial-nomdns.json
deleted file mode 100644
index 6cf70d96e8..0000000000
--- a/tests/virnetdaemondata/input-data-initial-nomdns.json
+++ /dev/null
@@ -1,63 +0,0 @@
-{
- "min_workers": 10,
- "max_workers": 50,
- "priority_workers": 5,
- "max_clients": 100,
- "keepaliveInterval": 120,
- "keepaliveCount": 5,
- "keepaliveRequired": true,
- "services": [
- {
- "auth": 0,
- "readonly": true,
- "nrequests_client_max": 2,
- "socks": [
- {
- "fd": 100,
- "errfd": -1,
- "pid": 0,
- "isClient": false
- }
- ]
- },
- {
- "auth": 2,
- "readonly": false,
- "nrequests_client_max": 5,
- "socks": [
- {
- "fd": 101,
- "errfd": -1,
- "pid": 0,
- "isClient": false
- }
- ]
- }
- ],
- "clients": [
- {
- "auth": 1,
- "readonly": true,
- "nrequests_max": 15,
- "sock": {
- "fd": 102,
- "errfd": -1,
- "pid": -1,
- "isClient": true
- },
- "privateData": 1729
- },
- {
- "auth": 2,
- "readonly": true,
- "nrequests_max": 66,
- "sock": {
- "fd": 103,
- "errfd": -1,
- "pid": -1,
- "isClient": true
- },
- "privateData": 1729
- }
- ]
-}
diff --git a/tests/virnetdaemondata/input-data-initial.json b/tests/virnetdaemondata/input-data-initial.json
index 5bb09ed36b..6cf70d96e8 100644
--- a/tests/virnetdaemondata/input-data-initial.json
+++ b/tests/virnetdaemondata/input-data-initial.json
@@ -6,7 +6,6 @@
"keepaliveInterval": 120,
"keepaliveCount": 5,
"keepaliveRequired": true,
- "mdnsGroupName": "libvirtTest",
"services": [
{
"auth": 0,
diff --git a/tests/virnetdaemondata/output-data-admin-nomdns.json b/tests/virnetdaemondata/output-data-admin.json
similarity index 100%
rename from tests/virnetdaemondata/output-data-admin-nomdns.json
rename to tests/virnetdaemondata/output-data-admin.json
diff --git a/tests/virnetdaemondata/output-data-initial-nomdns.json b/tests/virnetdaemondata/output-data-initial-nomdns.json
deleted file mode 100644
index 916297c59d..0000000000
--- a/tests/virnetdaemondata/output-data-initial-nomdns.json
+++ /dev/null
@@ -1,72 +0,0 @@
-{
- "servers": {
- "testServer0": {
- "min_workers": 10,
- "max_workers": 50,
- "priority_workers": 5,
- "max_clients": 100,
- "max_anonymous_clients": 100,
- "keepaliveInterval": 120,
- "keepaliveCount": 5,
- "next_client_id": 3,
- "services": [
- {
- "auth": 0,
- "readonly": true,
- "nrequests_client_max": 2,
- "socks": [
- {
- "fd": 100,
- "errfd": -1,
- "pid": 0,
- "isClient": false
- }
- ]
- },
- {
- "auth": 2,
- "readonly": false,
- "nrequests_client_max": 5,
- "socks": [
- {
- "fd": 101,
- "errfd": -1,
- "pid": 0,
- "isClient": false
- }
- ]
- }
- ],
- "clients": [
- {
- "id": 1,
- "auth": 1,
- "auth_pending": true,
- "readonly": true,
- "nrequests_max": 15,
- "sock": {
- "fd": 102,
- "errfd": -1,
- "pid": -1,
- "isClient": true
- },
- "privateData": 1729
- },
- {
- "id": 2,
- "auth": 2,
- "auth_pending": true,
- "readonly": true,
- "nrequests_max": 66,
- "sock": {
- "fd": 103,
- "errfd": -1,
- "pid": -1,
- "isClient": true
- },
- "privateData": 1729
- }
- ]
- }
- }
-}
diff --git a/tests/virnetdaemondata/output-data-initial.json b/tests/virnetdaemondata/output-data-initial.json
index 5ed03472d6..916297c59d 100644
--- a/tests/virnetdaemondata/output-data-initial.json
+++ b/tests/virnetdaemondata/output-data-initial.json
@@ -9,7 +9,6 @@
"keepaliveInterval": 120,
"keepaliveCount": 5,
"next_client_id": 3,
- "mdnsGroupName": "libvirtTest",
"services": [
{
"auth": 0,
diff --git a/tests/virnetdaemontest.c b/tests/virnetdaemontest.c
index 3e9b007d9b..eae630a8f1 100644
--- a/tests/virnetdaemontest.c
+++ b/tests/virnetdaemontest.c
@@ -87,13 +87,6 @@ testCreateServer(const char *server_name, const char *host, int family)
virNetServerClientPtr cln1 = NULL, cln2 = NULL;
virNetSocketPtr sk1 = NULL, sk2 = NULL;
int fdclient[2];
- const char *mdns_entry = NULL;
- const char *mdns_group = NULL;
-
-# ifdef WITH_AVAHI
- mdns_entry = "libvirt-ro";
- mdns_group = "libvirtTest";
-# endif
if (socketpair(PF_UNIX, SOCK_STREAM, 0, fdclient) < 0) {
virReportSystemError(errno, "%s",
@@ -104,7 +97,6 @@ testCreateServer(const char *server_name, const char *host, int family)
if (!(srv = virNetServerNew(server_name, 1,
10, 50, 5, 100, 10,
120, 5,
- mdns_group,
testClientNew,
testClientPreExec,
testClientFree,
@@ -131,9 +123,9 @@ testCreateServer(const char *server_name, const char *host, int family)
5)))
goto error;
- if (virNetServerAddService(srv, svc1, mdns_entry) < 0)
+ if (virNetServerAddService(srv, svc1) < 0)
goto error;
- if (virNetServerAddService(srv, svc2, mdns_entry) < 0)
+ if (virNetServerAddService(srv, svc2) < 0)
goto error;
if (virNetSocketNewConnectSockFD(fdclient[0], &sk1) < 0)
@@ -408,12 +400,9 @@ mymain(void)
# define EXEC_RESTART_TEST_FAIL(file, N) EXEC_RESTART_TEST_FULL(file, N, false)
-# ifdef WITH_AVAHI
EXEC_RESTART_TEST("initial", 1);
-# endif
- EXEC_RESTART_TEST("initial-nomdns", 1);
EXEC_RESTART_TEST("anon-clients", 1);
- EXEC_RESTART_TEST("admin-nomdns", 2);
+ EXEC_RESTART_TEST("admin", 2);
EXEC_RESTART_TEST("admin-server-names", 2);
EXEC_RESTART_TEST("no-keepalive-required", 2);
EXEC_RESTART_TEST("client-ids", 1);
--
2.21.0
5 years, 6 months