Attempting to take snapshots of VM using virsh with the following command,<div><br></div><div># virsh -c qemu:///system snapshot-create CentOS6-x86-001</div><meta charset="utf-8"><div><br></div><div>Results in the following error,</div>
<div><br></div><div>error: internal error unable to execute QEMU command 'savevm': The command savevm has not been found</div><div><br></div><div>The VM's virtual disks are qcow2. Below is the XML file for this vm</div>
<div><br></div><div>------------</div><div><div><domain type='kvm' id='6'></div><div> <name>CentOS6-x86-001</name></div><div> <uuid>050fb9d8-0b9a-48b9-a432-16eec57a9e8f</uuid></div>
<div> <memory>1024000</memory></div><div> <currentMemory>1024000</currentMemory></div><div> <vcpu>1</vcpu></div><div> <os></div><div> <type arch='x86_64' machine='rhel6.0.0'>hvm</type></div>
<div> <boot dev='hd'/></div><div> </os></div><div> <features></div><div> <acpi/></div><div> <apic/></div><div> <pae/></div><div> </features></div><div> <clock offset='utc'/></div>
<div> <on_poweroff>destroy</on_poweroff></div><div> <on_reboot>restart</on_reboot></div><div> <on_crash>restart</on_crash></div><div> <devices></div><div> <emulator>/usr/libexec/qemu-kvm</emulator></div>
<div> <disk type='file' device='disk'></div><div> <driver name='qemu' type='qcow2' cache='none'/></div><div> <source file='/vmstore/CentOS6-x86-001/CentOS6-x86-001_sys.qcow2'/></div>
<div> <target dev='vda' bus='virtio'/></div><div> <alias name='virtio-disk0'/></div><div> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/></div>
<div> </disk></div><div> <disk type='file' device='cdrom'></div><div> <driver name='qemu' type='raw'/></div><div> <target dev='hdc' bus='ide'/></div>
<div> <readonly/></div><div> <alias name='ide0-1-0'/></div><div> <address type='drive' controller='0' bus='1' unit='0'/></div><div> </disk></div>
<div> <disk type='file' device='disk'></div><div> <driver name='qemu' type='qcow2'/></div><div> <source file='/vmstore/CentOS6-x86-001/CentOS6-x86-001_var.img'/></div>
<div> <target dev='vdb' bus='virtio'/></div><div> <alias name='virtio-disk1'/></div><div> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/></div>
<div> </disk></div><div> <controller type='ide' index='0'></div><div> <alias name='ide0'/></div><div> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/></div>
<div> </controller></div><div> <interface type='bridge'></div><div> <mac address='52:54:00:4d:74:c7'/></div><div> <source bridge='br0'/></div><div> <target dev='vnet0'/></div>
<div> <model type='virtio'/></div><div> <alias name='net0'/></div><div> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/></div>
<div> </interface></div><div> <serial type='pty'></div><div> <source path='/dev/pts/1'/></div><div> <target port='0'/></div><div> <alias name='serial0'/></div>
<div> </serial></div><div> <console type='pty' tty='/dev/pts/1'></div><div> <source path='/dev/pts/1'/></div><div> <target port='0'/></div><div> <alias name='serial0'/></div>
<div> </console></div><div> <input type='tablet' bus='usb'></div><div> <alias name='input0'/></div><div> </input></div><div> <input type='mouse' bus='ps2'/></div>
<div> <graphics type='vnc' port='5900' autoport='yes'/></div><div> <video></div><div> <model type='cirrus' vram='9216' heads='1'/></div><div> <alias name='video0'/></div>
<div> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/></div><div> </video></div><div> <memballoon model='virtio'></div>
<div> <alias name='balloon0'/></div><div> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/></div><div> </memballoon></div>
<div> </devices></div><div> <seclabel type='dynamic' model='selinux'></div><div> <label>system_u:system_r:svirt_t:s0:c292,c580</label></div><div> <imagelabel>system_u:object_r:svirt_image_t:s0:c292,c580</imagelabel></div>
<div> </seclabel></div><div></domain></div></div><div><br></div><div><br></div><div>------------</div><div><br></div><div>This is my first attempt at snapshots with KVM after migrating from ESXi, so if there's a better method please let me know.</div>
<div><br></div><div>Thanks</div><div>- Trey</div>