[vfio-users] Guest does not boot OS with GPU passed through, stuck at TianoCore boot splash

Blank Field ihatethisfield at gmail.com
Mon Apr 11 15:56:53 UTC 2016


He's also should be able to attach just the .efi file or install graphics
drivers via qxl.
On Apr 11, 2016 6:48 PM, "Laszlo Ersek" <lersek at redhat.com> wrote:

> On 04/10/16 16:46, Blank Field wrote:
>
> > What you can do - convert libvirt xml into a usual qemu command line,
> > and add an ISA debug console and check OVMF debug output in it.
>
> * Yes, capturing the OVMF debug log should be the first step when
> reporting apparent OVMF issues.
>
> You can get that log without resorting to the raw QEMU command line.
> Modify your domain XML like this:
>
> - add the following attribute to the root element of the domain XML:
>
>   <domain
>    type='kvm'
>    xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'  <-- this one
>   >
>
> - add the following XML fragment near the end of the domain XML, as a
> direct child of the <domain> element:
>
>   <qemu:commandline>
>     <qemu:arg value='-global'/>
>     <qemu:arg value='isa-debugcon.iobase=0x402'/>
>     <qemu:arg value='-debugcon'/>
>     <qemu:arg value='file:/tmp/guest_name.log'/>
>   </qemu:commandline>
>
> This will send the OVMF log to "/tmp/guest_name.log".
>
> * Regarding the specific case: a UEFI oprom for a GPU may easily be
> buggy even if it matches the card. If you are experimenting with
> "similar" drivers, all bets are off. Please buy a decent card (Alex has
> recommended the GTX750 several times; I myself bought one on his
> recommendation, and have had zero problems with it). Or else, at least
> get an officially supported driver binary from the manufacturer, please.
>
> Thanks
> Laszlo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20160411/26bcd582/attachment.htm>


More information about the vfio-users mailing list