Skip to content

Commit

Permalink
auto_update
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Apr 11, 2024
1 parent b34866a commit b3fd0c3
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 @@ -21,7 +21,7 @@ qemu-system-x86_64 -M q35,accel=kvm,kernel-irqchip=split \
-device pcie-root-port,bus=pcie.0,id=rp2,slot=2 \
-device pcie-root-port,bus=pcie.0,id=rp3,slot=3,bus-reserve=3 \
-netdev tap,id=tap_dev0,ifname=tap_dev0,vhost=off,script=/etc/qemu-ifup,downscript=no,queues=6,br=docker0 \
-device virtio-net-pci,netdev=tap_dev0,bus=rp2,multifunction=on,host_mtu=3500,mrg_rxbuf=on \
-device virtio-net-pci,netdev=tap_dev0,bus=rp2,multifunction=on,host_mtu=3500,mrg_rxbuf=off \
-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 \
-monitor telnet:127.0.0.1:6666,server,nowait \
Expand Down

0 comments on commit b3fd0c3

Please sign in to comment.