libvirt: fix typos in comments
Fix some typos in the libvirt directory TrivialFix Change-Id: Id7a0c318090247d1dd1303cb3b0e487a3f511bb1
This commit is contained in:
parent
8435999c78
commit
38d4b536ea
@ -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))
|
||||||
|
@ -210,7 +210,7 @@ NEXT_MIN_QEMU_VERSION = (1, 5, 3)
|
|||||||
# Relative block commit & rebase (feature is detected,
|
# Relative block commit & rebase (feature is detected,
|
||||||
# this version is only used for messaging)
|
# this version is only used for messaging)
|
||||||
MIN_LIBVIRT_BLOCKJOB_RELATIVE_VERSION = (1, 2, 7)
|
MIN_LIBVIRT_BLOCKJOB_RELATIVE_VERSION = (1, 2, 7)
|
||||||
# Libvirt version 1.2.17 is required for successfull block live migration
|
# Libvirt version 1.2.17 is required for successful block live migration
|
||||||
# of vm booted from image with attached devices
|
# of vm booted from image with attached devices
|
||||||
MIN_LIBVIRT_BLOCK_LM_WITH_VOLUMES_VERSION = (1, 2, 17)
|
MIN_LIBVIRT_BLOCK_LM_WITH_VOLUMES_VERSION = (1, 2, 17)
|
||||||
# libvirt discard feature
|
# libvirt discard feature
|
||||||
@ -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