• Alexander Graf's avatar
    KVM: Ignore DEBUGCTL MSRs with no effect · b5e2fec0
    Alexander Graf authored
    Netware writes to DEBUGCTL and reads from the DEBUGCTL and LAST*IP MSRs
    without further checks and is really confused to receive a #GP during that.
    To make it happy we should just make them stubs, which is exactly what SVM
    already does.
    
    Writes to DEBUGCTL that are vendor-specific are resembled to behave as if the
    virtual CPU does not know them.
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
    b5e2fec0
x86.c 97.6 KB