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

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


  • To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
  • From: "Hu Jia Yi" <jyhu@xxxxxxxxx>
  • Date: Mon, 10 Sep 2007 09:54:23 +0800
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sun, 09 Sep 2007 18:54:52 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acfv02/6pnm4GsF9Si2YcotYnKEgPQDeYPjA
  • Thread-topic: [Xen-devel] Question: PV and HVM device list

May I know which source files I should read if I want to know how 
Xen assigns virtual devices to guest? I suspect "the asms file is
needed"
problem in installing winxp is because CD-rom is not assigned to winxp
when the winxp HVM domain is restarted.

Best regards,
Hu Jia Yi
Ext: 20430
Tel: 65-67510430

-----Original Message-----
From: Daniel P. Berrange [mailto:berrange@xxxxxxxxxx] 
Sent: Wednesday, September 05, 2007 11:43 PM
To: Hu Jia Yi
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Question: PV and HVM device list

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.
553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.