microsoft / openvmm

Home of OpenVMM and OpenHCL.
http://openvmm.dev/
MIT License
1.36k stars 59 forks source link

virt_mshv_vtl: move gdb feature checks to runtime checks #170

Closed jstarks closed 1 day ago

jstarks commented 1 day ago

Avoid having code that conditionally builds based on feature configuration by moving the gdb-related code to runtime checks instead of compile-time cfg attributes. These will still get compiled out at compile time, but the compiler will ensure the code actually builds.