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] hotplug of block devices in domU?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] hotplug of block devices in domU?
From: Markus Hochholdinger <Markus@xxxxxxxxxxxxxxxxx>
Date: Sat, 25 Mar 2006 18:53:25 +0100
Delivery-date: Sat, 25 Mar 2006 17:55:14 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200603212003.32578.Markus@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: <200603212003.32578.Markus@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.7.2
hi,

Am Dienstag, 21. März 2006 20:03 schrieb Markus Hochholdinger:
> is it possible to hotplug a block device to a domU, or the reverse, to
> unplug a block device from a domU? Or isn't it possible to change device
> configurations while a domU is running? I've found nothing about this in
> the docs.

to answer my question myself:
xm block-list <DomId>
xm block-detach <DomId> <DevId>
xm block-attach <DomId> <BackDev> <FrontDev> <Mode> [BackDomId]
(found in <src>/docs/man/xm.pod.1 , seems the docs aren't installed correctly)

The same for network-list, network-detach and network-attach.

Short help appears when invoked with "xm block-attach" and so on.

block-detach only works if the deivce is not in use by <DomId>.

xenstore-rm backend/vbd/? works also if the block device is in use by <DomId>, 
but it's difficult to reattach such a removed block device.


-- 
greetings

eMHa

Attachment: pgplQZwxx9D8q.pgp
Description: PGP signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>