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:
parent
1b6cefd82b
commit
7447b3190d
@ -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 []
|
||||
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user