KVM and qemu RPM info :-

[root@shirish_rhel ~]#  rpm -qa | grep -i qemu

SNapshot List

[root@shirish_rhel ~]# virsh snapshot-list --domain centos7.0
 Name                 Creation Time             State
 testVM2-firstSNAP35  2019-08-08 13:22:11 -0400 shutoff
 testVM2-firstSNAP36  2019-08-08 13:24:48 -0400 shutoff
 testVM2-firstSNAP37  2019-08-08 13:27:13 -0400 shutoff
[root@shirish_rhel ~]# virsh snapshot-info --domain centos7.0 --snapshotname testVM2-firstSNAP37
Name:           testVM2-firstSNAP37
Domain:         centos7.0
Current:        yes
State:          shutoff
Location:       external
Parent:         -
Children:       0
Descendants:    0
Metadata:       yes

if VM is shutdown :-

[root@shirish_rhel ~]#  virsh blockcommit centos7.0 vda --active --verbose --pivot
error: Requested operation is not valid: domain is not running

if VM is Running :-

[root@shirish_rhel ~]#  virsh blockcommit centos7.0 vda --active --verbose --pivot

error: unsupported configuration: online commit not supported with this QEMU binary

The qemu binary shipped by default in RHEL does not support snapshot live merging. To merge your snapshot, you have two possibilities:

  • shutdown the virtual machine and use qemu-img(see here for an example)

  • install the qemu-kvm-ev package from CentOS Virtualization SIG, which has the required functionality.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.