[Libvirt-cim] [PATCH v2 10/12] vxml: Add which volume could not be found to error message

WangXu cngesaint at outlook.com
Tue May 7 09:08:21 UTC 2013


Reviewed-by: Xu Wang <cngesaint at outlook.com>
----------------------------------------
> From: jferlan at redhat.com
> To: libvirt-cim at 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim 		 	   		  




More information about the Libvirt-cim mailing list