[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200416101509.73526-1-xiaoyao.li@intel.com>
Date: Thu, 16 Apr 2020 18:15:06 +0800
From: Xiaoyao Li <xiaoyao.li@...el.com>
To: Paolo Bonzini <pbonzini@...hat.com>,
Sean Christopherson <sean.j.christopherson@...el.com>,
kvm@...r.kernel.org
Cc: Nadav Amit <namit@...technion.ac.il>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
linux-kernel@...r.kernel.org, Xiaoyao Li <xiaoyao.li@...el.com>
Subject: [RFC PATCH 0/3] kvm: x86: Cleanup and optimazation of switch_db_regs
Through reading debug related codes in kvm/x86, I found the flags of
switch_db_regs is a little confusing (at least for me) and there is
something to improve. So this patchset comes. But it only go througg
compilation.
Xiaoyao Li (3):
kvm: x86: Rename KVM_DEBUGREG_RELOAD to KVM_DEBUGREG_NEED_RELOAD
kvm: x86: Use KVM_DEBUGREG_NEED_RELOAD instead of
KVM_DEBUGREG_BP_ENABLED
kvm: x86: skip DRn reload if previous VM exit is DR access VM exit
arch/x86/include/asm/kvm_host.h | 3 +--
arch/x86/kvm/svm/svm.c | 8 +++++---
arch/x86/kvm/vmx/vmx.c | 8 +++++---
arch/x86/kvm/x86.c | 12 ++++++------
4 files changed, 17 insertions(+), 14 deletions(-)
--
2.20.1
Powered by blists - more mailing lists