Skip to content
Andrew Innes edited this page Sep 6, 2022 · 9 revisions

dev vm

https://wiki.osdev.org/Intel_Ethernet_i217#:~:text=%23define%20E1000_DEV%20%20%20%20%20%200x100E%20%20//%20Device%20ID%20for%20the%20e1000%20Qemu%2C%20Bochs%2C%20and%20VirtualBox%20emmulated%20NICs

0x8086 intel

0x100E e1000

nic is supprrted

When provisioning

Configuring computer settings (possible reboot)

this failure means Secure BoOT IS on

https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/setting-up-a-network-debugging-connection#setting-up-the-target-computer can't bCDEDIT

You don't need to deploy oPENZfS

You can just attach the kERNEL debugger

https://github.com/actions/runner-images/blob/main/images/win/scripts/Installers/Install-VS.ps1

https://github.com/actions/runner-images/blob/main/images/win/scripts/Installers/Install-WDK.ps1

On KVM it seems to just crash after setting up kernel debugging

So maybe setup serial

https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/setting-up-a-network-debugging-connection-automatically

https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/bcdedit--dbgsettings

https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/setting-up-a-null-modem-cable-connection

Idea from

https://www.linux-kvm.org/page/WindowsGuestDrivers/GuestDebugging

https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/attaching-to-a-virtual-machine--kernel-mode-

bcdedit /debug on

bcdedit /dbgsettings serial debugport:n baudrate:115200

where n is the number of a COM port on the virtual machine.

https://lukas.zapletalovi.com/2018/02/accessing-libvirt-vms-via-telnet.html

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/virtualization_administration_guide/sub-section-libvirt-dom-xml-devices-host-interface

Or as a TCP server waiting for a client connection.

If your installing the vs, SDK and wdk on your pc you might need to uninstall other versions of vs and SDK if you get errors from the remote debugging plugin

Note

https://docs.microsoft.com/en-us/troubleshoot/windows-server/user-profiles-and-logon/turn-on-automatic-logon

This tells you how to setup auto login

You might be able to use it to retrieve the password for the wdkuser

Clone this wiki locally