<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="HU" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">Dear All,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">I have started to work with libvirt a few weeks ago, but I have some problem with starting a virtual machine. Currently, I am using an
<b>embedded arm64 device</b> with a <b>Linux</b> built with <b>Yocto</b>. I managed to install
<b>lbvirt 8.1.0</b> in the image and I have a <b>qemu user</b> and <b>qemu and kvm groups
</b>in the system. I am using <b>KVM hypervisor</b> and I did the configuration in the
<b>qemu.conf</b> and <b>libvirtd.conf</b> files, enabled all the sockets and services in the system. The xml based definition of the virtual machine is simple, but when I try to start it I get the error message:
<b><span style="color:red">Failed to start domain ’XYZ’</span></b> and <b><span style="color:red">Unable to set ACLs on /dev/kvm: Invalid argument</span></b>. I cannot set ACLs on the /dev/kvm (owner is
<i>root</i>, group is <i>kvm</i> but I have also tried to set it <i>root:root</i>) with the
<i>setfacl </i>command, but I gave <i>rwx</i> access to user, group and others as well so everybody can use the device. I also uncommented the relevant lines in the
<i>qemu.conf</i> file (<i>cgroup_controllers = …</i> and <i>cgroup_device_acl = …</i>) and I also found that
<i>devices</i> controller is already mounted at <i>/sys/fs/cgroup/devices</i>. Can anybody help me with this issue? Did Anybody have similar problem? I can start a virtual machine with
<b>qemu-system-aarch64</b>, but I would like to use the libvirt library to manage the machines.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">Thank you in advance for an early reply.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">Márton Sánta
<o:p></o:p></span></p>
</div>
<font size="-2" face="Arial" color="#000000"><br>
<br>
This transmission is intended solely for the addressee and contains confidential information.<br>
If you are not the intended recipient, please immediately inform the sender and delete the message and any attachments from your system.<br>
Furthermore, please do not copy the message or disclose the contents to anyone unless agreed otherwise. To the extent permitted by law we shall in no way be liable for any damages, whatever their nature, arising out of transmission failures, viruses, external
 influence, delays and the like.<br>
</font>
</body>
</html>