On 16.08.2017 09:20, Fam Zheng wrote: > Some guests behave differently when no VGA is detected. Add a variable > to allow override the "none" default. > > Signed-off-by: Fam Zheng <f...@redhat.com> > --- > scripts/qemu.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/scripts/qemu.py b/scripts/qemu.py > index 880e3e8219..e5f314efdb 100644 > --- a/scripts/qemu.py > +++ b/scripts/qemu.py > @@ -39,6 +39,7 @@ class QEMUMachine(object): > self._iolog = None > self._socket_scm_helper = socket_scm_helper > self._debug = debug > + self._vga = "none" > > # This can be used to add an unused monitor instance. > def add_monitor_telnet(self, ip, port): > @@ -111,7 +112,7 @@ class QEMUMachine(object): > moncdev = 'socket,id=mon,path=%s' % self._monitor_address > return ['-chardev', moncdev, > '-mon', 'chardev=mon,mode=control', > - '-display', 'none', '-vga', 'none'] > + '-display', 'none', '-vga', self._vga] > > def _pre_launch(self): > self._qmp = qmp.qmp.QEMUMonitorProtocol(self._monitor_address, > server=True, >
Not sure if this is related but OpenBSD ships with a patch for vga (cherry-picked from qemu-devel): http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/emulators/qemu/patches/patch-roms_vgabios_vgabios_c?annotate=1.1
signature.asc
Description: OpenPGP digital signature