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

xen-users

[Top] [All Lists]

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: 2006年3月25日 18:53:25 +0100
Delivery-date: 2006年3月25日 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>
Previous by Date: [Xen-users] xen friendly tls package for sarge and/or breezy , Frits Hoogland
Next by Date: Re: [Xen-users] xen friendly tls package for sarge and/or breezy , Gémes Géza
Previous by Thread: [Xen-users] hotplug of block devices in domU? , Markus Hochholdinger
Next by Thread: [Xen-users] Booting guest VM on Debian + Xen , Neal Probert
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /