Reviewed-by: Xu Wang <cngesaint(a)outlook.com>
----------------------------------------
From: jferlan(a)redhat.com
To: libvirt-cim(a)redhat.com
Date: Wed, 24 Apr 2013 10:09:12 -0400
Subject: [Libvirt-cim] [PATCH v2 10/12] vxml: Add which volume could not be found to
error message
---
suites/libvirt-cim/lib/XenKvmLib/vxml.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/suites/libvirt-cim/lib/XenKvmLib/vxml.py
b/suites/libvirt-cim/lib/XenKvmLib/vxml.py
index 51a4166..82ab501 100644
--- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py
+++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py
@@ -921,7 +921,7 @@ class KVMXML(VirtXML, VirtCIM):
port_num='-1', keymap="en-us", irstype="mouse",
btype="ps2", vnc_passwd=None):
if not os.path.exists(disk_file_path):
- logger.error('Error: Disk image does not exist')
+ logger.error('Error: Disk image %s does not exist', disk_file_path)
sys.exit(1)
VirtXML.__init__(self, 'kvm', test_dom, set_uuid(), mem, vcpus)
VirtCIM.__init__(self, 'KVM', test_dom, uuid, pae, acpi, apic, disk,
@@ -984,7 +984,7 @@ class XenFVXML(VirtXML, VirtCIM):
keymap="en-us",
irstype="mouse", btype="ps2", vnc_passwd=None):
if not os.path.exists(disk_file_path):
- logger.error('Error: Disk image does not exist')
+ logger.error('Error: Disk image %s does not exist', disk_file_path)
sys.exit(1)
VirtXML.__init__(self, 'xenfv', test_dom, set_uuid(), mem, vcpus)
VirtCIM.__init__(self, 'XenFV', test_dom, uuid, pae, acpi, apic, disk,
--
1.8.1.4
_______________________________________________
Libvirt-cim mailing list
Libvirt-cim(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-cim