Skip to content
  • Alexey Kardashevskiy's avatar
    powerpc: add PVR mask support · 3bc9ccc0
    Alexey Kardashevskiy authored
    
    
    IBM POWERPC processors encode PVR as a CPU family in higher 16 bits and
    a CPU version in lower 16 bits. Since there is no significant change
    in behavior between versions, there is no point to add every single CPU
    version in QEMU's CPU list. Also, new CPU versions of already supported
    CPU won't break the existing code.
    
    This adds PVR value/mask support for KVM, i.e. for -cpu host option.
    
    As CPU family class name for POWER7 is "POWER7-family", there is no need
    to touch aliases.
    
    Signed-off-by: default avatarAlexey Kardashevskiy <aik@ozlabs.ru>
    Reviewed-by: default avatarAndreas Färber <afaerber@suse.de>
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    3bc9ccc0