[libvirt] [PATCH]: Add floppy support to xm_internal

Chris Lalancette clalance at redhat.com
Fri Jul 18 12:05:06 UTC 2008


Yes, you read the subject right; add floppy support to xm internal.  Let's just
say I didn't do this by choice.  In any case, there was a cryptic comment in
xenXMParseXMLDisks() that said:

/* Xend (all versions) put the floppy device config
 * under the hvm (image (os)) block
 */

What this actually means is that we shouldn't parse the floppy stuff to put it
in the "disks =" section of the /etc/xen configuration file, since it doesn't
have meaning there.  Instead, floppy disks go at the top-level of a Xen config
file, like:

fda = '/var/lib/xen/images/floppy.img'
fdb = '/var/lib/xen/images/floppy2.img'

That's exactly what this patch does.  In combination with a couple of other
small patches to virt-install (which I will post to the appropriate list), I was
able to use a floppy disk to hold the kickstart for a fully virtualized Xen
guest install.

Signed-off-by: Chris Lalancette <clalance at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-xm-internal-floppy.patch
Type: text/x-patch
Size: 4394 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080718/b881bf75/attachment-0001.bin>


More information about the libvir-list mailing list