]> xenbits.xensource.com Git - libvirt.git/commit
conf: Rework and rename virDomainDeviceFindControllerModel
authorJohn Ferlan <jferlan@redhat.com>
Tue, 30 Jan 2018 15:04:03 +0000 (10:04 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 31 Jan 2018 16:32:04 +0000 (11:32 -0500)
commit932862b8bfa7fe25c58fd379b42abf2b532cb603
tree3100ea004967614d155f92df95f35e644a9c2a7b
parente37540f459d30d95fa42dc18426523f4a0d146e8
conf: Rework and rename virDomainDeviceFindControllerModel

As it turns out virDomainDeviceFindControllerModel was only ever
called for SCSI controllers using VIR_DOMAIN_CONTROLLER_TYPE_SCSI
as a parameter.

So rename to virDomainDeviceFindSCSIController and rather than
return a model, let's return a virDomainControllerDefPtr to let
the caller reference whatever it wants.
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
src/qemu/qemu_alias.c
src/qemu/qemu_command.c
src/vbox/vbox_common.c