From: Fabio Fantoni <fabio.fantoni@m2r.biz>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: anthony.perard@citrix.com, xen-devel@lists.xensource.com,
Ian.Jackson@eu.citrix.com, Stefano.Stabellini@eu.citrix.com
Subject: Re: [PATCH] libxl: add stdvga video memory setting with upstream qemu
Date: Fri, 02 May 2014 15:46:59 +0200 [thread overview]
Message-ID: <5363A1D3.2040609@m2r.biz> (raw)
In-Reply-To: <1399033494.32736.83.camel@kazak.uk.xensource.com>
Il 02/05/2014 14:24, Ian Campbell ha scritto:
> On Thu, 2014-04-24 at 15:29 +0200, Fabio Fantoni wrote:
>
> Is this change applicable to all versions of qemu which might be used
> with Xen?
vgamem_mb property was added in qemu 1.3 (same for cirrus vga patch),
xen 4.4 from source use qemu 1.6, and from distributions package is
newer all case I saw, then FWIK there should be no problems.
Xen 4.4 if I remember good change other important qemu value for hvm
domUs that require qemu>=1.6.
>
> Stefano,Anthony: Your feedback would be appreciated.
>
>> Signed-off-by: Fabio Fantoni <fabio.fantoni@m2r.biz>
>> ---
>> tools/libxl/libxl_dm.c | 4 +++-
>> 1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c
>> index 90f19b7..51ab2bf 100644
>> --- a/tools/libxl/libxl_dm.c
>> +++ b/tools/libxl/libxl_dm.c
>> @@ -505,7 +505,9 @@ static char ** libxl__build_device_model_args_new(libxl__gc *gc,
>>
>> switch (b_info->u.hvm.vga.kind) {
>> case LIBXL_VGA_INTERFACE_TYPE_STD:
>> - flexarray_append_pair(dm_args, "-device", "VGA");
>> + flexarray_append_pair(dm_args, "-device",
>> + GCSPRINTF("VGA,vgamem_mb=%d",
>> + libxl__sizekb_to_mb(b_info->video_memkb)));
>> break;
>> case LIBXL_VGA_INTERFACE_TYPE_CIRRUS:
>> flexarray_append_pair(dm_args, "-device",
>
prev parent reply other threads:[~2014-05-02 13:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-24 13:29 [PATCH] libxl: add stdvga video memory setting with upstream qemu Fabio Fantoni
2014-05-02 9:12 ` Fabio Fantoni
2014-05-02 12:24 ` Ian Campbell
2014-05-02 13:46 ` Fabio Fantoni [this message]
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=5363A1D3.2040609@m2r.biz \
--to=fabio.fantoni@m2r.biz \
--cc=Ian.Campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=Stefano.Stabellini@eu.citrix.com \
--cc=anthony.perard@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.