<div dir="ltr">Hi Team,<div><br></div><div>I am writing a new device in QEMU, which opens and reads from Netlink socket from the hypervisor. I need this Netlink socket to support migration of connection tracking entries during VM Live migration.</div><div><br></div><div>If I am using QEMU command directly to launch the VM, then any operation on Netlink socket works fine. But, If I am using libvirt to create the VM and attaching the device, then I am getting permission denied error. As I found out that this is related to SElinux, I added the svirt_t context as permissive <i>"semanage permissive  -a svirt_t". </i>With this, I am not receiving permission denied error, instead i am receiving "operation not permitted" error. </div><div>I changed the user and group field in libvirtd/qemu.conf to root/root. But still, I am facing the same problem.</div><div><br></div><div>Any suggestions to overcome this?</div><div><br></div><div><br></div><div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Regards,<div>Bharath</div></div></div></div></div>