Fabio Fantoni
2013-Feb-05 16:15 UTC
[PATCH] tools/libxl: Disable useless empty floppy drive with qemu-xen
tools/libxl: Disable useless empty floppy drive with qemu-xen Signed-off-by: Fabio Fantoni <fabio.fantoni@heliman.it> --- tools/libxl/libxl_dm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c index 51f9914..c265618 100644 --- a/tools/libxl/libxl_dm.c +++ b/tools/libxl/libxl_dm.c @@ -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); } -- 1.7.9.5
Ian Campbell
2013-Feb-05 16:21 UTC
Re: [PATCH] tools/libxl: Disable useless empty floppy drive with qemu-xen
On Tue, 2013-02-05 at 16:15 +0000, Fabio Fantoni wrote:> tools/libxl: Disable useless empty floppy drive with > qemu-xenWe used to get occasional requests to enable the floppy disk image to be selected, but perhaps that need has passed (was something to do with Windows sysprep IIRC). Unfortunately the patch is whitespace damaged. ''git send-email'' is your friend...> Signed-off-by: Fabio Fantoni <fabio.fantoni@heliman.it> > --- > tools/libxl/libxl_dm.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c > index 51f9914..c265618 100644 > --- a/tools/libxl/libxl_dm.c > +++ b/tools/libxl/libxl_dm.c > @@ -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); > }
Stefano Stabellini
2013-Feb-08 12:39 UTC
Re: [PATCH] tools/libxl: Disable useless empty floppy drive with qemu-xen
On Tue, 5 Feb 2013, Fabio Fantoni wrote:> tools/libxl: Disable useless empty floppy drive with > qemu-xen > > Signed-off-by: Fabio Fantoni <fabio.fantoni@heliman.it>Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>> tools/libxl/libxl_dm.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c > index 51f9914..c265618 100644 > --- a/tools/libxl/libxl_dm.c > +++ b/tools/libxl/libxl_dm.c > @@ -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); > } > -- > 1.7.9.5 > >
Ian Campbell
2013-Feb-15 12:18 UTC
Re: [PATCH] tools/libxl: Disable useless empty floppy drive with qemu-xen
On Tue, 2013-02-05 at 16:15 +0000, Fabio Fantoni wrote:> tools/libxl: Disable useless empty floppy drive with > qemu-xen > > Signed-off-by: Fabio Fantoni <fabio.fantoni@heliman.it> > --- > tools/libxl/libxl_dm.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c > index 51f9914..c265618 100644 > --- a/tools/libxl/libxl_dm.c > +++ b/tools/libxl/libxl_dm.c > @@ -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);I''m afraid this patch is whitespace corrupted. I strongly recommend that you investigate the use of git send-email. Ian.
Fabio Fantoni
2013-Feb-15 13:14 UTC
Re: [PATCH] tools/libxl: Disable useless empty floppy drive with qemu-xen
Il 15/02/2013 13:18, Ian Campbell ha scritto:> On Tue, 2013-02-05 at 16:15 +0000, Fabio Fantoni wrote: >> tools/libxl: Disable useless empty floppy drive with >> qemu-xen >> >> Signed-off-by: Fabio Fantoni <fabio.fantoni@heliman.it> >> --- >> tools/libxl/libxl_dm.c | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c >> index 51f9914..c265618 100644 >> --- a/tools/libxl/libxl_dm.c >> +++ b/tools/libxl/libxl_dm.c >> @@ -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); > I''m afraid this patch is whitespace corrupted. > > I strongly recommend that you investigate the use of git send-email. > > Ian. >I already resent with git send-email: http://lists.xen.org/archives/html/xen-devel/2013-02/msg00391.html
Apparently Analagous Threads
- [PATCH v4] tools/libxl: Improve videoram setting
- [PATCH RESEND] tools/libxl: Disable useless empty floppy drive with qemu-xen
- [PATCH QXL 2/2] libxl: Add qxl vga interface support.
- [PATCH V2 0/3] Set VNC password to QEMU upstream
- [PATCH v2] Handle xen_platform_pci=0 case