[libvirt] [PATCH] qemu_driver: protect existed save image

Chen Hanxiao chen_han_xiao at 126.com
Mon Sep 5 02:00:50 UTC 2016


At 2016-08-18 19:47:29, "Chen Hanxiao" <chen_han_xiao at 126.com> wrote:
>From: Chen Hanxiao <chenhanxiao at gmail.com>
>
>We may overwrite existed save image by
>'virsh save' command.
>
>This patch will check qemu save headers
>before trying to rewrite it.
>
>Signed-off-by: Chen Hanxiao <chenhanxiao at gmail.com>
>---
> src/qemu/qemu_driver.c | 141 +++++++++++++++++++++++++++++++------------------
> 1 file changed, 89 insertions(+), 52 deletions(-)
>

ping

Regards,
- Chen




More information about the libvir-list mailing list