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

Re: [Xen-users] AMD Primary Passthrough Question


  • To: Casey DeLorme <cdelorme@xxxxxxxxx>, "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • From: David TECHER <davidtecher@xxxxxxxx>
  • Date: Mon, 22 Apr 2013 21:29:19 +0100 (BST)
  • Delivery-date: Mon, 22 Apr 2013 20:30:38 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=5pQAU7nCbsYld+oRtSZxpPK021OlGNeEQGGKIHOs0UZXsCaU4ENHdDlHDvcG/6nQ1Gjp10URTHJxcpgl87GYHvfFbuJL/463n0Vm/dCIe/z0sHp2FfI4eN9Fmw0pUGxmW8NmR8/2ci7eRNt5ubMsn8mHphTR9C4QlkXbkrbB+Y0=;
  • List-id: Xen user discussion <xen-users.lists.xen.org>


[Q] Second, does the primary patch allow Xen's VNC to connect to the GPU instead of emulated graphics?  If not, does anyone know whether it would be possible to connect Xen's VNC to the emulated graphics?

[R] Perhaps you should clarify your question. AFAIK I will say yes but you may have only the qemu console (black screen). This is the expected behavior.  The only solution should be to install VNC on the domU.

On Windows 7 setting gfx_passthru=0, (in Xen's VNC ) let me to have access to the domU while booting..until the Windows logo appears. Then screen switches to my real desktop.

But I don't think it is what you are asking for...The best solution is to install a default vncserver on the domU!

[Q] First, is there a host for the patch or is it only what was released to the mailing list in the past?

[R] Yes it si only what was released to the mailing list in the past. I just did a test a couple minutes ago for the latest changeset 26906.

Due to changeset 26827 (xenbits.xensource.com/hg/staging/xen-unstable.hg/rev/23a6084b223a?revcount=240) tools and studbom are installed in /usr/local.

Letting prefix set to /usr/local didn't work for me. I did so many tests on my machine and to keep a workable workstation I just changed

.... ./configure --prefix=/usr

And it worked

Below are the command lines I used

hg clone -r 26906  http://xenbits.xensource.com/staging/xen-unstable.hg/ xen-unstable.hg-rev-XXXX

cd xen-unstable.hg-rev-XXXX

CURL=$(which curl-config) XML=$(which xml2-config) ./configure --prefix=/usr

# Make a first tools build
cd tools/
make -j4
make clean

# Apply patches
cd qemu-xen-dir-remote/

# patch 1 - to have more than 3GB of RAM in dom
wget "http://marc.info/?l=qemu-devel&m=136177475215360&q=raw" -O - | patch -p1
cd ../..

# patch 2 - for AMD
wget ftp://ftp.enjellic.com/pub/xen/xen-4.2.0.ati-passthrough.patch -O - | sed -e "s:qemu-xen-traditional:qemu-xen-traditional-dir-remote:g" | patch -p1

# work around to build stubdom
for i in 0 3;do sed -i "s:^.*iopl(${i});$://iopl(${i});:g" tools/qemu-xen-traditional-dir-remote/hw/pt-graphics.c;done

# buidl and install both xen and studom
make -j4 xen && make -j4 stubdom && make -j4 install-xen && make install-stubdom

# clean up tools
cd tools/
make clean
cd ..
# reverse the work around
for i in 0 3;do sed -i "s:^.*iopl(${i});$:iopl(${i});:g" tools/qemu-xen-traditional-dir-remote/hw/pt-graphics.c;done

# build and install tools
make -j4 tools
make install-tools PYTHON_PREFIX_ARG=

De : Casey DeLorme <cdelorme@xxxxxxxxx>
À : "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
Envoyé le : Lundi 22 avril 2013 17h14
Objet : [Xen-users] AMD Primary Passthrough Question

Hello,

I am about to try the AMD patch to test primary passthrough and had a couple of questions.

First, is there a host for the patch or is it only what was released to the mailing list in the past?

Second, does the primary patch allow Xen's VNC to connect to the GPU instead of emulated graphics?  If not, does anyone know whether it would be possible to connect Xen's VNC to the emulated graphics?

Thanks in advance,

~Casey

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

_______________________________________________
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®.