]> xenbits.xensource.com Git - libvirt.git/commit
qemuhotplugtest: Don't plug a SCSI disk at unit 7
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 11 Apr 2019 14:23:38 +0000 (16:23 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 18 Apr 2019 15:08:33 +0000 (17:08 +0200)
commitee2c5ef39fd91345893904433c6f458685543af5
tree8377784813f06aebc60dee8c14891591afd3d6c0
parent89237d534f0fe950d06a2081089154160c6c2224
qemuhotplugtest: Don't plug a SCSI disk at unit 7

Unit number 7 is kind of special. It's reserved for SCSI
controller. The comment in virDomainSCSIDriveAddressIsUsed()
summarizes that pretty nicely. Libvirt would never generate
such address.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Tested-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Jim Fehlig <jfehlig@suse.com>
tests/qemuhotplugtest.c
tests/qemuhotplugtestdevices/qemuhotplug-disk-scsi-2.xml
tests/qemuhotplugtestdomains/qemuhotplug-base-without-scsi-controller-live+disk-scsi-2.xml