Re: [PATCH 2/4] kvm: x86: allow set apic and ioapic debug dynamically

2019-07-04 Thread Paolo Bonzini
On 04/07/19 04:00, wang.y...@zte.com.cn wrote: > Do you mean we can remove ioapic_debug and apic_debug totally? If so, > I would like to send a v2 patch to delete these two macros. :-) > Yes, please. Paolo

Re: [PATCH 2/4] kvm: x86: allow set apic and ioapic debug dynamically

2019-07-03 Thread Liran Alon
> On 3 Jul 2019, at 19:23, Paolo Bonzini wrote: > > On 01/07/19 08:21, Yi Wang wrote: >> There are two *_debug() macros in kvm apic source file: >> - ioapic_debug, which is disable using #if 0 >> - apic_debug, which is commented >> >> Maybe it's better to control these two macros using CONFIG

Re: [PATCH 2/4] kvm: x86: allow set apic and ioapic debug dynamically

2019-07-03 Thread Paolo Bonzini
On 01/07/19 08:21, Yi Wang wrote: > There are two *_debug() macros in kvm apic source file: > - ioapic_debug, which is disable using #if 0 > - apic_debug, which is commented > > Maybe it's better to control these two macros using CONFIG_KVM_DEBUG, > which can be set in make menuconfig. > > Signed

[PATCH 2/4] kvm: x86: allow set apic and ioapic debug dynamically

2019-06-30 Thread Yi Wang
There are two *_debug() macros in kvm apic source file: - ioapic_debug, which is disable using #if 0 - apic_debug, which is commented Maybe it's better to control these two macros using CONFIG_KVM_DEBUG, which can be set in make menuconfig. Signed-off-by: Yi Wang --- arch/x86/kvm/ioapic.c | 2 +