[libvirt] [PATCH] qemu: checkpoint: Do ACL check prior to snapshot interlocking

Pavel Hrdina phrdina at redhat.com
Mon Sep 30 09:54:54 UTC 2019


On Fri, Sep 27, 2019 at 10:26:13AM +0200, Peter Krempa wrote:
> The interlocking with snapshots is executed prior to the ACL check so if
> a VM has snapshots invoking the checkpoint API may leak it's existance.
> 
> Introduced with the qemuDomainCheckpointCreateXML API implementation in
> commit 5f4e0796503.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
> 
> Split out from the checkpoint refactor series as I didn't notice this
> one originally.
> 
>  src/qemu/qemu_driver.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190930/bbad0938/attachment-0001.sig>


More information about the libvir-list mailing list