]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: command: Override device definition according to the namespace config
authorPeter Krempa <pkrempa@redhat.com>
Mon, 21 Mar 2022 14:17:47 +0000 (15:17 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 28 Mar 2022 11:15:25 +0000 (13:15 +0200)
commit38ab5c9ead58332acc5129fc6066b054d6e6e38c
tree8252ab43312fa16165d927ea459e9406590ea846
parente273dfc0668331be5a8e6e64cacf9ea101bc1e4b
qemu: command: Override device definition according to the namespace config

Apply the user-requested changes to the device definition as requested
by the <qemu:deviceOverride> element from the custom qemu XML namespace.

Closes: https://gitlab.com/libvirt/libvirt/-/issues/287
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemu-ns.x86_64-4.0.0.args
tests/qemuxml2argvdata/qemu-ns.x86_64-latest.args