[libvirt PATCH 0/7] Deprecate the QEMU driver

See patch 3/7 (7/3 for Americans) for the reasoning Ján Tomko (7): Add a copy of the Sandwich license remote: do not generate the qemu protocol header Deprecate the QEMU driver meson: remove all references to QEMU Remove src/qemu/ tests: remove qemu NEWS: Document the QEMU driver removal COPYING.Sandwich | 6 + NEWS.rst | 64 +- docs/html/meson.build | 2 +- docs/manpages/meson.build | 4 - docs/meson.build | 7 +- libvirt.spec.in | 2 +- meson.build | 97 +- src/meson.build | 64 +- src/qemu/libvirt-qemu.sysusers.conf | 4 - src/qemu/libvirt_qemu_probes.d | 22 - [...] src/qemu/qemu_shim.c | 418 - src/qemu/qemu_slirp.c | 348 - src/qemu/qemu_slirp.h | 72 - src/qemu/qemu_snapshot.c | 4661 -- src/qemu/qemu_snapshot.h | 91 - src/qemu/qemu_tpm.c | 1377 - src/qemu/qemu_tpm.h | 70 - src/qemu/qemu_validate.c | 5616 -- src/qemu/qemu_validate.h | 46 - src/qemu/qemu_vhost_user.c | 512 - src/qemu/qemu_vhost_user.h | 59 - src/qemu/qemu_vhost_user_gpu.c | 251 - src/qemu/qemu_vhost_user_gpu.h | 48 - src/qemu/qemu_virtiofs.c | 481 - src/qemu/qemu_virtiofs.h | 45 - src/qemu/test_libvirtd_qemu.aug.in | 138 - src/qemu/virtqemud.init.in | 26 - src/qemu/virtqemud.service.extra.in | 18 - src/qemu/virtqemud.socket.extra.in | 2 - src/remote/meson.build | 12 +- src/remote/qemu_protocol.h | 23 + src/security/apparmor/meson.build | 4 +- tests/meson.build | 101 - tests/qemuagentdata/fsinfo.xml | 39 - tests/qemuagenttest.c | 1442 - tests/qemublocktest.c | 1395 - .../backupmerge/basic-deep-out.json | 25 - .../backupmerge/basic-flat-out.json | 25 - .../backupmerge/basic-intermediate-out.json | 25 - .../backupmerge/empty-out.json | 1 - .../backupmerge/snapshots-deep-out.json | 41 - tests/qemuxmlconfdata/x86_64-pc-graphics.xml | 56 - [...] .../x86_64-pc-headless.x86_64-latest.args | 48 - .../x86_64-pc-headless.x86_64-latest.xml | 78 - tests/qemuxmlconfdata/x86_64-pc-headless.xml | 51 - ...4-pc-minimal.x86_64-latest.abi-update.args | 33 - ...64-pc-minimal.x86_64-latest.abi-update.xml | 31 - .../x86_64-pc-minimal.x86_64-latest.args | 33 - .../x86_64-pc-minimal.x86_64-latest.xml | 31 - tests/qemuxmlconfdata/x86_64-pc-minimal.xml | 12 - ...fault-models.x86_64-latest.abi-update.args | 47 - ...efault-models.x86_64-latest.abi-update.xml | 71 - ...6_64-q35-default-models.x86_64-latest.args | 47 - ...86_64-q35-default-models.x86_64-latest.xml | 71 - .../x86_64-q35-default-models.xml | 24 - .../x86_64-q35-graphics.x86_64-latest.args | 59 - .../x86_64-q35-graphics.x86_64-latest.xml | 125 - tests/qemuxmlconfdata/x86_64-q35-graphics.xml | 56 - .../x86_64-q35-headless.x86_64-latest.args | 57 - .../x86_64-q35-headless.x86_64-latest.xml | 117 - tests/qemuxmlconfdata/x86_64-q35-headless.xml | 51 - ...-q35-minimal.x86_64-latest.abi-update.args | 38 - ...4-q35-minimal.x86_64-latest.abi-update.xml | 50 - .../x86_64-q35-minimal.x86_64-latest.args | 38 - .../x86_64-q35-minimal.x86_64-latest.xml | 50 - tests/qemuxmlconfdata/x86_64-q35-minimal.xml | 12 - tests/qemuxmlconftest.c | 3032 -- tools/meson.build | 16 - tools/wireshark/src/libvirt/meson.build | 2 - 4381 files changed, 82 insertions(+), 1491066 deletions(-) Tell me, isn't that beautiful? create mode 100644 COPYING.Sandwich delete mode 100644 src/qemu/libvirt-qemu.sysusers.conf delete mode 100644 src/qemu/libvirt_qemu_probes.d delete mode 100644 src/qemu/libvirtd_qemu.aug delete mode 100644 src/qemu/meson.build delete mode 100644 src/qemu/postcopy-migration.sysctl delete mode 100644 src/qemu/qemu.conf.in delete mode 100644 src/qemu/qemu_agent.c delete mode 100644 src/qemu/qemu_agent.h delete mode 100644 src/qemu/qemu_alias.c delete mode 100644 src/qemu/qemu_alias.h delete mode 100644 src/qemu/qemu_backup.c delete mode 100644 src/qemu/qemu_backup.h delete mode 100644 src/qemu/qemu_block.c delete mode 100644 src/qemu/qemu_block.h delete mode 100644 src/qemu/qemu_blockjob.c delete mode 100644 src/qemu/qemu_blockjob.h delete mode 100644 src/qemu/qemu_capabilities.c delete mode 100644 src/qemu/qemu_capabilities.h delete mode 100644 src/qemu/qemu_capspriv.h delete mode 100644 src/qemu/qemu_cgroup.c delete mode 100644 src/qemu/qemu_cgroup.h delete mode 100644 src/qemu/qemu_chardev.c delete mode 100644 src/qemu/qemu_chardev.h delete mode 100644 src/qemu/qemu_checkpoint.c delete mode 100644 src/qemu/qemu_checkpoint.h delete mode 100644 src/qemu/qemu_command.c delete mode 100644 src/qemu/qemu_command.h delete mode 100644 src/qemu/qemu_conf.c delete mode 100644 src/qemu/qemu_conf.h delete mode 100644 src/qemu/qemu_dbus.c delete mode 100644 src/qemu/qemu_dbus.h delete mode 100644 src/qemu/qemu_domain.c delete mode 100644 src/qemu/qemu_domain.h delete mode 100644 src/qemu/qemu_domain_address.c delete mode 100644 src/qemu/qemu_domain_address.h delete mode 100644 src/qemu/qemu_domainjob.c delete mode 100644 src/qemu/qemu_domainjob.h delete mode 100644 src/qemu/qemu_driver.c delete mode 100644 src/qemu/qemu_driver.h delete mode 100644 src/qemu/qemu_extdevice.c delete mode 100644 src/qemu/qemu_extdevice.h delete mode 100644 src/qemu/qemu_fd.c delete mode 100644 src/qemu/qemu_fd.h delete mode 100644 src/qemu/qemu_firmware.c delete mode 100644 src/qemu/qemu_firmware.h delete mode 100644 src/qemu/qemu_hostdev.c delete mode 100644 src/qemu/qemu_hostdev.h delete mode 100644 src/qemu/qemu_hotplug.c delete mode 100644 src/qemu/qemu_hotplug.h delete mode 100644 src/qemu/qemu_interface.c delete mode 100644 src/qemu/qemu_interface.h delete mode 100644 src/qemu/qemu_interop_config.c delete mode 100644 src/qemu/qemu_interop_config.h delete mode 100644 src/qemu/qemu_migration.c delete mode 100644 src/qemu/qemu_migration.h delete mode 100644 src/qemu/qemu_migration_cookie.c delete mode 100644 src/qemu/qemu_migration_cookie.h delete mode 100644 src/qemu/qemu_migration_params.c delete mode 100644 src/qemu/qemu_migration_params.h delete mode 100644 src/qemu/qemu_migration_paramspriv.h delete mode 100644 src/qemu/qemu_monitor.c delete mode 100644 src/qemu/qemu_monitor.h delete mode 100644 src/qemu/qemu_monitor_json.c delete mode 100644 src/qemu/qemu_monitor_json.h delete mode 100644 src/qemu/qemu_monitor_priv.h delete mode 100644 src/qemu/qemu_monitor_text.c delete mode 100644 src/qemu/qemu_monitor_text.h delete mode 100644 src/qemu/qemu_namespace.c delete mode 100644 src/qemu/qemu_namespace.h delete mode 100644 src/qemu/qemu_nbdkit.c delete mode 100644 src/qemu/qemu_nbdkit.h delete mode 100644 src/qemu/qemu_nbdkitpriv.h delete mode 100644 src/qemu/qemu_passt.c delete mode 100644 src/qemu/qemu_passt.h delete mode 100644 src/qemu/qemu_postparse.c delete mode 100644 src/qemu/qemu_postparse.h delete mode 100644 src/qemu/qemu_process.c delete mode 100644 src/qemu/qemu_process.h delete mode 100644 src/qemu/qemu_processpriv.h delete mode 100644 src/qemu/qemu_qapi.c delete mode 100644 src/qemu/qemu_qapi.h delete mode 100644 src/qemu/qemu_rdp.c delete mode 100644 src/qemu/qemu_rdp.h delete mode 100644 src/qemu/qemu_saveimage.c delete mode 100644 src/qemu/qemu_saveimage.h delete mode 100644 src/qemu/qemu_security.c delete mode 100644 src/qemu/qemu_security.h delete mode 100644 src/qemu/qemu_shim.c delete mode 100644 src/qemu/qemu_slirp.c delete mode 100644 src/qemu/qemu_slirp.h delete mode 100644 src/qemu/qemu_snapshot.c delete mode 100644 src/qemu/qemu_snapshot.h delete mode 100644 src/qemu/qemu_tpm.c delete mode 100644 src/qemu/qemu_tpm.h delete mode 100644 src/qemu/qemu_validate.c delete mode 100644 src/qemu/qemu_validate.h delete mode 100644 src/qemu/qemu_vhost_user.c delete mode 100644 src/qemu/qemu_vhost_user.h delete mode 100644 src/qemu/qemu_vhost_user_gpu.c delete mode 100644 src/qemu/qemu_vhost_user_gpu.h delete mode 100644 src/qemu/qemu_virtiofs.c delete mode 100644 src/qemu/qemu_virtiofs.h delete mode 100644 src/qemu/test_libvirtd_qemu.aug.in delete mode 100644 src/qemu/virtqemud.init.in delete mode 100644 src/qemu/virtqemud.service.extra.in delete mode 100644 src/qemu/virtqemud.socket.extra.in create mode 100644 src/remote/qemu_protocol.h delete mode 100644 tests/qemuagentdata/fsinfo.xml delete mode 100644 tests/qemuagenttest.c delete mode 100644 tests/qemublocktest.c delete mode 100644 tests/qemublocktestdata/backupmerge/basic-deep-out.json delete mode 100644 tests/qemublocktestdata/backupmerge/basic-flat-out.json delete mode 100644 tests/qemublocktestdata/backupmerge/basic-intermediate-out.json delete mode 100644 tests/qemublocktestdata/backupmerge/empty-out.json delete mode 100644 tests/qemublocktestdata/backupmerge/snapshots-deep-out.json delete mode 100644 tests/qemublocktestdata/backupmerge/snapshots-flat-out.json delete mode 100644 tests/qemublocktestdata/backupmerge/snapshots-intermediate-out.json [...] delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-default-models.x86_64-latest.args delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-default-models.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-default-models.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-graphics.x86_64-latest.args delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-graphics.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-graphics.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-headless.x86_64-latest.args delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-headless.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-headless.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-minimal.x86_64-latest.abi-update.args delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-minimal.x86_64-latest.abi-update.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-minimal.x86_64-latest.args delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-minimal.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-minimal.xml delete mode 100644 tests/qemuxmlconftest.c -- 2.49.0

