qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cannot change host system for WinDBG


From: HOWARD WEISS
Subject: Cannot change host system for WinDBG
Date: Sat, 4 Sep 2021 15:21:21 -0400 (EDT)

Hi
 
I am running Qemu under Linux with a Windows 10 target.  I have been using WindDBG on another computer to debug my device driver when Windows starts.  To configure the connection, I used bcdedit and specified
 
bcdedit /dbgsettings net hostip:10.0.0.111 port:50010 key:1.2.3.4
 
I then run WinDBG on another windows 10 system with IP4  10.0.0.111.  It wait for my windows client to connect.  When it does, I can debug the device driver.
 
I want to change the host computer to 10.0.0.176 (I need to return 10.0.0.111 to its owner)
 
I tried reconfiguring the target system using bcdedit as follows
 
bcdedit /dbgsettings net hostip:10.0.0.111 port:50010 key:1.2.3.4
 
If I run bcdedit /fbgsettings it reports that the hostip is 10.0.0.176.  However, if run WinDBG on system with IP 10.0.0.176, the target does not connect.  It continues to connect to 10.0.0.111
 
I discovered the following in the registry key 8HKLM\System\CurrentControlSet\Control\SystemStartOptions
 
DEBUG ENCRYPTION_KEY=****** HOSTIP:10.0.0.111 HOST_PORT=50010. 
 
Supposedly, this is irrelevant to how windows boots.  Regardless,  I tried changing the HOSTIP to 10.0.0.176 without effect
 
Even odder, the Windows 10 target connects to the host REGARDLESS of whether I set debug to OFF or ON in bcdedit.
 
Is the boot information being retained somehow?
 
Please advise
 
Howard Weiss
 
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]