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

Re: [Xen-devel] Is Xen VGA Passthrough to CentOS 6.3 x86-64 HVM domU successful?



My CentOS 6.3 x86-64 HVM domU configuration:

# This configuration file will only work with Xen 4.1.3-rc1-pre and NOT
# Xen 4.2-unstable due to the disk parameter.
#
# XL domain configuration file for Ubuntu 12.04 Precise Pangolin Beta 1 amd64 HVM domU
# Please refer to "man xl.cfg" for further explanations.
# See also docs/misc/xl-network-configuration.markdown and
# docs/misc/xl-disk-configuration.txt
# Written by Teo En Ming (Zhang Enming)
# Email #1: teo.en.ming@xxxxxxxxx
# Email #2: teo-en-ming@xxxxxxxxxxxxxxx
# Mobile Phone: +65-8369-2618
# Country: Singapore
# Date: 20 Mar 2012 Tue
name="CentOS"
builder="hvm"
vcpus=2
memory=1024
on_poweroff="destroy"
on_reboot="restart"
on_crash="destroy"
# Format compatible with Xen 4.2-unstable changeset 25070 only.
disk=[ 'format=raw, vdev=hda, access=rw, target=/etc/xen/images/centos63.img', 'format=raw, vdev=hdc, access=ro, devtype=cdrom, target=/home/teo-en-ming/CentOS-6.3-x86_64-bin-DVD1.iso' ]
# Format compatible with Xen 4.1.3-rc1-pre only.
#disk=[ 'file:/var/lib/libvirt/images/Ubuntu-12.04-beta1-amd64.img,hda,w', 'file:/home/teo-en-ming/Downloads/ubuntu-12.04-beta1-dvd-amd64.iso,hdc:cdrom,r' ]
vif=[ 'bridge=eth0,type=ioemu,model=e1000' ]
#boot=[c|d|n]
#Selects the emulated virtual device to boot from. Options are hard disk (c), cd-rom (d) or network/PXE (n). #Multiple options can be given and will be attempted in the order they are given. e.g. to boot from cd-rom
#but fallback to the hard disk you can give dc. The default is cd.
#boot="dc"
boot="c"
acpi=1
#xen_platform_pci=1
#viridian=1
stdvga=0
vnc=1
vnclisten="localhost"
vncdisplay=0
vncunused=1
vncpasswd=""
sdl=0
usb=1
usbdevice="tablet"
gfx_passthru=1
# VGA Passthrough Gigabyte Geforce GTX 560 1 GB GDDR5 PCI Express x16 VGA card. pci = [ '01:00.0','01:00.1','00:1b.0','00:1a.0','00:1a.1','00:1a.2','00:1a.7','00:1d.0','00:1d.1','00:1d.2','00:1d.7' ]

--
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore




On 10/27/2012 10:59 PM, Teo En Ming (Zhang Enming) wrote:
Hi,

I have just passed through my NVIDIA Geforce GTX 560 to CentOS 6.3 x86-64 HVM domU. I am wondering whether the Xen VGA Passthrough is successful.

The following information is obtained from inside CentOS 6.3 x86-64 HVM domU:

00:05.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX 560] (rev a1) (prog-if 00 [VGA controller])
    Subsystem: Giga-byte Technology Device 3527
    Physical Slot: 5
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 64
    Interrupt: pin A routed to IRQ 36
    Region 0: Memory at dc000000 (32-bit, non-prefetchable) [size=32M]
    Region 1: Memory at d0000000 (64-bit, prefetchable) [size=128M]
    Region 3: Memory at d8000000 (64-bit, prefetchable) [size=64M]
    Region 5: I/O ports at e000 [size=128]
    [virtual] Expansion ROM at f1080000 [disabled] [size=512K]
    Capabilities: [60] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
        Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Address: 0000000000000000  Data: 0000
    Capabilities: [78] Express (v1) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 <64us
            ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
            RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
            MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr- TransPend- LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <256ns, L1 <4us
            ClockPM+ Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
    Capabilities: [b4] Vendor Specific Information <?>
    Kernel driver in use: nouveau
    Kernel modules: nvidia, nouveau, nvidiafb



[root@centos63 ~]# lsmod | grep nouveau
nouveau               791165  2
ttm                    82562  1 nouveau
drm_kms_helper         34122  1 nouveau
drm                   250067  4 nouveau,ttm,drm_kms_helper
i2c_core 31276 14 tuner_simple,tda9887,tda8290,wm8775,tuner,cx25840,pvrusb2,v4l2_common,videodev,tveeprom,i2c_piix4,nouveau,drm_kms_helper,drm
mxm_wmi                 1925  1 nouveau
video                  21032  1 nouveau
wmi                     6287  2 nouveau,mxm_wmi




Notice that the nouveau VGA driver is loaded and is in use. Is Xen VGA Passthrough 100% successful? I have successfully installed the NVIDIA driver but I couldn't get it to load, so I reverted back to the nouveau driver.

I have such tough time getting Xen VGA Passthrough to work successfully on Windows HVM domU that I am giving up on Xen VGA Passthrough to Windows HVM domU!!! Windows 7 and Windows 8 HVM domU device manager always report error code 43 with a yellow triangle. Windows XP HVM domU device manager always report error code 10 with a yellow circle.




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.