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] Adding Devices to a running DomU

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Adding Devices to a running DomU
From: "Serge Dubrouski" <sergeyfd@xxxxxxxxx>
Date: Wed, 12 Jul 2006 09:26:09 -0600
Delivery-date: Wed, 12 Jul 2006 08:26:49 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NjAMboW9mudHQHhiXrlW4/PfahVrKmOUT6iCXoq6Qq+BsYF4B28d7jk4aOLK+RWzAChnJl3M8Oc0udhWgE3P6dBUqOBr59w1r3k4xd3frzIuEYRXK9VR2QYhmen4gp6CQTrPrswT/SaRdtdy0GONnJfnb87Ao2tY6iM0fX/uy7w=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44B4D90D.BA77.0095.0@xxxxxxxxxx>
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: <44B4CFFD.BA77.0095.0@xxxxxxxxxx> <44B50F5F.5000404@xxxxxxxx> <44B4D90D.BA77.0095.0@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Looks like it doesn't work for HVM domains though. xm block-add runs
withouth error and xm block-list shows new device attache, but WinXP
DomU doesn't see it.

On 7/12/06, Jose Betancourt <jbetancourt@xxxxxxxxxx> wrote:
Thank you very, very much.  Exactly what I needed.

Thanks again.

Jose Betancourt

>>> On Wed, Jul 12, 2006 at 11:03 AM, in message
<44B50F5F.5000404@xxxxxxxx>,
Andrej Radonic <andrej.radonic@xxxxxxxx> wrote:
>>  What is the right sequence of steps to add new devices to a
running
>> DomU?
>>
>> For example: Make the CD/DVD unit on a physical machine
visible/usable
>> by a DomU or adding a new physical device (hdX/sdX) for future use
as a
>> file system?
>>
>> I would like to be able to do it without shutting down the DomU, if
>> possible.
>
> Jose,
>
> yes, this is possible without interrupting domU.
>
> Do it like this:
>
> xm block- attach <DomId> <BackDev> <FrontDev> <Mode>
>
> Example:
>
> xm block- attach 7 file:/home/xen/knoppix.iso hdc rw
>
> Export /home/xen/knoppix.iso as hdc and read- write into domain 7.
>
> Check with xm block- list 7
>
> Detach with
>
> xm block- detach 7 <BlockDeviceID>
>
> You get BlockDeviceID with xm block- list <domid>
>
> BTW: you can do this also with network- interfaces
> => network- attach
> => network- list
> => network- detach
>
> Good luck,
> Andrej


_______________________________________________
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