commit | 59d8eb53ea9947db7cad8ebc31b0fb54f23a9851 | [log] [tgz] |
---|---|---|
author | Frederic Weisbecker <fweisbec@gmail.com> | Tue Nov 10 11:03:12 2009 +0100 |
committer | Frederic Weisbecker <fweisbec@gmail.com> | Tue Nov 10 11:23:43 2009 +0100 |
tree | 99a1e3f7e2ba5ccf139b46a5d120c47af17d79a1 | |
parent | f60d24d2ad04977b0bd9e3eb35dba2d2fa569af9 [diff] |
hw-breakpoints: Wrap in the KVM breakpoint active state check 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>