Re: [libvirt] [PATCH] Make an error message in PCI util code clearer.

2010-02-19 Thread Daniel Veillard
On Thu, Feb 18, 2010 at 10:38:35AM -0500, Chris Lalancette wrote:
 Signed-off-by: Chris Lalancette clala...@redhat.com
 ---
  src/util/pci.c |4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/src/util/pci.c b/src/util/pci.c
 index aa8344e..83ed461 100644
 --- a/src/util/pci.c
 +++ b/src/util/pci.c
 @@ -540,7 +540,7 @@ pciTrySecondaryBusReset(pciDevice *dev,
   */
  if (pciRead(dev, 0, config_space, PCI_CONF_LEN)  0) {
  pciReportError(VIR_ERR_NO_SUPPORT,
 -   _(Failed to save PCI config space for %s),
 +   _(Failed to read PCI config space for %s),
 dev-name);
  goto out;
  }
 @@ -586,7 +586,7 @@ pciTryPowerManagementReset(pciDevice *dev)
  /* Save and restore the device's config space. */
  if (pciRead(dev, 0, config_space[0], PCI_CONF_LEN)  0) {
  pciReportError(VIR_ERR_NO_SUPPORT,
 -   _(Failed to save PCI config space for %s),
 +   _(Failed to read PCI config space for %s),
 dev-name);
  return -1;
  }

  ACK,

Daniel

-- 
Daniel Veillard  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
dan...@veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] [PATCH] Make an error message in PCI util code clearer.

2010-02-19 Thread Daniel Veillard
On Thu, Feb 18, 2010 at 10:38:35AM -0500, Chris Lalancette wrote:
 Signed-off-by: Chris Lalancette clala...@redhat.com

  Okay, I pushed those 3 patches, thanks !

Daniel

-- 
Daniel Veillard  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
dan...@veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] [PATCH] Make an error message in PCI util code clearer.

2010-02-18 Thread Chris Lalancette
Signed-off-by: Chris Lalancette clala...@redhat.com
---
 src/util/pci.c |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/util/pci.c b/src/util/pci.c
index aa8344e..83ed461 100644
--- a/src/util/pci.c
+++ b/src/util/pci.c
@@ -540,7 +540,7 @@ pciTrySecondaryBusReset(pciDevice *dev,
  */
 if (pciRead(dev, 0, config_space, PCI_CONF_LEN)  0) {
 pciReportError(VIR_ERR_NO_SUPPORT,
-   _(Failed to save PCI config space for %s),
+   _(Failed to read PCI config space for %s),
dev-name);
 goto out;
 }
@@ -586,7 +586,7 @@ pciTryPowerManagementReset(pciDevice *dev)
 /* Save and restore the device's config space. */
 if (pciRead(dev, 0, config_space[0], PCI_CONF_LEN)  0) {
 pciReportError(VIR_ERR_NO_SUPPORT,
-   _(Failed to save PCI config space for %s),
+   _(Failed to read PCI config space for %s),
dev-name);
 return -1;
 }
-- 
1.6.6

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list