]> xenbits.xensource.com Git - libvirt.git/commit
qemu: snapshot: Forbid internal snapshots with pflash firmware
authorPeter Krempa <pkrempa@redhat.com>
Wed, 1 Mar 2017 08:15:33 +0000 (09:15 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 24 Mar 2017 13:38:25 +0000 (14:38 +0100)
commit9e2465834f4bff4068e270f15e9ed5d7301de045
treee0a861ae45ac0aed41cb8ed1a5d83a5f70cbeadd
parenta1f46c71a4307f1b8be93793e469e6467455d56d
qemu: snapshot: Forbid internal snapshots with pflash firmware

If the variable store (<nvram>) file is raw qemu can't do a snapshot of
it and thus the snapshot fails. QEMU rejects such snapshot by a message
which would not be properly interpreted as an error by libvirt.

Additionally allowing to use a qcow2 variable store backing file would
solve this issue but then it would become eligible to become target of
the memory dump.

Offline internal snapshot would be incomplete too with either storage
format since libvirt does not handle the pflash file in this case.

Forbid such snapshot so that we can avoid problems.
src/qemu/qemu_driver.c