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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 10, 2017 at 11:19 AM, Christian Ehrhardt <christian.ehrhardt@xxxxxxxxxxxxx> 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@xxxxxxxxxx>
    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 qemu.
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
 
--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux