[Qemu-devel] [PATCH 5/9] enable -g command line switch for all archs

Gerd Hoffmann posted 9 patches 8 years, 8 months ago
[Qemu-devel] [PATCH 5/9] enable -g command line switch for all archs
Posted by Gerd Hoffmann 8 years, 8 months ago
Virtual display adapters will learn to use graphic_* variables
(which are set by the -g switch), so enable this for all archs.

RfC:  Maybe restrict to PCI-capable archs?
      Or would that be pretty much anything anyway?

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 qemu-options.hx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qemu-options.hx b/qemu-options.hx
index 809b2b0..4e89610 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -1237,7 +1237,7 @@ ETEXI
 
 DEF("g", 1, QEMU_OPTION_g ,
     "-g WxH[xDEPTH]  Set the initial graphical resolution and depth\n",
-    QEMU_ARCH_PPC | QEMU_ARCH_SPARC)
+    QEMU_ARCH_ALL)
 STEXI
 @item -g @var{width}x@var{height}[x@var{depth}]
 @findex -g
-- 
1.8.3.1


Re: [Qemu-devel] [PATCH 5/9] enable -g command line switch for all archs
Posted by Thomas Huth 8 years, 8 months ago
On 21.02.2017 23:14, Gerd Hoffmann wrote:
> Virtual display adapters will learn to use graphic_* variables
> (which are set by the -g switch), so enable this for all archs.
> 
> RfC:  Maybe restrict to PCI-capable archs?
>       Or would that be pretty much anything anyway?

I think there could also be systems without PCI, but with graphics card,
so limiting it to PCI-capable systems seems also wrong to me.

 Thomas