All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Fantoni <fabio.fantoni@m2r.biz>
To: xen-devel@lists.xensource.com
Cc: anthony.perard@citrix.com, Ian.Jackson@eu.citrix.com,
	Ian.Campbell@citrix.com, Stefano.Stabellini@eu.citrix.com
Subject: Re: [PATCH] libxl: add stdvga video memory setting with upstream qemu
Date: Fri, 02 May 2014 11:12:29 +0200	[thread overview]
Message-ID: <5363617D.2080108@m2r.biz> (raw)
In-Reply-To: <1398346196-14123-1-git-send-email-fabio.fantoni@m2r.biz>

Il 24/04/2014 15:29, Fabio Fantoni ha scritto:
> 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",
Ping

  reply	other threads:[~2014-05-02  9:12 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 [this message]
2014-05-02 12:24 ` Ian Campbell
2014-05-02 13:46   ` Fabio Fantoni

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=5363617D.2080108@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.