From c9e1c6a93ee3f702fed08775a1b57bf51f35a54f Mon Sep 17 00:00:00 2001 From: Oskari Saarenmaa Date: Tue, 10 Sep 2013 21:10:55 +0300 Subject: [PATCH] docs, comments: minor typo fixes Signed-off-by: Oskari Saarenmaa Signed-off-by: Eric Blake --- ChangeLog-old | 2 +- docs/formatdomain.html.in | 16 ++++++++-------- docs/formatnetwork.html.in | 4 ++-- docs/news.html.in | 2 +- python/generator.py | 8 ++++---- src/libvirt.c | 2 +- src/test/test_driver.c | 2 +- src/util/virpci.c | 2 +- 8 files changed, 19 insertions(+), 19 deletions(-) diff --git a/ChangeLog-old b/ChangeLog-old index b5d44d5dce..e07b11c9a1 100644 --- a/ChangeLog-old +++ b/ChangeLog-old @@ -5504,7 +5504,7 @@ Tue Nov 11 15:51:42 GMT 2008 Daniel P. Berrange Mon Nov 10 12:05:42 GMT 2008 Daniel P. Berrange - * src/openvz_conf.c: Read filesytem template name from config + * src/openvz_conf.c: Read filesystem template name from config files. Increase buffer size when parsing vzctl version number Thu Nov 6 20:45:42 CET 2008 Jim Meyering diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index f8bfe0b961..d656836a33 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -254,7 +254,7 @@ to the (optional) ramdisk image in the host OS.
cmdline
The contents of this element specify arguments to be passed to - the kernel (or installer) at boottime. This is often used to + the kernel (or installer) at boot time. This is often used to specify an alternate primary console (eg serial port), or the installation media source / kickstart file
dtb
@@ -426,7 +426,7 @@ process and virtual CPUs can be specified separately by cputune. If attribute emulatorpin of cputune is specified, cpuset - specified by vcpu here will be ingored; Similarly, + specified by vcpu here will be ignored; Similarly, For virtual CPUs which has vcpupin specified, cpuset specified by cpuset here will be ignored; For virtual CPUs which doesn't have @@ -1235,7 +1235,7 @@ relaxed - Relax contstraints on timers + Relax constraints on timers on, off 1.0.0 (QEMU only) @@ -1358,7 +1358,7 @@

The tickpolicy attribute determines what - happens whens QEMU misses a deadline for injecting a + happens when QEMU misses a deadline for injecting a tick to the guest:

@@ -2268,7 +2268,7 @@
readonly
- Enables exporting filesytem as a readonly mount for guest, by + Enables exporting filesystem as a readonly mount for guest, by default read-write access is given (currently only works for QEMU/KVM driver).
@@ -2385,7 +2385,7 @@

Controllers

- Depending on the guest architecture, some device busses can + Depending on the guest architecture, some device buses can appear more than once, with a group of virtual devices tied to a virtual controller. Normally, libvirt can automatically infer such controllers without requiring explicit XML markup, but sometimes @@ -3773,7 +3773,7 @@ qemu-kvm -net nic,model=? /dev/null Since 1.1.0. This uses the optional nativeMode attribute on the <tag> element: nativeMode may be set to 'tagged' or - 'untagged'. The id atribute of the element sets the native vlan. + 'untagged'. The id attribute of the element sets the native vlan.

Modifying virtual link state
@@ -4134,7 +4134,7 @@ qemu-kvm -net nic,model=? /dev/null "9216", and heads with value "1". By default, the first video device in domain xml is the primary one, but the optional attribute primary (since 1.0.2) - with value 'yes' can be used to mark the primary in cases of mutiple + with value 'yes' can be used to mark the primary in cases of multiple video device. The non-primary must be type of "qxl". The optional attribute ram (since 1.0.2) is allowed for "qxl" type only and specifies diff --git a/docs/formatnetwork.html.in b/docs/formatnetwork.html.in index 36c381a419..63600b372e 100644 --- a/docs/formatnetwork.html.in +++ b/docs/formatnetwork.html.in @@ -478,7 +478,7 @@ Since 1.1.0. This uses the optional nativeMode attribute on the <tag> element: nativeMode may be set to 'tagged' or - 'untagged'. The id atribute of the element sets the native vlan. + 'untagged'. The id attribute of the element sets the native vlan.

<vlan> elements can also be specified in @@ -591,7 +591,7 @@ This particular route would *not* be preferred if there was another existing rout on the system with the same address and prefix but with a lower value for the metric. If there is a - route in the host system configuration that should be overriden + route in the host system configuration that should be overridden by a route in a virtual network whenever the virtual network is running, the configuration for the system-defined route should be modified to have a higher metric, and the route on the diff --git a/docs/news.html.in b/docs/news.html.in index 6a07eb03d6..86b2790271 100644 --- a/docs/news.html.in +++ b/docs/news.html.in @@ -13327,7 +13327,7 @@ and check the GIT log

0.1.5: Sep 5 2006

  • Support for new hypercalls change in Xen changeset 86d26e6ec89b
  • -
  • bug fixes: virParseUUID() was wrong, netwoking for paravirt guestsi +
  • bug fixes: virParseUUID() was wrong, networking for paravirt guests (Daniel Berrange), virsh on non-existent domains (Daniel Berrange), string cast bug when handling error in python (Pete Vetere), HTTP 500 xend error code handling (Pete Vetere and Daniel Berrange)
  • diff --git a/python/generator.py b/python/generator.py index fb321c6d8f..a91dde85e9 100755 --- a/python/generator.py +++ b/python/generator.py @@ -510,11 +510,11 @@ skip_function = ( 'virStreamRecv', # overridden in libvirt-override-virStream.py 'virStreamSend', # overridden in libvirt-override-virStream.py - 'virConnectUnregisterCloseCallback', # overriden in virConnect.py - 'virConnectRegisterCloseCallback', # overriden in virConnect.py + 'virConnectUnregisterCloseCallback', # overridden in virConnect.py + 'virConnectRegisterCloseCallback', # overridden in virConnect.py - 'virDomainCreateXMLWithFiles', # overriden in virConnect.py - 'virDomainCreateWithFiles', # overriden in virDomain.py + 'virDomainCreateXMLWithFiles', # overridden in virConnect.py + 'virDomainCreateWithFiles', # overridden in virDomain.py # 'Ref' functions have no use for bindings users. "virConnectRef", diff --git a/src/libvirt.c b/src/libvirt.c index 07a3fd5022..665b30be5b 100644 --- a/src/libvirt.c +++ b/src/libvirt.c @@ -9058,7 +9058,7 @@ error: * Define a domain, but does not start it. * This definition is persistent, until explicitly undefined with * virDomainUndefine(). A previous definition for this domain would be - * overriden if it already exists. + * overridden if it already exists. * * Some hypervisors may prevent this operation if there is a current * block copy operation on a transient domain with the same id as the diff --git a/src/test/test_driver.c b/src/test/test_driver.c index c2256188df..f9eee44859 100644 --- a/src/test/test_driver.c +++ b/src/test/test_driver.c @@ -1989,7 +1989,7 @@ testDomainRestoreFlags(virConnectPtr conn, goto cleanup; if (saferead(fd, xml, len) != len) { virReportSystemError(errno, - _("incomplete metdata in '%s'"), path); + _("incomplete metadata in '%s'"), path); goto cleanup; } xml[len] = '\0'; diff --git a/src/util/virpci.c b/src/util/virpci.c index be50b4f9ac..92927aa58f 100644 --- a/src/util/virpci.c +++ b/src/util/virpci.c @@ -670,7 +670,7 @@ virPCIDeviceIsParent(virPCIDevicePtr dev, virPCIDevicePtr check, void *data) goto cleanup; } - /* otherwise, SRIOV allows VFs to be on different busses then their PFs. + /* otherwise, SRIOV allows VFs to be on different buses than their PFs. * In this case, what we need to do is look for the "best" match; i.e. * the most restrictive match that still satisfies all of the conditions. */