QEMU on Linux works, but on Windows (probably 7/8) fails when -redir parameter is used -


i'm shipping project via qemu static build , linux vm. project uses port 4848 server configuration , port 8080 http (tools) , ephermal ports (49152+) spawned sub-projects use p2p websockets.

note qemu binary qemu-system-... binary linux , qemu.exe on windows, statically compiled.

on linux, i'm starting command. works charm expected:

./qemu -curses \ -kernel ../vmlinuz \ -initrd ../root.gz \ -l ./ \ -redir tcp:4848::4848 \ -redir tcp:8080::8080 \ -redir tcp:49152::49152 \ -redir tcp:49153::49153 \ -redir tcp:49154::49154 \ -redir tcp:49155::49155 \ -redir tcp:49156::49156 \ -redir tcp:49157::49157 \ -redir tcp:49158::49158 \ -redir tcp:49159::49159 \ -redir tcp:49160::49160 \ -redir tcp:49161::49161 \ -redir tcp:49162::49162 \ -append "quiet autologin loglevel=3" 

on windows xp vm (in virtualbox), command here works fine without issues once have approved firewall popup, seems not work on windows 8:

start qemu.exe -kernel ..\vmlinuz -initrd ..\root.gz -l ./ -redir tcp:4848::4848 -redir tcp:8080::8080 -redir tcp:49152::49152 -redir tcp:49153::49153 -redir tcp:49154::49154 -redir tcp:49155::49155 -redir tcp:49156::49156 -redir tcp:49157::49157 -redir tcp:49158::49158 -redir tcp:49159::49159 -redir tcp:49160::49160 -redir tcp:49161::49161 -redir tcp:49162::49162 -append "quiet autologin loglevel=3" 

i found out there might issue ne2000 network card driver on windows, read here: http://www.h7.dion.ne.jp/~qemu-win/howtonetwork-en.html

when trying bootup qemu.exe directly without -redir stuff , flags "-net nic,model=rtl8139 -net user", boots properly.

but when start add -redir flags on windows8, crashes , not shows single message in cmd / terminal.

question

how redir ports of vm guest windows 8 host qemu.exe in cmd?


Popular posts from this blog