• A
    PPC: Add timer when running KVM · c6a94ba5
    Alexander Graf 提交于
    For some odd reason we sometimes hang inside KVM forever. I'd guess it's
    a race condition where we actually have a level triggered interrupt, but
    the infrastructure can't expose that yet, so the guest ACKs it, goes to
    sleep and never gets notified that there's still an interrupt pending.
    
    As a quick workaround, let's just wake up every 500 ms. That way we can
    assure that we're always reinjecting interrupts in time.
    Signed-off-by: NAlexander Graf <agraf@suse.de>
    Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
    c6a94ba5
kvm.c 7.7 KB