fix #4: avoid qemu -redir option (thanks R41z)
This commit is contained in:
parent
9aabccdc3c
commit
1c7d2a35fd
6
QA.sh
6
QA.sh
|
@ -69,9 +69,9 @@ $bootDisk \
|
|||
-net nic,model=rtl8139 \
|
||||
-net user,hostfwd=tcp::5555-:1522 \
|
||||
-net dump,file=/tmp/vm0.pcap \
|
||||
-redir tcp:9999::9 \
|
||||
-redir tcp:17010::17010 \
|
||||
-redir tcp:17013::17013 \
|
||||
-netdev user,id=tcp9,hostfwd=tcp::9999-:9 \
|
||||
-netdev user,id=tcp17010,hostfwd=tcp::17010-:17010 \
|
||||
-netdev user,id=tcp17013,hostfwd=tcp::17013-:17013 \
|
||||
$appendLine $kernelLine
|
||||
EOF
|
||||
|
||||
|
|
|
@ -61,9 +61,9 @@ $bootDisk \
|
|||
-net nic,model=rtl8139 \
|
||||
-net user,hostfwd=tcp::5555-:1522 \
|
||||
-net dump,file=/tmp/vm0.pcap \
|
||||
-redir tcp:9999::9 \
|
||||
-redir tcp:17010::17010 \
|
||||
-redir tcp:17013::17013
|
||||
-netdev user,id=tcp9,hostfwd=tcp::9999-:9 \
|
||||
-netdev user,id=tcp17010,hostfwd=tcp::17010-:17010 \
|
||||
-netdev user,id=tcp17013,hostfwd=tcp::17013-:17013
|
||||
EOF
|
||||
|
||||
# To enable qemu log:
|
||||
|
|
|
@ -61,9 +61,9 @@ $bootDisk \
|
|||
-net nic,model=rtl8139 \
|
||||
-net user,hostfwd=tcp::5555-:1522 \
|
||||
-net dump,file=/tmp/vm0.pcap \
|
||||
-redir tcp:9999::9 \
|
||||
-redir tcp:17010::17010 \
|
||||
-redir tcp:17013::17013 \
|
||||
-netdev user,id=tcp9,hostfwd=tcp::9999-:9 \
|
||||
-netdev user,id=tcp17010,hostfwd=tcp::17010-:17010 \
|
||||
-netdev user,id=tcp17013,hostfwd=tcp::17013-:17013 \
|
||||
$usbDev \
|
||||
-append "maxcores=1024 nvram=$NVRAM nvrlen=512 nvroff=0 console=0 qemu-user=$QEMU_USER *acpi= $FS $KAPPEND" \
|
||||
-initrd ./initrd \
|
||||
|
|
Loading…
Reference in New Issue