Re: Virtual Network API for QEMU

2021-04-03 Thread Radek Simko
I eventually managed to spin up all the processes (libvirtd, virtlogd, virtlockd) individually and under root, which also helped exposing the read-only socket. I gathered from reading through the libvirt source code that the read-only socket is only activated under privileged mode which has led me

Re: Virtual Network API for QEMU

2021-04-02 Thread Radek Simko
Recompiling with these few changes helped and the networking drivers _seems_ to be working on macOS. At least I got past the error I was getting initially. I'm just now dealing with a slightly different set of problems related to libvirt sockets on macOS. The Homebrew formula ships a launchd plist

Re: Virtual Network API for QEMU

2021-04-01 Thread Andrea Bolognani
On Wed, 2021-03-31 at 21:39 +0100, Radek Simko wrote: > I was attempting to virtualize Raspberry Pi on qemu via libvirt, > where my host machine is macOS (both qemu and libvirt installed via > Homebrew) and I while trying to set up the network I stumbled upon > this: > > $ virsh -c qemu:///system?

Re: Virtual Network API for QEMU

2021-04-01 Thread Radek Simko
I see, thank you for the extra context and quick response Michal. I wasn't aware of the userspace SLIRP stack nor the darwin limitation - will give either a try. My main requirement is basically getting SSH to work, so I can do some provisioning, anything else would be a bonus for me. Radek Simk

Re: Virtual Network API for QEMU

2021-04-01 Thread Michal Privoznik
On 3/31/21 10:39 PM, Radek Simko wrote: Thank you Laine and thanks Michal for the detailed explanation. To add some (missing) context from my side: I was attempting to virtualize Raspberry Pi on qemu via libvirt, where my host machine is macOS (both qemu and libvirt installed via Homebrew) an

Re: Virtual Network API for QEMU

2021-03-31 Thread Radek Simko
Thank you Laine and thanks Michal for the detailed explanation. To add some (missing) context from my side: I was attempting to virtualize Raspberry Pi on qemu via libvirt, where my host machine is macOS (both qemu and libvirt installed via Homebrew) and I while trying to set up the network I stu

Re: Virtual Network API for QEMU

2021-03-29 Thread Michal Privoznik
On 3/27/21 1:39 PM, Radek Simko wrote: Hi, According to this support matrix https://libvirt.org/hvsupport.html#virNetworkDriver there is no support for any APIs other than hypervisor ones for qemu. For example virConnectNumOfNetworks is not

Re: Virtual Network API for QEMU

2021-03-28 Thread Laine Stump
On 3/27/21 8:39 AM, Radek Simko wrote: Hi, According to this support matrix https://libvirt.org/hvsupport.html#virNetworkDriver there is no support for any APIs other than hypervisor ones for qemu. For example virConnectNumOfNetworks is not