mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
tests/vm: move vga setup
Move '-device VGA' from basevm.py to the guests, so they have the chance to opt out and run without display device. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200310083218.26355-3-kraxel@redhat.com> Message-Id: <20200323161514.23952-3-alex.bennee@linaro.org>
This commit is contained in:
parent
698a64f948
commit
50a06452c7
6 changed files with 8 additions and 2 deletions
|
@ -179,7 +179,6 @@ class BaseVM(object):
|
|||
|
||||
def boot(self, img, extra_args=[]):
|
||||
args = self._args + [
|
||||
"-device", "VGA",
|
||||
"-drive", "file=%s,if=none,id=drive0,cache=writeback" % img,
|
||||
"-device", "virtio-blk,drive=drive0,bootindex=0"]
|
||||
args += self._data_args + extra_args
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue