[libvirt-users] fail to convert qemu xml to args with libvirt-1.0.4: An error occurred, but the cause is unknown

Yin Olivia-R63875 r63875 at freescale.com
Fri Apr 12 02:14:37 UTC 2013


Hi Daniel,

I also tried libvirt-1.0.4 on my X86 machine.

user at x86:~ $ uname -a
Linux 2.6.32-33-server #70-Ubuntu SMP Thu Jul 7 22:28:30 UTC 2011 x86_64 GNU/Linux

user at x86:~ $ which virsh
/usr/local/bin/virsh
user at x86:~ $ /usr/local/bin/virsh --version
1.0.4

user at x86:~ $ cd libvirt-1.0.4/tests/qemuxml2argvdata 
user at x86:~/libvirt-1.0.4/tests/qemuxml2argvdata $ virsh domxml-to-native qemu-argv qemuxml2argv-disk-virtio.xml >1.dom
error:An error occurred, but the cause is unknown

Best Regards,
Olivia

> -----Original Message-----
> From: Yin Olivia-R63875
> Sent: Thursday, April 11, 2013 10:18 AM
> To: 'Daniel P. Berrange'
> Cc: 'libvirt-users at redhat.com'; 'libvir-list at redhat.com'
> Subject: RE: fail to convert qemu xml to args with libvirt-1.0.4: An error
> occurred, but the cause is unknown
> 
> Hi Daniel,
> 
> Just Ping.
> Did you ever successfully convert QEMU xml file to argv on other platforms?
> 
> Best Regards,
> Olivia
> 
> > -----Original Message-----
> > From: Yin Olivia-R63875
> > Sent: Tuesday, April 09, 2013 1:22 PM
> > To: 'libvir-list at redhat.com'
> > Cc: 'libvirt-users at redhat.com'
> > Subject: fail to convert qemu xml to args with libvirt-1.0.4: An error
> > occurred, but the cause is unknown
> >
> > Hi,
> >
> > I used to convert qemu XML to args with libvirt-1.0.3.
> > But it failed to convert with libvirt-1.0.4.
> >
> > # virsh domxml-to-native qemu-argv test.xml >test.sh
> > error: An error occurred, but the cause is unknown
> >
> >
> > Comparing the debug file as below:
> > 1) lbvirt-1.0.3
> > <cut>
> > 2013-04-09 03:23:47.296+0000: 2669: debug :
> > virEventPollInterruptLocked:716 : Interrupting
> > 2013-04-09 03:23:47.296+0000: 2669: debug : virNetClientIO:1807 : All
> > done with our call head=(nil) call=0x100871c0 rv=0
> > 2013-04-09 03:23:47.297+0000: 2670: debug : virEventPollRunOnce:640 :
> > Poll got 1 event(s)
> > 2013-04-09 03:23:47.297+0000: 2670: debug :
> > virEventPollDispatchTimeouts:425 : Dispatch 0
> > 2013-04-09 03:23:47.297+0000: 2669: debug : virNetMessageFree:73 :
> > msg=0x10087500 nfds=0 cb=(nil)
> > 2013-04-09 03:23:47.297+0000: 2670: debug :
> > virEventPollDispatchHandles:470 : Dispatch 1
> > 2013-04-09 03:23:47.297+0000: 2670: debug :
> > virEventPollDispatchHandles:484 : i=0 w=1
> > 2013-04-09 03:23:47.297+0000: 2669: debug : virConnectClose:1483 :
> > conn=0x100878b8 <cut>
> >
> > 2) libvirt-1.0.4
> > <cut>
> > 2013-04-09 03:07:58.012+0000: 2834: debug :
> > virEventPollInterruptLocked:716 : Interrupting
> > 2013-04-09 03:07:58.012+0000: 2834: debug : virNetClientIO:1810 : All
> > done with our call head=(nil) call=0x10089db8 rv=0
> > 2013-04-09 03:07:58.012+0000: 2835: debug : virEventPollRunOnce:640 :
> > Poll got 1 event(s)
> > 2013-04-09 03:07:58.012+0000: 2835: debug :
> > virEventPollDispatchTimeouts:425 : Dispatch 0
> > 2013-04-09 03:07:58.012+0000: 2834: error :
> > virNetClientProgramDispatchError:175 : An error occurred, but the
> > cause is unknown
> > 2013-04-09 03:07:58.012+0000: 2835: debug :
> > virEventPollDispatchHandles:470 : Dispatch 1
> > 2013-04-09 03:07:58.012+0000: 2834: debug : virNetMessageFree:73 :
> > msg=0x1008a0f8 nfds=0 cb=(nil)
> > 2013-04-09 03:07:58.012+0000: 2835: debug :
> > virEventPollDispatchHandles:484 : i=0 w=1
> > 2013-04-09 03:07:58.012+0000: 2835: debug :
> > virEventPollDispatchHandles:498 : EVENT_POLL_DISPATCH_HANDLE: watch=1
> > events=1
> > 2013-04-09 03:07:58.012+0000: 2835: debug :
> > virEventPollCleanupTimeouts:516 : Cleanup 0
> > 2013-04-09 03:07:58.013+0000: 2835: debug :
> > virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
> > releasing 0
> > 2013-04-09 03:07:58.013+0000: 2835: debug :
> virEventPollCleanupHandles:564 :
> > Cleanup 2
> > 2013-04-09 03:07:58.013+0000: 2834: debug : virConnectClose:1483 :
> > conn=0x1008a4b0 <cut>
> >
> >
> > How can I debug this cause unknown error?
> >
> > Best Regards,
> > Olivia




More information about the libvirt-users mailing list