Skip to content

Conversation

@chengsun
Copy link

Original pull request: #2057

This fixes two bugs. Floppy VBDs can now be successfully attached and used in HVM guests.

The first commit 6c391c5 fixes userdevice assignment issues, so that floppies are properly assigned an "fd?" rather than "xvd?". qemu requires this, in addition to the drive being on the "floppy" bus.

Despite Device_number.to_disk_number not being unique (see xapi-project/xcp-idl#47), it is still used in several places around the code. We need to check these to make sure they don't interfere with floppy support. The second commit bde0bb6 is an example of fixing this, where xen-api would previously get confused between "fda" and "xvda" on reboot of a guest, and subsequently overwrite the "xvda" VBD metadata with the "fda".

Requires:

David Scott and others added 3 commits December 29, 2014 16:26
Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Restricts the permitted floppy userdevice values to "fda" and "fdb".
Allows new floppy VBDs to have userdevice set to "autodetect".
@xen-git
Copy link
Contributor

xen-git commented Dec 29, 2014

Can one of the admins verify this patch for testing?

@euanh
Copy link
Contributor

euanh commented Dec 29, 2014

@xen-git test this please

@johnelse johnelse added the master label Jan 5, 2015
djs55 added a commit that referenced this pull request Jan 5, 2015
[RFC]: Add a 'floppy' VBD type (take #2)
@djs55 djs55 merged commit 5eacdd0 into xapi-project:master Jan 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants