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] Firewire, PCI TV Tuner Card, PCI Wireless LAN Card, and

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Subject: Re: [Xen-users] Firewire, PCI TV Tuner Card, PCI Wireless LAN Card, and USB Device Support Under Windows XP Xen Guest
From: "Teo En Ming" <space.time.universe@xxxxxxxxx>
Date: Tue, 22 May 2007 22:55:29 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 22 May 2007 08:09:03 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=icjwFa6mPcoiVEyQ91YFdjWajo1OTtqH7b4VKfCujd6fgfcRLt2jk3+gsrBEDlIm6SOJ6tneQhp9f4nirGyOmcoYjbglo9QoS1KDhKhzPflpibGz9C5yie1NgbaTgvOT2jcnB+77KartEyAiDEgdOv6Mm6UnttnSGrdrPNEiJlg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=qGdagH2N0woROfVu1Rh66SJdj/RYzmb0eOO6So2j5w4tvc/+PV9rU+EtSTvLv02DBcjthudYWmrQgmO6l6I1dFUNEIiH/oGlnj6uhH+XBzus4zHxRSKDRZzAB5tWfPwD32ehK8XwjZeoLWisuyf48LZQ7FJd6YD4mvKO3/6IYXs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B02561D0C@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: <f712b9cf0705220644g6b04e082h48c3562c08b11c40@xxxxxxxxxxxxxx> <907625E08839C4409CE5768403633E0B02561D0C@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi

Thank you for your reply.

May I know when will IOMMU hardware be arriving? Any specific roadmap/dates?

I think I will still be going for current virtualization processors. I will still be able to install video editing software inside Windows XP guests and do all my video editing there, while I will move all other computing activities to my linux host operating system.

Will I be able to play Windows-based PC games inside Windows guests?


On 5/22/07, Petersson, Mats < Mats.Petersson@xxxxxxx> wrote:


> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> Teo En Ming
> Sent: 22 May 2007 14:44
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] Firewire, PCI TV Tuner Card, PCI
> Wireless LAN Card, and USB Device Support Under Windows XP Xen Guest
>
> Dear All,
>
> Assuming that I buy a HVM compatible processor and
> motherboard, and having installed a linux host operating
> system with a Xen kernel, I proceed to install a Windows XP
> guest virtual machine. The question is:
>
> Will I be able to use the firewire ports, USB ports, TV Tuner
> program and wireless LAN card inside Windows XP guest VM?

Nope, none of these devices (aside from limited USB support, possibly),
will work under Xen, since (at present) there is no support to
hide/assign PCI devices to the HVM domain. This in turn is because of
the fact that PCI devices access memory directly, which isn't going to
work when Xen has told "lies" [1] to the Windows guest about where the
memory is. So when the guest OS tells the PCI device where in memory
something is, it will not know that this is not the ACTUAL physical
address. And there's no easy way to solve this in software only.

In future generations of processors/chipsets, there will be IOMMU
hardware that allows us to redirect the memory requests from a
particular PCI device, so that we can continue to hide the ACTUAL
physical address and still use the PCI devices within a guest. But
that's a little way out at this time.


[1] All operating systems want memory to start at address zero. Since
only one CAN have this address, guests in HVM-mode will get a fake
memory map that starts at zero and goes to whatever size it's configured
to. The fact that the ACTUAL physical address of the guest's memory is
somewhere else is completely hidden from the guest by using either
shadow-paging or hardware assisted paging (AMD Nested paging or Intel's
corresponding technology) [once this technology reaches customers,
sometime later this year or so].


> Will I be able to do video editing inside Windows XP guest
> VM? Or is networking the one and only feature that is
> supported under Windows XP guest operating system? And I
> won't be able to use anything else inside Windows XP guest?

You should be able to edit video in the guest, as long as you don't rely
on hardware features in PCI devices to do this.

Likewise, I don't see why you need to use Windows to connect to the
Wireless network, you can just as well hide the fact that it's wireless
from Windows, and just use virtual network device, and use the Linux
bridge setting to connect it to the physical Wireless device.

But you are correct, that the current technology only allows a limited
set of hardware features within the guest. This is a hardware
restriction, and it's nothing to do with Xen in itsels, but with the
current state of hardware. Future generations of hardware will remove
some or all of these restrictions (but leaving one remaining
restriction: each guest will HAVE to have it's own hardware to access -
no sharing of a single device without interfacing through a virtual
device - this is because all OS's requires that the hardware they
control is their own. There are hardware devices (such as network cards)
that support "multi-access" by providing multiple device-instances.
These of course can be shared, as they are from a software standpoint
multiple devices, and each device will thus have it's sole owner).

--
Mats
>
> Thank you.
>
>



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