[vfio-users] Stuck at Tiano Core Splash Screen
Alex Williamson
alex.williamson at redhat.com
Mon Jan 23 21:03:15 UTC 2017
On Sun, 22 Jan 2017 18:24:54 +0100
"fenix23 ." <fenix.tczew at gmail.com> wrote:
> Hi,
>
> I have working vm with passedthrough GTX 980 Ti. I run it with command
> below.
>
> QEMU_ALSA_DAC_BUFFER_SIZE=1881 QEMU_ALSA_DAC_PERIOD_SIZE=940
> QEMU_AUDIO_DRV=alsa exec \
> qemu-system-x86_64 \
> -enable-kvm \
> -smp cores=2,threads=2 \
> -m 12G \
> -cpu host,kvm=off \
> -vga none \
> -usb -usbdevice host:046d:c328 \
> -nographic \
> -usb -usbdevice host:046d:c069 \
> -device vfio-pci,host=01:00.0,multifunction=on,romfile=/root/vbios.rom \
> -device vfio-pci,host=01:00.1 \
> -drive if=pflash,format=raw,readonly,file=/usr/share/OVMF/OVMF_CODE.fd \
> -drive if=pflash,format=raw,file=/tmp/my_vars.fd \
> -device virtio-scsi-pci,id=scsi \
> -drive file=/home/iso/windows10_x64.iso,id=isocd,format=raw,if=none
> -device scsi-cd,drive=isocd \
> -drive file=/home/iso/virtio-win.iso,id=virtio,format=raw,if=none -device
> ide-cd,bus=ide.1,drive=virtio \
> -drive
> file=/home/vm/firebird_ws/firebird_ws.img,id=disk,format=qcow2,if=none,cache=writeback
> -device scsi-hd,drive=disk \
> -net nic -net bridge,br=br0 \
>
>
> Now I'm trying to run it under libvirt but I only getting TianoCore splash
> screen on GPU output and windows boot's up and in VNC i see code 43 on gpu
> card.
>
> How to debug it and make it run?
>
> XML file below:
>
> <domain type='kvm'>
> <name>windows10</name>
> <uuid>5fc3a2cf-e58c-4127-abf1-45c8572d9b8e</uuid>
> <memory unit='KiB'>4194304</memory>
> <currentMemory unit='KiB'>4194304</currentMemory>
> <vcpu placement='static'>4</vcpu>
> <os>
> <type arch='x86_64' machine='pc-i440fx-2.6'>hvm</type>
> <loader readonly='yes'
> type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
> <nvram>/tmp/my_vars.fd</nvram>
> <boot dev='hd'/>
> </os>
> <features>
> <acpi/>
> <apic/>
> <hyperv>
> <relaxed state='on'/>
> <vapic state='on'/>
> <spinlocks state='on' retries='8191'/>
Missing:
<vendor_id state='on' value='SomeString'/>
> </hyperv>
Missing:
<kvm>
<hidden state='on'/>
</kvm>
[snip]
> <graphics type='vnc' port='-1' autoport='yes'>
> <listen type='address'/>
> </graphics>
> <video>
> <model type='vga' vram='16384' heads='1' primary='yes'/>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x02'
> function='0x0'/>
> </video>
GeForce doesn't typically work as a secondary graphics in the VM, get
rid of both the <graphics> and <video> sections above.
Hint:
http://vfio.blogspot.com/2015/05/vfio-gpu-how-to-series-part-4-our-first.html
More information about the vfio-users
mailing list