Skip to content
Snippets Groups Projects
Commit 1fa1a602 authored by Takuya ASADA's avatar Takuya ASADA Committed by Pekka Enberg
Browse files

Add vmxnet3 argument on run.py

parent 7a78ad84
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,11 @@ def start_osv_qemu(options):
if (options.wait):
args += ["-S"]
net_device_options = ['virtio-net-pci']
if (options.vmxnet3):
net_device_options = ['vmxnet3']
else:
net_device_options = ['virtio-net-pci']
if options.mac:
net_device_options.append('mac=%s' % options.mac)
......@@ -306,6 +310,8 @@ if (__name__ == "__main__"):
help="use AHCI instead of virtio-blk")
parser.add_argument("-I", "--ide", action="store_true", default=False,
help="use ide instead of virtio-blk")
parser.add_argument("-3", "--vmxnet3", action="store_true", default=False,
help="use vmxnet3 instead of virtio-net")
parser.add_argument("-n", "--networking", action="store_true",
help="needs root. tap networking, specify interface")
parser.add_argument("-b", "--bridge", action="store", default="virbr0",
......
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