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: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Subject: Re: [Xen-users] gaming in a windows domU?
From: Igor Chubin <igor@xxxxxxx>
Date: Fri, 13 Apr 2007 13:52:18 +0300
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 13 Apr 2007 03:50:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B018E1BCC@xxxxxxxxxxxxxxxxx>
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>
References: <20070413092917.GL6571@xxxxxxx> <907625E08839C4409CE5768403633E0B018E1BCC@xxxxxxxxxxxxxxxxx>
Reply-to: Igor Chubin <igor@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Fr, Apr 13, 2007 at 11:53:05 +0200, Petersson, Mats wrote:
>  
> 
> > -----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. 
> 

Mats, thank you for the answer.

As far as I know the problem will be eliminated
when as soon as IOMMU will be available.
Does IOMMU really solve the problem?

Question related to previous one:
HVM Windows Domains have poor IO-performance due to 
necessity of usage of qemu device model (and correspondent drivers).
Will the problem be eliminated (or alleviated at least)
with appearance of the IOMMU?


And question #3:
How is Intel virtualization technology [1] related with IOMMU?

[1] http://www.intel.com/technology/itj/2006/v10i3/2-io/1-abstract.htm


> 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

-- 
WBR, i.m.chubin


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

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