[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/4] kvm: Add a --enable-debug-kvm option to configure
From: |
AlexChen |
Subject: |
[PATCH 0/4] kvm: Add a --enable-debug-kvm option to configure |
Date: |
Wed, 28 Oct 2020 15:11:20 +0800 |
User-agent: |
Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 |
The current 'DEBUG_KVM' macro is defined in many files, and turning on
the debug switch requires code modification, which is very inconvenient,
so this series add an option to configure to support the definition of
the 'DEBUG_KVM' macro.
In addition, patches 3 and 4 also make printf always compile in debug output
which will prevent bitrot of the format strings by referring to the
commit(08564ecd: s390x/kvm: make printf always compile in debug output).
alexchen (4):
configure: Add a --enable-debug-kvm option to configure
kvm: replace DEBUG_KVM to CONFIG_DEBUG_KVM
kvm: make printf always compile in debug output
i386/kvm: make printf always compile in debug output
accel/kvm/kvm-all.c | 11 ++++-------
configure | 10 ++++++++++
target/i386/kvm.c | 11 ++++-------
target/mips/kvm.c | 6 ++++--
target/s390x/kvm.c | 6 +++---
5 files changed, 25 insertions(+), 19 deletions(-)
--
2.19.1
- [PATCH 0/4] kvm: Add a --enable-debug-kvm option to configure,
AlexChen <=