[libvirt] [PATCH] snapshot: detect when qemu lacks disk-snapshot support

2011-10-18 Thread Eric Blake
Noticed when testing new libvirt against old qemu that lacked the snapshot_blkdev HMP command. Libvirt was mistakenly treating the command as successful, and re-writing the domain XML to use the just-created 0-byte file, rendering the domain broken on restart. * src/qemu/qemu_monitor_text.c

Re: [libvirt] [PATCH] snapshot: detect when qemu lacks disk-snapshot support

2011-10-18 Thread Eric Blake
On 10/18/2011 03:51 PM, Eric Blake wrote: Noticed when testing new libvirt against old qemu that lacked the snapshot_blkdev HMP command. Libvirt was mistakenly treating the command as successful, and re-writing the domain XML to use the just-created 0-byte file, rendering the domain broken on