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] detecting a 'block-configure' via xenbus

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] detecting a 'block-configure' via xenbus
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Sun, 16 Nov 2008 20:19:46 +1100
Cc:
Delivery-date: Sun, 16 Nov 2008 01:20:38 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C5459575.1F45B%keir.fraser@xxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AEC6C66638C05B468B556EA548C1A77D0154FBC4@trantor> <C5459575.1F45B%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclHyf5RNoxu2VGpQG2JJysISlvC5QAAgh+uAAAJeXA=
Thread-topic: [Xen-devel] detecting a 'block-configure' via xenbus
> On 16/11/08 09:02, "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
wrote:
> 
> > Under Debian Lenny's Xen 3.2.1, when I execute such a command, Dom0
> > writes to the backend values 'params' and 'type', twice, but doesn't
> > update the 'sectors' value to match the new device, or initiate a
state
> > change. Given that, the best I can come up with is to watch
'params',
> > and initiate the state change in DomU to re-initialise the backend
> > connection and hopefully get an updated sectors value...
> 
> block-configure has only ever worked for CDROM virtual media changes
> (i.e.,
> change ISO file) for HVM guests, via full qemu CDROM drive emulation.
It
> appears nothing else was ever implemented, so this has no chance of
> working
> without further blkback/blktap changes.
> 
> I noticed that the SuSE kernel does have a new blkback source file
cdrom.c
> which I don't think has ever been proposed for inclusion in
xen-unstable.
> Perhaps that is a protocol extension worth looking at?
> 

It reportedly works with the Citrix product, is the protocol definition
itself open? A xenstore-ls shows what looks like some SCSI modepage data
in the tree which I hadn't seen before too.

James

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

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