• A
    KVM: PPC: Fix dcbz emulation · 9fb244a2
    Alexander Graf 提交于
    On most systems we need to emulate dcbz when running 32 bit guests. So
    far we've been rather slack, not giving correct DSISR values to the guest.
    
    This patch makes the emulation more accurate, introducing a difference
    between "page not mapped" and "write protection fault". While at it, it
    also speeds up dcbz emulation by an order of magnitude by using kmap.
    Signed-off-by: NAlexander Graf <agraf@suse.de>
    Signed-off-by: NAvi Kivity <avi@redhat.com>
    9fb244a2
book3s_64_emulate.c 13.1 KB