Tashi Lu
2015-Nov-19 09:19 UTC
[libvirt-users] Can't take live snapshot, not supported with this QEMU binary
Hi all, I was trying to take live snapshot of VMs, but I got the following error: [root@localhost ~]# virsh snapshot-create-as 1 test desc --live --memspec file=mem.bak,snapshot=external --diskspec vda,snapshot=external,file=/root/root.bak.qcow2 error: Operation not supported: live disk snapshot not supported with this QEMU binary I upgraded my qemu-kvm 0.12.1 to qemu 1.2, the error still exists. Is this really the problem of my qemu version or I did something wrong? To what version should I upgrade? Thanks. virsh version: Compiled against library: libvirt 0.10.2 Using library: libvirt 0.10.2 Using API: QEMU 0.10.2 Running hypervisor: QEMU 0.12.1 uname -r: 2.6.32-504.el6.x86_64
Dominique Ramaekers
2015-Nov-19 10:18 UTC
Re: [libvirt-users] Can't take live snapshot, not supported with this QEMU binary
Under libvirt 1.1.1 snapshot support is incomplete. Source: http://wiki.libvirt.org/page/I_created_an_external_snapshot,_but_libvirt_won't_let_me_delete_or_revert_to_it In regard to snapshotting (features and stability), I have selected these versions of libvirt and qemu: Libvirt >= 1.2.9 (currently 1.2.12) Qemu = 2.1.0 On Qemu 2.3 and 2.4, I have experienced a regression bug regarding external snapshots. I haven't tested 2.5 yet. I've read some ware about using an older qemu but I can't find the webpage anymore. Sorry.> -----Oorspronkelijk bericht----- > Van: libvirt-users-bounces@redhat.com [mailto:libvirt-users- > bounces@redhat.com] Namens Tashi Lu > Verzonden: donderdag 19 november 2015 10:20 > Aan: libvirt-users@redhat.com > Onderwerp: [libvirt-users] Can't take live snapshot, not supported with this > QEMU binary > > Hi all, > > I was trying to take live snapshot of VMs, but I got the following error: > > [root@localhost ~]# virsh snapshot-create-as 1 test desc --live --memspec > file=mem.bak,snapshot=external --diskspec > vda,snapshot=external,file=/root/root.bak.qcow2 > error: Operation not supported: live disk snapshot not supported with this > QEMU binary > > I upgraded my qemu-kvm 0.12.1 to qemu 1.2, the error still exists. Is this really > the problem of my qemu version or I did something wrong? > To what version should I upgrade? Thanks. > > virsh version: > Compiled against library: libvirt 0.10.2 Using library: libvirt 0.10.2 Using API: > QEMU 0.10.2 Running hypervisor: QEMU 0.12.1 > > uname -r: 2.6.32-504.el6.x86_64 > > _______________________________________________ > libvirt-users mailing list > libvirt-users@redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users
Tashi Lu
2015-Nov-20 17:47 UTC
Re: [libvirt-users] Can't take live snapshot, not supported with this QEMU binary
Thanks Ramaekers, I'm now using libvirt 1.2.21, qemu-kvm 1.2.0 and live snapshot works. I'll try out different versions of libvirt and qemu and see the differences between versions. On 19 November 2015 at 18:18, Dominique Ramaekers <dominique.ramaekers@cometal.be> wrote:> Under libvirt 1.1.1 snapshot support is incomplete. > Source: http://wiki.libvirt.org/page/I_created_an_external_snapshot,_but_libvirt_won't_let_me_delete_or_revert_to_it > > In regard to snapshotting (features and stability), I have selected these versions of libvirt and qemu: > Libvirt >= 1.2.9 (currently 1.2.12) > Qemu = 2.1.0 > > On Qemu 2.3 and 2.4, I have experienced a regression bug regarding external snapshots. I haven't tested 2.5 yet. I've read some ware about using an older qemu but I can't find the webpage anymore. Sorry. > > > > >> -----Oorspronkelijk bericht----- >> Van: libvirt-users-bounces@redhat.com [mailto:libvirt-users- >> bounces@redhat.com] Namens Tashi Lu >> Verzonden: donderdag 19 november 2015 10:20 >> Aan: libvirt-users@redhat.com >> Onderwerp: [libvirt-users] Can't take live snapshot, not supported with this >> QEMU binary >> >> Hi all, >> >> I was trying to take live snapshot of VMs, but I got the following error: >> >> [root@localhost ~]# virsh snapshot-create-as 1 test desc --live --memspec >> file=mem.bak,snapshot=external --diskspec >> vda,snapshot=external,file=/root/root.bak.qcow2 >> error: Operation not supported: live disk snapshot not supported with this >> QEMU binary >> >> I upgraded my qemu-kvm 0.12.1 to qemu 1.2, the error still exists. Is this really >> the problem of my qemu version or I did something wrong? >> To what version should I upgrade? Thanks. >> >> virsh version: >> Compiled against library: libvirt 0.10.2 Using library: libvirt 0.10.2 Using API: >> QEMU 0.10.2 Running hypervisor: QEMU 0.12.1 >> >> uname -r: 2.6.32-504.el6.x86_64 >> >> _______________________________________________ >> libvirt-users mailing list >> libvirt-users@redhat.com >> https://www.redhat.com/mailman/listinfo/libvirt-users