You are not logged in.

#1676 2014-05-10 03:52:51

powerhouse
Member
Registered: 2013-05-22
Posts: 15

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

aw wrote:
powerhouse wrote:

With Xen I did not have any issue running Passmark 8 - it just works. See my passmark results here.

I notice in the CPU-z screen that Xen is reporting the CPU as family 6, model D.  So that's not accurate either.  It would be really interesting if you could change that model to match your physical CPU and see if Xen gets the same BSOD.  I expect KVM would also work with -cpu SandyBridge,model=13 (aka 'D' in decimal)

powerhouse wrote:

In that same thread I posted a CPU performance comparison between KVM and Xen, see here.

Questionable comparison with one running in safemode.  Safemode may exclude SSE, since you note it didn't run that test.  I'm confused though that your model is also listed as D under KVM, maybe my hypothesis is completely off.  You also seem to have nested VT-x support enabled.  Some here seem to think that hurts performance (I've never tried it myself).  To disable, unload and reload the kvm-intel module with nested=0 (modprobe -r kvm-intel; modprobe kvm-intel nested=0).

I checked my CPU model and CPU-Z - whether running on KVM or Xen - does report it correctly. See cpu-world. My CPU is a SandyBridge-E i7 3930K, C2 stepping.

From that I take that I should try -cpu SandyBridge,model=45

Unfortunately it might take me a couple of days until I can test again.

Offline

#1677 2014-05-11 02:18:25

SXX
Member
Registered: 2014-03-31
Posts: 15

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

Hi again. Everything working fine for me, but I met weird problem with my SATA controller passthrough:

05:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01)

Everything working fine on Windows 8.1 guest, but with Ubuntu 12.04 or Windows 7 guest there is problem appear. First time VM booting just fine, but next time I VM stuck on boot for long time and then report "Boot failed: could not read the boot disk". It's looks like both Ubuntu and Win7 don't reset controller properly on shutdown.

I find out that if I attach controller to ahci driver and back to vfio it's working fine again:

echo "1b21 0612"        > /sys/bus/pci/drivers/ahci/new_id
echo "0000:05:00.0"     > /sys/bus/pci/devices/0000\:05\:00.0/driver/unbind
echo "0000:05:00.0"     > /sys/bus/pci/drivers/ahci/bind
echo "1b21 0612"        > /sys/bus/pci/drivers/ahci/remove_id
echo "1b21 0612"        > /sys/bus/pci/drivers/vfio-pci/new_id
echo "0000:05:00.0"     > /sys/bus/pci/devices/0000\:05\:00.0/driver/unbind
echo "0000:05:00.0"     > /sys/bus/pci/drivers/vfio-pci/bind
echo "1b21 0612"        > /sys/bus/pci/drivers/vfio-pci/remove_id

Is anyone else have same problem? Any solution for this?

PS: Full configuration of qemu VM:

qemu-system-x86_64 \
-name "vm_vfio_pci" \
\
-bios /usr/share/qemu/bios.bin \
-enable-kvm \
\
-M q35 \
\
-vga none \
-device qxl \
\
-m 5G \
\
-cpu host \
-smp 6,sockets=1,cores=6,threads=1 \
\
-net none \
\
-soundhw hda \
\
-usb \
-device usb-kbd \
-device usb-mouse \
\
\
-device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 \
-device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on \
-device vfio-pci,host=04:00.0,bus=pcie.0 \
-device vfio-pci,host=05:00.0,bus=pcie.0 \
\
-device virtio-scsi-pci,id=scsi \
-drive file=/opt/vm/win.iso,id=disk,format=qcow2 \
  -device scsi-hd,drive=disk

Last edited by SXX (2014-05-11 02:19:49)

Offline

#1678 2014-05-11 10:08:41

maduraa
Member
Registered: 2014-05-01
Posts: 4

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

aw wrote:
maduraa wrote:

I saw on an online forum that some motherboards have the PCI slots behind a switch and they do not support passthrough, is this true?

-[0000:00]-+-00.0
           +-01.0-[01]--+-00.0
           |            \-00.1
           +-02.0
           +-03.0
           +-14.0
           +-16.0
           +-1a.0
           +-1b.0
           +-1c.0-[02]--
           +-1c.3-[03]----00.0
           +-1c.7-[04]----00.0
           +-1d.0
           +-1f.0
           +-1f.2
           \-1f.3

Is there any thing wrong in the about lspci -t output that'd disqualify my board? 01:00.0, 01:00.1 are for VGA and VGA audio

a) PCIe switches don't prevent device assigned, b) you don't have one.  PCIe-to-PCI bridges mean that all the devices behind the bridge may need to be assigned together, which may include multiple slots... you don't have one of those either.

Thanks aw, I tried the VGA arbiter patches but didn't see any output from the card, should I try 3.15?

Offline

#1679 2014-05-11 17:10:21

manjack
Member
Registered: 2014-05-11
Posts: 9

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

Hi, thanks for the great guide. I'm kinda new here and arch linux.
I would like to ask if anything work fine, do i have to type those command every time i wanna start the VM?

Offline

#1680 2014-05-11 21:18:30

jb660
Member
Registered: 2014-05-11
Posts: 4

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

Thanks nbhs for this excellent tutorial.


I previously managed to successfully pass-through my video card but after formatting my desktop I can't make it work again.
When I try to launch the vm qemu starts without errors but nothing appears on the output of my graphics card .

I use all the packages given on the first post.
I have a GTX780 - i7 4770 (host GPU) - Asrock Z87 pro3

output of dmesg

[ 1873.347383] vfio_ecap_init: 0000:04:00.0 hiding ecap 0x19@0x900

output of lspci -v

