Re: [PATCH 7/9] KVM: VMX: abstract ple_window modifiers

2014-08-20 Thread Paolo Bonzini
Il 19/08/2014 22:35, Radim Krčmář ha scritto: They were almost identical and thus merged with a loathable macro. Signed-off-by: Radim Krčmář rkrc...@redhat.com --- This solution is hopefully more acceptable than function pointers. I think a little amount of duplication is not a problem.

Re: [PATCH 7/9] KVM: VMX: abstract ple_window modifiers

2014-08-20 Thread Radim Krčmář
2014-08-20 09:02+0200, Paolo Bonzini: Il 19/08/2014 22:35, Radim Krčmář ha scritto: They were almost identical and thus merged with a loathable macro. Signed-off-by: Radim Krčmář rkrc...@redhat.com --- This solution is hopefully more acceptable than function pointers. I think a

[PATCH 7/9] KVM: VMX: abstract ple_window modifiers

2014-08-19 Thread Radim Krčmář
They were almost identical and thus merged with a loathable macro. Signed-off-by: Radim Krčmář rkrc...@redhat.com --- This solution is hopefully more acceptable than function pointers. arch/x86/kvm/vmx.c | 53 +++-- 1 file changed, 19