[libvirt] [PATCH] virt-aa-helper: locking disk files for qemu 2.10

Christian Ehrhardt christian.ehrhardt at canonical.com
Thu Aug 10 09:20:51 UTC 2017

On Thu, Aug 10, 2017 at 11:19 AM, Christian Ehrhardt <
christian.ehrhardt at canonical.com> wrote:

> Testing qemu-2.10-rc2 shows issues like:
>   qemu-system-x86_64: -drive file=/var/lib/uvtool/libvirt/images/kvmguest-
> \
>   artful-normal.qcow,format=qcow2,if=none,id=drive-virtio-disk0:
>   Failed to lock byte 100
> It seems the following qemu commit changed the needs for the backing
> image rules:
> (qemu) commit 244a5668106297378391b768e7288eb157616f64
> Author: Fam Zheng <famz at redhat.com>
>     file-posix: Add image locking to perm operations
Additional Note (but not part of the patch description):
I thought at first I'd be on the "old kernel but new glibc" case of [1] in
But as explained in the patch it turned out that instead my kernel was new
enough and instead I ran into apparmor denials.

Even if that change would be accepted in qemu we would still need the
apparmor fix I proposed here, but it is valid context that people might be
interested in.

[1]: https://lists.gnu.org/archive/html/qemu-block/2017-07/msg01294.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170810/b3dda69e/attachment-0001.htm>

More information about the libvir-list mailing list