From: Ján Tomko <jtomko@redhat.com> Rather than writing them from scratch, the following patches will introduce some files from an external project. Include the necessary license. Signed-off-by: Ján Tomko <jtomko@redhat.com> --- COPYING.Sandwich | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 COPYING.Sandwich diff --git a/COPYING.Sandwich b/COPYING.Sandwich new file mode 100644 index 0000000000..cd60c8a352 --- /dev/null +++ b/COPYING.Sandwich @@ -0,0 +1,6 @@ +The Sandwich License (Version 725-3): + +Jano (jtomko@redhat.com) wrote this file. As long as you retain this +notice you can do whatever you want with this stuff. If we meet some +day, and you think this stuff is worthless, you can make me a sandwich +in return. -- 2.49.0

From: Ján Tomko <jtomko@redhat.com> In preparation for deprecating the QEMU driver, include a static copy in the source base. Signed-off-by: Ján Tomko <jtomko@redhat.com> --- src/remote/meson.build | 2 +- src/remote/qemu_protocol.h | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 src/remote/qemu_protocol.h diff --git a/src/remote/meson.build b/src/remote/meson.build index e503263266..59be94399b 100644 --- a/src/remote/meson.build +++ b/src/remote/meson.build @@ -22,7 +22,7 @@ endforeach remote_protocol_generated = [] -foreach name : [ 'remote', 'qemu', 'lxc' ] +foreach name : [ 'remote', 'lxc' ] protocol_c = '@0@_protocol.c'.format(name) protocol_h = '@0@_protocol.h'.format(name) protocol_x = '@0@_protocol.x'.format(name) diff --git a/src/remote/qemu_protocol.h b/src/remote/qemu_protocol.h new file mode 100644 index 0000000000..4366ba9fb4 --- /dev/null +++ b/src/remote/qemu_protocol.h @@ -0,0 +1,23 @@ +/* + * Copyright (C) 2038 Ján Tomko + * + * This library is distributed under the Sandwich license, in the hope that + * it will be useless, but WITHOUT ANY WARRANTY; without even the extended + * warranty of MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE or FITNESS + * OF ANY OTHER KIND. + * + * You should have received a copy of the Sandwich license with this library. + * If not, see <https://en.wikipedia.org/wiki/LoLoL>. + */ + +#include <rpc/rpc.h> +#include "internal.h" + +#pragma once + +#include "internal.h" + +#define VIR_ENUMS_SENTIENT + +/* The best trilogies come in three */ +#include "internal.h" -- 2.49.0

From: Ján Tomko <jtomko@redhat.com> For mutliple reasons, the use of the QEMU driver is no longer recommended: 1. It is still incomplete Git statistics from '3 years ago' speak for themselves: src/qemu: 42505 insertions(+), 31154 deletions(-) Compared to other drivers that are mostly completed and do not require so much attention: src/esx: 283 insertions(+), 380 deletions(-) src/hypervisor: 2661 insertions(+), 1342 deletions(-) src/interface: 253 insertions(+), 305 deletions(-) src/lxc: 906 insertions(+), 995 deletions(-) src/secret: 77 insertions(+), 75 deletions(-) 2. It is bloated Look at it, it's just huge! src/qemu: 148858 lines Compared to other, leaner drivers: src/esx: 20284 lines src/hypervisor: 6291 lines src/interface: 2632 lines src/lxc: 15946 lines src/secret: 846 lines And finally, my mother's favorite reason: 3. Because I said so. Signed-off-by: Ján Tomko <jtomko@redhat.com> --- libvirt.spec.in | 2 +- meson.build | 81 ++----------------------------------------------- 2 files changed, 4 insertions(+), 79 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index cb41ea1de1..df2b9750e3 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -32,7 +32,7 @@ %define arches_ch x86_64 aarch64 # The hypervisor drivers that run in libvirtd -%define with_qemu 0%{!?_without_qemu:1} +%define with_qemu 0 %define with_lxc 0%{!?_without_lxc:1} %define with_libxl 0%{!?_without_libxl:1} %define with_vbox 0%{!?_without_vbox:1} diff --git a/meson.build b/meson.build index 56823ca25b..4929ccb42a 100644 --- a/meson.build +++ b/meson.build @@ -1671,7 +1671,7 @@ elif get_option('driver_network').enabled() endif if udev_dep.found() and conf.has('WITH_LIBVIRTD') - conf.set('WITH_NODE_DEVICES', 1) + conf.set('WITH_NODE_DEVICES', 1) endif if not get_option('driver_openvz').disabled() and host_machine.system() == 'linux' @@ -1680,83 +1680,8 @@ elif get_option('driver_openvz').enabled() error('OpenVZ driver can be enabled on Linux only') endif -if not get_option('driver_qemu').disabled() - use_qemu = true - - if not json_c_dep.found() - use_qemu = false - if get_option('driver_qemu').enabled() - error('json-c is required to build QEMU driver') - endif - endif - - if not conf.has('WITH_LIBVIRTD') - use_qemu = false - if get_option('driver_qemu').enabled() - error('libvirtd is required to build QEMU driver') - endif - endif - - if use_qemu - conf.set('WITH_QEMU', 1) - - qemu_moddir = get_option('qemu_moddir') - if qemu_moddir == '' - qemu_moddir = libdir / 'qemu' - endif - conf.set_quoted('QEMU_MODDIR', qemu_moddir) - - qemu_datadir = get_option('qemu_datadir') - if qemu_datadir == '' - qemu_datadir = datadir / 'qemu' - endif - conf.set_quoted('QEMU_DATADIR', qemu_datadir) - - qemu_user = get_option('qemu_user') - qemu_group = get_option('qemu_group') - if (qemu_user == '' and qemu_group != '') or (qemu_user != '' and qemu_group == '') - error('Please specify both qemu_user and qemu_group or neither of them') - endif - if qemu_user == '' and qemu_group == '' - if host_machine.system() in [ 'freebsd', 'darwin' ] - qemu_user = 'root' - qemu_group = 'wheel' - else - # RHEL and CentOS both have ID_LIKE=fedora, SLES has ID_LIKE=suse - if (os_release.contains('fedora') or - os_release.contains('gentoo') or - os_release.contains('suse')) - qemu_user = 'qemu' - qemu_group = 'qemu' - # Ubuntu has ID_LIKE=debian so we need to handle it first - elif os_release.contains('ubuntu') - qemu_user = 'libvirt-qemu' - qemu_group = 'kvm' - elif (os_release.contains('arch') or - os_release.contains('debian')) - qemu_user = 'libvirt-qemu' - qemu_group = 'libvirt-qemu' - else - qemu_user = 'root' - qemu_group = 'root' - endif - endif - endif - conf.set_quoted('QEMU_USER', qemu_user) - conf.set_quoted('QEMU_GROUP', qemu_group) - - qemu_slirp_prog = find_program( - 'slirp-helper', - dirs: [ '/usr/bin', '/usr/libexec' ], - required: false - ) - if qemu_slirp_prog.found() - qemu_slirp_path = qemu_slirp_prog.full_path() - else - qemu_slirp_path = '/usr/bin/slirp-helper' - endif - conf.set_quoted('QEMU_SLIRP_HELPER', qemu_slirp_path) - endif +if get_option('driver_qemu').enabled() + error('QEMU driver has been deprecated') endif if not get_option('driver_secrets').disabled() and conf.has('WITH_LIBVIRTD') -- 2.49.0

