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 5341bdc commit 3730c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/_posts/qemu/qemu运行virtio_net的几种模式.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ qemu-system-x86_64 -machine q35,accel=kvm,usb=off,vmport=off,dump-guest-core=off
-netdev vhost-user,chardev=charnet0,id=hostnet0,queues=6 \
-chardev socket,id=charnet0,path=/tmp/vdpa-socket0,server=on \
-device pcie-root-port,port=0x10,chassis=1,id=pci.4,bus=pcie.0,multifunction=on,addr=0x2 \
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:00:34:56,bus=pci.4,mq=on,host_mtu=3500 \
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:00:34:56,bus=pci.4,mq=on,host_mtu=3500,mrg_rxbuf=off \
-nographic -serial mon:stdio -monitor tcp:127.0.0.1:3333,server,nowait
```

Expand Down

0 comments on commit 3730c21

Please sign in to comment.