04:00.0 VGA compatible controller: NVIDIA Corporation GK110 [GeForce GTX 780] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: NVIDIA Corporation Device 104b
	Flags: fast devsel, IRQ 16
	Memory at ea000000 (32-bit, non-prefetchable) [size=16M]
	Memory at e0000000 (64-bit, prefetchable) [size=128M]
	Memory at e8000000 (64-bit, prefetchable) [size=32M]
	I/O ports at e000 [size=128]
	Expansion ROM at eb000000 [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: vfio-pci
	Kernel modules: nouveau

04:00.1 Audio device: NVIDIA Corporation GK110 HDMI Audio (rev a1)
	Subsystem: NVIDIA Corporation Device 104b
	Flags: fast devsel, IRQ 17
	Memory at eb080000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: vfio-pci
	Kernel modules: snd_hda_intel

Offline

#1681 2014-05-12 03:29:31

powerhouse
Member
Registered: 2013-05-22
Posts: 15

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

@jb660: The nouveau driver is taking control of your video card. You should blacklist it. Also, I'm not sure which method nbhs described in his tutorial, but I have seen good results with binding the graphics card to pci_stub using the initramfs method.

You could check that your pci_stub binding method is working by checking for USB hosts in lspci and binding one of it to pci_stub (preferable not the one with keyboard/mouse connected to it). Then check with lspci -v.

Offline

#1682 2014-05-12 03:35:17

powerhouse
Member
Registered: 2013-05-22
Posts: 15

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

manjack wrote:

Hi, thanks for the great guide. I'm kinda new here and arch linux.
I would like to ask if anything work fine, do i have to type those command every time i wanna start the VM?

You can copy/paste the command into a file, put

#!/bin/sh

in the first line (or .../bash instead of .../sh), and make it executable. Voila, you got a shell script.

Offline

#1683 2014-05-12 06:07:05

jb660
Member
Registered: 2014-05-11
Posts: 4

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

powerhouse wrote:

@jb660: The nouveau driver is taking control of your video card. You should blacklist it. Also, I'm not sure which method nbhs described in his tutorial, but I have seen good results with binding the graphics card to pci_stub using the initramfs method.

You could check that your pci_stub binding method is working by checking for USB hosts in lspci and binding one of it to pci_stub (preferable not the one with keyboard/mouse connected to it). Then check with lspci -v.

The nouveau driver is already blacklisted
cat /etc/modprobe.d/blacklist.conf

blacklist nouveau

I use the pci-stub method and it seems to work as I have this output.

dmesg | grep stub

[    0.419737] pci-stub: add 10DE:1004 sub=FFFFFFFF:FFFFFFFF cls=00000000/00000000
[    0.419744] pci-stub 0000:04:00.0: claimed by stub
[    0.419747] pci-stub: add 10DE:0E1A sub=FFFFFFFF:FFFFFFFF cls=00000000/00000000
[    0.419751] pci-stub 0000:04:00.1: claimed by stub

and vfio-bind works without problems afterwards

Offline

#1684 2014-05-12 08:21:30

manjack
Member
Registered: 2014-05-11
Posts: 9

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

powerhouse wrote:
manjack wrote:

Hi, thanks for the great guide. I'm kinda new here and arch linux.
I would like to ask if anything work fine, do i have to type those command every time i wanna start the VM?

You can copy/paste the command into a file, put

#!/bin/sh

in the first line (or .../bash instead of .../sh), and make it executable. Voila, you got a shell script.


Many Thanks!

Offline

#1685 2014-05-12 18:29:37

thehighhat
Member
Registered: 2014-05-12
Posts: 5

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

How do passthrough'd devices get returned to the host?


-----

Here is what I have:
  mobo:  Tyan S7025
  kernel:  3.13
  guest:  windows 7 64bit 
  host vga:  aspeed onboard graphics
  pcie gpu:  gtx470

Here is what I did:
  set bios to enable vt-d
  set bios to use onboard aspeed for host
  no gui installed on linux host
  ssh into linux host from another machine
  blacklist nouveau
  vfio_iommu_type1 allow_unsafe_interrupts=1
  using vfio-bind script with the gtx470 lscpi values
  started vm with this command

qemu-system-x86_64 \
 -enable-kvm \
 -machine type=q35,accel=kvm \
 -cpu host \
 -smp cpus=4 \
 -m 4G \
 -device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 \
 -device vfio-pci,host=04:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on \
 -device vfio-pci,host=00:b1.0 \
 -drive file=/path/to/win7.raw,format=raw,cache=none,id=disk \
 -device ide-hd,bus=ide.0,drive=disk \
 -usb \
 -usbdevice host:064d:c25b \
 -bios /path/to/qemu/bios.bin \
 -vga none \
 -nographic \
 -name "vm-kvm"
  

  attach monitor to gtx470

  the usb keyboard was originally attached to host
    this command assigns it to the guest
  the onboard sound device is attached


the vm runs perfectly. 

except, after it shutdowns, two issues:

  1.  how do reassign the usb keyboard and audio chipset back to the host
  2.  how can reuse the graphics card. 
       2a.  whenever I try to start the vm again i get error:

qemu-system-x86_64: vfio-pci: Cannot read device rom at 0000:04:00.0
Device option ROM contents are probably invalid (check dmesg).
Skip option ROM probe with rombar=0, or load from file with romfile=

 

thoughts?


GPU passthrough of GTX470 to a Windows 7 guest

Last edited by thehighhat (2014-05-14 20:14:20)

Offline

#1686 2014-05-12 18:53:05

powerhouse
Member
Registered: 2013-05-22
Posts: 15

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

jb660 wrote:
powerhouse wrote:

@jb660: The nouveau driver is taking control of your video card. You should blacklist it. Also, I'm not sure which method nbhs described in his tutorial, but I have seen good results with binding the graphics card to pci_stub using the initramfs method.

You could check that your pci_stub binding method is working by checking for USB hosts in lspci and binding one of it to pci_stub (preferable not the one with keyboard/mouse connected to it). Then check with lspci -v.

The nouveau driver is already blacklisted
cat /etc/modprobe.d/blacklist.conf

blacklist nouveau

I use the pci-stub method and it seems to work as I have this output.

dmesg | grep stub

[    0.419737] pci-stub: add 10DE:1004 sub=FFFFFFFF:FFFFFFFF cls=00000000/00000000
[    0.419744] pci-stub 0000:04:00.0: claimed by stub
[    0.419747] pci-stub: add 10DE:0E1A sub=FFFFFFFF:FFFFFFFF cls=00000000/00000000
[    0.419751] pci-stub 0000:04:00.1: claimed by stub

and vfio-bind works without problems afterwards

Strange, so how come your lspci -v lists nouveau?

Kernel modules: nouveau

Last edited by powerhouse (2014-05-12 18:54:18)

Offline

#1687 2014-05-12 23:37:25

Destroy
Member
Registered: 2014-05-05
Posts: 10

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

This begins to take form but...
I could install windows 7 but at the last part when is detecting and configuring the hardware I got a BSOD error 0x00000116 with the file nvlddmkm.sys (nvidia driver).

As I say in my post 1655, my 1st  video card is a buildin intel and the 2nd is a Nvidia 7600GT.

I was able to start windows removing the parameter "-vga none" and "x-vga=on".it said In the proprieties of the Nvidia card  that It does not have enough resources. I thought that installing the latest drivers for my video card it will work but still crash. sad

The next thing I did was start windows in SAFE MODE. Windows finally start this are the resources that use:
nvidia 7600 gt
windows 7
interval
memory     FB000000-FBFFFFFF
  E0000000-EFFFFFFF
  FC000000-FCFFFFFF
I/O    C000-C07F
IRQ    10

My command line is

qemu-system-x86_64 -enable-kvm -M q35 -m 4096 -cpu host \
-device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 \
-device vfio-pci,host=02:00.0,bus=root.1,addr=00.0,multifunction=on,romfile=/media/800/destroy_varios/donwload2/virtualizacion/MSI.7600GT.256.060310.rom \
-bios /var/lib/libvirt/bios/seabios-hp2.bin  \
-boot menu=on \
-device piix4-ide,bus=pcie.0,id=piix4-ide \
-drive file=/media/Utils/Sistemas\ Operativos/windows/win7.iso,id=isocd -device ide-cd,bus=piix4-ide.1,drive=isocd \
-drive file=/media/800/Virtual\ Machines/disks-virt/win7-A.qcow2,id=disk,format=qcow2 -device ide-hd,bus=piix4-ide.0,drive=disk \
-usb -usbdevice host:040b:2013 

any idea? Please help

Offline

#1688 2014-05-13 05:07:42

aw
Member
Registered: 2013-10-04
Posts: 921
Website

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

Destroy wrote:

This begins to take form but...
I could install windows 7 but at the last part when is detecting and configuring the hardware I got a BSOD error 0x00000116 with the file nvlddmkm.sys (nvidia driver).

As I say in my post 1655, my 1st  video card is a buildin intel and the 2nd is a Nvidia 7600GT.

I was able to start windows removing the parameter "-vga none" and "x-vga=on".it said In the proprieties of the Nvidia card  that It does not have enough resources. I thought that installing the latest drivers for my video card it will work but still crash. sad

The next thing I did was start windows in SAFE MODE. Windows finally start this are the resources that use:
nvidia 7600 gt
windows 7
interval
memory     FB000000-FBFFFFFF
  E0000000-EFFFFFFF
  FC000000-FCFFFFFF
I/O    C000-C07F
IRQ    10

My command line is

qemu-system-x86_64 -enable-kvm -M q35 -m 4096 -cpu host \
-device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 \
-device vfio-pci,host=02:00.0,bus=root.1,addr=00.0,multifunction=on,romfile=/media/800/destroy_varios/donwload2/virtualizacion/MSI.7600GT.256.060310.rom \
-bios /var/lib/libvirt/bios/seabios-hp2.bin  \
-boot menu=on \
-device piix4-ide,bus=pcie.0,id=piix4-ide \
-drive file=/media/Utils/Sistemas\ Operativos/windows/win7.iso,id=isocd -device ide-cd,bus=piix4-ide.1,drive=isocd \
-drive file=/media/800/Virtual\ Machines/disks-virt/win7-A.qcow2,id=disk,format=qcow2 -device ide-hd,bus=piix4-ide.0,drive=disk \
-usb -usbdevice host:040b:2013 

any idea? Please help

I was about to write how I installed a 7300LE in my system and it seems to be running just fine... but then the VM hung refreshing the Windows experience index.  Repeatedly.  It does seem to run the Heaven benchmark though, very, very slowly, and some parts it just doesn't render correctly.  Nvidia doesn't even support 7-series cards anymore and cards with better performance can be bought for $10US.  Anyway,  my experience seems better than yours.  I'm running an upstream 3.15-rc4 kernel with the i915 patches plus stock Fedora qemu-kvm-2.0.0-4.fc20.x86_64.  I've been having quite a bit of success using the default 440FX QEMU machine:

#!/bin/sh -x

virsh nodedev-detach pci_0000_01_00_0

QEMU=/bin/qemu-kvm

QEMU_AUDIO_DRV=pa \
$QEMU \
-enable-kvm -rtc base=localtime \
-m 4g -smp sockets=1,cores=2 -cpu host,hv-time \
-vga none -nographic \
-monitor stdio \
-nodefconfig \
-device intel-hda -device hda-output \
-device vfio-pci,host=1:00.0,x-vga=on \
-netdev tap,id=br0,vhost=on \
-device virtio-net-pci,mac=02:12:34:56:78:91,netdev=br0 \
-drive file=/dev/vg_vm/lv_win7_nvidia,cache=none,if=none,id=win7,aio=native \
-device virtio-blk-pci,drive=win7,bootindex=0

virsh nodedev-reattach pci_0000_01_00_0

Also, if you need Marvell SATA patches, try my dma-alias-v3 branch at git://github.com/awilliam/linux-vfio.git


http://vfio.blogspot.com
Looking for a more open forum to discuss vfio related uses?  Try https://www.redhat.com/mailman/listinfo/vfio-users

Offline

#1689 2014-05-13 18:41:32

pereczes
Member
Registered: 2014-03-08
Posts: 14

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

hi, not really pci passthrough, but related. Bought this DisplayLink AOC monitor, and unfortunately I am victim of superficial information about availability of linux drivers. That would be still ok, but the real disaster is that I cannot use the Displaylink in a virtual machine. Funny enough under Virtualbox it complains that it cannot work with the primary card, but under kvm/qemu it tries to turn on the monitor, it seems like the backlight is on but that is all. Anybody any experience with this DisplayLink in virtual machine? I know that AOC stated that it would not work... nevertheless...

Offline

#1690 2014-05-13 18:49:47

aw
Member
Registered: 2013-10-04
Posts: 921
Website

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

pereczes wrote:

hi, not really pci passthrough, but related. Bought this DisplayLink AOC monitor, and unfortunately I am victim of superficial information about availability of linux drivers. That would be still ok, but the real disaster is that I cannot use the Displaylink in a virtual machine. Funny enough under Virtualbox it complains that it cannot work with the primary card, but under kvm/qemu it tries to turn on the monitor, it seems like the backlight is on but that is all. Anybody any experience with this DisplayLink in virtual machine? I know that AOC stated that it would not work... nevertheless...

It's just a USB device, right?  You might need to expose a USB 2 or 3 controller to the guest for it to work with USB passthrough.  Otherwise, I don't see why it wouldn't work with an assigned PCI USB2+ controller.


http://vfio.blogspot.com
Looking for a more open forum to discuss vfio related uses?  Try https://www.redhat.com/mailman/listinfo/vfio-users

Offline

#1691 2014-05-13 18:56:14

pereczes
Member
Registered: 2014-03-08
Posts: 14

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

aw wrote:
pereczes wrote:

hi, not really pci passthrough, but related. Bought this DisplayLink AOC monitor, and unfortunately I am victim of superficial information about availability of linux drivers. That would be still ok, but the real disaster is that I cannot use the Displaylink in a virtual machine. Funny enough under Virtualbox it complains that it cannot work with the primary card, but under kvm/qemu it tries to turn on the monitor, it seems like the backlight is on but that is all. Anybody any experience with this DisplayLink in virtual machine? I know that AOC stated that it would not work... nevertheless...

It's just a USB device, right?  You might need to expose a USB 2 or 3 controller to the guest for it to work with USB pass-through.  Otherwise, I don't see why it wouldn't work with an assigned PCI USB2+ controller.

You see... that was my reasoning as well, easy to go in wrong direction. The problem that these b*tards look at the graphic card. They seem to attach to the graphic card like a mushroom or other parasite, extract the liquid and send it USB smile .

Offline

#1692 2014-05-13 18:57:41

aw
Member
Registered: 2013-10-04
Posts: 921
Website

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

pereczes wrote:
aw wrote:
pereczes wrote:

hi, not really pci passthrough, but related. Bought this DisplayLink AOC monitor, and unfortunately I am victim of superficial information about availability of linux drivers. That would be still ok, but the real disaster is that I cannot use the Displaylink in a virtual machine. Funny enough under Virtualbox it complains that it cannot work with the primary card, but under kvm/qemu it tries to turn on the monitor, it seems like the backlight is on but that is all. Anybody any experience with this DisplayLink in virtual machine? I know that AOC stated that it would not work... nevertheless...

It's just a USB device, right?  You might need to expose a USB 2 or 3 controller to the guest for it to work with USB pass-through.  Otherwise, I don't see why it wouldn't work with an assigned PCI USB2+ controller.

You see... that was my reasoning as well, easy to go in wrong direction. The problem that these b*tards look at the graphic card. They seem to attach to the graphic card like a mushroom or other parasite, extract the liquid and send it USB smile .

Ugh.  Send it back


http://vfio.blogspot.com
Looking for a more open forum to discuss vfio related uses?  Try https://www.redhat.com/mailman/listinfo/vfio-users

Offline

#1693 2014-05-13 19:52:36

jb660
Member
Registered: 2014-05-11
Posts: 4

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

powerhouse wrote:

...

Strange, so how come your lspci -v lists nouveau?

Kernel modules: nouveau

I think that is the standard behaviour ( https://bbs.archlinux.org/viewtopic.php … 9#p1373419 )

moreover

lsmod | grep nouveau

does not return anything

Offline

#1694 2014-05-14 01:47:52

Destroy
Member
Registered: 2014-05-05
Posts: 10

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

jb660 wrote:

I previously managed to successfully pass-through my video card but after formatting my desktop I can't make it work again.
When I try to launch the vm qemu starts without errors but nothing appears on the output of my graphics card .

This happened to my too. Only the first time the VM seems fine, the next call nothing appear until I added the rom of the video card

....,x-vga=on,romfile=/media/800/destroy_varios/donwload2/virtualizacion/MSI.7600GT.256.060310.rom
jb660 wrote:

output of lspci -v

04:00.0 VGA compatible controller: NVIDIA Corporation GK110 [GeForce GTX 780] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: NVIDIA Corporation Device 104b
	Flags: fast devsel, IRQ 16
	Memory at ea000000 (32-bit, non-prefetchable) [size=16M]
	Memory at e0000000 (64-bit, prefetchable) [size=128M]
	Memory at e8000000 (64-bit, prefetchable) [size=32M]
	I/O ports at e000 [size=128]
	Expansion ROM at eb000000 [disabled] [size=512K]
	Capabilities: <access denied>
  	Kernel driver in use: vfio-pci
	Kernel modules: nouveau

powerhouse is incorrect, here you have 2 lines:
Kernel driver in use: vfio-pci - is saying you current driver
Kernel modules: nouveau - is saying that this driver could use your hardware

but this is weird: Capabilities: <access denied>

Last edited by Destroy (2014-05-14 02:13:47)

Offline

#1695 2014-05-14 02:11:41

Destroy
Member
Registered: 2014-05-05
Posts: 10

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

aw wrote:

I was about to write how I installed a 7300LE in my system and it seems to be running just fine... but then the VM hung refreshing the Windows experience index.  Repeatedly.  It does seem to run the Heaven benchmark though, very, very slowly, and some parts it just doesn't render correctly.  Nvidia doesn't even support 7-series cards anymore and cards with better performance can be bought for $10US.  Anyway,  my experience seems better than yours.  I'm running an upstream 3.15-rc4 kernel with the i915 patches plus stock Fedora qemu-kvm-2.0.0-4.fc20.x86_64.  I've been having quite a bit of success using the default 440FX QEMU machine:

I have upgraded to qemu-2 and now the VM start fine big_smile

aw wrote:
#!/bin/sh -x

virsh nodedev-detach pci_0000_01_00_0

QEMU=/bin/qemu-kvm

QEMU_AUDIO_DRV=pa \
$QEMU \
-enable-kvm -rtc base=localtime \
-m 4g -smp sockets=1,cores=2 -cpu host,hv-time \
-vga none -nographic \
-monitor stdio \
-nodefconfig \
-device intel-hda -device hda-output \
-device vfio-pci,host=1:00.0,x-vga=on \
-netdev tap,id=br0,vhost=on \
-device virtio-net-pci,mac=02:12:34:56:78:91,netdev=br0 \
-drive file=/dev/vg_vm/lv_win7_nvidia,cache=none,if=none,id=win7,aio=native \
-device virtio-blk-pci,drive=win7,bootindex=0

virsh nodedev-reattach pci_0000_01_00_0

What are the advantages of "rtc base=localtime", "-monitor stdio" "-nodefconfig" and "hv-time"?

aw wrote:

Also, if you need Marvell SATA patches, try my dma-alias-v3 branch at git://github.com/awilliam/linux-vfio.git

do you have a patch file? I don't know how to get it for linux-3.14.2. I have never used git before.

Nevertheless I am able to boot windows correctly without BSOD but after I tried to run the test using Passmark PerformanceTest benchmark I got another BSOD now with DirectIO64 file.
I think this is the same problem that have powerhouse.

I'll try this later

echo "options kvm ignore_msrs=1" >> /etc/modprobe.d/kvm.conf

More news tomorrow

Offline

#1696 2014-05-14 06:22:26

Destroy
Member
Registered: 2014-05-05
Posts: 10

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

It's working!!!

thanks for this

echo "options kvm ignore_msrs=1" >> /etc/modprobe.d/kvm.conf

The Windows 7 experience runs fully and give me a 5.1 because my video card
Also running  Passmark PerformanceTest does not crash the system,
meanwhile in the host dmesg shows

[ 8805.345943] kvm [2308]: vcpu0 ignored rdmsr: 0xce
[10525.815384] kvm [2308]: vcpu0 ignored rdmsr: 0xce
[10525.819608] kvm [2308]: vcpu0 ignored rdmsr: 0xe8
[10525.823808] kvm [2308]: vcpu0 ignored rdmsr: 0xe8
[10525.823819] kvm [2308]: vcpu0 ignored rdmsr: 0xe7
[10525.828023] kvm [2308]: vcpu0 ignored rdmsr: 0xe7
[10525.828045] kvm [2308]: vcpu0 ignored rdmsr: 0x31
[10525.828049] kvm [2308]: vcpu0 ignored rdmsr: 0x35
[10525.828052] kvm [2308]: vcpu0 ignored rdmsr: 0x39
[10525.828068] kvm [2308]: vcpu0 ignored rdmsr: 0xce
[10525.828071] kvm [2308]: vcpu0 ignored rdmsr: 0x1ad
[10531.211800] kvm_get_msr_common: 56 callbacks suppressed
[10531.211805] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10531.211811] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10531.211897] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10531.211972] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10531.726573] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10531.726581] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10531.726664] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10531.726739] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10532.241382] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10532.241391] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10536.359825] kvm_get_msr_common: 30 callbacks suppressed
[10536.359830] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10536.359836] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10536.359921] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10536.359995] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10536.874625] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10536.874633] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10536.874718] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10536.874793] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10537.389450] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10537.389459] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10541.507914] kvm_get_msr_common: 30 callbacks suppressed
[10541.507919] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10541.507926] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10541.508012] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10541.508087] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10542.032144] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10542.032152] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10542.032232] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10542.032302] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10542.553052] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10542.553060] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10546.671482] kvm_get_msr_common: 30 callbacks suppressed
[10546.671487] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10546.671494] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10546.671578] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10546.671653] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10547.186743] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10547.186749] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10547.186800] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10547.186845] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10547.701166] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10547.701176] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10551.819542] kvm_get_msr_common: 30 callbacks suppressed
[10551.819547] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10551.819554] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10551.819685] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10551.820311] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10552.334294] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10552.334303] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10552.334386] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10552.334472] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10552.849163] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10552.849172] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10556.967604] kvm_get_msr_common: 30 callbacks suppressed
[10556.967609] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10556.967616] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10556.967701] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10556.967775] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10557.482480] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10557.482489] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10557.482588] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10557.482713] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10557.997470] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10557.997479] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10562.115632] kvm_get_msr_common: 30 callbacks suppressed
[10562.115637] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10562.115643] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10562.115728] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10562.115801] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10562.630407] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10562.630416] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10562.630499] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10562.630588] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10563.145239] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10563.145247] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10567.263657] kvm_get_msr_common: 30 callbacks suppressed
[10567.263661] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10567.263667] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10567.263754] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10567.263828] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10567.778420] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10567.778430] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10567.778517] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10567.778607] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10568.293303] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10568.293312] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10572.411700] kvm_get_msr_common: 30 callbacks suppressed
[10572.411704] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10572.411711] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10572.411797] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10572.411871] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10572.926492] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10572.926502] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10572.926587] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10572.926783] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10573.446144] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10573.446153] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10577.575379] kvm_get_msr_common: 30 callbacks suppressed
[10577.575384] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10577.575391] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10577.575475] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10577.575549] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10578.090146] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10578.090155] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10578.090241] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10578.090315] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10578.604912] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10578.604921] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10582.723344] kvm_get_msr_common: 30 callbacks suppressed
[10582.723348] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10582.723355] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10582.723439] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10582.723514] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10583.238144] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10583.238153] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10583.238743] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10583.238969] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10583.757245] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10583.757253] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10587.871387] kvm_get_msr_common: 30 callbacks suppressed
[10587.871391] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10587.871398] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10587.871482] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10587.871556] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10588.386205] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10588.386214] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10588.386298] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10588.386371] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10588.901250] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10588.901259] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10593.019411] kvm_get_msr_common: 30 callbacks suppressed
[10593.019415] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10593.019422] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10593.019506] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10593.019630] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10593.534219] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10593.534229] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10593.534358] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10593.534432] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10594.049187] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10594.049196] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10598.183053] kvm_get_msr_common: 30 callbacks suppressed
[10598.183058] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10598.183064] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10598.183149] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10598.183223] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10598.697835] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10598.697843] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10598.697928] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10598.698002] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10599.212738] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10599.212747] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10603.331055] kvm_get_msr_common: 30 callbacks suppressed
[10603.331059] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10603.331066] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10603.331151] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10603.331224] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10603.845911] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10603.845920] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10603.846006] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10603.846137] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10604.360691] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10604.360701] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10608.494737] kvm_get_msr_common: 30 callbacks suppressed
[10608.494742] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10608.494749] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10608.494833] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10608.494922] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10609.009558] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10609.009567] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10609.009649] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10609.009722] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10609.524341] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10609.524350] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10613.649505] kvm_get_msr_common: 30 callbacks suppressed
[10613.649510] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10613.649516] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10613.649637] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10613.649707] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10614.177452] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10614.177460] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10614.177539] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10614.177609] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10614.687996] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10614.688004] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10618.806408] kvm_get_msr_common: 30 callbacks suppressed
[10618.806413] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10618.806419] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10618.806503] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10618.806769] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10619.321199] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10619.321208] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10619.321293] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10619.321367] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10619.835983] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10619.835992] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10623.954401] kvm_get_msr_common: 30 callbacks suppressed
[10623.954406] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10623.954412] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10623.954496] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10623.954570] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10624.469241] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10624.469250] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10624.469334] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10624.469408] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10624.984063] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10624.984072] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10629.102434] kvm_get_msr_common: 30 callbacks suppressed
[10629.102438] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10629.102445] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10629.102528] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10629.102602] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10629.617282] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10629.617291] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10629.617376] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10629.617449] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10630.132252] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10630.132260] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10634.266098] kvm_get_msr_common: 30 callbacks suppressed
[10634.266103] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10634.266110] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10634.266228] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10634.266862] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10634.780919] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10634.780928] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10634.781013] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10634.781103] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10635.300753] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10635.300761] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10639.429779] kvm_get_msr_common: 30 callbacks suppressed
[10639.429783] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10639.429790] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10639.429875] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10639.429950] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10639.944542] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10639.944551] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10639.944636] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10639.944709] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10640.459346] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10640.459355] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10644.577795] kvm_get_msr_common: 30 callbacks suppressed
[10644.577799] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10644.577806] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10644.577888] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10644.577962] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10645.092611] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10645.092620] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10645.092774] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10645.092849] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10645.611679] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10645.611687] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10649.725820] kvm_get_msr_common: 30 callbacks suppressed
[10649.725824] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10649.725831] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10649.725966] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10649.726589] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10650.240613] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10650.240621] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10650.240748] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10650.240820] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10650.755402] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10650.755411] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10654.874206] kvm_get_msr_common: 30 callbacks suppressed
[10654.874210] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10654.874217] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10654.874303] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10654.874376] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10655.388652] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10655.388661] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10655.388747] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10655.388821] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10655.903505] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10655.903515] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10660.021885] kvm_get_msr_common: 30 callbacks suppressed
[10660.021889] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10660.021896] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10660.021981] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10660.022055] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10660.536674] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10660.536682] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10660.536767] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10660.536841] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10661.051499] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10661.051508] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10665.169926] kvm_get_msr_common: 30 callbacks suppressed
[10665.169930] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10665.169937] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10665.170021] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10665.170096] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10665.684738] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10665.684748] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10665.685339] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10665.685436] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10666.199504] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10666.199513] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10670.333574] kvm_get_msr_common: 30 callbacks suppressed
[10670.333579] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10670.333585] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10670.333669] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10670.333798] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10670.848386] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10670.848394] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10670.848528] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10670.848602] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10671.363159] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10671.363169] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10675.481562] kvm_get_msr_common: 30 callbacks suppressed
[10675.481567] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10675.481573] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10675.481669] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10675.481743] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10675.996663] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10675.996673] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10675.996755] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10675.996829] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10676.511176] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10676.511184] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10680.629924] kvm_get_msr_common: 30 callbacks suppressed
[10680.629929] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10680.629936] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10680.630020] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10680.630094] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10681.144424] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10681.144434] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10681.145031] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10681.145188] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10681.659228] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10681.659237] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10685.777657] kvm_get_msr_common: 30 callbacks suppressed
[10685.777662] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10685.777668] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10685.777801] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10685.777875] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10686.292426] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10686.292435] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10686.292519] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10686.292594] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10686.807295] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10686.807305] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10690.925679] kvm_get_msr_common: 30 callbacks suppressed
[10690.925683] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10690.925690] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10690.925775] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10690.925850] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10691.440495] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10691.440504] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10691.440629] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10691.440704] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10691.955308] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10691.955317] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10696.073708] kvm_get_msr_common: 30 callbacks suppressed
[10696.073712] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10696.073719] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10696.073806] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10696.073880] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10696.588536] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10696.588545] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10696.588630] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10696.588754] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10697.103308] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10697.103317] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10701.246230] kvm_get_msr_common: 30 callbacks suppressed
[10701.246234] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10701.246241] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10701.246357] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10701.246431] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10701.767725] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10701.767733] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10701.767812] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10701.767881] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10702.282606] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10702.282616] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10706.401172] kvm_get_msr_common: 30 callbacks suppressed
[10706.401177] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10706.401183] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10706.401268] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10706.401341] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10706.915828] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10706.915837] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10706.915925] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10706.915999] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10707.430601] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10707.430610] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10711.549035] kvm_get_msr_common: 30 callbacks suppressed
[10711.549040] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10711.549046] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10711.549131] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10711.549205] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10712.064015] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10712.064023] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10712.064107] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10712.064181] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10712.578612] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10712.578622] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10716.697039] kvm_get_msr_common: 30 callbacks suppressed
[10716.697044] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10716.697051] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10716.697135] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10716.697208] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10717.211880] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10717.211890] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10717.212004] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10717.212078] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10717.726689] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10717.726698] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10721.845098] kvm_get_msr_common: 30 callbacks suppressed
[10721.845103] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10721.845110] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10721.845193] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10721.845266] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10722.360083] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10722.360091] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10722.360207] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10722.360280] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10722.874715] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10722.874724] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10726.993455] kvm_get_msr_common: 30 callbacks suppressed
[10726.993459] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10726.993466] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10726.993551] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10726.993626] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10727.507937] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10727.507945] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10727.508030] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10727.508104] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10728.022716] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10728.022724] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10732.156819] kvm_get_msr_common: 30 callbacks suppressed
[10732.156824] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10732.156831] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10732.156917] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10732.157626] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10732.671554] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10732.671563] kvm [2308]: vcpu0 ignored rdmsr: 0x611
[10732.671649] kvm [2308]: vcpu0 ignored rdmsr: 0x639
[10732.671800] kvm [2308]: vcpu0 ignored rdmsr: 0x641
[10733.186383] kvm [2308]: vcpu0 ignored rdmsr: 0x1a2
[10733.186393] kvm [2308]: vcpu0 ignored rdmsr: 0x611

