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] A fundamental doubt.

To: "Anuj Bhatt" <anuj.bhatt@xxxxxxxxx>
Subject: RE: [Xen-users] A fundamental doubt.
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Thu, 5 Apr 2007 15:27:16 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 05 Apr 2007 06:26:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1dd506600704050623v61dacf54p783083a98524c7bd@xxxxxxxxxxxxxx>
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: Acd3hbKdaZpjSBRrThmBkYhxB+G4pwAABIJA
Thread-topic: [Xen-users] A fundamental doubt.
 

> -----Original Message-----
> From: Anuj Bhatt [mailto:anuj.bhatt@xxxxxxxxx] 
> Sent: 05 April 2007 14:24
> To: Petersson, Mats
> Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] A fundamental doubt.
> 
> Hi,
> 
> On 4/5/07, Petersson, Mats <Mats.Petersson@xxxxxxx> wrote:
> 
> > Event channels are used to communicate between domains, such as Dom0
> > telling DomU that the disk-read it just asked for is 
> completed, or from
> > DomU to Dom0 to say "I've got another disk operation I 
> would like you to
> > perform".
> 
> Firstly, thanks for the prompt reply. Now, here's a related doubt. If
> I insert a USB drive when  I'm on a xen host (my dom0). Does the xen
> guest recognize it like on VMWare. I've noticed on VMWare that if a
> pen drive is inserted it shows up on both, the guest and the host. So
> this mount is treated via an event channel or a hypercall or both? If
> it's recognized on both, is there some way I can only get it
> identified on the guest? I haven't tried it yet since I just switched
> to a new box.

Xen doesn't automatically export pen-drives (or any other removable
media) to the guests. You can manually attach a block-device (e.g. a
pen-drive) with "xm block-attach dom location". If you want to share the
device, you'll need to have it in read-only mode, as Xen doesn't support
(as a general rule) multiple writes to the same device. 

If you do "xm block-attach" there will be both hypercalls and events
involved in informing the guest of the new device appearing. 

--
Mats
> 
> 
> 
> Regards,
> Anuj Bhatt.
> 
> 
> 



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

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