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] xl vs. xm: floppy support

To: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xl vs. xm: floppy support
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Wed, 2 Mar 2011 13:56:30 +0000
Cc: Vincent Hanquez <Vincent.Hanquez@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Wed, 02 Mar 2011 05:58:16 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1299060188.17907.1372.camel@xxxxxxxxxxxxxxxxxxxxxx>
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: <201103011037.19341.Christoph.Egger@xxxxxxx> <1298975916.5034.2102.camel@xxxxxxxxxxxxxxxxxxxxxx> <1298980811.20975.62.camel@xxxxxxxxxxxxxxxxxxxxxx> <1298981504.17907.14.camel@xxxxxxxxxxxxxxxxxxxxxx> <4D6CE734.9050001@xxxxxxxxxxxxx> <1298984600.17907.66.camel@xxxxxxxxxxxxxxxxxxxxxx> <19821.13157.422683.711736@xxxxxxxxxxxxxxxxxxxxxxxx> <alpine.DEB.2.00.1103011759440.2917@kaball-desktop> <1299011341.21399.10.camel@xxxxxxxxxxxxxxxxxxxxx> <1299058270.17907.1336.camel@xxxxxxxxxxxxxxxxxxxxxx> <1299060188.17907.1372.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Wed, 2 Mar 2011, Ian Campbell wrote:
> On Wed, 2011-03-02 at 09:31 +0000, Ian Campbell wrote:
> > On Tue, 2011-03-01 at 20:29 +0000, Ian Campbell wrote:
> > > 
> > > I'll knock up a patch in the morning. 
> > 
> > ... 
> [...]
> > e.g. xl does not current support floppy disks but adding:
> >      device_model_args = [ "-fda", "/scratch/fdboot.img" ]
> > allowed me to boot FreeDOS from a floppy image.
> 
> We may as well have a patch for direct support for fdb/fdb too so we can
> evaluate it on its merits for 4.1. I've no problem with deferring this
> to 4.2 at this stage in the release but it is a pretty straightforward
> patch...
> 
> This doesn't support stubdoms, not sure how that works in the xend case
> either, but I'm pretty certain that patch would be too big for this
> stage in the release.

The right way to implement fd* support is probably to create an "fd"
disk type, so that we can have frontends and backends for floppies and
support stubdoms.
However that would be obviously too much for this stage of the release.
This patch would solve the simple case but would introduce two fields in
the libxl idl that we know are wrong.

I would rather implement this kind of simple fd support entirely in xl
using the extra field in libxl_device_model_info so that we don't
"corrupt" the idl.

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