Debug Trace and Branch Recording Control Support in VMs

This is for discussing general topics about how to use VirtualBox.
Post Reply
jeffjoe
Posts: 3
Joined: 8. Feb 2010, 19:53
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windwos

Debug Trace and Branch Recording Control Support in VMs

Post by jeffjoe »

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
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

Post by mpack »

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

Post by jeffjoe »

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

Post by Technologov »

jeffjoe: all types of hardware debug are avail only in VT-x mode.
Post Reply