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?
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.