The bad things are the result in the Passmark PerformanceTest for my Intel i5 3330 (using 1 core and 1 thread), the video card Nvidia 7600GT seems in the range. I don't know what thing about the memory test.
CPU Mark: 1633
2D Graphics Mark: 571
3D Graphics Mark: 185.5
Memory Mark: 1693
Disk Mark: 1151

Using

qemu-system-x86_64 -enable-kvm -M q35 -m 2048 -cpu host \
-device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 \
-device vfio-pci,host=02:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on,romfile=/media/800/destroy_varios/donwload2/virtualizacion/MSI.7600GT.256.060310.rom \
-bios /var/lib/libvirt/bios/seabios-hp2.bin  \
-vnc 127.0.0.1:0 -vga none \
-boot menu=on \
-device piix4-ide,bus=pcie.0,id=piix4-ide \
-drive file=/media/800/Virtual\ Machines/disks-virt/win7-A.qcow2,id=disk,format=qcow2 -device ide-hd,bus=piix4-ide.0,drive=disk \
-usb -usbdevice host:040b:2013 

Last edited by Destroy (2014-05-14 06:26:37)

Offline

#1697 2014-05-14 13:42:36

manjack
Member
Registered: 2014-05-11
Posts: 9

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

hi guys, i got the following error when compiling qemu

