[vfio-users] OVMF + Os X

Alex Williamson alex.l.williamson at gmail.com
Thu Oct 29 22:16:35 UTC 2015


On Thu, Oct 29, 2015 at 4:06 PM, francesco dicarlo <evilsephiroth at gmail.com>
wrote:

> ok, I'm back with other questions...
>
> I've translated all my needs in a wrapper script that adds missing
> controllers in libvirt and add attributes...
> Problem lies in this line :
> -chardev
> socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-yos/monitor.sock,server,nowait
> -mon chardev=charmonitor,id=monitor,mode=control
>
> This is added automagically by libvirt to enable the qemu monitor...
> Sadly,with this line I can't seem to boot osx under q35.
>
> When booting via qemu without libvirt monitor, there's one line with :
> Apple16x50UARTSync1: Detected 16550AF/C/CF Fifo=16 MaxBaud=115200.
>
> Refers to  -device isa-applesmc,osk="findityourself"...
>
> Seems that libvirt monitor socket and this device conflict thus failing to
> boot...
>
> It's not possible to remove the monitor (that is automatically generated)
> because libvirt will complain that no monitor showed up shutting down the
> vm...
>
> I tried with sed with alternative parameters for chardev but libvirt must
> have a monitor attached to the vm.
>
> I'm really out of ideas. Having vms on libvirt and qemu manually started
> vms isn't a viable solution for me...
>

The monitor is how libvirt interacts with the qemu process, so yeah, it's
not going to be happy about it not being there.  But the monitor is purely
an interface to QEMU, it's not exposed to the guest at all, so it really
should not interfere with the guest.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20151029/a402b97f/attachment.htm>


More information about the vfio-users mailing list