]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Introduce qemuDomainGetSCSIControllerModel
authorJohn Ferlan <jferlan@redhat.com>
Tue, 30 Jan 2018 17:06:36 +0000 (12:06 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 31 Jan 2018 16:32:04 +0000 (11:32 -0500)
commitfadfb4f9b3951b8af7fd6e541ac6ceb120caa2c3
tree81c00dad8b3538e58d7cf2d4d80f0279b2919398
parent6ae6ffd88e3d8b3296c60333ea8de6d76221e800
qemu: Introduce qemuDomainGetSCSIControllerModel

Rename and rework qemuDomainSetSCSIControllerModel since we're
really not setting the SCSI controller model. Instead the code
is either returning the existing SCSI controller model value, the
default value based on the capabilities, or -1 with the error set.
src/qemu/qemu_command.c
src/qemu/qemu_domain_address.c
src/qemu/qemu_domain_address.h