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

Re: [Xen-users] VGA passthrough radeon 4850 as primary card



2013/3/2 Dr. Greg Wettstein <greg@xxxxxxxxxxxxxxxxx>:
>
> We have run thousands of sessions of primary VGA pass-through using
> ATI cards.  We currently use stock Windows 7 with no additional
> drivers.
>
> Patches are needed to QEMU in order to support primary pass-through.
> The following URL references patches which will work for the 4.1.x and
> 4.2.x releases:
>
>         ftp://ftp.enjellic.com/pub/xen/xen-4.1.3.ati-passthrough.patch
>
>         ftp://ftp.enjellic.com/pub/xen/xen-4.2.0.ati-passthrough.patch
>
> The patches can be applied and the updated qemu-dm can be dropped into
> place, canonically in the /usr/lib/xen/bin directory.
>
> The following is a sample configuration:
> ---------------------------------------------------------------------------
> builder='hvm'
> memory = 3072
> name = "Windows"
> viridian = 1
> vif = [ 'type=ioemu, bridge=bridge0, model=e1000' ]
> acpi = 1
> apic = 1
> disk = [ 'phy:/dev/localvg1/winsnap,hda,w' ]
> boot="c"
> sdl=0
> vnc=0
> soundhw='ac97'
> stdvga=1
> gfx_passthru=1
> pci=[ '01:00.0', '00:1a.0' ]
> ---------------------------------------------------------------------------
>
> The BDF definitions for the pci pass-through directive are for the ATI
> card and the USB host controller which drives the keyboard and mouse.
>
> The trick to getting this right is to automate the detach and
> re-attachment of the PCI devices to dom0.  The following script
> provides a framework for doing this:
>
>         ftp://ftp.enjellic.com/pub/xen/run-passthrough
>
> It should be salted according to the flavor of your particular
> installation.  Access to the vbetool utility, which most distribution
> include to support suspend/resume, is desirable in order to run the
> BIOS-post initialization functions so the graphics card works properly
> upon return of control to dom0.
>
> You will want to have an SSH session open from an alternate location
> to whatever platform you are testing this all on.  It will be the only
> way to control the system if something goes awry during the
> setup/teardown of the pass-through session.
>
> Hope the above is helpful.
>

Thank you for this valuable information.

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


 


Rackspace

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