We can set the guest to VMEXIT by setting the CPU_BASED_MONITOR_TRAP_FLAG. This will cause the guest to single step on every instruction. But I want to make the guest do a VMEXIT only on branch instruction, On a host system we can do this by setting both the TRAP FLAG (TF ) of eflags register and BRANCH_TRAP_FLAG (BTF) on IA32_DEBUGCTL msr register, but the are no such controls in the VMCS.
How can I do this . if this feature is not supported by the VMCS. Is there any workaround Ex using the reserved bit area of VMCS???