Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1702482 > unrolled thread

[PATCH RFC 0/2] KVM: x86: generalize guest cpuid helpers

Started byRadim Krčmář <rkrcmar@redhat.com>
First post2017-08-02 22:50 +0200
Last post2017-08-03 14:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH RFC 0/2] KVM: x86: generalize guest cpuid helpers Radim Krčmář <rkrcmar@redhat.com> - 2017-08-02 22:50 +0200
    Re: [PATCH RFC 0/2] KVM: x86: generalize guest cpuid helpers David Hildenbrand <david@redhat.com> - 2017-08-03 14:00 +0200

#1702482 — [PATCH RFC 0/2] KVM: x86: generalize guest cpuid helpers

FromRadim Krčmář <rkrcmar@redhat.com>
Date2017-08-02 22:50 +0200
Subject[PATCH RFC 0/2] KVM: x86: generalize guest cpuid helpers
Message-ID<ua8KB-6uU-3@gated-at.bofh.it>
This series does the generalization that we've spoken about recently
Might be a good time to change the function names as well.


Radim Krčmář (2):
  KVM: x86: generalize guest_cpuid_has_ helpers
  KVM: x86: use general helpers for some cpuid manipulation

 arch/x86/kvm/cpuid.h | 205 ++++++++++++++++++---------------------------------
 arch/x86/kvm/mmu.c   |   7 +-
 arch/x86/kvm/mtrr.c  |   2 +-
 arch/x86/kvm/svm.c   |   7 +-
 arch/x86/kvm/vmx.c   |  33 ++++-----
 arch/x86/kvm/x86.c   |  52 ++++++-------
 6 files changed, 116 insertions(+), 190 deletions(-)

-- 
2.13.3

[toc] | [next] | [standalone]


#1702994

FromDavid Hildenbrand <david@redhat.com>
Date2017-08-03 14:00 +0200
Message-ID<uamXh-7T1-23@gated-at.bofh.it>
In reply to#1702482
On 02.08.2017 22:41, Radim Krčmář wrote:
> This series does the generalization that we've spoken about recently
> Might be a good time to change the function names as well.
> 
> 
> Radim Krčmář (2):
>   KVM: x86: generalize guest_cpuid_has_ helpers
>   KVM: x86: use general helpers for some cpuid manipulation
> 
>  arch/x86/kvm/cpuid.h | 205 ++++++++++++++++++---------------------------------
>  arch/x86/kvm/mmu.c   |   7 +-
>  arch/x86/kvm/mtrr.c  |   2 +-
>  arch/x86/kvm/svm.c   |   7 +-
>  arch/x86/kvm/vmx.c   |  33 ++++-----
>  arch/x86/kvm/x86.c   |  52 ++++++-------
>  6 files changed, 116 insertions(+), 190 deletions(-)
> 

These numbers speak for themselves.

I really like this cleanup!

Had a quick look over the patches, nothing jumped at me.

-- 

Thanks,

David

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web