Revision bf969569
b/lib/hypervisor/hv_kvm.py | ||
---|---|---|
1462 | 1462 |
_ = _GetFreeSlot(pci_reservations, reserve=True) |
1463 | 1463 |
kvm_cmd.extend(["-soundhw", soundhw]) |
1464 | 1464 |
|
1465 |
if hvp[constants.HV_DISK_TYPE] == constants.HT_DISK_SCSI: |
|
1466 |
# The SCSI controller requires another PCI slot. |
|
1467 |
_ = _GetFreeSlot(pci_reservations, reserve=True) |
|
1468 |
|
|
1465 | 1469 |
# Add id to ballon and place to the first available slot (3 or 4) |
1466 | 1470 |
addr = _GetFreeSlot(pci_reservations, reserve=True) |
1467 | 1471 |
pci_info = ",bus=pci.0,addr=%s" % hex(addr) |
Also available in: Unified diff