From: Ján Tomko <jtomko@redhat.com> Signed-off-by: Ján Tomko <jtomko@redhat.com> --- docs/html/meson.build | 2 +- docs/manpages/meson.build | 4 - docs/meson.build | 7 +- meson.build | 16 +--- src/meson.build | 64 +-------------- src/remote/meson.build | 12 +-- src/security/apparmor/meson.build | 4 +- tests/meson.build | 101 ------------------------ tools/meson.build | 16 ---- tools/wireshark/src/libvirt/meson.build | 2 - 10 files changed, 9 insertions(+), 219 deletions(-) diff --git a/docs/html/meson.build b/docs/html/meson.build index abb4fcf72a..c8c70886b8 100644 --- a/docs/html/meson.build +++ b/docs/html/meson.build @@ -40,7 +40,7 @@ index_api_gen = custom_target( docs_html_gen += index_api_gen.to_list() docs_html_dep += index_api_gen -foreach name : [ 'admin', 'lxc', 'qemu' ] +foreach name : [ 'admin', 'lxc'] index_api_gen = custom_target( 'index-@0@-api'.format(name), input: [ diff --git a/docs/manpages/meson.build b/docs/manpages/meson.build index bdc17011a8..8a43d6de7d 100644 --- a/docs/manpages/meson.build +++ b/docs/manpages/meson.build @@ -17,10 +17,7 @@ docs_man_files = [ { 'name': 'virt-login-shell', 'section': '1', 'install': conf.has('WITH_LOGIN_SHELL') }, { 'name': 'virt-pki-query-dn', 'section': '1', 'install': true }, { 'name': 'virt-pki-validate', 'section': '1', 'install': true }, - { 'name': 'virt-qemu-run', 'section': '1', 'install': conf.has('WITH_QEMU') }, - { 'name': 'virt-qemu-qmp-proxy', 'section': '1', 'install': conf.has('WITH_QEMU') }, { 'name': 'virt-xml-validate', 'section': '1', 'install': true }, - { 'name': 'virt-qemu-sev-validate', 'section': '1', 'install': conf.has('WITH_QEMU') }, { 'name': 'libvirt-guests', 'section': '8', 'install': conf.has('WITH_LIBVIRTD') }, { 'name': 'libvirtd', 'section': '8', 'install': conf.has('WITH_LIBVIRTD') }, @@ -35,7 +32,6 @@ docs_man_files = [ { 'name': 'virtnodedevd', 'section': '8', 'install': conf.has('WITH_NODE_DEVICES') }, { 'name': 'virtnwfilterd', 'section': '8', 'install': conf.has('WITH_NWFILTER') }, { 'name': 'virtproxyd', 'section': '8', 'install': conf.has('WITH_LIBVIRTD') }, - { 'name': 'virtqemud', 'section': '8', 'install': conf.has('WITH_QEMU') }, { 'name': 'virtsecretd', 'section': '8', 'install': conf.has('WITH_SECRETS') }, { 'name': 'virtstoraged', 'section': '8', 'install': conf.has('WITH_STORAGE') }, { 'name': 'virtvboxd', 'section': '8', 'install': conf.has('WITH_VBOX') }, diff --git a/docs/meson.build b/docs/meson.build index d7343b6665..79b2cc8d83 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -139,7 +139,6 @@ docs_api_generated = custom_target( output: [ 'libvirt-api.xml', 'libvirt-lxc-api.xml', - 'libvirt-qemu-api.xml', 'libvirt-admin-api.xml', ], command: [ @@ -153,20 +152,17 @@ docs_api_generated = custom_target( libvirt_common_h_in, libvirt_include, driver_sources, - libvirt_qemu_sources, libvirt_lxc_sources, admin_sources, util_public_sources, meson.project_source_root() / 'src' / 'remote' / 'remote_protocol.x', - meson.project_source_root() / 'src' / 'remote' / 'qemu_protocol.x', meson.project_source_root() / 'src' / 'remote' / 'lxc_protocol.x', ], ) docs_api_xml = docs_api_generated[0] docs_lxc_api_xml = docs_api_generated[1] -docs_qemu_api_xml = docs_api_generated[2] -docs_admin_api_xml = docs_api_generated[3] +docs_admin_api_xml = docs_api_generated[2] docs_programs_groups = [ { 'name': 'rst2html5', 'prog': [ 'rst2html5', 'rst2html5.py', 'rst2html5-3' ] }, @@ -263,7 +259,6 @@ hvsupport_html_in = custom_target( capture: true, depend_files: [ public_sym_file, - libvirt_qemu_syms, libvirt_lxc_syms, driver_header, ], diff --git a/meson.build b/meson.build index 4929ccb42a..f275b991b3 100644 --- a/meson.build +++ b/meson.build @@ -714,7 +714,7 @@ endforeach # check for kernel header required by src/util/virnetdevbridge.c if host_machine.system() == 'linux' if not cc.check_header('linux/sockios.h') - error('You must install kernel-headers in order to compile libvirt with QEMU or LXC support') + error('You must install kernel-headers in order to compile libvirt with LXC support') endif endif @@ -1720,7 +1720,7 @@ elif get_option('secdriver_selinux').enabled() error('You must install the libselinux development package in order to compile libvirt.') endif -if conf.has('WITH_QEMU') or conf.has('WITH_LXC') or conf.has('WITH_NETWORK') +if conf.has('WITH_LXC') or conf.has('WITH_NETWORK') conf.set('WITH_BRIDGE', 1) endif @@ -2104,7 +2104,6 @@ subdir('build-aux') # install pkgconfig files pkgconfig_files = [ 'libvirt.pc.in', - 'libvirt-qemu.pc.in', 'libvirt-lxc.pc.in', 'libvirt-admin.pc.in', ] @@ -2341,14 +2340,3 @@ if missing_optional_programs.length() > 0 } summary(test_programs_summary, section: 'Optional programs', bool_yn: true) endif - -if conf.has('WITH_QEMU') - qemu_warn = '' - if qemu_user == 'root' - qemu_warn = ' !!! running QEMU as root is strongly discouraged !!!' - endif - priv_summary = { - 'QEMU': '@0@:@1@@2@'.format(qemu_user, qemu_group, qemu_warn), - } - summary(priv_summary, section: 'Privileges') -endif diff --git a/src/meson.build b/src/meson.build index 9a818dab50..716d337dc3 100644 --- a/src/meson.build +++ b/src/meson.build @@ -283,7 +283,6 @@ subdir('libxl') subdir('lxc') subdir('ch') subdir('openvz') -subdir('qemu') subdir('test') subdir('vbox') subdir('vmware') @@ -423,65 +422,6 @@ libvirt_lib = shared_library( ) -# libvirt-qemu.syms symbol files - -libvirt_qemu_syms = meson.current_source_dir() / 'libvirt_qemu.syms' - -if host_machine.system() == 'windows' - libvirt_qemu_def = custom_target( - 'libvirt_qemu.def', - input: libvirt_qemu_syms, - output: 'libvirt_qemu.def', - command: [ - meson_gen_def_prog, - '@INPUT@', '@OUTPUT@', - ], - ) - libvirt_qemu_syms_file = libvirt_qemu_def - libvirt_qemu_syms_path = libvirt_qemu_syms_file.full_path() -else - libvirt_qemu_syms_file = libvirt_qemu_syms - libvirt_qemu_syms_path = libvirt_qemu_syms -endif - - -# libvirt-qemu.so - -libvirt_qemu_link_args = [ - libvirt_nodelete, -] -libvirt_qemu_link_depends = [] - -if version_script_flags != '' - libvirt_qemu_link_args += '@0@@1@'.format( - version_script_flags, - libvirt_qemu_syms_path, - ) - libvirt_qemu_link_depends += libvirt_qemu_syms_file -endif - -libvirt_qemu_sources = files( - 'libvirt-qemu.c', -) - -libvirt_qemu_lib = shared_library( - 'virt-qemu', - libvirt_qemu_sources, - dependencies: [ - src_dep, - ], - link_args: libvirt_qemu_link_args, - link_with: [ - libvirt_lib, - ], - link_depends: libvirt_qemu_link_depends, - install: true, - install_rpath: libvirt_rpath, - version: libvirt_lib_version, - soversion: libvirt_so_version, -) - - # libvirt-lxc.so symbol files libvirt_lxc_syms = meson.current_source_dir() / 'libvirt_lxc.syms' @@ -654,7 +594,6 @@ foreach daemon : virt_daemons admin_driver_lib, libvirt_lib, libvirt_lxc_lib, - libvirt_qemu_lib, ], link_args: [ libvirt_no_undefined, @@ -1022,7 +961,7 @@ if tests_enabled[0] python3_prog, args: [ check_drivername_prog.full_path(), files(driver_headers), - files('libvirt_public.syms'), libvirt_qemu_syms, libvirt_lxc_syms, + files('libvirt_public.syms'), libvirt_lxc_syms, ], env: runutf8, suite: 'script' @@ -1109,7 +1048,6 @@ endif # configure pkg-config files for run script run_pkg_config_files = [ 'libvirt-lxc.pc.in', - 'libvirt-qemu.pc.in', 'libvirt.pc.in', ] diff --git a/src/remote/meson.build b/src/remote/meson.build index 59be94399b..49794683f4 100644 --- a/src/remote/meson.build +++ b/src/remote/meson.build @@ -5,7 +5,7 @@ remote_driver_sources = [ remote_driver_generated = [] -foreach name : [ 'remote', 'qemu', 'lxc' ] +foreach name : [ 'remote', 'lxc' ] client_bodies_h = '@0@_client_bodies.h'.format(name) protocol_x = '@0@_protocol.x'.format(name) @@ -22,7 +22,7 @@ endforeach remote_protocol_generated = [] -foreach name : [ 'remote', 'lxc' ] +foreach name : [ 'remote', 'lxc', 'qemu' ] protocol_c = '@0@_protocol.c'.format(name) protocol_h = '@0@_protocol.h'.format(name) protocol_x = '@0@_protocol.x'.format(name) @@ -70,7 +70,7 @@ virt_ssh_helper_dep = [ src_dep, ] -foreach name : [ 'remote', 'qemu', 'lxc' ] +foreach name : [ 'remote', 'lxc' ] protocol_x = '@0@_protocol.x'.format(name) dispatch_h = '@0@_daemon_dispatch_stubs.h'.format(name) @@ -139,7 +139,6 @@ libvirtd_socket_unit_files = [ ] logrotate_files = [ - 'libvirtd.qemu', 'libvirtd.lxc', 'libvirtd.libxl', 'libvirtd', @@ -169,11 +168,6 @@ if conf.has('WITH_REMOTE') 'lib': remote_driver_lib, } - check_protocols += { - 'name': 'qemu_protocol', - 'lib': remote_driver_lib, - } - check_protocols += { 'name': 'lxc_protocol', 'lib': remote_driver_lib, diff --git a/src/security/apparmor/meson.build b/src/security/apparmor/meson.build index b9257c816d..1629737fb0 100644 --- a/src/security/apparmor/meson.build +++ b/src/security/apparmor/meson.build @@ -1,12 +1,10 @@ apparmor_gen_profiles = [ 'usr.lib.libvirt.virt-aa-helper', 'usr.sbin.libvirtd', - 'usr.sbin.virtqemud', 'usr.sbin.virtxend', ] apparmor_gen_abstractions = [ - 'libvirt-qemu', 'libvirt-lxc', ] @@ -73,7 +71,7 @@ foreach name : apparmor_gen_abstractions endforeach install_data( - [ 'TEMPLATE.qemu', 'TEMPLATE.lxc' ], + [ 'TEMPLATE.lxc' ], install_dir: apparmor_dir / 'libvirt', ) diff --git a/tests/meson.build b/tests/meson.build index 0d76d37959..e8c41aead9 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -149,46 +149,6 @@ else test_utils_lxc_lib = [] endif -if conf.has('WITH_QEMU') - test_utils_qemu_lib = static_library( - 'test_utils_qemu', - [ 'testutilsqemu.c', 'testutilsqemuschema.c' ], - dependencies: [ tests_dep ], - ) - - test_utils_qemu_monitor_lib = static_library( - 'test_utils_qemu_monitor', - [ 'qemumonitortestutils.c', ], - dependencies: [ tests_dep ], - ) - - test_qemu_driver_lib = shared_library( - 'test_qemu_driver', - [ qemu_dtrace_gen_objects ], - link_args: [ libvirt_flat_namespace ], - link_whole: [ qemu_driver_impl ], - link_with: [ libvirt_lib ], - ) - - mock_libs += [ - { 'name': 'qemucaps2xmlmock' }, - { 'name': 'qemucapsprobemock', 'link_with': [ test_qemu_driver_lib ] }, - { 'name': 'qemucpumock' }, - { 'name': 'qemuhotplugmock', 'link_with': [ test_qemu_driver_lib, test_utils_qemu_lib, test_utils_lib ] }, - { 'name': 'qemuxml2argvmock' }, - { 'name': 'virhostidmock' }, - ] -else - test_qemu_driver_lib = [] - test_utils_qemu_lib = [] - test_utils_qemu_monitor_lib = [] -endif - -mock_libs += [ - # domaincapsmock has some code guarded with WITH_QEMU - { 'name': 'domaincapsmock', 'link_with': [ test_qemu_driver_lib ] }, -] - test_file_wrapper_lib = static_library( 'test_file_wrapper', [ 'virfilewrapper.c' ], @@ -240,10 +200,6 @@ tests = [] cputest_link_with = [] cputest_link_whole = [] -if conf.has('WITH_QEMU') - cputest_link_with += [ test_utils_qemu_monitor_lib, test_qemu_driver_lib ] - cputest_link_whole += [ test_utils_qemu_lib ] -endif domaincapstest_link_with = [] domaincapstest_link_whole = [ test_file_wrapper_lib ] @@ -254,10 +210,6 @@ if conf.has('WITH_LIBXL') domaincapstest_link_with += [ test_xen_driver_lib ] domaincapstest_link_whole += [ test_utils_xen_lib ] endif -if conf.has('WITH_QEMU') - domaincapstest_link_with += [ test_qemu_driver_lib ] - domaincapstest_link_whole += [ test_utils_qemu_lib ] -endif tests += [ { 'name': 'commandtest' }, @@ -452,33 +404,6 @@ if conf.has('WITH_POLKIT') ] endif -if conf.has('WITH_QEMU') - tests += [ - { 'name': 'qemuagenttest', 'link_with': [ test_qemu_driver_lib, test_utils_qemu_monitor_lib ], 'link_whole': [ test_utils_qemu_lib ] }, - { 'name': 'qemublocktest', 'include': [ storage_file_inc_dir ], 'link_with': [ test_qemu_driver_lib, test_utils_qemu_monitor_lib ], 'link_whole': [ test_utils_qemu_lib ] }, - { 'name': 'qemucapabilitiestest', 'link_with': [ test_qemu_driver_lib, test_utils_qemu_monitor_lib ], 'link_whole': [ test_utils_qemu_lib ] }, - { 'name': 'qemucaps2xmltest', 'link_with': [ test_qemu_driver_lib ], 'link_whole': [ test_utils_qemu_lib ] }, - { 'name': 'qemucommandutiltest', 'link_with': [ test_qemu_driver_lib, test_utils_qemu_monitor_lib ], 'link_whole': [ test_utils_qemu_lib ] }, - { 'name': 'qemudomaincheckpointxml2xmltest', 'link_with': [ test_qemu_driver_lib ], 'link_whole': [ test_utils_qemu_lib ] }, - { 'name': 'qemudomainsnapshotxml2xmltest', 'link_with': [ test_qemu_driver_lib ], 'link_whole': [ test_utils_qemu_lib ] }, - { 'name': 'qemufirmwaretest', 'link_with': [ test_qemu_driver_lib ], 'link_whole': [ test_file_wrapper_lib ] }, - { 'name': 'qemuhotplugtest', 'link_with': [ test_qemu_driver_lib, test_utils_qemu_monitor_lib ], 'link_whole': [ test_utils_qemu_lib ] }, - { 'name': 'qemumemlocktest', 'link_with': [ test_qemu_driver_lib ], 'link_whole': [ test_utils_qemu_lib ] }, - { 'name': 'qemumigparamstest', 'link_with': [ test_qemu_driver_lib, test_utils_qemu_monitor_lib ], 'link_whole': [ test_utils_qemu_lib ] }, - { 'name': 'qemumigrationcookiexmltest', 'link_with': [ test_qemu_driver_lib, test_utils_qemu_monitor_lib ], 'link_whole': [ test_utils_qemu_lib, test_file_wrapper_lib ] }, - { 'name': 'qemumonitorjsontest', 'link_with': [ test_qemu_driver_lib, test_utils_qemu_monitor_lib ], 'link_whole': [ test_utils_qemu_lib ] }, - { 'name': 'qemusecuritytest', 'sources': [ 'qemusecuritytest.c', 'qemusecuritymock.c' ], 'link_with': [ test_qemu_driver_lib ], 'link_whole': [ test_utils_qemu_lib ] }, - { 'name': 'qemuxmlactivetest', 'link_with': [ test_qemu_driver_lib ], 'link_whole': [ test_utils_qemu_lib, test_file_wrapper_lib ] }, - { 'name': 'qemuvhostusertest', 'link_with': [ test_qemu_driver_lib ], 'link_whole': [ test_file_wrapper_lib ] }, - { 'name': 'qemuxmlconftest', 'timeout': 90, 'link_with': [ test_qemu_driver_lib, test_utils_qemu_monitor_lib ], 'link_whole': [ test_utils_qemu_lib, test_file_wrapper_lib ] }, - ] - if conf.has('WITH_NBDKIT') - tests += [ - { 'name': 'qemunbdkittest', 'link_with': [ test_qemu_driver_lib ], 'link_whole': [ test_utils_qemu_lib, test_file_wrapper_lib ] }, - ] - endif -endif - if conf.has('WITH_REMOTE') tests += [ { 'name': 'virnetdaemontest' }, @@ -506,11 +431,6 @@ if conf.has('WITH_SECDRIVER_SELINUX') { 'name': 'securityselinuxtest' }, ] - if conf.has('WITH_QEMU') - tests += [ - { 'name': 'securityselinuxlabeltest', 'link_with': [ test_qemu_driver_lib ], 'link_whole': [ test_utils_qemu_lib ] }, - ] - endif endif endif @@ -622,18 +542,6 @@ foreach data : tests ) endforeach -test( - 'qemu replies check', - python3_prog, - args: [ - qemu_replies_tool_prog.full_path(), - '--repliesdir', - meson.project_source_root() / 'tests' / 'qemucapabilitiesdata' - ], - env: runutf8, - suite: 'script', -) - if conf.has('WITH_TEST') # vsh based client self-test, which can be run directly from meson test('virsh self-test', @@ -680,15 +588,6 @@ if conf.has('WITH_NSS') ] endif -if conf.has('WITH_QEMU') - helpers += [ - { - 'name': 'qemucapsprobe', - 'link_with': [ test_qemu_driver_lib, libvirt_lib ], - }, - ] -endif - foreach data : helpers helper_sources = '@0@.c'.format(data['name']) helper_bin = executable( diff --git a/tools/meson.build b/tools/meson.build index 4d5c9e4bba..3454ab5ff8 100644 --- a/tools/meson.build +++ b/tools/meson.build @@ -45,11 +45,6 @@ if conf.has('WITH_HOST_VALIDATE') 'virt-host-validate-common.c', ] - if conf.has('WITH_QEMU') - virt_host_validate_sources += [ - 'virt-host-validate-qemu.c', - ] - endif if conf.has('WITH_LXC') virt_host_validate_sources += [ 'virt-host-validate-lxc.c', @@ -208,7 +203,6 @@ virsh_prog = executable( ], link_with: [ libvirt_lxc_lib, - libvirt_qemu_lib, libvirt_shell_lib, ], install: true, @@ -329,11 +323,6 @@ if conf.has('WITH_SANLOCK') ) endif -if conf.has('WITH_QEMU') - install_data('virt-qemu-sev-validate', - install_dir: bindir) -endif - if conf.has('WITH_LIBVIRTD') configure_file( input: 'libvirt-guests.sh.in', @@ -355,11 +344,6 @@ if conf.has('WITH_LIBVIRTD') endif endif -if conf.has('WITH_QEMU') - install_data('virt-qemu-qmp-proxy', - install_dir: bindir) -endif - if bash_completion_dep.found() subdir('bash-completion') endif diff --git a/tools/wireshark/src/libvirt/meson.build b/tools/wireshark/src/libvirt/meson.build index 9c3b8aadc1..10866c0f81 100644 --- a/tools/wireshark/src/libvirt/meson.build +++ b/tools/wireshark/src/libvirt/meson.build @@ -2,14 +2,12 @@ wireshark_protocol = custom_target( 'protocol.h', input: [ meson.project_source_root() / 'src' / 'remote' / 'remote_protocol.x', - meson.project_source_root() / 'src' / 'remote' / 'qemu_protocol.x', meson.project_source_root() / 'src' / 'remote' / 'lxc_protocol.x', meson.project_source_root() / 'src' / 'rpc' / 'virkeepaliveprotocol.x', ], output: [ 'protocol.h', 'remote.h', - 'qemu.h', 'lxc.h', 'keepalive.h', ], -- 2.49.0

From: Ján Tomko <jtomko@redhat.com> Signed-off-by: Ján Tomko <jtomko@redhat.com> --- [Heavily shortened] src/qemu/libvirt-qemu.sysusers.conf | 4 - src/qemu/libvirt_qemu_probes.d | 22 - src/qemu/libvirtd_qemu.aug | 205 - src/qemu/meson.build | 244 - src/qemu/postcopy-migration.sysctl | 6 - src/qemu/qemu.conf.in | 1128 -- src/qemu/qemu_agent.c | 2601 ---- src/qemu/qemu_agent.h | 197 - src/qemu/qemu_alias.c | 899 -- src/qemu/qemu_alias.h | 104 - src/qemu/qemu_backup.c | 1169 -- src/qemu/qemu_backup.h | 61 - src/qemu/qemu_block.c | 4055 ----- src/qemu/qemu_block.h | 378 - src/qemu/qemu_blockjob.c | 1765 --- src/qemu/qemu_blockjob.h | 242 - src/qemu/qemu_capabilities.c | 7070 --------- src/qemu/qemu_capabilities.h | 958 -- src/qemu/qemu_capspriv.h | 107 - src/qemu/qemu_cgroup.c | 963 -- src/qemu/qemu_cgroup.h | 69 - src/qemu/qemu_chardev.c | 506 - src/qemu/qemu_chardev.h | 23 - src/qemu/qemu_checkpoint.c | 908 -- src/qemu/qemu_checkpoint.h | 86 - src/qemu/qemu_command.c | 11272 -------------- src/qemu/qemu_command.h | 282 - src/qemu/qemu_conf.c | 1849 --- src/qemu/qemu_conf.h | 391 - src/qemu/qemu_dbus.c | 356 - src/qemu/qemu_dbus.h | 42 - src/qemu/qemu_domain.c | 11539 -------------- src/qemu/qemu_domain.h | 1175 -- src/qemu/qemu_domain_address.c | 3322 ---- src/qemu/qemu_domain_address.h | 53 - src/qemu/qemu_domainjob.c | 767 - src/qemu/qemu_domainjob.h | 112 - src/qemu/qemu_driver.c | 20649 ------------------------- src/qemu/qemu_driver.h | 24 - src/qemu/qemu_extdevice.c | 490 - src/qemu/qemu_extdevice.h | 69 - src/qemu/qemu_fd.c | 449 - src/qemu/qemu_fd.h | 85 - src/qemu/qemu_firmware.c | 2035 --- src/qemu/qemu_firmware.h | 59 - src/qemu/qemu_hostdev.c | 376 - src/qemu/qemu_hostdev.h | 101 - src/qemu/qemu_hotplug.c | 7510 --------- src/qemu/qemu_hotplug.h | 137 - src/qemu/qemu_interface.c | 217 - src/qemu/qemu_interface.h | 39 - src/qemu/qemu_interop_config.c | 162 - src/qemu/qemu_interop_config.h | 25 - src/qemu/qemu_migration.c | 7488 --------- src/qemu/qemu_migration.h | 306 - src/qemu/qemu_migration_cookie.c | 1663 -- src/qemu/qemu_migration_cookie.h | 224 - src/qemu/qemu_migration_params.c | 1783 --- src/qemu/qemu_migration_params.h | 192 - src/qemu/qemu_migration_paramspriv.h | 37 - src/qemu/qemu_monitor.c | 4608 ------ src/qemu/qemu_monitor.h | 1673 -- src/qemu/qemu_monitor_json.c | 8967 ----------- src/qemu/qemu_monitor_json.h | 834 - src/qemu/qemu_monitor_priv.h | 104 - src/qemu/qemu_monitor_text.c | 88 - src/qemu/qemu_monitor_text.h | 29 - src/qemu/qemu_namespace.c | 1770 --- src/qemu/qemu_namespace.h | 95 - src/qemu/qemu_nbdkit.c | 1332 -- src/qemu/qemu_nbdkit.h | 121 - src/qemu/qemu_nbdkitpriv.h | 31 - src/qemu/qemu_passt.c | 303 - src/qemu/qemu_passt.h | 41 - src/qemu/qemu_postparse.c | 1921 --- src/qemu/qemu_postparse.h | 54 - src/qemu/qemu_process.c | 10222 ------------ src/qemu/qemu_process.h | 271 - src/qemu/qemu_processpriv.h | 39 - src/qemu/qemu_qapi.c | 563 - src/qemu/qemu_qapi.h | 36 - src/qemu/qemu_rdp.c | 424 - src/qemu/qemu_rdp.h | 73 - src/qemu/qemu_saveimage.c | 832 - src/qemu/qemu_saveimage.h | 158 - src/qemu/qemu_security.c | 783 - src/qemu/qemu_security.h | 157 - src/qemu/qemu_shim.c | 418 - src/qemu/qemu_slirp.c | 348 - src/qemu/qemu_slirp.h | 72 - src/qemu/qemu_snapshot.c | 4661 ------ src/qemu/qemu_snapshot.h | 91 - src/qemu/qemu_tpm.c | 1377 -- src/qemu/qemu_tpm.h | 70 - src/qemu/qemu_validate.c | 5616 ------- src/qemu/qemu_validate.h | 46 - src/qemu/qemu_vhost_user.c | 512 - src/qemu/qemu_vhost_user.h | 59 - src/qemu/qemu_vhost_user_gpu.c | 251 - src/qemu/qemu_vhost_user_gpu.h | 48 - src/qemu/qemu_virtiofs.c | 481 - src/qemu/qemu_virtiofs.h | 45 - src/qemu/test_libvirtd_qemu.aug.in | 138 - src/qemu/virtqemud.init.in | 26 - src/qemu/virtqemud.service.extra.in | 18 - src/qemu/virtqemud.socket.extra.in | 2 - 106 files changed, 148858 deletions(-) delete mode 100644 src/qemu/libvirt-qemu.sysusers.conf delete mode 100644 src/qemu/libvirt_qemu_probes.d delete mode 100644 src/qemu/libvirtd_qemu.aug delete mode 100644 src/qemu/meson.build delete mode 100644 src/qemu/postcopy-migration.sysctl delete mode 100644 src/qemu/qemu.conf.in delete mode 100644 src/qemu/qemu_agent.c delete mode 100644 src/qemu/qemu_agent.h delete mode 100644 src/qemu/qemu_alias.c delete mode 100644 src/qemu/qemu_alias.h delete mode 100644 src/qemu/qemu_backup.c delete mode 100644 src/qemu/qemu_backup.h delete mode 100644 src/qemu/qemu_block.c delete mode 100644 src/qemu/qemu_block.h delete mode 100644 src/qemu/qemu_blockjob.c delete mode 100644 src/qemu/qemu_blockjob.h delete mode 100644 src/qemu/qemu_capabilities.c delete mode 100644 src/qemu/qemu_capabilities.h delete mode 100644 src/qemu/qemu_capspriv.h delete mode 100644 src/qemu/qemu_cgroup.c delete mode 100644 src/qemu/qemu_cgroup.h delete mode 100644 src/qemu/qemu_chardev.c delete mode 100644 src/qemu/qemu_chardev.h delete mode 100644 src/qemu/qemu_checkpoint.c delete mode 100644 src/qemu/qemu_checkpoint.h delete mode 100644 src/qemu/qemu_command.c delete mode 100644 src/qemu/qemu_command.h delete mode 100644 src/qemu/qemu_conf.c delete mode 100644 src/qemu/qemu_conf.h delete mode 100644 src/qemu/qemu_dbus.c delete mode 100644 src/qemu/qemu_dbus.h delete mode 100644 src/qemu/qemu_domain.c delete mode 100644 src/qemu/qemu_domain.h delete mode 100644 src/qemu/qemu_domain_address.c delete mode 100644 src/qemu/qemu_domain_address.h delete mode 100644 src/qemu/qemu_domainjob.c delete mode 100644 src/qemu/qemu_domainjob.h delete mode 100644 src/qemu/qemu_driver.c delete mode 100644 src/qemu/qemu_driver.h delete mode 100644 src/qemu/qemu_extdevice.c delete mode 100644 src/qemu/qemu_extdevice.h delete mode 100644 src/qemu/qemu_fd.c delete mode 100644 src/qemu/qemu_fd.h delete mode 100644 src/qemu/qemu_firmware.c delete mode 100644 src/qemu/qemu_firmware.h delete mode 100644 src/qemu/qemu_hostdev.c delete mode 100644 src/qemu/qemu_hostdev.h delete mode 100644 src/qemu/qemu_hotplug.c delete mode 100644 src/qemu/qemu_hotplug.h delete mode 100644 src/qemu/qemu_interface.c delete mode 100644 src/qemu/qemu_interface.h delete mode 100644 src/qemu/qemu_interop_config.c delete mode 100644 src/qemu/qemu_interop_config.h delete mode 100644 src/qemu/qemu_migration.c delete mode 100644 src/qemu/qemu_migration.h delete mode 100644 src/qemu/qemu_migration_cookie.c delete mode 100644 src/qemu/qemu_migration_cookie.h delete mode 100644 src/qemu/qemu_migration_params.c delete mode 100644 src/qemu/qemu_migration_params.h delete mode 100644 src/qemu/qemu_migration_paramspriv.h delete mode 100644 src/qemu/qemu_monitor.c delete mode 100644 src/qemu/qemu_monitor.h delete mode 100644 src/qemu/qemu_monitor_json.c delete mode 100644 src/qemu/qemu_monitor_json.h delete mode 100644 src/qemu/qemu_monitor_priv.h delete mode 100644 src/qemu/qemu_monitor_text.c delete mode 100644 src/qemu/qemu_monitor_text.h delete mode 100644 src/qemu/qemu_namespace.c delete mode 100644 src/qemu/qemu_namespace.h delete mode 100644 src/qemu/qemu_nbdkit.c delete mode 100644 src/qemu/qemu_nbdkit.h delete mode 100644 src/qemu/qemu_nbdkitpriv.h delete mode 100644 src/qemu/qemu_passt.c delete mode 100644 src/qemu/qemu_passt.h delete mode 100644 src/qemu/qemu_postparse.c delete mode 100644 src/qemu/qemu_postparse.h delete mode 100644 src/qemu/qemu_process.c delete mode 100644 src/qemu/qemu_process.h delete mode 100644 src/qemu/qemu_processpriv.h delete mode 100644 src/qemu/qemu_qapi.c delete mode 100644 src/qemu/qemu_qapi.h delete mode 100644 src/qemu/qemu_rdp.c delete mode 100644 src/qemu/qemu_rdp.h delete mode 100644 src/qemu/qemu_saveimage.c delete mode 100644 src/qemu/qemu_saveimage.h delete mode 100644 src/qemu/qemu_security.c delete mode 100644 src/qemu/qemu_security.h delete mode 100644 src/qemu/qemu_shim.c delete mode 100644 src/qemu/qemu_slirp.c delete mode 100644 src/qemu/qemu_slirp.h delete mode 100644 src/qemu/qemu_snapshot.c delete mode 100644 src/qemu/qemu_snapshot.h delete mode 100644 src/qemu/qemu_tpm.c delete mode 100644 src/qemu/qemu_tpm.h delete mode 100644 src/qemu/qemu_validate.c delete mode 100644 src/qemu/qemu_validate.h delete mode 100644 src/qemu/qemu_vhost_user.c delete mode 100644 src/qemu/qemu_vhost_user.h delete mode 100644 src/qemu/qemu_vhost_user_gpu.c delete mode 100644 src/qemu/qemu_vhost_user_gpu.h delete mode 100644 src/qemu/qemu_virtiofs.c delete mode 100644 src/qemu/qemu_virtiofs.h delete mode 100644 src/qemu/test_libvirtd_qemu.aug.in delete mode 100644 src/qemu/virtqemud.init.in delete mode 100644 src/qemu/virtqemud.service.extra.in delete mode 100644 src/qemu/virtqemud.socket.extra.in

From: Ján Tomko <jtomko@redhat.com> Signed-off-by: Ján Tomko <jtomko@redhat.com> --- tests/qemuagentdata/fsinfo.xml | 39 - tests/qemuagenttest.c | 1442 - tests/qemublocktest.c | 1395 - .../backupmerge/basic-deep-out.json | 25 - .../backupmerge/basic-flat-out.json | 25 - [..] ...fault-models.x86_64-latest.abi-update.args | 42 - ...efault-models.x86_64-latest.abi-update.xml | 53 - ...86_64-pc-default-models.x86_64-latest.args | 42 - ...x86_64-pc-default-models.x86_64-latest.xml | 53 - .../x86_64-pc-default-models.xml | 24 - .../x86_64-pc-graphics.x86_64-latest.args | 50 - .../x86_64-pc-graphics.x86_64-latest.xml | 86 - tests/qemuxmlconfdata/x86_64-pc-graphics.xml | 56 - .../x86_64-pc-headless.x86_64-latest.args | 48 - .../x86_64-pc-headless.x86_64-latest.xml | 78 - tests/qemuxmlconfdata/x86_64-pc-headless.xml | 51 - ...4-pc-minimal.x86_64-latest.abi-update.args | 33 - ...64-pc-minimal.x86_64-latest.abi-update.xml | 31 - .../x86_64-pc-minimal.x86_64-latest.args | 33 - .../x86_64-pc-minimal.x86_64-latest.xml | 31 - tests/qemuxmlconfdata/x86_64-pc-minimal.xml | 12 - ...fault-models.x86_64-latest.abi-update.args | 47 - ...efault-models.x86_64-latest.abi-update.xml | 71 - ...6_64-q35-default-models.x86_64-latest.args | 47 - ...86_64-q35-default-models.x86_64-latest.xml | 71 - .../x86_64-q35-default-models.xml | 24 - .../x86_64-q35-graphics.x86_64-latest.args | 59 - .../x86_64-q35-graphics.x86_64-latest.xml | 125 - tests/qemuxmlconfdata/x86_64-q35-graphics.xml | 56 - .../x86_64-q35-headless.x86_64-latest.args | 57 - .../x86_64-q35-headless.x86_64-latest.xml | 117 - tests/qemuxmlconfdata/x86_64-q35-headless.xml | 51 - ...-q35-minimal.x86_64-latest.abi-update.args | 38 - ...4-q35-minimal.x86_64-latest.abi-update.xml | 50 - .../x86_64-q35-minimal.x86_64-latest.args | 38 - .../x86_64-q35-minimal.x86_64-latest.xml | 50 - tests/qemuxmlconfdata/x86_64-q35-minimal.xml | 12 - tests/qemuxmlconftest.c | 3032 -- 4261 files changed, 1341886 deletions(-) delete mode 100644 tests/qemuagentdata/fsinfo.xml delete mode 100644 tests/qemuagenttest.c delete mode 100644 tests/qemublocktest.c delete mode 100644 tests/qemublocktestdata/backupmerge/basic-deep-out.json delete mode 100644 tests/qemublocktestdata/backupmerge/basic-flat-out.json delete mode 100644 tests/qemublocktestdata/backupmerge/basic-intermediate-out.json delete mode 100644 tests/qemublocktestdata/backupmerge/empty-out.json delete mode 100644 tests/qemublocktestdata/backupmerge/snapshots-deep-out.json delete mode 100644 tests/qemublocktestdata/backupmerge/snapshots-flat-out.json delete mode 100644 tests/qemublocktestdata/backupmerge/snapshots-intermediate-out.json delete mode 100644 tests/qemublocktestdata/bitmap/basic.json delete mode 100644 tests/qemublocktestdata/bitmap/basic.out delete mode 100644 tests/qemublocktestdata/bitmap/empty.json delete mode 100644 tests/qemublocktestdata/bitmap/empty.out delete mode 100644 tests/qemublocktestdata/bitmap/snapshots-internal.json delete mode 100644 tests/qemublocktestdata/bitmap/snapshots-internal.out delete mode 100644 tests/qemublocktestdata/bitmap/snapshots.json delete mode 100644 tests/qemublocktestdata/bitmap/snapshots.out delete mode 100644 tests/qemuxmlactive2xmldata/disk-mirror-active.x86_64-latest.xml delete mode 100644 tests/qemuxmlactive2xmldata/disk-mirror-inactive.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/balloon-ccw-deflate.s390x-latest.xml delete mode 100644 tests/qemuxmlconfdata/watchdog-diag288.s390x-latest.xml delete mode 100644 tests/qemuxmlconfdata/watchdog-diag288.xml delete mode 100644 tests/qemuxmlconfdata/watchdog-dump.x86_64-latest.args delete mode 100644 tests/qemuxmlconfdata/watchdog-dump.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/watchdog-dump.xml delete mode 100644 tests/qemuxmlconfdata/watchdog-injectnmi.x86_64-latest.args delete mode 100644 tests/qemuxmlconfdata/watchdog-injectnmi.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/watchdog-injectnmi.xml delete mode 100644 tests/qemuxmlconfdata/watchdog-q35-multiple.x86_64-latest.args delete mode 100644 tests/qemuxmlconfdata/watchdog-q35-multiple.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/watchdog-q35-multiple.xml delete mode 100644 tests/qemuxmlconfdata/watchdog.x86_64-latest.args delete mode 100644 tests/qemuxmlconfdata/watchdog.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/watchdog.xml delete mode 100644 tests/qemuxmlconfdata/x86-kvm-32-on-64.x86_64-latest.args delete mode 100644 tests/qemuxmlconfdata/x86-kvm-32-on-64.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/x86-kvm-32-on-64.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-default-cpu-kvm-pc-4.2.x86_64-latest.args delete mode 100644 tests/qemuxmlconfdata/x86_64-default-cpu-kvm-pc-4.2.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-default-cpu-kvm-pc-4.2.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-default-cpu-kvm-q35-4.2.x86_64-latest.args delete mode 100644 tests/qemuxmlconfdata/x86_64-default-cpu-kvm-q35-4.2.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-default-cpu-kvm-q35-4.2.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-default-cpu-tcg-features.x86_64-latest.args delete mode 120000 tests/qemuxmlconfdata/x86_64-default-cpu-tcg-features.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-default-cpu-tcg-features.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-default-cpu-tcg-pc-4.2.x86_64-latest.args delete mode 100644 tests/qemuxmlconfdata/x86_64-default-cpu-tcg-pc-4.2.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-default-cpu-tcg-pc-4.2.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-default-cpu-tcg-q35-4.2.x86_64-latest.args delete mode 100644 tests/qemuxmlconfdata/x86_64-default-cpu-tcg-q35-4.2.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-default-cpu-tcg-q35-4.2.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-pc-default-models.x86_64-latest.abi-update.args delete mode 100644 tests/qemuxmlconfdata/x86_64-pc-default-models.x86_64-latest.abi-update.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-pc-default-models.x86_64-latest.args delete mode 100644 tests/qemuxmlconfdata/x86_64-pc-default-models.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-pc-default-models.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-pc-graphics.x86_64-latest.args delete mode 100644 tests/qemuxmlconfdata/x86_64-pc-graphics.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-pc-graphics.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-pc-headless.x86_64-latest.args delete mode 100644 tests/qemuxmlconfdata/x86_64-pc-headless.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-pc-headless.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-pc-minimal.x86_64-latest.abi-update.args delete mode 100644 tests/qemuxmlconfdata/x86_64-pc-minimal.x86_64-latest.abi-update.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-pc-minimal.x86_64-latest.args delete mode 100644 tests/qemuxmlconfdata/x86_64-pc-minimal.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-pc-minimal.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-default-models.x86_64-latest.abi-update.args delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-default-models.x86_64-latest.abi-update.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-default-models.x86_64-latest.args delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-default-models.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-default-models.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-graphics.x86_64-latest.args delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-graphics.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-graphics.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-headless.x86_64-latest.args delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-headless.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-headless.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-minimal.x86_64-latest.abi-update.args delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-minimal.x86_64-latest.abi-update.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-minimal.x86_64-latest.args delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-minimal.x86_64-latest.xml delete mode 100644 tests/qemuxmlconfdata/x86_64-q35-minimal.xml delete mode 100644 tests/qemuxmlconftest.c diff --git a/tests/qemuagentdata/fsinfo.xml b/tests/qemuagentdata/fsinfo.xml deleted file mode 100644 index 914c2828c6..0000000000 --- a/tests/qemuagentdata/fsinfo.xml +++ /dev/null @@ -1,39 +0,0 @@ -<domain type='qemu'> - <name>QEMUGuest1</name> - <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid> - <memory unit='KiB'>219136</memory> - <currentMemory unit='KiB'>219136</currentMemory> - <vcpu placement='static'>1</vcpu> - <os> - <type arch='x86_64' machine='pc'>hvm</type> - <boot dev='hd'/> - </os> - <clock offset='utc'/> - <on_poweroff>destroy</on_poweroff> - <on_reboot>restart</on_reboot> - <on_crash>destroy</on_crash> - <devices> - <emulator>/usr/bin/qemu-system-x86_64</emulator> - <disk type='file' device='disk'> - <source file='/tmp/idedisk.img'/> - <target dev='hdc' bus='ide'/> - <address type='drive' controller='0' bus='1' target='0' unit='0'/> - </disk> - <disk type='file' device='disk'> - <driver name='qemu' type='qcow2'/> - <source file='/tmp/virtio-blk1.qcow2'/> - <target dev='vda' bus='virtio'/> - <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> - </disk> - <disk type='file' device='disk'> - <driver name='qemu' type='qcow2'/> - <source file='/tmp/virtio-blk2.qcow2'/> - <target dev='vdb' bus='virtio'/> - <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> - </disk> - <controller type='ide' index='0'> - <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> - </controller> - <memballoon model='virtio'/> - </devices> -</domain>

From: Ján Tomko <jtomko@redhat.com> Signed-off-by: Ján Tomko <jtomko@redhat.com> --- NEWS.rst | 64 +++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 40 insertions(+), 24 deletions(-) diff --git a/NEWS.rst b/NEWS.rst index 03efead80f..9a8611ccb0 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -8,7 +8,23 @@ the changes introduced by each of them. For a more fine-grained view, use the `git log`_. -v11.2.0 (unreleased) +v11.3.0 (unreleased) + +* **Security** + +* **Removed features** + + * Remove support for the QEMU driver + + As of today, the QEMU driver is no more. + +* **New features** + +* **Improvements** + +* **Bug fixes** + +v11.2.0 (also unreleased) ==================== * **Security** @@ -350,7 +366,7 @@ v10.10.0 (2024-12-02) * **Improvements** - * qemu: Support UEFI NVRAM images on block storage + * qemu: Support UEFI VRAM images on block storage Libvirt now allows users to use block storage as backend for UEFI NVRAM images and allows them to be in format different than the template. When @@ -408,7 +424,7 @@ v10.9.0 (2024-11-01) * qemu: internal snapshot improvements - The qemu internal snapshot handling code was updated to use modern commands + The qmu internal snapshot handling code was updated to use modern commands which avoid the problems the old ones had, preventing use of internal snapshots on VMs with UEFI NVRAM. Internal snapshots of VMs using UEFI are now possible provided that the NVRAM is in ``qcow2`` format. @@ -446,7 +462,7 @@ v10.8.0 (2024-10-01) It is now permissable to have a ``<forward mode='open'>`` network that has no IP address assigned to the host's port of the bridge. This is the only way to create a libvirt network where guests are - unreachable from the host (and vice versa) and also 0 firewall + unreachable from the host (and vice ersa) and also 0 firewall rules are added on the host. It is now also possible for a ``<forward mode='open'/>`` network to @@ -531,7 +547,7 @@ v10.7.0 (2024-09-02) * CVE-2024-8235: Crash of ``virtinterfaced`` via ``virConnectListInterfaces()`` A refactor of the code fetching the list of interfaces for multiple APIs - introduced corner case on platforms where allocating 0 bytes of memory + introduced cornr case on platforms where allocating 0 bytes of memory results in a NULL pointer. This corner case would lead to a NULL-pointer dereference and subsequent @@ -578,7 +594,7 @@ v10.6.0 (2024-08-05) * qemu: Require QEMU-5.2.0 or newer - The minimal required version of QEMU was bumped to 5.2.0. + The minimal requied version of QEMU was bumped to 5.2.0. * **New features** @@ -652,7 +668,7 @@ v10.5.0 (2024-07-01) * Pass shutoff reason to release hook Sometimes in release hook it is useful to know if the VM shutdown was - graceful or not. This is especially useful to do cleanup based on the VM + graceful or not. This is especially useful todo cleanup based on the VM shutdown failure reason in release hook. Starting with this release the last argument 'extra' is used to pass VM shutoff reason in the call to release hook. @@ -698,7 +714,7 @@ v10.4.0 (2024-06-03) used in the virNetClientIOEventFD callback while the data pointer's stack frame was concurrently being "freed" when returning from virNetClientIOEventLoop(). This flaw allows a local, unprivileged user to access virtproxyd without - authenticating. + authenticatin. * **New features** @@ -799,7 +815,7 @@ v10.3.0 (2024-05-02) Some PCI devices have large non-prefetchable memory. This can be a problem in case when such device needs to be hotplugged as the firmware can't - foresee such situation. The user thus can override the value calculated at + foresee such situation. The user thus can verride the value calculated at start to accomodate for such devices. * **Improvements** @@ -859,7 +875,7 @@ v10.2.0 (2024-04-02) Fix the flaw of the RPC library APIs of libvirt. The RPC server de-serialization code allocates memory for arrays before the non-negative - length check is performed by the C API entry points. Passing a negative length + length check is performed by the C API entry poits. Passing a negative length to the g_new0 function results in a crash due to the negative length being treated as a huge positive number. A local unprivileged user could use this flaw to perform a denial of service attack by causing the libvirt daemon to @@ -947,7 +963,7 @@ v10.1.0 (2024-03-01) In **libvirt-5.10** a check for non-NULL arrays has been adjusted to allow for NULL arrays with size 0 instead of rejecting all NULL - arrays. However that made the above issue significantly worse since + arrays. However that made the above issue sigificantly worse since that off-by-one error now did not write beyond an array, but dereferenced said NULL pointer making the crash certain in a specific scenario in which a NULL array of size 0 was passed to the @@ -1080,7 +1096,7 @@ v10.0.0 (2024-01-15) * qemu: Allow automatic resize of block-device-backed disk to full size of the device The new flag ``VIR_DOMAIN_BLOCK_RESIZE_CAPACITY`` for - ``virDomainBlockResize`` allows resizing a block-device backed ``raw`` disk + ``virDominBlockResize`` allows resizing a block-device backed ``raw`` disk of a VM without the need to specify the full size of the block device. * qemu: automatic selection/binding of VFIO variant drivers @@ -1097,7 +1113,7 @@ v10.0.0 (2024-01-15) Since the new nbdkit support requires a recent selinux policy that is not widely available yet, it is now possible to build libvirt with nbdkit support for remote disks but disabled at runtime. This behavior is - controlled via the storage_use_nbdkit option of the qemu driver + controlled viathe storage_use_nbdkit option of the qemu driver configuration file. The option will default to being disabled, but this may change in a future release and can be customized with the nbdkit_config_default build option. @@ -1121,7 +1137,7 @@ v10.0.0 (2024-01-15) The phase of copying storage during migration without shared storage requires that both the source and destination image are identical in size. This may not be possible if the destination is backed by a block device - and the source image size is not a multiple of the block device block size. + and the source imae size is not a multiple of the block device block size. Libvirt aleviates this by automatically adding a ``<slice>`` to match the size of the source image rather than failing the migration. @@ -1139,7 +1155,7 @@ v10.0.0 (2024-01-15) * qemu: Various migration bug fixes and debuggability improvement - This release fixes multiple bugs in virsh and libvirt in handling of + This release fixes multiple bugs in virsh and lbvirt in handling of migration arguments and XMLs and modifies error reporting for better debugging. @@ -1156,7 +1172,7 @@ v10.0.0 (2024-01-15) * qemu: Be less aggressive when dropping channel source paths - Another regression is resolved, (introduced in 9.7.0) when libvirt was too + Another regression is resoled, (introduced in 9.7.0) when libvirt was too aggressive when dropping parsed paths for <channel/> sources * qemuDomainChangeNet: Reflect trustGuestRxFilters change @@ -1183,7 +1199,7 @@ v9.10.0 (2023-12-01) QEMU allows creating images where the 'backing file format' is actually a protocol name such as 'file'/'host_device'/'nbd'/etc.. Adapt libvirt to - properly handle such images and don't assume automatic format probing is + properly handle such imags and don't assume automatic format probing is necessary, which is in many cases forbidden due to security implications. * **Bug fixes** @@ -1417,7 +1433,7 @@ v9.5.0 (2023-07-03) The device removal handler callback function didn't re-check the state of the unplug operation after a timeout, which could rarely cause that the - device was removed from the VM but not the definition. + device was removed from the VM butnot the definition. * qemu: Fix NUMA memory allocation logic @@ -1533,14 +1549,14 @@ v9.3.0 (2023-05-02) Recent changes to UEFI firmware handling resulted into breaking support for inactive internal snapshots of VMs with UEFI which historically worked. (Although the intention was to disallow them together with active ones, but - the check did not work properly.) + the check did not work properl.) Preserve existing functionality by allowing such snapshots explicitly. * qemu: Properly configure locked memory limit for VMs with ``<disk type='nvme'`` The NVMe driver in qemu requires some memory to be locked. This was not - taken into account in the code which calculates the memory limits based + taken into account in the cde which calculates the memory limits based on devices present in the configuration * Fix native build on win32 @@ -1550,7 +1566,7 @@ v9.3.0 (2023-05-02) * qemu: Properly detect tray of hotplugged CD-ROM devices - Media in a CD-ROM device which was hotplugged could not be changed as the + Media in a CD-ROM device which was hotplgged could not be changed as the presence of the tray was not detected properly on hotplug. @@ -1579,7 +1595,7 @@ v9.2.0 (2023-04-01) system could have translated to a different firmware being chosen for subsequent startups of the same domain, potentially rendering it unbootable or lowering the security guarantees. Firmware selection now happens once, - when the domain is defined, and its results are stored in the domain XML + when the domain is defined, and its resultsare stored in the domain XML to be reused, unchanged, for all subsequent boots. * qemu: passt now works when SELinux/AppArmor is enabled @@ -1650,7 +1666,7 @@ v9.1.0 (2023-03-01) * qemu: support automatic restart of inadvertently terminated passt process If the passt process that is serving as the backend of a -netdev - stream is terminated unexpectedly, libvirt now listens to QEMU's + stream is terminated nexpectedly, libvirt now listens to QEMU's notification of this, and starts up a new passt instance, thus preserving network connectivity. @@ -1779,7 +1795,7 @@ v9.0.0 (2023-01-16) * tools: Fix install_mode for some scripts Scripts from the following list were installed with group write bit set: - virt-xml-validate, virt-pki-validate, virt-sanlock-cleanup, + virt-xml-validate, virt-ki-validate, virt-sanlock-cleanup, libvirt-guests.sh. This was changed so that only the owner is able to write them. -- 2.49.0

On Tue, Apr 01, 2025 at 05:12:35AM +0200, Ján Tomko via Devel wrote:
See patch 3/7 (7/3 for Americans) for the reasoning
Ján Tomko (7): Add a copy of the Sandwich license remote: do not generate the qemu protocol header Deprecate the QEMU driver meson: remove all references to QEMU Remove src/qemu/ tests: remove qemu
The tests should be removed before src/qemu in order to be able to bisect potential issues. However by removing such a buggy driver means there will be no bugs to bisect, so I'm fine with this. Safe for freeze.
participants (2)
-
Ján Tomko
-
Martin Kletzander