Skip to content
Snippets Groups Projects
Commit ad357426 authored by Avi Kivity's avatar Avi Kivity
Browse files

run: add user-mode networking to the default setup

parent 0fa5a7c5
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,8 @@ def start_osv():
args += ["-netdev", "bridge,id=hn0,br=virbr0,helper=/usr/libexec/qemu-bridge-helper"]
args += ["-device", "virtio-net-pci,netdev=hn0,id=nic1"]
else:
args += ["-device", "virtio-net-pci"]
args += ["-netdev", "user,id=un0"]
args += ["-device", "virtio-net-pci,netdev=un0"]
try:
# Save the current settings of the stty
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment