- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to single-step from VMX non-root mode into VMX root mode using a hardware debugger? Or, barring that, are internal VMX registers, such as the current VMCS pointer, readable using a hardware debugger (so a BP can be set at the host entry point)? I'm trying to trace execution into and out of a very simple VT-x hypervisor.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A fellow engineer commented:
"Kernel debuggers provide tracing capabilities between non-root and root modes.
One of the possibilities is to set 2 separate kernel debugger sessions: one - for root, another for non-root.
For example, for Hyper-V, the instance of kernel debugger that is responsible for the non-root execution runs inside RootOS using method that is known as VirtualPipe, the instance that traces Hyper-V execution is running on a separate machine that is connected to the unit under test (UUT) via 1394.
The above debug capabilities may require additional investigation/development."
David Ott
"Kernel debuggers provide tracing capabilities between non-root and root modes.
One of the possibilities is to set 2 separate kernel debugger sessions: one - for root, another for non-root.
For example, for Hyper-V, the instance of kernel debugger that is responsible for the non-root execution runs inside RootOS using method that is known as VirtualPipe, the instance that traces Hyper-V execution is running on a separate machine that is connected to the unit under test (UUT) via 1394.
The above debug capabilities may require additional investigation/development."
David Ott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Possible solution is adopting GDB stub for running in VMX root mode and exchanging via serial port with client at the other PC.
![](/skins/images/3CECF0550DB8BF54496C114A1FF06FE9/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page