]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Fetch/save the default SCSI controller model during hotplug
authorJohn Ferlan <jferlan@redhat.com>
Tue, 30 Jan 2018 22:29:48 +0000 (17:29 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 31 Jan 2018 16:32:04 +0000 (11:32 -0500)
commit13d216617df87995cc5c35afef2b7b3da2d79b44
tree921741c5e56c4deae831faca9ab469148cbe8203
parentfadfb4f9b3951b8af7fd6e541ac6ceb120caa2c3
qemu: Fetch/save the default SCSI controller model during hotplug

If we're going to add a controller to the domain, let's set the
default SCSI model value if we cannot find another SCSI controller
already present.

NB: Requires updating the live output test data since the model
will now be formatted.
src/qemu/qemu_hotplug.c
tests/qemuhotplugtestdomains/qemuhotplug-base-with-scsi-controller-live.xml
tests/qemuhotplugtestdomains/qemuhotplug-base-without-scsi-controller-live+disk-scsi-2.xml