If I enable virtual VGA, wouldnt it boot because the virtual VGA is there? I think linux is booting without VGA on servers for example.
I installed now an arch linux system with ssh server. After shutting down windows, I started the arch VM. Now I get following error: qemu-system-x86_64: vfio: Unable to power on device, stuck in D3 qemu-system-x86_64: vfio: Unable to power on device, stuck in D3 qemu-system-x86_64: vfio: Unable to power on device, stuck in D3 qemu-system-x86_64: vfio: Unable to power on device, stuck in D3 qemu-system-x86_64: vfio-pci: Cannot read device rom at 0000:01.00.0 Device option ROM contents are probably invalid (check dmesg) Skip option ROM probe with rombar=0, or load from file with romfile= Dmesg says: [ 6079.681824] vfio_ecap_init: 0000:01:00.0 hiding ecap 0x19@0x270 [ 6079.681833] vfio_ecap_init: 0000:01:00.0 hiding ecap 0x1b@0x2d0 [ 6081.432269] kvm: zapping shadow pages for mmio generation wraparound [ 6081.433205] kvm: zapping shadow pages for mmio generation wraparound [ 6081.561929] vfio-pci 0000:01:00.0: Invalid ROM contents [ 6093.678157] kvm [27022]: vcpu0 unhandled rdmsr: 0x1c9 [ 6093.681008] kvm [27022]: vcpu0 unhandled rdmsr: 0x1a6 [ 6093.683468] kvm [27022]: vcpu0 unhandled rdmsr: 0x1a7 [ 6093.685929] kvm [27022]: vcpu0 unhandled rdmsr: 0x3f6 [ 6093.849973] kvm [27022]: vcpu0 unhandled rdmsr: 0x570 [ 6093.852581] kvm [27022]: vcpu1 unhandled rdmsr: 0x570 [ 6093.854494] kvm [27022]: vcpu2 unhandled rdmsr: 0x570 I can ssh to the host, but it does not recognize the card. lscpi -vvv: http://sprunge.us/giIQ dmesg: http://sprunge.us/NRVC After that I tried starting it with romfile, but here the VM is not starting: qemu-system-x86_64: -device vfio-pci,host=01:00.0,addr=09.0,multifunction=on,romfile=/root/qemu/rom/amd285.rom: vfio: Error: Failed to setup INTx fd: Device or resource busy qemu-system-x86_64: -device vfio-pci,host=01:00.0,addr=09.0,multifunction=on,romfile=/root/qemu/rom/amd285.rom: Device initialization failed dmesg: [ 7082.935093] vfio-pci 0000:01:00.0: Refused to change power state, currently in D3 [ 7082.948432] vfio-pci 0000:01:00.0: Refused to change power state, currently in D3 [ 7082.961753] vfio-pci 0000:01:00.0: Refused to change power state, currently in D3 [ 7083.671341] vfio-pci 0000:01:00.0: timed out waiting for pending transaction; performing function level reset anyway [ 7083.775199] vfio_cap_init: 0000:01:00.0 hiding cap 0xff same message again and again. [ 7083.775308] vfio_ecap_init: 0000:01:00.0 hiding ecap 0xffff@0x100 same message again and again. [ 7083.779562] genirq: Flags mismatch irq 16. 00000000 (vfio-intx(0000:01:00.0)) vs. 00000080 (ehci_hcd:usb1) [ 7083.801253] vfio-pci 0000:01:00.0: Refused to change power state, currently in D3 [ 7084.510861] vfio-pci 0000:01:00.0: timed out waiting for pending transaction; performing function level reset anyway The card is not listed in lspci, so I think resetting it in linux is not an option. If I get it right, it is a problem with AMDs driver? Because it is not happening with amdgpu under linux and not with Windows default driver. 2016-01-02 16:32 GMT+01:00 Eddie Yen <missile0...@gmail.com>: > Usually, VM will hangs at boot up if didn't get any VGA to boot. > And IME, reboot host is a only way if GPU can't reset. > There is one thing you can test, try to boot up VM with virtual VGA > enabled and see what happen. > > 2016-01-02 23:22 GMT+08:00 S B <sb9...@gmail.com>: > >> Yes, it is the same issue with 15.7.1 >> >> Is the VM booting the second time but only grahpic is not working? If so, >> would it be possible to start a little linux machine which resets the card >> correctly and shuts down? >> >> 2016-01-02 13:25 GMT+01:00 Eddie Yen <missile0...@gmail.com>: >> >>> I notice that you're using Crimson driver. >>> Is that a same issue using legacy driver instead of Crimson? I remember >>> driver support 285 before Crimson released. >>> >>> >> >
_______________________________________________ vfio-users mailing list vfio-users@redhat.com https://www.redhat.com/mailman/listinfo/vfio-users