From 38d4b536ea4e7bb4855729d60d53a9965eaadb68 Mon Sep 17 00:00:00 2001 From: Gary Kotton Date: Sun, 19 Jun 2016 06:12:02 -0700 Subject: [PATCH] libvirt: fix typos in comments Fix some typos in the libvirt directory TrivialFix Change-Id: Id7a0c318090247d1dd1303cb3b0e487a3f511bb1 --- nova/virt/libvirt/blockinfo.py | 2 +- nova/virt/libvirt/driver.py | 6 +++--- nova/virt/libvirt/guest.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nova/virt/libvirt/blockinfo.py b/nova/virt/libvirt/blockinfo.py index da7bcabd7284..b7e5df053ca4 100644 --- a/nova/virt/libvirt/blockinfo.py +++ b/nova/virt/libvirt/blockinfo.py @@ -532,7 +532,7 @@ def get_disk_mapping(virt_type, instance, if get_device_name(bdm)] # 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. root_bdm = block_device.get_root_bdm( driver.block_device_info_get_mapping(block_device_info)) diff --git a/nova/virt/libvirt/driver.py b/nova/virt/libvirt/driver.py index 27c20fc8532a..8e58fb57a1fd 100644 --- a/nova/virt/libvirt/driver.py +++ b/nova/virt/libvirt/driver.py @@ -210,7 +210,7 @@ NEXT_MIN_QEMU_VERSION = (1, 5, 3) # Relative block commit & rebase (feature is detected, # this version is only used for messaging) 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 MIN_LIBVIRT_BLOCK_LM_WITH_VOLUMES_VERSION = (1, 2, 17) # 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 ALLOWED_QEMU_SERIAL_PORTS = QEMU_MAX_SERIAL_PORTS - 1 -# realtime suppport +# realtime support MIN_LIBVIRT_REALTIME_VERSION = (1, 2, 13) 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. - :returns: a JSON string containaing a list of the assignable PCI + :returns: a JSON string containing a list of the assignable PCI devices information """ # Bail early if we know we can't support `listDevices` to avoid diff --git a/nova/virt/libvirt/guest.py b/nova/virt/libvirt/guest.py index 7c0d9e0f225d..e539a0c00233 100644 --- a/nova/virt/libvirt/guest.py +++ b/nova/virt/libvirt/guest.py @@ -529,7 +529,7 @@ class Guest(object): flags=flags, bandwidth=bandwidth) def abort_job(self): - """Requests to abort current backgroud job""" + """Requests to abort current background job""" self._domain.abortJob() def migrate_configure_max_downtime(self, mstime):