The Linux Kernel Mailing List
 help / color / mirror / Atom feed
  • * Re: [PATCH v2 0/9] KVM: x86: Improve the handling of debug exceptions during instruction emulation
           [not found] <cover.1766066076.git.houwenlong.hwl@antgroup.com>
           [not found] ` <9b859ab6a6b59e5ccfdac741459117996fe2da6e.1766066076.git.houwenlong.hwl@antgroup.com>
    @ 2026-05-11 15:45 ` Sean Christopherson
      1 sibling, 0 replies; 4+ messages in thread
    From: Sean Christopherson @ 2026-05-11 15:45 UTC (permalink / raw)
      To: Hou Wenlong
      Cc: kvm, Lai Jiangshan, Paolo Bonzini, Thomas Gleixner, Ingo Molnar,
    	Borislav Petkov, Dave Hansen, x86, H. Peter Anvin, Shuah Khan,
    	linux-kernel, linux-kselftest
    
    On Thu, Dec 18, 2025, Hou Wenlong wrote:
    > Hou Wenlong (9):
    >   KVM: x86: Capture "struct x86_exception" in
    >     inject_emulated_exception()
    >   KVM: x86: Set guest DR6 by kvm_queue_exception_p() in instruction
    >     emulation
    >   KVM: x86: Check guest debug in DR access instruction emulation
    >   KVM: x86: Only check effective code breakpoint in emulation
    >   KVM: x86: Consolidate KVM_GUESTDBG_SINGLESTEP check into the
    >     kvm_inject_emulated_db()
    >   KVM: x86: Move kvm_set_rflags() up before kvm_vcpu_do_singlestep()
    >   KVM: VMX: Refresh 'PENDING_DBG_EXCEPTIONS.BS' bit during instruction
    >     emulation
    >   KVM: selftests: Verify guest debug DR7.GD checking during instruction
    >     emulation
    >   KVM: selftests: Verify 'BS' bit checking in pending debug exception
    >     during VM entry
    > 
    >  arch/x86/include/asm/kvm-x86-ops.h            |   1 +
    >  arch/x86/include/asm/kvm_host.h               |   1 +
    >  arch/x86/kvm/emulate.c                        |  14 +--
    >  arch/x86/kvm/kvm_emulate.h                    |   7 +-
    >  arch/x86/kvm/vmx/main.c                       |   9 ++
    >  arch/x86/kvm/vmx/vmx.c                        |  15 ++-
    >  arch/x86/kvm/vmx/x86_ops.h                    |   1 +
    >  arch/x86/kvm/x86.c                            | 116 ++++++++++--------
    >  arch/x86/kvm/x86.h                            |   7 ++
    >  .../selftests/kvm/include/x86/processor.h     |   3 +-
    >  tools/testing/selftests/kvm/x86/debug_regs.c  |  72 ++++++++++-
    >  11 files changed, 178 insertions(+), 68 deletions(-)
    
    One goof and some nits on patch 3, but I'll fix them up when applying, i.e. no
    need for a v3.  I'll probably also add some comments and elaborate on some of
    the changelogs.
    
    ^ permalink raw reply	[flat|nested] 4+ messages in thread

  • end of thread, other threads:[~2026-05-11 15:45 UTC | newest]
    
    Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <cover.1766066076.git.houwenlong.hwl@antgroup.com>
         [not found] ` <9b859ab6a6b59e5ccfdac741459117996fe2da6e.1766066076.git.houwenlong.hwl@antgroup.com>
    2026-05-11 15:23   ` [PATCH v2 2/9] KVM: x86: Set guest DR6 by kvm_queue_exception_p() in instruction emulation Sean Christopherson
    2026-05-11 15:26     ` Sean Christopherson
    2026-05-11 15:42       ` Sean Christopherson
    2026-05-11 15:45 ` [PATCH v2 0/9] KVM: x86: Improve the handling of debug exceptions during " Sean Christopherson
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox