On 17/08/2017 14:21, Stefan Hajnoczi wrote: >> + guest = QEMUMachine(binary=os.environ.get("QEMU", >> "qemu-system-x86_64"), >> + args=args) >> + guest._vga = "std" > _vga is a protected field. We don't inherit from QEMUMachine so it > shouldn't be accessed directly. One option is to add a vga argument to > the QEMUMachine() constructor.
You can just use "-device VGA" here, since this code is x86-specific. "-vga none -device VGA" works well, so patch 2 can be dropped. Paolo