KVM: Use thread debug register storage instead of kvm specific data
authorAvi Kivity <avi@redhat.com>
Tue, 1 Sep 2009 09:34:07 +0000 (12:34 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 15:11:04 +0000 (18:11 +0300)
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: Avi Kivity <avi@redhat.com>

No differences found