• J
    mips/kvm: Fix Big endian 32-bit register access · f8b3e48b
    James Hogan 提交于
    Fix access to 32-bit registers on big endian targets. The pointer passed
    to the kernel must be for the actual 32-bit value, not a temporary
    64-bit value, otherwise on big endian systems the kernel will only
    interpret the upper half.
    Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Cc: Leon Alrae <leon.alrae@imgtec.com>
    Cc: Aurelien Jarno <aurelien@aurel32.net>
    Cc: kvm@vger.kernel.org
    Cc: qemu-stable@nongnu.org
    Message-Id: <1429871214-23514-2-git-send-email-james.hogan@imgtec.com>
    Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
    f8b3e48b
kvm.c 18.4 KB