From: Fabio Fantoni Subject: Re: [PATCH] libxl: Actually append the "-vga none" parameter to qemu when using qemu-xen Date: Fri, 23 Jan 2015 10:06:04 +0100 Message-ID: <54C20EFC.5010603@m2r.biz> References: <1421947300-21288-1-git-send-email-linux@eikelenboom.it> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YEaBg-0007EU-Nm for xen-devel@lists.xenproject.org; Fri, 23 Jan 2015 09:05:56 +0000 Received: by mail-we0-f171.google.com with SMTP id q58so6346735wes.2 for ; Fri, 23 Jan 2015 01:05:55 -0800 (PST) In-Reply-To: <1421947300-21288-1-git-send-email-linux@eikelenboom.it> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Sander Eikelenboom , Ian Jackson , Ian Campbell , Stefano Stabellini Cc: Anthony PERARD , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org Il 22/01/2015 18:21, Sander Eikelenboom ha scritto: > Commit 2e5738ff "libxl: Add none to vga parameter" introduced the "none" > option for the Xen "vga=" config option but only appends the needed parameter > for the qemu-traditional case. This patch fixes the qemu-xen case by > appending the same "-vga none" qemu paramter. In upstream qemu -nodefaults is used, -vga none is old and deprecated way and not needed with -nodefaults used: http://git.qemu.org/?p=qemu.git;a=blob;f=docs/qdev-device-use.txt;hb=HEAD http://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=tools/libxl/libxl_dm.c;hb=HEAD (search -nodefaults) What exactly is your problem? Could you better detail? Thanks for any reply. > > Signed-off-by: Sander Eikelenboom > --- > tools/libxl/libxl_dm.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c > index c2b0487..fc3f5a7 100644 > --- a/tools/libxl/libxl_dm.c > +++ b/tools/libxl/libxl_dm.c > @@ -589,6 +589,7 @@ static char ** libxl__build_device_model_args_new(libxl__gc *gc, > libxl__sizekb_to_mb(b_info->video_memkb))); > break; > case LIBXL_VGA_INTERFACE_TYPE_NONE: > + flexarray_append_pair(dm_args, "-vga", "none"); > break; > } >