From: Paolo Bonzini <pbonzini@redhat.com>
To: Yi Wang <wang.yi59@zte.com.cn>
Cc: rkrcmar@redhat.com, tglx@linutronix.de, mingo@redhat.com,
bp@alien8.de, hpa@zytor.com, x86@kernel.org, kvm@vger.kernel.org,
linux-kernel@vger.kernel.org, xue.zhihong@zte.com.cn,
up2wing@gmail.com, wang.liang82@zte.com.cn
Subject: Re: [PATCH 0/4] kvm: x86: introduce CONFIG_KVM_DEBUG
Date: Wed, 3 Jul 2019 18:26:28 +0200 [thread overview]
Message-ID: <0b4c7169-1f3b-af5e-fb89-52f7d9363a6c@redhat.com> (raw)
In-Reply-To: <1561962071-25974-1-git-send-email-wang.yi59@zte.com.cn>
On 01/07/19 08:21, Yi Wang wrote:
> This series introduce CONFIG_KVM_DEBUG, using which we can make
> the invoking *_debug in KVM simly and uniform.
>
> FYI: the former discussion can been found in:
> https://www.spinics.net/lists/kvm/msg187026.html
Basically everything except MMU_DEBUG can just be deleted, they are
little more than debugging printk that were left in the code.
For MMU_DEBUG, the way to go is to add more tracepoints, but then
converting all pgprintk occurrences to tracepoints would be wrong. You
can only find the "right" tracepoints when debugging MMU code. I do
have a couple patches in this area, I will send them when possible.
Paolo
> Yi Wang (4):
> kvm: x86: Add CONFIG_KVM_DEBUG
> kvm: x86: allow set apic and ioapic debug dynamically
> kvm: x86: replace MMU_DEBUG with CONFIG_KVM_DEBUG
> kvm: x86: convert TSC pr_debugs to be gated by CONFIG_KVM_DEBUG
>
> arch/x86/kvm/Kconfig | 8 ++++++++
> arch/x86/kvm/ioapic.c | 2 +-
> arch/x86/kvm/lapic.c | 5 ++++-
> arch/x86/kvm/mmu.c | 5 ++---
> arch/x86/kvm/x86.c | 18 ++++++++++++------
> 5 files changed, 27 insertions(+), 11 deletions(-)
>
next prev parent reply other threads:[~2019-07-03 16:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-01 6:21 Yi Wang
2019-07-01 6:21 ` [PATCH 1/4] kvm: x86: Add CONFIG_KVM_DEBUG Yi Wang
2019-07-01 6:21 ` [PATCH 2/4] kvm: x86: allow set apic and ioapic debug dynamically Yi Wang
2019-07-03 16:23 ` Paolo Bonzini
2019-07-03 16:27 ` Liran Alon
2019-07-01 6:21 ` [PATCH 3/4] kvm: x86: replace MMU_DEBUG with CONFIG_KVM_DEBUG Yi Wang
2019-07-01 6:21 ` [PATCH 4/4] kvm: x86: convert TSC pr_debugs to be gated by CONFIG_KVM_DEBUG Yi Wang
2019-07-03 16:25 ` Paolo Bonzini
2019-07-03 16:26 ` Paolo Bonzini [this message]
[not found] <201907041011168747592@zte.com.cn>
2019-07-04 12:21 ` [PATCH 0/4] kvm: x86: introduce CONFIG_KVM_DEBUG Paolo Bonzini
2019-07-04 12:22 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0b4c7169-1f3b-af5e-fb89-52f7d9363a6c@redhat.com \
--to=pbonzini@redhat.com \
--cc=bp@alien8.de \
--cc=hpa@zytor.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=rkrcmar@redhat.com \
--cc=tglx@linutronix.de \
--cc=up2wing@gmail.com \
--cc=wang.liang82@zte.com.cn \
--cc=wang.yi59@zte.com.cn \
--cc=x86@kernel.org \
--cc=xue.zhihong@zte.com.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®