xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: George Dunlap <george.dunlap@eu.citrix.com>
To: Fabio Fantoni <fabio.fantoni@m2r.biz>
Cc: xen-devel@lists.xensource.com, Ian.Campbell@citrix.com,
	Stefano.Stabellini@eu.citrix.com, Ian.Jackson@eu.citrix.com,
	wei.lui2@citrix.com, Anthony PERARD <anthony.perard@citrix.com>
Subject: Re: [PATCH v2] libxl: remove qemu default devices for upstream qemu
Date: Tue, 8 Oct 2013 15:54:16 +0100	[thread overview]
Message-ID: <52541C98.5070509@eu.citrix.com> (raw)
In-Reply-To: <52541C05.9020606@m2r.biz>

On 10/08/2013 03:51 PM, Fabio Fantoni wrote:
> Il 30/09/2013 13:53, Fabio Fantoni ha scritto:
>> Remove default devices created by qemu. Qemu will create only devices
>> defined by xen, since the devices not defined by xen are not usable.
>> Remove deleting of empty floppy no more needed with nodefault.
>
> Any comment on this?
>
> Thanks for any reply.

It sounds like a good idea to me, but I'm not in a position to review 
it.  You should CC Anthony Perard along with Stefano for patches that 
have to do with qemu.

  -George

>
>>
>> Changes from v1:
>> Fix multi-line comment style
>>
>> Signed-off-by: Fabio Fantoni <fabio.fantoni@m2r.biz>
>> ---
>>   tools/libxl/libxl_dm.c |   10 +++++++---
>>   1 file changed, 7 insertions(+), 3 deletions(-)
>>
>> diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c
>> index 2c6f5d9..eb71089 100644
>> --- a/tools/libxl/libxl_dm.c
>> +++ b/tools/libxl/libxl_dm.c
>> @@ -392,6 +392,13 @@ static char **
>> libxl__build_device_model_args_new(libxl__gc *gc,
>>       flexarray_append(dm_args, "-mon");
>>       flexarray_append(dm_args, "chardev=libxl-cmd,mode=control");
>> +    /*
>> +     * Remove default devices created by qemu. Qemu will create only
>> devices
>> +     * defined by xen, since the devices not defined by xen are not
>> usable.
>> +     * Remove deleting of empty floppy no more needed with nodefault.
>> +     */
>> +    flexarray_append(dm_args, "-nodefaults");
>> +
>>       if (b_info->type == LIBXL_DOMAIN_TYPE_PV) {
>>           flexarray_append(dm_args, "-xen-attach");
>>       }
>> @@ -457,9 +464,6 @@ 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);
>>           }
>

  reply	other threads:[~2013-10-08 14:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-30 11:53 [PATCH v2] libxl: remove qemu default devices for upstream qemu Fabio Fantoni
2013-10-08 14:51 ` Fabio Fantoni
2013-10-08 14:54   ` George Dunlap [this message]
2013-10-10 16:49     ` Anthony PERARD
2013-10-11  7:53       ` Fabio Fantoni
2013-10-14 16:47       ` Ian Jackson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52541C98.5070509@eu.citrix.com \
    --to=george.dunlap@eu.citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=Stefano.Stabellini@eu.citrix.com \
    --cc=anthony.perard@citrix.com \
    --cc=fabio.fantoni@m2r.biz \
    --cc=wei.lui2@citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).