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
s.bind(('127.0.0.1', 0))
ssh = s.getsockname()
args = self.getQemuBasicArgs(
options['dist'], snapshot=True, ssh=ssh[1]) + [
'-vnc', 'unix:' + vnc] + mount_args
options['dist'], snapshot=True, ssh=ssh[1])
args += '-cpu', 'host', '-vnc', 'unix:' + vnc
args += mount_args
s.close()
qemu = Popen(args, stderr=subprocess.PIPE, env=dict(env,
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