[Libvir] [PATCH] qemu: reset migration source if restore fails

2007-10-09 Thread Jim Paris
With the latest KVM I'm having some issues with save/restore, but I think it's a kvm issue and not libvirt. The problems did expose a libvirt bug, though; patch below. -jim --- A failed restore of a configured VM would leave the migration source set incorrectly, preventing the VM from being sta

[Libvir] Problems with defineXML in python..

2007-10-09 Thread Mark Dehus
I am having some problems getting libvirt under python to work properly. I can setup new domains by using the createLinux() function, but when I attempt to use defineXML() it fails with no reason given other then "virDomainDefineXML() failed". I am using the same XML file for both functions. Thi

Re: [Libvir] Core dump while executing virsh in RHEL5 .

2007-10-09 Thread Veerendra
Daniel Veillard wrote: I still don't understand how you could get there (remote code while using xen:///) and why this could crash, except for a previous memory corruption. Please run the same command under valgrind and report, thanks, Daniel Now when I am running virsh using the valgrind it

Re: [Libvir] Core dump while executing virsh in RHEL5 .

2007-10-09 Thread Daniel Veillard
On Tue, Oct 09, 2007 at 04:45:05PM +0530, Veerendra wrote: > > Daniel, > Thanks for the quick reply, It didn't stop at the break > Will this help ? I still don't understand how you could get there (remote code while using xen:///) and why this could crash, except for a previous memory corruptio

Re: [Libvir] Core dump while executing virsh in RHEL5 .

2007-10-09 Thread Veerendra
Daniel, Thanks for the quick reply, It didn't stop at the break Will this help ? Rerun under gdb control, as I'm unable to find where this may occur just from the tack strace given. __virConfReadFile only calls virConfError which does not call strerror, put a breakpoint in __virConfReadFile a

Re: [Libvir] Core dump while executing virsh in RHEL5 .

2007-10-09 Thread Daniel Veillard
On Tue, Oct 09, 2007 at 03:50:37PM +0530, Veerendra wrote: > Hi all, > > I have installed libvirt-0.3.3-1, on my > RHEL 5 64 bit machine(KerVer 2.6.18-8.el5xen). > But I am getting core-dump , while executing virsh command. > > Could anyone please help me to solve

[Libvir] Core dump while executing virsh in RHEL5 .

2007-10-09 Thread Veerendra
Hi all, I have installed libvirt-0.3.3-1, on my RHEL 5 64 bit machine(KerVer 2.6.18-8.el5xen). But I am getting core-dump , while executing virsh command. Could anyone please help me to solve this? #gdb /usr/bin/virsh core Core was generated by `virsh'. Program