Re: [libvirt-users] LibVirt + QEMU & no-shutdown

2014-07-10 Thread Michael D
I just checked with QEMU + libvirt on Ubuntu 14.04 (same QEMU versions, libvirt 1.2.1 instead), and it works as intended. libvirt detects the guest as stopped and successfully tears it down. I also did a very rudimentary test of stealing libvirt 1.2.6 from Utopic and it also seemed to work. As suc

Re: [libvirt-users] LibVirt + QEMU & no-shutdown

2014-07-10 Thread Claudio Bley
At Fri, 11 Jul 2014 05:27:46 +, Michael D wrote: > > I am currently running LibVirt with Qemu on Debian Wheezy: > > Versions: > >- libvirtd (libvirt) 1.2.4 >- qemu-x86_64 version 2.0.0 (Debian 2.0.0+dfsg-4~bpo70+1), Copyright (c) >2003-2008 Fabrice Bellard > > It's all working p

[libvirt-users] LibVirt + QEMU & no-shutdown

2014-07-10 Thread Michael D
I am currently running LibVirt with Qemu on Debian Wheezy: Versions: - libvirtd (libvirt) 1.2.4 - qemu-x86_64 version 2.0.0 (Debian 2.0.0+dfsg-4~bpo70+1), Copyright (c) 2003-2008 Fabrice Bellard It's all working perfectly, including ACPI: virsh shutdown guest. However when I issue "halt

[libvirt-users] starting lxcs from within a vm using libvirt

2014-07-10 Thread Robb Walker
my goal for testing/simulations is to be able to run a vm on my desktop and within that vm run linux containers currently I can start an ubuntu trusty vm using libvirt as my broker to qemu or qemu-system-x86_64 directly and start a saucy-based lxc using lxc-tools. I invoke lxc-start -n name -f

Re: [libvirt-users] How to config qga to support dompmsuspend

2014-07-10 Thread Michal Privoznik
On 10.07.2014 10:54, hong-hua@freescale.com wrote: Hi, I tried to run domsuspend command on my PowerPC board but failed. # virsh dompmsuspend sdk --target mem error: Domain sdk could not be suspended error: argument unsupported: QEMU guest agent is not configured You need to configure the

Re: [libvirt-users] How to config qga to support dompmsuspend

2014-07-10 Thread Eric Blake
On 07/10/2014 02:54 AM, hong-hua@freescale.com wrote: > Hi, > > I tried to run domsuspend command on my PowerPC board but failed. > # virsh dompmsuspend sdk --target mem > error: Domain sdk could not be suspended > error: argument unsupported: QEMU guest agent is not configured > > > It see

Re: [libvirt-users] snapshot-create error

2014-07-10 Thread Eric Blake
On 07/10/2014 01:15 AM, hong-hua@freescale.com wrote: > Hi, > > What's the difference between QEMU snapshot and libvirt snapshot? > > # qemu-img create -f qcow2 disk.img 512 > Formatting 'disk.img', fmt=qcow2 size=512 encryption=off cluster_size=65536 > lazy_refcounts=off This created an o

[libvirt-users] How to config qga to support dompmsuspend

2014-07-10 Thread hong-hua....@freescale.com
Hi, I tried to run domsuspend command on my PowerPC board but failed. # virsh dompmsuspend sdk --target mem error: Domain sdk could not be suspended error: argument unsupported: QEMU guest agent is not configured It seemed that support suspend-to-mem only from capabilities. # virsh capabilitie

[libvirt-users] snapshot-create error

2014-07-10 Thread hong-hua....@freescale.com
Hi, What's the difference between QEMU snapshot and libvirt snapshot? # qemu-img create -f qcow2 disk.img 512 Formatting 'disk.img', fmt=qcow2 size=512 encryption=off cluster_size=65536 lazy_refcounts=off # qemu-img info disk.img image: disk.img file format: qcow2 virtual size: 512 (512 bytes)