/home/manjack/Downloads/qemu-git/src/qemu-git-2.0.r32705.gf30d56e/linux-user/qemu.h:315:31: note: in expansion of macro ‘__put_user_e’
 # define __put_user(x, hptr)  __put_user_e(x, hptr, le)
                               ^
/home/manjack/Downloads/qemu-git/src/qemu-git-2.0.r32705.gf30d56e/linux-user/syscall.c:6958:17: note: in expansion of macro ‘__put_user’
                 __put_user(value.freeswap, &target_value->freeswap);
                 ^
/home/manjack/Downloads/qemu-git/src/qemu-git-2.0.r32705.gf30d56e/linux-user/qemu.h:301:19: error: right-hand operand of comma expression has no effect [-Werror=unused-value]
      ((hptr), (x)), 0)
                   ^
/home/manjack/Downloads/qemu-git/src/qemu-git-2.0.r32705.gf30d56e/linux-user/qemu.h:315:31: note: in expansion of macro ‘__put_user_e’
 # define __put_user(x, hptr)  __put_user_e(x, hptr, le)
                               ^
/home/manjack/Downloads/qemu-git/src/qemu-git-2.0.r32705.gf30d56e/linux-user/syscall.c:6959:17: note: in expansion of macro ‘__put_user’
                 __put_user(value.procs, &target_value->procs);
                 ^
/home/manjack/Downloads/qemu-git/src/qemu-git-2.0.r32705.gf30d56e/linux-user/qemu.h:301:19: error: right-hand operand of comma expression has no effect [-Werror=unused-value]
      ((hptr), (x)), 0)
                   ^
/home/manjack/Downloads/qemu-git/src/qemu-git-2.0.r32705.gf30d56e/linux-user/qemu.h:315:31: note: in expansion of macro ‘__put_user_e’
 # define __put_user(x, hptr)  __put_user_e(x, hptr, le)
                               ^
/home/manjack/Downloads/qemu-git/src/qemu-git-2.0.r32705.gf30d56e/linux-user/syscall.c:6960:17: note: in expansion of macro ‘__put_user’
                 __put_user(value.totalhigh, &target_value->totalhigh);
                 ^
/home/manjack/Downloads/qemu-git/src/qemu-git-2.0.r32705.gf30d56e/linux-user/qemu.h:301:19: error: right-hand operand of comma expression has no effect [-Werror=unused-value]
      ((hptr), (x)), 0)
                   ^
/home/manjack/Downloads/qemu-git/src/qemu-git-2.0.r32705.gf30d56e/linux-user/qemu.h:315:31: note: in expansion of macro ‘__put_user_e’
 # define __put_user(x, hptr)  __put_user_e(x, hptr, le)
                               ^
