Re: [libvirt-users] Virtual Machines Stay Off If Rebooted

2012-05-25 Thread Andrew Martin
Hi Patrick, My VM configuration contains those same entries: testvm e630518d-2ccc-f643-a6cb-61c09a3fb251 524288 524288 1 hvm destroy restart restart /usr/bin/kvm libvirt-e630518d-2ccc-f643-a6cb-61c09a

Re: [libvirt-users] Virtual Machines Stay Off If Rebooted

2012-05-25 Thread Patrick Wilbur
Hey Andrew, Could you run the following? #virsh dumpxml The XML for one of my VMs contains some entries that look like the following: destroy restart restart What do yours look like? -- Patrick F. Wilbur Researcher, Consultant, Educator, Computer Science Graduate at Clarkson University

[libvirt-users] Virtual Machines Stay Off If Rebooted

2012-05-25 Thread Andrew Martin
Hello, I am using libvirt on Ubuntu 10.04 Server and the following versions of these packages: libvirt-bin, libvirt0, python-libvirt - 0.7.5-5ubuntu27.22 qemu-kvm 0.12.3+noroms-0ubuntu9.18 Recently, when restarting a VM (either by issuing "sudo reboot" on a Linux guest or choosing "Restar

Re: [libvirt-users] Spawn new domains from a snapshot.

2012-05-25 Thread NoxDaFox
On 25/05/12 18:17, Eric Blake wrote: On 05/25/2012 07:48 AM, NoxDaFox wrote: Hello everybody, I would like to be able to spawn several domains from a given snapshot. So would I. It's not yet possible from libvirt, but we are getting closer as we discuss ideas of how to do it. Is there any li

Re: [libvirt-users] Spawn new domains from a snapshot.

2012-05-25 Thread Eric Blake
On 05/25/2012 07:48 AM, NoxDaFox wrote: > Hello everybody, > > I would like to be able to spawn several domains from a given snapshot. So would I. It's not yet possible from libvirt, but we are getting closer as we discuss ideas of how to do it. > > Here's a possible scenario: > - I start fro

[libvirt-users] Spawn new domains from a snapshot.

2012-05-25 Thread NoxDaFox
Hello everybody, I would like to be able to spawn several domains from a given snapshot. Here's a possible scenario: - I start from disk image A.qcow2. - I made some changes to A and I take different snapshots: 1 - 2 - 3 - While A is still running I would like to run domains B and C from snaps

Re: [libvirt-users] How to specify the libvirtd in connect call

2012-05-25 Thread Zhihua Che
2012/5/25 Zhihua Che : > Hi, >    Here is my situation, I install libvirt in a non-default directory > and start libvird with sudo. While I can connect virsh to libvirtd > using "virsh --connect qemu:///system", I fail to connect my app using > "virConnectOpen("qemu:///system")", which complains "u

[libvirt-users] How to specify the libvirtd in connect call

2012-05-25 Thread Zhihua Che
Hi, Here is my situation, I install libvirt in a non-default directory and start libvird with sudo. While I can connect virsh to libvirtd using "virsh --connect qemu:///system", I fail to connect my app using "virConnectOpen("qemu:///system")", which complains "unable to locate libvirtd daemon