[PATCH 1/2] vxml: Add which volume could not be found to error message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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

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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]