Commit 6b0ff18d authored by Julien Muchembled's avatar Julien Muchembled

vm.run: use -cpu host

parent 52036bac
...@@ -423,8 +423,9 @@ cd /etc/sudoers.d ...@@ -423,8 +423,9 @@ cd /etc/sudoers.d
s.bind(('127.0.0.1', 0)) s.bind(('127.0.0.1', 0))
ssh = s.getsockname() ssh = s.getsockname()
args = self.getQemuBasicArgs( args = self.getQemuBasicArgs(
options['dist'], snapshot=True, ssh=ssh[1]) + [ options['dist'], snapshot=True, ssh=ssh[1])
'-vnc', 'unix:' + vnc] + mount_args args += '-cpu', 'host', '-vnc', 'unix:' + vnc
args += mount_args
s.close() s.close()
qemu = Popen(args, stderr=subprocess.PIPE, env=dict(env, qemu = Popen(args, stderr=subprocess.PIPE, env=dict(env,
TMPDIR=location, # for snapshot TMPDIR=location, # for snapshot
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment