Use disk_bus when guessing the device name for vol
Even though the disk bus could be set through hw_disk_bus property,
the libvirt driver didn't guess the proper bus and device name for the
root volume and expected it to be defined in the BDM.
With this patch, we consider the predefined disk_bus when going to guess
the volume device name and bus instead of just relying on the one
defined in the BDM.
Reviewed: https:/ /review. openstack. org/74636 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=060c0e12084 691398a9c067aae 68e93cf841f655
Committed: https:/
Submitter: Jenkins
Branch: master
commit 060c0e120846913 98a9c067aae68e9 3cf841f655
Author: Xavier Queralt <email address hidden>
Date: Wed Feb 19 10:08:49 2014 +0100
Use disk_bus when guessing the device name for vol
Even though the disk bus could be set through hw_disk_bus property,
the libvirt driver didn't guess the proper bus and device name for the
root volume and expected it to be defined in the BDM.
With this patch, we consider the predefined disk_bus when going to guess
the volume device name and bus instead of just relying on the one
defined in the BDM.
Change-Id: Ic6434ee2b29dc2 0126ec3b470d734 0a0f8bf62e9
Closes-Bug: 1281989