Merge "libvirt: fix typos in comments"
This commit is contained in:
commit
41616f9d55
@ -532,7 +532,7 @@ def get_disk_mapping(virt_type, instance,
|
|||||||
if get_device_name(bdm)]
|
if get_device_name(bdm)]
|
||||||
|
|
||||||
# NOTE (ndipanov): root_bdm can be None when we boot from image
|
# NOTE (ndipanov): root_bdm can be None when we boot from image
|
||||||
# as there is no driver represenation of local targeted images
|
# as there is no driver representation of local targeted images
|
||||||
# and they will not be in block_device_info list.
|
# and they will not be in block_device_info list.
|
||||||
root_bdm = block_device.get_root_bdm(
|
root_bdm = block_device.get_root_bdm(
|
||||||
driver.block_device_info_get_mapping(block_device_info))
|
driver.block_device_info_get_mapping(block_device_info))
|
||||||
|
@ -281,7 +281,7 @@ QEMU_MAX_SERIAL_PORTS = 4
|
|||||||
# Qemu supports 4 serial consoles, we remove 1 because of the PTY one defined
|
# Qemu supports 4 serial consoles, we remove 1 because of the PTY one defined
|
||||||
ALLOWED_QEMU_SERIAL_PORTS = QEMU_MAX_SERIAL_PORTS - 1
|
ALLOWED_QEMU_SERIAL_PORTS = QEMU_MAX_SERIAL_PORTS - 1
|
||||||
|
|
||||||
# realtime suppport
|
# realtime support
|
||||||
MIN_LIBVIRT_REALTIME_VERSION = (1, 2, 13)
|
MIN_LIBVIRT_REALTIME_VERSION = (1, 2, 13)
|
||||||
|
|
||||||
MIN_LIBVIRT_OTHER_ARCH = {arch.S390: MIN_LIBVIRT_KVM_S390_VERSION,
|
MIN_LIBVIRT_OTHER_ARCH = {arch.S390: MIN_LIBVIRT_KVM_S390_VERSION,
|
||||||
@ -4964,7 +4964,7 @@ class LibvirtDriver(driver.ComputeDriver):
|
|||||||
|
|
||||||
Refer to the objects/pci_device.py for more idea of these keys.
|
Refer to the objects/pci_device.py for more idea of these keys.
|
||||||
|
|
||||||
:returns: a JSON string containaing a list of the assignable PCI
|
:returns: a JSON string containing a list of the assignable PCI
|
||||||
devices information
|
devices information
|
||||||
"""
|
"""
|
||||||
# Bail early if we know we can't support `listDevices` to avoid
|
# Bail early if we know we can't support `listDevices` to avoid
|
||||||
|
@ -529,7 +529,7 @@ class Guest(object):
|
|||||||
flags=flags, bandwidth=bandwidth)
|
flags=flags, bandwidth=bandwidth)
|
||||||
|
|
||||||
def abort_job(self):
|
def abort_job(self):
|
||||||
"""Requests to abort current backgroud job"""
|
"""Requests to abort current background job"""
|
||||||
self._domain.abortJob()
|
self._domain.abortJob()
|
||||||
|
|
||||||
def migrate_configure_max_downtime(self, mstime):
|
def migrate_configure_max_downtime(self, mstime):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user