[vfio-users] OVMF + Os X

francesco dicarlo evilsephiroth at gmail.com
Thu Oct 29 22:16:11 UTC 2015


just another thing...

starting with bare qemu,
connecting to vnc address logs me in the monitor console so I can't seem to
understand why monitor can't be removed...

2015-10-29 23:06 GMT+01:00 francesco dicarlo <evilsephiroth at gmail.com>:

> 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...
>
> Thanks in advance
>
> Francesco Dicarlo
>
>
>
> 2015-10-28 21:27 GMT+01:00 Francesco Dicarlo <evilsephiroth at gmail.com>:
>
>> Perfect. Sed for x-vga and for replacing video cirrus with none and I
>> think I'm good to go...
>> Latest libvirt from aur. Gonna check the version...
>>
>> Thanks a lot
>>
>> Sent from my iPhone
>>
>> On 28 Oct 2015, at 19:52, Alex Williamson <alex.l.williamson at gmail.com>
>> wrote:
>>
>> On Wed, Oct 28, 2015 at 12:39 PM, francesco dicarlo <
>> evilsephiroth at gmail.com> wrote:
>>
>>> Some questions :
>>>
>>> 1)Is it possibile to manage this on libvirt? vga none doesn't seem an
>>> acceptable value when editing with virsh. If i remove video tag, next
>>> opening cirrus is there. I would like to use also virtual existing
>>> networks... Libvirt is opening tap device when booting a vm...
>>>
>>
>> You can add the x-vga option via a wrapper script:
>>
>>
>> http://vfio.blogspot.com/2015/05/vfio-gpu-how-to-series-part-5-vga-mode.html
>>
>> No matter what anyone says, do NOT use a <qemu:args> option to add the
>> vfio-pci devices.  Change the QEMU binary in the wrapper script to the
>> binary within the <emulator> tag in your xml and change the <emulator> tag
>> to point to the wrapper.  If you have new enough libvirt you can also
>> configure the root ports in the xml (not likely virt-manager support yet),
>> otherwise you can add those via a wrapper script as well.  I imagine
>> there's support for many of the other options in libvirt already, maybe
>> some you'll need to resort to stuffing them in the wrapper or using
>> <qemu:args>.
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20151029/abc75008/attachment.htm>


More information about the vfio-users mailing list