Skip to contentSkip to conversation

tools/libxl: Disable useless empty floppy drive with qemu-xen

PATCH RESEND In review [email protected] 2 participants 2 messages Feb 6, 2013 – Feb 15, 2013

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 tools/libxl: Disable useless empty floppy drive with qemu-xen

From: Fabio Fantoni <[email protected]>

---
 tools/libxl/libxl_dm.c |    3 +++
 1 file changed, 3 insertions(+)
tools/libxl/libxl_dm.c +3 -0
index 51f9914..c265618 100644
@@ -406,6 +406,9 @@ static char ** libxl__build_device_model_args_new(libxl__gc *gc,
     if (b_info->type == LIBXL_DOMAIN_TYPE_HVM) {
         int ioemu_nics = 0;
 
+        /* Disable useless empty floppy drive */
+        flexarray_vappend(dm_args, "-global", "isa-fdc.driveA=", NULL);
+
         if (b_info->u.hvm.serial) {
             flexarray_vappend(dm_args, "-serial", b_info->u.hvm.serial, NULL);
         }
Signature · 1 line
1.7.9.5