qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] Qemu-discuss Digest, Vol 82, Issue 2


From: Allence
Subject: Re: [Qemu-discuss] Qemu-discuss Digest, Vol 82, Issue 2
Date: Thu, 5 Jul 2018 17:48:22 +0800 (CST)

I have encountered this problem
The reason is that I missed the "rom file" in vm config.
So it works fine when i add the rom.
This is my configuration (I use)
    <qemu:arg value='-device'/>
    <qemu:arg 
value='vfio-pci,host=0000:01:00.0,romfile=/root/rom,multifunction=on,x-vga=on'/>


Rom can be obtained from your host: (0000:01:00.0 is your gpu id)


  echo 0000:01:00.0 > /sys/bus/pci/devices/0000\:01\:00.0/driver/unbind
  echo 1 > /sys/bus/pci/devices/0000\:01\:00.0/rom
  cat /sys/bus/pci/devices/0000\:01\:00.0/rom > /root/rom


If your machine screen is still blank. Please tell me and give me your 
configuration



At 2018-07-04 00:00:29, address@hidden wrote:
>Send Qemu-discuss mailing list submissions to
>       address@hidden
>
>To subscribe or unsubscribe via the World Wide Web, visit
>       https://lists.nongnu.org/mailman/listinfo/qemu-discuss
>or, via email, send a message with subject or body 'help' to
>       address@hidden
>
>You can reach the person managing the list at
>       address@hidden
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Qemu-discuss digest..."
>
>
>Today's Topics:
>
>   1. KVM blank screen (Francesco Ariis)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Tue, 3 Jul 2018 10:22:59 +0200
>From: Francesco Ariis <address@hidden>
>To: address@hidden
>Subject: [Qemu-discuss] KVM blank screen
>Message-ID: <address@hidden>
>Content-Type: text/plain; charset=us-ascii
>
>Hello qemu users,
>    I have problems using KVM with qemu.
>
>I invoked qemu like this
>
>    qemu-system-i386 -hda debian.img -cdrom debian-9.4.0-i386-netinst.iso 
> -boot d -m 1024
>
>and it works (albeit slowly). When I try
>
>    qemu-system-i386 -hda debian.img -cdrom debian-9.4.0-i386-netinst.iso 
> -boot d -m 1024 --enable-kvm
>
>I only get a blank screen and no error message. lsmod gives:
>
>    $ lsmod | grep kvm
>    kvm_intel             192512  0
>    kvm                   454656  1 kvm_intel
>    irqbypass              16384  1 kvm
>
>I am not sure what I am doing wrong and/or what is the correct way to
>diagnose this. Any help appreciated!
>-F
>
>
>
>------------------------------
>
>Subject: Digest Footer
>
>_______________________________________________
>Qemu-discuss mailing list
>address@hidden
>https://lists.nongnu.org/mailman/listinfo/qemu-discuss
>
>
>------------------------------
>
>End of Qemu-discuss Digest, Vol 82, Issue 2
>*******************************************

reply via email to

[Prev in Thread] Current Thread [Next in Thread]