Re: [PATCH] KVM: Using macros instead of magic values

2020-07-27 Thread Paolo Bonzini
On 21/07/20 10:23, Haiwei Li wrote: > From: Haiwei Li > > Instead of using magic values, use macros. > > Signed-off-by: Haiwei Li > --- >  arch/x86/kvm/lapic.c | 3 ++- >  1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c > index 47801a4

Re: [PATCH] KVM: Using macros instead of magic values

2020-07-21 Thread Vitaly Kuznetsov
Haiwei Li writes: > From: Haiwei Li > > Instead of using magic values, use macros. > > Signed-off-by: Haiwei Li > --- > arch/x86/kvm/lapic.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c > index 47801a4..d5fb2ea 100644

[PATCH] KVM: Using macros instead of magic values

2020-07-21 Thread Haiwei Li
From: Haiwei Li Instead of using magic values, use macros. Signed-off-by: Haiwei Li --- arch/x86/kvm/lapic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c index 47801a4..d5fb2ea 100644 --- a/arch/x86/kvm/lapic.c +++ b/arch/x8