hw-breakpoints: Wrap in the KVM breakpoint active state check
authorFrederic Weisbecker <fweisbec@gmail.com>
Tue, 10 Nov 2009 10:03:12 +0000 (11:03 +0100)
committerFrederic Weisbecker <fweisbec@gmail.com>
Tue, 10 Nov 2009 10:23:43 +0000 (11:23 +0100)
Wrap in the cpu dr7 check that tells if we have active
breakpoints that need to be restored in the cpu.

This wrapper makes the check more self-explainable and also
reusable for any further other uses.

Reported-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Avi Kivity <avi@redhat.com>
Cc: "K. Prasad" <prasad@linux.vnet.ibm.com>

No differences found