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-devel

Re: [Xen-devel] About block-configure command

To: Hidetoshi Nishi <nishi.hidetoshi@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] About block-configure command
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Tue, 14 Nov 2006 10:13:37 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 14 Nov 2006 02:14:01 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <70C70792930D0Fnishi.hidetoshi@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <70C70792930D0Fnishi.hidetoshi@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Tue, Nov 14, 2006 at 11:14:11AM +0900, Hidetoshi Nishi wrote:

> Hi all.
> 
> Now I test the "xm block-configure" command.
> I guess block-configure command is used to change the image file of 
> CD-ROM.
> 
> But the implementation of block-configure is not complete, I think.
> 
> Example :
> 
> linux-2.6-xen-sparse/drivers/xen/blkback/xenbus.c
> backend_changed()
> 
> - There is no part of handling the change of 'type' and 'param' in        
>   backend.
> - There is only part of watching of 'state' in frontend.
> 
> Is block-configure the incomplete function ?
> Or does other command implement the same function ?

Yes, at the driver level, there are some things that are unimplemented, as you
say.  Some of those changes would be very scary (like changing params
underneath a device that's in use) so will probably stay unimplemented, unless
you have a very good reason to need to do that.  xm block-configure is most
useful for changing the "disk" inside a CD-ROM drive that's being emulated by
QEMU.

Ewan.

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

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