/home/manjack/Downloads/qemu-git/src/qemu-git-2.0.r32705.gf30d56e/linux-user/syscall.c:6961:17: note: in expansion of macro ‘__put_user’
                 __put_user(value.freehigh, &target_value->freehigh);
                 ^
/home/manjack/Downloads/qemu-git/src/qemu-git-2.0.r32705.gf30d56e/linux-user/qemu.h:301:19: error: right-hand operand of comma expression has no effect [-Werror=unused-value]
      ((hptr), (x)), 0)
                   ^
/home/manjack/Downloads/qemu-git/src/qemu-git-2.0.r32705.gf30d56e/linux-user/qemu.h:315:31: note: in expansion of macro ‘__put_user_e’
 # define __put_user(x, hptr)  __put_user_e(x, hptr, le)
                               ^
/home/manjack/Downloads/qemu-git/src/qemu-git-2.0.r32705.gf30d56e/linux-user/syscall.c:6962:17: note: in expansion of macro ‘__put_user’
                 __put_user(value.mem_unit, &target_value->mem_unit);
                 ^
cc1: all warnings being treated as errors
/home/manjack/Downloads/qemu-git/src/qemu-git-2.0.r32705.gf30d56e/rules.mak:33: recipe for target 'linux-user/syscall.o' failed
make[1]: *** [linux-user/syscall.o] Error 1
Makefile:163: recipe for target 'subdir-aarch64-linux-user' failed
make: *** [subdir-aarch64-linux-user] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

