WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] gaming in a windows domU?

To: "Igor Chubin" <igor@xxxxxxx>, "Andrew Yates" <andrewyates@xxxxxxxxx>
Subject: RE: [Xen-users] gaming in a windows domU?
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Fri, 13 Apr 2007 11:53:05 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 13 Apr 2007 02:52:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070413092917.GL6571@xxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acd9rjDIUyTwCDE5REiqWoFkPqMSSAAAn4TQ
Thread-topic: [Xen-users] gaming in a windows domU?
 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Igor Chubin
> Sent: 13 April 2007 10:29
> To: Andrew Yates
> Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] gaming in a windows domU?
> 
> On Do, Apr 12, 2007 at 05:34:29 -0400, Andrew Yates wrote:
> > I've been considering buying a second video and sound card, and then
> > using PCI passthrough with a Windows domU for gaming.
> > Has anyone tried this? I'm curious as to whether it's fast 
> enough for
> > recent games to be playable. The video card and CPU can 
> handle gaming
> > fine, but I'm not sure how much Xen would effect that. So has anyone
> > done this? How well did it work?
> > 
> 
> Do HVM domain support PCI passthrough?

No. But that's the EASY part to solve. The hard part is that the HVM OS
isn't aware that what it thinks is a physical address is in fact not
really the address that the memory controller is accessing when the
software accesses a virtual address. 

If we simplify things[1] to make it easy to explain: Dom0 uses 0..256MB,
HVM DomU uses 256..512MB, but thinks it got memory from 0..256MB. DomU
tells the hardware that there is some data at 0x100000 (1MB), but we
should really add 256MB to that address. So the hardware will use
something that lives at 1MB in the Dom0 instead. Most likely, this will
just lead to complete garbage being sent to the hardware, which isn't so
bad. If it happens to be something that actually works with the hardware
it may send your list of passwords to a random address on the internet
or some such!

[1] In reality, each 4KB of guest memory could come from any 4K section
of the machines memory, so it's not as simple as just adding an offset -
but that's just a slight complication on top of the fact that DomU
doesn't actually know that it's memory isn't where it thinks it is. 

--
Mats
> 
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> 
> -- 
> WBR, i.m.chubin
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 
> 



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>