Created
April 30, 2014 02:36
-
-
Save archerslaw/943eeff2ea22f69e2a97 to your computer and use it in GitHub Desktop.
support Max e1000 Nics number and disable multifunction.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/libexec/qemu-kvm -M pc -enable-kvm -m 4G -smp 2,sockets=2,cores=1,threads=1 -name rhel7 -uuid 745fe449-aac8-29f1-0c2d-5042a707263b -drive file=/home/windows_server_2012_r2_x64.raw,if=none,id=drive-ide0-0-0,format=raw,cache=none -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -netdev tap,id=hostnet1,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet1,mac=00:12:17:18:49:01,bus=pci.0,id=e10001 -netdev tap,id=hostnet2,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet2,mac=00:12:17:18:49:02,bus=pci.0,id=e10002 -netdev tap,id=hostnet3,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet3,mac=00:12:17:18:49:03,bus=pci.0,id=e10003 -netdev tap,id=hostnet4,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet4,mac=00:12:17:18:49:04,bus=pci.0,id=e10004 -netdev tap,id=hostnet5,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet5,mac=00:12:17:18:49:05,bus=pci.0,id=e10005 -netdev tap,id=hostnet6,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet6,mac=00:12:17:18:49:06,bus=pci.0,id=e10006 -netdev tap,id=hostnet7,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet7,mac=00:12:17:18:49:07,bus=pci.0,id=e10007 -netdev tap,id=hostnet8,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet8,mac=00:12:17:18:49:08,bus=pci.0,id=e10008 -netdev tap,id=hostnet9,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet9,mac=00:12:17:18:49:09,bus=pci.0,id=e10009 -netdev tap,id=hostnet10,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet10,mac=00:12:17:18:49:10,bus=pci.0,id=e100010 -netdev tap,id=hostnet11,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet11,mac=00:12:17:18:49:11,bus=pci.0,id=e100011 -netdev tap,id=hostnet12,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet12,mac=00:12:17:18:49:12,bus=pci.0,id=e100012 -netdev tap,id=hostnet13,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet13,mac=00:12:17:18:49:13,bus=pci.0,id=e100013 -netdev tap,id=hostnet14,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet14,mac=00:12:17:18:49:14,bus=pci.0,id=e100014 -netdev tap,id=hostnet15,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet15,mac=00:12:17:18:49:15,bus=pci.0,id=e100015 -netdev tap,id=hostnet16,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet16,mac=00:12:17:18:49:16,bus=pci.0,id=e100016 -netdev tap,id=hostnet17,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet17,mac=00:12:17:18:49:17,bus=pci.0,id=e100017 -netdev tap,id=hostnet18,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet18,mac=00:12:17:18:49:18,bus=pci.0,id=e100018 -netdev tap,id=hostnet19,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet19,mac=00:12:17:18:49:19,bus=pci.0,id=e100019 -netdev tap,id=hostnet20,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet20,mac=00:12:17:18:49:20,bus=pci.0,id=e100020 -netdev tap,id=hostnet21,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet21,mac=00:12:17:18:49:21,bus=pci.0,id=e100021 -netdev tap,id=hostnet22,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet22,mac=00:12:17:18:49:22,bus=pci.0,id=e100022 -netdev tap,id=hostnet23,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet23,mac=00:12:17:18:49:23,bus=pci.0,id=e100023 -netdev tap,id=hostnet24,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet24,mac=00:12:17:18:49:24,bus=pci.0,id=e100024 -netdev tap,id=hostnet25,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet25,mac=00:12:17:18:49:25,bus=pci.0,id=e100025 -netdev tap,id=hostnet26,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet26,mac=00:12:17:18:49:26,bus=pci.0,id=e100026 -netdev tap,id=hostnet27,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet27,mac=00:12:17:18:49:27,bus=pci.0,id=e100027 -netdev tap,id=hostnet28,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet28,mac=00:12:17:18:49:28,bus=pci.0,id=e100028 -netdev tap,id=hostnet29,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet29,mac=00:12:17:18:49:29,bus=pci.0,id=e100029 -monitor stdio -vnc :1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment