• Alexander Graf's avatar
    KVM: PPC: Pass through program interrupts · 5f2b105a
    Alexander Graf authored
    When we get a program interrupt in guest kernel mode, we try to emulate the
    instruction.
    
    If that doesn't fail, we report to the user and try again - at the exact same
    instruction pointer. So if the guest kernel really does trigger an invalid
    instruction, we loop forever.
    
    So let's better go and forward program exceptions to the guest when we don't
    know the instruction we're supposed to emulate.
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
    5f2b105a
emulate.c 11.8 KB