Page 1 of 1

Debug Trace and Branch Recording Control Support in VMs

Posted: 14. Dec 2011, 16:21
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

Re: Debug Trace and Branch Recording Control Support in VMs

Posted: 14. Dec 2011, 17:12
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.

Re: Debug Trace and Branch Recording Control Support in VMs

Posted: 14. Dec 2011, 17:33
by jeffjoe
I agree. But still the feature can be allowed / disabled by the hypervisor implementation.

Re: Debug Trace and Branch Recording Control Support in VMs

Posted: 15. Dec 2011, 04:21
by Technologov
jeffjoe: all types of hardware debug are avail only in VT-x mode.