Skip to content

Commit

Permalink
auto_update
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Apr 12, 2024
1 parent a9a0d1b commit e59af02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/_posts/qemu/qemu运行virtio_net的几种模式.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ qemu-system-x86_64 -machine q35,accel=kvm,usb=off,vmport=off,dump-guest-core=off
-chardev socket,id=charnet1,path=/usr/local/var/run/openvswitch/vhost-user2,client=on \
-device pcie-root-port,port=0x11,chassis=1,id=pci.5,bus=pcie.0,multifunction=on,addr=0x3 \
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:00:34:57,bus=pci.5,mq=on,host_mtu=3500 \
-device e1000e,netdev=tap_dev1,bus=pcie.0 \
-netdev tap,ifname=tap_dev1,id=tap_dev1,vhost=off,script=/etc/qemu-ifup,downscript=no,queues=6,br=docker0 \
-nographic -serial mon:stdio -monitor tcp:127.0.0.1:3333,server,nowait
```

Expand Down

0 comments on commit e59af02

Please sign in to comment.