Hi
I would like to know if VirtualBox supports BTF (single-step on branches), which is a part IA32_DEBUGCTL MSR of newer CPU (Debug Trace and Branch Recording Control). If yes in which mode (VT-x or emulation)?
Kind Regards
Jeff and Joe
Debug Trace and Branch Recording Control Support in VMs
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Debug Trace and Branch Recording Control Support in VMs
VirtualBox is not an emulator, whether or not you use VT-x. Code always executes on the host CPU, and that CPU supports whatever features it supports.
-
jeffjoe
- Posts: 3
- Joined: 8. Feb 2010, 19:53
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: Windwos
Re: Debug Trace and Branch Recording Control Support in VMs
I agree. But still the feature can be allowed / disabled by the hypervisor implementation.
-
Technologov
- Volunteer
- Posts: 3342
- Joined: 10. May 2007, 16:59
- Location: Israel
Re: Debug Trace and Branch Recording Control Support in VMs
jeffjoe: all types of hardware debug are avail only in VT-x mode.