Skip to content
Commit 3d53c27d authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: Use thread debug register storage instead of kvm specific data



Instead of saving the debug registers from the processor to a kvm data
structure, rely in the debug registers stored in the thread structure.
This allows us not to save dr6 and dr7.

Reduces lightweight vmexit cost by 350 cycles, or 11 percent.

Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 6ba66178
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment