mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-31 05:13:49 +02: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:
|
if self._console:
|
||||||
return ["-spice",
|
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:
|
else:
|
||||||
return []
|
return []
|
||||||
|
|
||||||
|
@ -371,6 +371,7 @@ def test_spice_option(vm, tmpdir, loop, fake_qemu_img_binary):
|
|||||||
vm._console = 5905
|
vm._console = 5905
|
||||||
options = loop.run_until_complete(asyncio.async(vm._build_command()))
|
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 '-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):
|
def test_disk_options_multiple_disk(vm, tmpdir, loop, fake_qemu_img_binary):
|
||||||
|
Loading…
Reference in New Issue
Block a user