fix #4: avoid qemu -redir option (thanks R41z)

This commit is contained in:
Giacomo Tesio 2017-09-01 01:58:05 +02:00
parent 9aabccdc3c
commit 1c7d2a35fd
3 changed files with 9 additions and 9 deletions

6
QA.sh
View File

@ -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

View File

@ -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:

View File

@ -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 \