1
0
mirror of https://github.com/GNS3/gns3-server synced 2025-01-26 16:01:23 +00:00

spice - added qxl vga support

This commit is contained in:
ziajka 2017-06-22 12:56:28 +02:00
parent 1b6cefd82b
commit 7447b3190d
2 changed files with 3 additions and 1 deletions

View File

@ -1309,7 +1309,8 @@ class QemuVM(BaseNode):
if self._console:
return ["-spice",
"addr={},port={},disable-ticketing".format(self._manager.port_manager.console_host, self._console)]
"addr={},port={},disable-ticketing".format(self._manager.port_manager.console_host, self._console),
"-vga", "qxl"]
else:
return []

View File

@ -371,6 +371,7 @@ def test_spice_option(vm, tmpdir, loop, fake_qemu_img_binary):
vm._console = 5905
options = loop.run_until_complete(asyncio.async(vm._build_command()))
assert '-spice addr=127.0.0.1,port=5905,disable-ticketing' in ' '.join(options)
assert '-vga qxl' in ' '.join(options)
def test_disk_options_multiple_disk(vm, tmpdir, loop, fake_qemu_img_binary):