[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Is there any way to attach floppy image under Xen 4.1?



I've not used libvirt on 4.1 with or without a floppy.

On Sun, 2014-04-27 at 21:29 +0800, kevin.zhang@xxxxxxxxxxx wrote:
> Hi Ian, 
> Thank you for your reply. 
> I can successfully attach floppy disk to HVM domU in xen 4.1 via
> libvirt driver, however, the floppy disk is readonly.
> Since I do not have a xen 4.4 environment in my lab, I cannot test
> whether floppy disk is also readonly in xen 4.4 or not.
>       Have you ever heard of similar phenomenon then?
>      
>  
> 
> ______________________________________________________________________
> Best Regards
>  
> 
> åääï Ian Campbell
> åéæéï 2014-04-25 16:52
> æääï kevin.zhang@xxxxxxxxxxx
> æéï xen-users
> äéï Re:åå: Re: [Xen-users] Is there any way to attach floppy
> image under Xen 4.1?
> I don't know about xm, but I did say in my first response "you could
> always use a wrapper script around the dm".
>  
> Ian.
>  
>  
> On Fri, 2014-04-25 at 10:55 +0800, kevin.zhang@xxxxxxxxxxx wrote:
> > Hi Ian,
> >  
> >      Thank you for your relpy!
> >      Because upstream qemu does not support vhd backing file,  we
> have
> > to use qemu-dm and xm for vm management.
> >      Maybe my configuration is not correct , or is there any way
> that
> > can attach floppy disk with xm command?
> >  
> > 
> >
> ______________________________________________________________________
> > Best Regards
> >  
> > 
> > From: Ian Campbell
> > Date: 2014-04-24 16:46
> > To: kevin.zhang@xxxxxxxxxxx
> > CC: xen-users
> > Subject: Re: [Xen-users] Is there any way to attach floppy image
> under
> > Xen 4.1?
> > On Thu, 2014-04-24 at 11:31 +0800, kevin.zhang@xxxxxxxxxxx wrote:
> > > Hi all,
> > >  
> > >       We have encountered a problem with attaching floppy device
> > into
> > > HVM domU under Xen 4.1
> > >       I guess if floppy is supported by Xen 4.1 then ,the disk
> > should
> > > be:
> > >      disk = [ 'file:/root/1.img,fd0:floppy,w' ]
> > >      However,  if I start the vm, the following error will be
> > > prompted:
> > >           Error: Unable to find number for device (fd0) 
> > >      
> > >       Does anyone have such problem before?   
> >  
> > I don't know about Xen 4.1 but for modern Xen with the xl toolstack
> > then
> > you can pass arbitrary arguments to the device model using
> > device_model_args in your config file, which should enable you to
> pass
> > the necessary options.
> >  
> > I've no idea if xm supported the same thing or not, you could always
> > use
> > a wrapper script around the dm I suppose.
> >  
> > Ian.
> >  
> >  
> >  
> >  
>  
>  
>  



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.