diff options
author | Alon Levy <alevy@redhat.com> | 2011-08-23 14:28:36 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-08-23 14:28:36 +0300 |
commit | 772303251ac272749d3c54167e09b936a1399b05 (patch) | |
tree | 94faa25f1d93f5ef50f5674f162fb88b684190a8 | |
parent | 4319bdcb2822ed711b011b7adde203f1b1eb1b85 (diff) |
use qxl vga, and second qxl
-rwxr-xr-x | migrate.py | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -88,9 +88,10 @@ def start_qemu(qemu_exec, image, spice_port, qmp_filename, incoming_port=None, e spice_params.extend(['tls-port=%s' % spice_port, 'x509-dir=%s' % os.getcwd()]) else: spice_params.append("port=%s" % spice_port) - args = ([qemu_exec, "-qmp", "unix:%s,server,nowait" % qmp_filename, - "-spice", ','.join(spice_params)] - + extra_args + incoming_args) + args = ([qemu_exec, "--enable-kvm", "-qmp", + "unix:%s,server,nowait" % qmp_filename, + "-spice", ','.join(spice_params), '-vga', 'qxl', '-device', 'qxl'] + + extra_args + incoming_args) if os.path.exists(image): args += ["-m", "512", "-drive", "file=%s,index=0,media=disk,cache=unsafe" % image, "-snapshot"] |