This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
virt:vgapassthrough [2013/10/05 08:36] tschulz [Sources] |
virt:vgapassthrough [2014/03/22 09:35] (current) tschulz [Video Card] |
||
---|---|---|---|
Line 12: | Line 12: | ||
==== Video Card ==== | ==== Video Card ==== | ||
* Most Radeon HD cards support vga passthrough | * Most Radeon HD cards support vga passthrough | ||
- | * Only the Qunatro Nvidia cards support vga passthrough | + | * Only the Quatro Nvidia cards support vga passthrough |
* Some Intel graphics work with vga passthrough | * Some Intel graphics work with vga passthrough | ||
==== Software Requirements ==== | ==== Software Requirements ==== | ||
* XEN and KVM both support VGA passthrough, but XEN apparently offers much better performance | * XEN and KVM both support VGA passthrough, but XEN apparently offers much better performance | ||
+ | |||
+ | ===== Examples ===== | ||
+ | Example XEN passthrough config | ||
+ | <file> | ||
+ | # nut sure if really needed | ||
+ | kernel="/usr/lib/xen-default/boot/hvmloader" | ||
+ | |||
+ | builder = "hvm" | ||
+ | name = "win7x64-hvm" | ||
+ | |||
+ | # RAM size in MB | ||
+ | memory = "4096" | ||
+ | |||
+ | # number CPU cores | ||
+ | vcpus = 2 | ||
+ | |||
+ | vif = ['type=ioemu'] | ||
+ | |||
+ | # boot from cd and hdd | ||
+ | disk = ['phy:/dev/virtual-machines/win7x64,hda,w','file:/home/user/images/WIN_7_PROFESSIONAL.iso,hdc:cdrom,r'] | ||
+ | boot="dc" | ||
+ | |||
+ | # boot from hdd | ||
+ | #disk = ['phy:/dev/virtual-machines/win7x64,hda,w'] | ||
+ | #boot="c" | ||
+ | |||
+ | # enable remote vnc access until video card driver is installed | ||
+ | vnc = 1 | ||
+ | |||
+ | acpi=1 | ||
+ | sdl=0 | ||
+ | serial='pty' | ||
+ | |||
+ | # list your pci devices (HD7950,HD7950,USB) | ||
+ | pci=['01:00.0','01:00.1','00:1a.0'] | ||
+ | </file> | ||
+ | |||
+ | ===== Sound and USB ===== | ||
+ | * Since the physical video output of the passed video card is used there will be no SDL/VNC screen this means that a sound card must also be passed for the vm to have sound | ||
+ | * For that same reason as above you will want to pass one USB controller for input | ||
===== Sources ===== | ===== Sources ===== |