我沒有通過鏈接不見了,我不使用TCP和端口,但我經常使用QEMU
網絡,我使用的龍頭適配器
和bat文件XP64虛擬機調試從XP32物理主機我用這兩種調試和非調試的Qemu會話如下
的QEMU是非常古老的一個0.9.0的Windows bat文件的
during kernel debugging the windbg tends to be terminated several times
during startup (enabling DEBUG_SPEW ctrl+alt+d and enabling a log prior
to startup of vm shows too much commands in serial pipe restarting
kd connection error but i couldnt find anything relevent to solve the issue
i simply restart the vm with the bat after a few restarts of the batfile
windbg starts running and then there is no problems of windbg termination
內容
IF "%1" == "" goto nodebug
IF "%1" == "dbg" goto debug
:nodebug
%cd%\qemu-system-x86_64.exe -L . -m 700 -hda xp64.img -net nic,model=rtl8139 -net tap,ifname=mytap -localtime
goto exit
:debug
%cd%\qemu-system-x86_64.exe -L . -m 700 -hda xp64.img -net nic,model=rtl8139 -net tap,ifname=mytap -localtime -serial pipe:debugPipe
goto exit
:exit
感謝您的建議,但我特別希望通過TCP連接進行調試。 – abhi