[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



Thank you for the detailed explanation!
I did this and have uploaded the log here: http://pastebin.com/BXU9UqiG
I don't really see any apparent errors in there...

I wasn't necessarily expecting this to work with my card, but I thought I'd try it anyways. Of course I won't really have another option than getting a compatible card if it won't work out (other than not using UEFI, but as far as I understand it I would have to patch the kernel because I have an Intel CPU and would lose some capabilities of the integrated GPU as a result of that, which probably would be quite a hassle in the long run).

On Mon, Apr 11, 2016 at 5:48 PM, Laszlo Ersek 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]