<div dir="ltr">Recompiling with these few changes helped and the networking drivers _seems_ to be working on macOS.<div>At least I got past the error I was getting initially.</div><div><br></div><div>I'm just now dealing with a slightly different set of problems related to libvirt sockets on macOS.</div><div>The Homebrew formula ships a launchd plist which doesn't seem to do socket activation, unlike systemd.</div><div>I worked around that by setting the socket dir path manually in the config:</div><div><br></div><div>unix_sock_dir = "/usr/local/var/run/libvirt"</div><div><br></div><div>which did make libvirtd create "libvirt-sock" in that directory as expected, but per docs there should also be a secondary read-only socket "libvirt-sock-ro" <a href="https://libvirt.org/daemons.html#monolithic-sockets">https://libvirt.org/daemons.html#monolithic-sockets</a> and it's not there for some reason. Is there any additional configuration needed to activate that secondary socket?</div><div><br></div><div>Feel free to tell me if this is getting too off-topic btw. - The big picture is that I'm trying to get libvirt working on darwin and automate RPi virtualization via Vagrant (vagrant-libvirt) and taking it step by step.</div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br></div><div dir="ltr">Radek Simko</div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 1, 2021 at 2:54 PM Andrea Bolognani <<a href="mailto:abologna@redhat.com">abologna@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, 2021-03-31 at 21:39 +0100, Radek Simko wrote:<br>
> I was attempting to virtualize Raspberry Pi on qemu via libvirt,<br>
> where my host machine is macOS (both qemu and libvirt installed via<br>
> Homebrew) and I while trying to set up the network I stumbled upon<br>
> this:<br>
> <br>
> $ virsh -c qemu:///system?socket=/usr/local/var/run/libvirt/libvirt-sock net-list --all<br>
<br>
Aside: if you have libvirt >= 6.9.0, which at this point is very<br>
likely, you shouldn't need to include the 'socket' parameter in the<br>
connection URI; in fact, for local connections, it should have worked<br>
without the parameter even before that.<br>
<br>
-- <br>
Andrea Bolognani / Red Hat / Virtualization<br>
<br>
</blockquote></div>