]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
conf: Try controller add when searching hostdev bus for unit
authorJohn Ferlan <jferlan@redhat.com>
Wed, 22 Jul 2015 12:09:23 +0000 (08:09 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 3 Aug 2015 20:48:45 +0000 (16:48 -0400)
commit0785966d03c9b26ce127aadb93b4d3130a3af79f
treefc65931ac32e3cd1b373669cedf9554644a02c0c
parent83f2b62c1f3870e5d5fc547b4f2b02ec2fdd3723
conf: Try controller add when searching hostdev bus for unit

If virDomainControllerSCSINextUnit failed to find a slot on the current
VIR_DOMAIN_CONTROLLER_TYPE_SCSI controller(s), try to add a new controller;
otherwise, there may be multiple unit=0 entries for the same "next"
controller.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/conf/domain_conf.c