From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= Subject: Re: [Xen-devel] [PATCH v3 2/4] GlobalProperty: Display warning about unused -global Date: Fri, 18 Apr 2014 17:59:56 +0200 Message-ID: <53514BFC.700@suse.de> References: <1395705336-22528-1-git-send-email-dslutz@verizon.com> <1395705336-22528-3-git-send-email-dslutz@verizon.com> <53514312.5060705@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org To: Fabio Fantoni Cc: xen-devel , Stefano Stabellini , "Michael S. Tsirkin" , "qemu-devel@nongnu.org" , Don Slutz , Anthony Liguori List-Id: xen-devel@lists.xenproject.org Am 18.04.2014 17:36, schrieb Fabio Fantoni: > 2014-04-18 17:21 GMT+02:00 Andreas F=E4rber >: >=20 > Hi Don, >=20 > Am 25.03.2014 00 :55, schrieb Don Slutz: > > This can help a user understand why -global was ignored. > > > > For example: with "-vga cirrus"; "-global vga.vgamem_mb=3D16" is = just > > ignored when "-global cirrus-vga.vgamem_mb=3D16" is not. > > > > This is currently clear when the wrong property is provided: > > > > out/x86_64-softmmu/qemu-system-x86_64 -global > cirrus-vga.vram_size_mb=3D16 -monitor pty -vga cirrus > > char device redirected to /dev/pts/20 (label compat_monitor0) > > qemu-system-x86_64: Property '.vram_size_mb' not found > > Aborted (core dumped) > > > > vs > > > > out/x86_64-softmmu/qemu-system-x86_64 -global vga.vram_size_mb=3D= 16 > -monitor pty -vga cirrus > > char device redirected to /dev/pts/20 (label compat_monitor0) > > VNC server running on `::1:5900' > > ^Cqemu: terminating on signal 2 >=20 >=20 > I added the cirrus video memory setting in libxl time ago (using -globa= l > vga.vram_size_mb), testing it with qemu 1.3 and also on qemu 1.6 when I > changed from -vga to -device if I remember good. > Has been changed in recent versions or something was not right even > though it seemed right to me? There are multiple graphics cards to choose from. When using -vga std or -device vga, then -global vga.foo=3Dbar gets used; if -vga cirrus or -device cirrus-vga then it needs to be -global cirrus-vga.foo=3Dbar and any -global vga.foo=3Dbar gets ignored - unless you manage to add it as secondary (PCI) graphics card. Regards, Andreas P.S. Please remember to use text format mails. --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg