On 03/24/2014 11:20 AM, Cédric Bosdonnat wrote:
---
src/security/virt-aa-helper.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
ACK and pushed.
diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c
index b8b0610..59de517 100644
--- a/src/security/virt-aa-helper.c
+++ b/src/security/virt-aa-helper.c
@@ -1281,7 +1281,9 @@ main(int argc, char **argv)
if (vah_add_file(&buf, ctl->newfile, "rw") != 0)
goto cleanup;
} else {
- if (ctl->def->virtType == VIR_DOMAIN_VIRT_QEMU) {
+ if (ctl->def->virtType == VIR_DOMAIN_VIRT_QEMU ||
+ ctl->def->virtType == VIR_DOMAIN_VIRT_KQEMU ||
+ ctl->def->virtType == VIR_DOMAIN_VIRT_KVM) {
virBufferAsprintf(&buf, "
\"%s/log/libvirt/**/%s.log\" w,\n",
LOCALSTATEDIR, ctl->def->name);
virBufferAsprintf(&buf, "
\"%s/lib/libvirt/**/%s.monitor\" rw,\n",
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org