From nobody Sun May 5 17:10:30 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1516037507359834.9821547442796; Mon, 15 Jan 2018 09:31:47 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5525B46661; Mon, 15 Jan 2018 17:31:44 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 36C7D600D2; Mon, 15 Jan 2018 17:31:40 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 52862410B3; Mon, 15 Jan 2018 17:31:38 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w0FHUKpJ026404 for ; Mon, 15 Jan 2018 12:30:20 -0500 Received: by smtp.corp.redhat.com (Postfix) id B7AE060176; Mon, 15 Jan 2018 17:30:20 +0000 (UTC) Received: from mx1.redhat.com (ext-mx06.extmail.prod.ext.phx2.redhat.com [10.5.110.30]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B267260171 for ; Mon, 15 Jan 2018 17:30:17 +0000 (UTC) Received: from mail-lf0-f47.google.com (mail-lf0-f47.google.com [209.85.215.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 627AF356D5 for ; Mon, 15 Jan 2018 17:30:06 +0000 (UTC) Received: by mail-lf0-f47.google.com with SMTP id m8so14246709lfc.6 for ; Mon, 15 Jan 2018 09:30:06 -0800 (PST) Received: from localhost.localdomain (mobile-user-c1d2e2-152.dhcp.inet.fi. [193.210.226.152]) by smtp.gmail.com with ESMTPSA id g81sm21030ljb.74.2018.01.15.09.30.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jan 2018 09:30:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id; bh=sf/4nxKdDkPwwmZ5/aZC+UdSp7Zm52sfPIzUieq7wDA=; b=dawfTpih6e8C6oeHij+4Gp+bLMDHp1070jYRXzPUvRGbZGGojl2/kzCm+X68s4iqyb xxbgm9lkSy349jx04pIQKJBniDNmCjM1QeXZdpQRkWpeyKRLVGNmRMW4vrFKMFHGGMiy djkfUAg9JBAp1eSOcPDxO1VuWi6mbC5sU8mJskfFolAD9LSfcrAnfJZnBH/WUQi2Nmz7 7OTreFuV65RHmR9aJk3bz9MVNaHj+7+jCgDgq4Wp5FB1gJzWxFn8wkf1Sa5VT6gW4sBm 9UgDFMo21JHnzmTEFESGcgb7zpNnOh75d1uOkf0/cAOAE08BFOwCxZHOPRxLl0VyjrnZ al4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id; bh=sf/4nxKdDkPwwmZ5/aZC+UdSp7Zm52sfPIzUieq7wDA=; b=Iq4xXMlTUxD8IztYBI2/Bc7almpnwuL+6jNxFvbGFsIxGgAvnDoqhyJ0Dd+zqejgx6 WuwDmexZ9cORmuAjLDqjJLDAvup6tpnU3T4qiF4uy+JPPyMdz20vROILCRax8ExobyZ+ sjDsplkUUmWMb/jrwgVv7oXqC7fqryoSOSToECWmXK3pzJGFg2GDORYvW05H1BAXgung ML0X+8+P55tUR9gh3NkoOocG+T2HZW0+ADTkXsNmt39dmGvIxoyJNCLZSwan3xg7LVcX scgJizit2+qCU+IOd51rCa6jmgJFDubNSRrJZT7TgnvXthoO6psciXobA36xcwXWw7FQ kDqw== X-Gm-Message-State: AKwxytckMHU/HJoObPJsxuggdVntPmLKi2h8CCPk2v8Jfl/N1C2YVpVh RjOboRY62yqiRxI/rf+n6jeEmS0n X-Google-Smtp-Source: ACJfBot9Fk0DNmzX4KTITYCm/H+Bh6xUFEWKwp3fvsRxCW1WXQxIH0yU4DeRVyfov4q39xqIzoHeVA== X-Received: by 10.25.90.200 with SMTP id y69mr11572847lfk.138.1516037403875; Mon, 15 Jan 2018 09:30:03 -0800 (PST) From: =?UTF-8?q?Ville=20Skytt=C3=A4?= To: libvir-list@redhat.com Date: Mon, 15 Jan 2018 19:29:59 +0200 Message-Id: <20180115172959.2036-1-ville.skytta@iki.fi> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 15 Jan 2018 17:30:06 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 15 Jan 2018 17:30:06 +0000 (UTC) for IP:'209.85.215.47' DOMAIN:'mail-lf0-f47.google.com' HELO:'mail-lf0-f47.google.com' FROM:'vskytta@gmail.com' RCPT:'' X-RedHat-Spam-Score: 0.491 (DKIM_SIGNED, DKIM_VALID, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE) 209.85.215.47 mail-lf0-f47.google.com 209.85.215.47 mail-lf0-f47.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.30 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com X-Mailman-Approved-At: Mon, 15 Jan 2018 12:31:36 -0500 Subject: [libvirt] [PATCH perl] Spelling fixes X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 15 Jan 2018 17:31:46 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" --- Changes | 4 ++-- HACKING | 4 ++-- lib/Sys/Virt.pm | 6 +++--- lib/Sys/Virt/Domain.pm | 14 +++++++------- lib/Sys/Virt/Interface.pm | 2 +- lib/Sys/Virt/NWFilter.pm | 2 +- lib/Sys/Virt/Network.pm | 4 ++-- lib/Sys/Virt/NodeDevice.pm | 4 ++-- lib/Sys/Virt/Secret.pm | 4 ++-- lib/Sys/Virt/StoragePool.pm | 4 ++-- lib/Sys/Virt/StorageVol.pm | 8 ++++---- lib/Sys/Virt/Stream.pm | 2 +- 12 files changed, 29 insertions(+), 29 deletions(-) diff --git a/Changes b/Changes index 96b42f8..0571cf8 100644 --- a/Changes +++ b/Changes @@ -472,7 +472,7 @@ Revision history for perl module Sys::Virt 0.2.6 2011-02-16 =20 - Fix build with 0.8.7 libvirt by removing reference to - non-existant constant only introduced in libvirt > 0.8.7 + non-existent constant only introduced in libvirt > 0.8.7 - Fix test script when hostname is undefined =20 0.2.5 2011-02-04 @@ -533,7 +533,7 @@ Revision history for perl module Sys::Virt - Added networking APIs - Added APIs for host capabilities - Added APIs for inactive domains - - Switch licensse to GPLv2+ or Artistic for CPAN compatability + - Switch licensse to GPLv2+ or Artistic for CPAN compatibility - Fix return values for reboot/shutdown/undefine/create APIs - Expanded documentation coverage =20 diff --git a/HACKING b/HACKING index bb8b0f0..bfd1212 100644 --- a/HACKING +++ b/HACKING @@ -15,7 +15,7 @@ Additions to the libvirt C API will require changes to a = minimum of two parts of the Sys::Virt codebase. =20 - Virt.xs - this provides the C glue code to access the libvirt C - library APIs and constants from the Perl interpretor. As a general + library APIs and constants from the Perl interpreter. As a general rule, every new function and header file constant/enum requires an addition to this file. The exceptions are functions that are only provided for the benefit of language bindings and not intended for @@ -93,7 +93,7 @@ effective way to update the Perl binding. - For each missing item reported in the test suite... =20 - Edit Virt.xs to add the C binding - - Edit lib/*.pm to add the POD documentation (and occassionally Perl = glue code) + - Edit lib/*.pm to add the POD documentation (and occasionally Perl g= lue code) - Edit Changes to document the addition - Run the test suite (without maintainer mode) to verify POD docs # ../libvirt/run make test diff --git a/lib/Sys/Virt.pm b/lib/Sys/Virt.pm index 2ce7ed5..faaf668 100644 --- a/lib/Sys/Virt.pm +++ b/lib/Sys/Virt.pm @@ -135,7 +135,7 @@ types that will be supported. The credential constants = in this module can be used as values in this list. The C parameter should be a subroutine reference containing the code necessary to gather the credentials. When invoked it -will be supplied with a single parameter, a array reference +will be supplied with a single parameter, an array reference of requested credentials. The elements of the array are hash references, with keys C giving the type of credential, C giving a user descriptive user @@ -1164,7 +1164,7 @@ pool sources. =20 =3Ditem my @stats =3D $vmm->get_all_domain_stats($stats, \@doms=3Dundef, $= flags=3D0); =20 -Get an list of all statistics for domains known to the hypervisor. +Get a list of all statistics for domains known to the hypervisor. The C<$stats> parameter controls which data fields to return and should be a combination of the DOMAIN STATS FIELD CONSTANTS. =20 @@ -1469,7 +1469,7 @@ how long the node is suspended for before waking up. =20 =3Ditem $conn->domain_event_register($callback) =20 -Register a callback to received notificaitons of domain state change +Register a callback to received notifications of domain state change events. Only a single callback can be registered with each connection instance. The callback will be invoked with four parameters, an instance of C for the connection, an instance of C diff --git a/lib/Sys/Virt/Domain.pm b/lib/Sys/Virt/Domain.pm index 38b9c9b..7b90b68 100644 --- a/lib/Sys/Virt/Domain.pm +++ b/lib/Sys/Virt/Domain.pm @@ -45,7 +45,7 @@ sub _new { my $class =3D ref($proto) || $proto; my %params =3D @_; =20 - my $con =3D exists $params{connection} ? $params{connection} : die "co= nnection parameter is requried"; + my $con =3D exists $params{connection} ? $params{connection} : die "co= nnection parameter is required"; my $self; if (exists $params{name}) { $self =3D Sys::Virt::Domain::_lookup_by_name($con, $params{name}); @@ -490,7 +490,7 @@ One of the CONTROL INFO constants listed later =20 =3Ditem C
=20 -Currently unsed, always 0. +Currently unused, always 0. =20 =3Ditem C =20 @@ -658,7 +658,7 @@ later. =20 =3Ditem $dom->detach_device($xml[, $flags]) =20 -Hotunplug a existing device whose configuration is given by C<$xml>, +Hotunplug an existing device whose configuration is given by C<$xml>, from the running guest. The optional <$flags> parameter defaults to 0, but can accept one of the device hotplug flags described later. @@ -1719,7 +1719,7 @@ instead of MB/s. Abort the current job that is executing for the block device associated with C<$path> =20 -=3Ditem $dom->block_pull($path, $bandwith, $flags=3D0) +=3Ditem $dom->block_pull($path, $bandwidth, $flags=3D0) =20 Merge the backing files associated with C<$path> into the top level file. The C<$bandwidth> parameter specifies the @@ -1735,7 +1735,7 @@ instead of MB/s. =20 =3Dback =20 -=3Ditem $dom->block_rebase($path, $base, $bandwith, $flags=3D0) +=3Ditem $dom->block_rebase($path, $base, $bandwidth, $flags=3D0) =20 Switch the backing path associated with C<$path> to instead use C<$base>. The C<$bandwidth> parameter specifies the @@ -1774,7 +1774,7 @@ The maximum amount of data in flight in bytes. =20 =3Dback =20 -=3Ditem $dom->block_commit($path, $base, $top, $bandwith, $flags=3D0) +=3Ditem $dom->block_commit($path, $base, $top, $bandwidth, $flags=3D0) =20 Commit changes there were made to the temporary top level file C<$top>. Takes all the differences between C<$top> and C<$base> and merge them @@ -3827,7 +3827,7 @@ The host storage has run out of free space =20 =3Ditem Sys::Virt::Domain::DISK_ERROR_UNSPEC =20 -An unspecified error has ocurred. +An unspecified error has occurred. =20 =3Dback =20 diff --git a/lib/Sys/Virt/Interface.pm b/lib/Sys/Virt/Interface.pm index 58fa2af..8f6112a 100644 --- a/lib/Sys/Virt/Interface.pm +++ b/lib/Sys/Virt/Interface.pm @@ -45,7 +45,7 @@ sub _new { my $class =3D ref($proto) || $proto; my %params =3D @_; =20 - my $con =3D exists $params{connection} ? $params{connection} : die "co= nnection parameter is requried"; + my $con =3D exists $params{connection} ? $params{connection} : die "co= nnection parameter is required"; my $self; if (exists $params{name}) { $self =3D Sys::Virt::Interface::_lookup_by_name($con, $params{name}); diff --git a/lib/Sys/Virt/NWFilter.pm b/lib/Sys/Virt/NWFilter.pm index 927b038..8ede8a0 100644 --- a/lib/Sys/Virt/NWFilter.pm +++ b/lib/Sys/Virt/NWFilter.pm @@ -45,7 +45,7 @@ sub _new { my $class =3D ref($proto) || $proto; my %params =3D @_; =20 - my $con =3D exists $params{connection} ? $params{connection} : die "co= nnection parameter is requried"; + my $con =3D exists $params{connection} ? $params{connection} : die "co= nnection parameter is required"; my $self; if (exists $params{name}) { $self =3D Sys::Virt::NWFilter::_lookup_by_name($con, $params{name}); diff --git a/lib/Sys/Virt/Network.pm b/lib/Sys/Virt/Network.pm index d90b58b..415e629 100644 --- a/lib/Sys/Virt/Network.pm +++ b/lib/Sys/Virt/Network.pm @@ -45,7 +45,7 @@ sub _new { my $class =3D ref($proto) || $proto; my %params =3D @_; =20 - my $con =3D exists $params{connection} ? $params{connection} : die "co= nnection parameter is requried"; + my $con =3D exists $params{connection} ? $params{connection} : die "co= nnection parameter is required"; my $self; if (exists $params{name}) { $self =3D Sys::Virt::Network::_lookup_by_name($con, $params{name}); @@ -363,7 +363,7 @@ Network lifecycle events =20 The following constants allow network lifecycle change events to be interpreted. The events contain both a state change, and a -reason though the reason is currently unsed. +reason though the reason is currently unused. =20 =3Dover 4 =20 diff --git a/lib/Sys/Virt/NodeDevice.pm b/lib/Sys/Virt/NodeDevice.pm index 0539b9e..1ca3fa3 100644 --- a/lib/Sys/Virt/NodeDevice.pm +++ b/lib/Sys/Virt/NodeDevice.pm @@ -47,7 +47,7 @@ sub _new { my $class =3D ref($proto) || $proto; my %params =3D @_; =20 - my $con =3D exists $params{connection} ? $params{connection} : die "co= nnection parameter is requried"; + my $con =3D exists $params{connection} ? $params{connection} : die "co= nnection parameter is required"; my $self; if (exists $params{name}) { $self =3D Sys::Virt::NodeDevice::_lookup_by_name($con, $params{name}); @@ -201,7 +201,7 @@ Node device config update events =20 The following constants allow node device lifecycle change events to be interpreted. The events contain both a state change, and a -reason though the reason is currently unsed. +reason though the reason is currently unused. =20 =3Dover 4 =20 diff --git a/lib/Sys/Virt/Secret.pm b/lib/Sys/Virt/Secret.pm index 0c6a021..a5ae9eb 100644 --- a/lib/Sys/Virt/Secret.pm +++ b/lib/Sys/Virt/Secret.pm @@ -45,7 +45,7 @@ sub _new { my $class =3D ref($proto) || $proto; my %params =3D @_; =20 - my $con =3D exists $params{connection} ? $params{connection} : die "co= nnection parameter is requried"; + my $con =3D exists $params{connection} ? $params{connection} : die "co= nnection parameter is required"; my $self; if (exists $params{usageID} || exists $params{usageType}) { @@ -200,7 +200,7 @@ Secret value change events =20 The following constants allow secret lifecycle change events to be interpreted. The events contain both a state change, and a -reason though the reason is currently unsed. +reason though the reason is currently unused. =20 =3Dover 4 =20 diff --git a/lib/Sys/Virt/StoragePool.pm b/lib/Sys/Virt/StoragePool.pm index f4d5696..3c8abda 100644 --- a/lib/Sys/Virt/StoragePool.pm +++ b/lib/Sys/Virt/StoragePool.pm @@ -47,7 +47,7 @@ sub _new { my $class =3D ref($proto) || $proto; my %params =3D @_; =20 - my $con =3D exists $params{connection} ? $params{connection} : die "co= nnection parameter is requried"; + my $con =3D exists $params{connection} ? $params{connection} : die "co= nnection parameter is required"; my $self; if (exists $params{name}) { $self =3D Sys::Virt::StoragePool::_lookup_by_name($con, $params{name}); @@ -496,7 +496,7 @@ Storage pool volume refresh events =20 The following constants allow storage pool lifecycle change events to be interpreted. The events contain both a state change, and a -reason though the reason is currently unsed. +reason though the reason is currently unused. =20 =3Dover 4 =20 diff --git a/lib/Sys/Virt/StorageVol.pm b/lib/Sys/Virt/StorageVol.pm index 82c3df2..917eb82 100644 --- a/lib/Sys/Virt/StorageVol.pm +++ b/lib/Sys/Virt/StorageVol.pm @@ -48,16 +48,16 @@ sub _new { =20 my $self; if (exists $params{name}) { - my $pool =3D exists $params{pool} ? $params{pool} : die "pool parameter i= s requried"; + my $pool =3D exists $params{pool} ? $params{pool} : die "pool parameter i= s required"; $self =3D Sys::Virt::StorageVol::_lookup_by_name($pool, $params{name}); } elsif (exists $params{key}) { - my $con =3D exists $params{connection} ? $params{connection} : die "conne= ction parameter is requried"; + my $con =3D exists $params{connection} ? $params{connection} : die "conne= ction parameter is required"; $self =3D Sys::Virt::StorageVol::_lookup_by_key($con, $params{key}); } elsif (exists $params{path}) { - my $con =3D exists $params{connection} ? $params{connection} : die "conne= ction parameter is requried"; + my $con =3D exists $params{connection} ? $params{connection} : die "conne= ction parameter is required"; $self =3D Sys::Virt::StorageVol::_lookup_by_path($con, $params{path}); } elsif (exists $params{xml}) { - my $pool =3D exists $params{pool} ? $params{pool} : die "pool parameter i= s requried"; + my $pool =3D exists $params{pool} ? $params{pool} : die "pool parameter i= s required"; if ($params{clone}) { $self =3D Sys::Virt::StorageVol::_create_xml_from($pool, $params{xml= }, $params{clone}, 0); } else { diff --git a/lib/Sys/Virt/Stream.pm b/lib/Sys/Virt/Stream.pm index a2fbc2b..9e4855e 100644 --- a/lib/Sys/Virt/Stream.pm +++ b/lib/Sys/Virt/Stream.pm @@ -44,7 +44,7 @@ sub _new { my $class =3D ref($proto) || $proto; my %params =3D @_; =20 - my $con =3D exists $params{connection} ? $params{connection} : die "co= nnection parameter is requried"; + my $con =3D exists $params{connection} ? $params{connection} : die "co= nnection parameter is required"; my $self =3D Sys::Virt::Stream::_new_obj($con, $params{flags}); =20 bless $self, $class; --=20 2.14.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list