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-devel

Re: [Xen-devel] Question: PV and HVM device list

To: Hu Jia Yi <jyhu@xxxxxxxxx>
Subject: Re: [Xen-devel] Question: PV and HVM device list
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Wed, 5 Sep 2007 16:42:39 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 05 Sep 2007 09:46:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <87B402DBCFA63342B7E8CDD1D3D0DCDE983D2C@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <87B402DBCFA63342B7E8CDD1D3D0DCDE983D2C@xxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Wed, Sep 05, 2007 at 02:13:58PM +0800, Hu Jia Yi wrote:
> I have two questions about xen. Hope I can find answers/hints in this
> mailing list.
> 
> 1. how PV and HVM know about what physical devices are in the PC? 

They typically don't know anything about physical hardware. Normal practice
is to only assign virtual devices to guests - virtual network / disk or
sound & USB devices are most common (the latter two for HVM only).

> 2. If a USB disk is plugged in, how does xen notify this to PV and HVM
> so that the guest domains can do things as there were no virtualization
> layer.

Xen doesn't do anything when USB disks are plugged in. It is possible use
admin tools to explicitly map a USB disk through to a guest as a virtual
disk, or in HVM case to hand-off the entire USB device to the guest. This
is a manual admin config step though - nothing automatic occurrs.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

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

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