can anyone help please?

Last edited by manjack (2014-05-15 11:47:48)

Offline

#1698 2014-05-14 15:18:30

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 13,169

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

Every time a member posts program output without using BBCode [ code] tags God kills a kitten.
Please fix your post.  There is also a link to the BBCode help under every message post box on the forums.

Last edited by ewaller (2014-05-14 15:18:45)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
You assume people are rational and influenced by evidence.  You must not work with the public much. -- Trilby
----
How to Ask Questions the Smart Way

Online

#1699 2014-05-14 15:25:29

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 13,169

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

Are those the first errors?  Can you capture the entire output and post it to pastebin and provide us a link?
How are you compiling it?  Are you using makepkg, or are you using something like  config and make install ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
You assume people are rational and influenced by evidence.  You must not work with the public much. -- Trilby
----
How to Ask Questions the Smart Way

Online

#1700 2014-05-15 03:54:37

powerhouse
Member
Registered: 2013-05-22
Posts: 15

Re: KVM VGA-Passthrough using the new vfio-vga support in kernel =>3.9

@jb660: Destroy is right - the "Driver in use" is what counts.

@Destroy: Good to know that it works now, and that you can run Passmark Performance Test. Need to try it (perhaps on Sunday I'll have a little time).

Was it upgrading to qemu 2 that did the trick with booting the VM?

About using only one VCPU: I noticed that you don't have any

smp sockets=...,cores=...

option.

@aw: Your VM startup script uses virsh nodedev-detach pci_0000_01_00_0 and virsh nodedev-reattach pci_0000_01_00_0 to detach and later reattach the graphics card. Does the reattach command reset the graphics card, and/or make it available to the host? Are these virsh commands in lieu of binding the card to pci-stub?

Now to the qemu / kvm command options: Aside from running --help and getting a shortlist of options, is there any source of information on the many command line options that are used?

Perhaps I'm too stupid or incapable of doing a Google search, but I get a feeling I'm being kept in the dark. Can someone point me to a (concise) source of information?

Offline

Board footer

Powered by FluxBB