kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] Debug register emulation fixes and optimizations
@ 2009-09-04 12:51 Jan Kiszka
  2009-09-04 12:51 ` [PATCH 2/6] KVM: x86: Optimize debug register switching Jan Kiszka
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Jan Kiszka @ 2009-09-04 12:51 UTC (permalink / raw)
  To: Avi Kivity, Marcelo Tosatti; +Cc: kvm

This series realizes the debug register switch optimization Avi
suggested, but now in a KGDB-safe way. It furthermore cleans up the DR6
optimization as discussed earlier. And it improves the debug register
emulation for both VMX and SVM.

Note that the series applies on top of kvm.git next.

Find this series also at git://git.kiszka.org/linux-kvm.git queues/debugregs

Jan Kiszka (6):
      KGDB: Add kgdb_in_use
      KVM: x86: Optimize debug register switching
      KVM: VMX: Clean up DR6 emulation
      KVM: VMX: Fix emulation of DR4 and DR5
      KVM: SVM: Enable full MOV DR emulation
      KVM: SVM: Trap all debug register accesses

 arch/x86/include/asm/kvm_host.h |    5 +-
 arch/x86/kvm/svm.c              |   86 ++++++++++++++++++++++++--------------
 arch/x86/kvm/vmx.c              |   55 ++++++++++++++----------
 arch/x86/kvm/x86.c              |   67 ++++++++++++++++--------------
 include/linux/kgdb.h            |   17 ++++++++
 5 files changed, 140 insertions(+), 90 deletions(-)



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-09-07 13:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-04 12:51 [PATCH 0/6] Debug register emulation fixes and optimizations Jan Kiszka
2009-09-04 12:51 ` [PATCH 2/6] KVM: x86: Optimize debug register switching Jan Kiszka
2009-09-06  8:10   ` Avi Kivity
2009-09-07 13:47     ` Jan Kiszka
2009-09-04 12:51 ` [PATCH 1/6] KGDB: Add kgdb_in_use Jan Kiszka
2009-09-04 12:51 ` [PATCH 3/6] KVM: VMX: Clean up DR6 emulation Jan Kiszka
2009-09-04 12:51 ` [PATCH 5/6] KVM: SVM: Enable full MOV DR emulation Jan Kiszka
2009-09-04 12:51 ` [PATCH 6/6] KVM: SVM: Trap all debug register accesses Jan Kiszka
2009-09-04 12:51 ` [PATCH 4/6] KVM: VMX: Fix emulation of DR4 and DR5 Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).