• Takuya Yoshikawa's avatar
    KVM: MMU: Inform users of mmio generation wraparound · 7a2e8aaf
    Takuya Yoshikawa authored
    Without this information, users will just see unexpected performance
    problems and there is little chance we will get good reports from them:
    note that mmio generation is increased even when we just start, or stop,
    dirty logging for some memory slot, in which case users cannot expect
    all shadow pages to be zapped.
    
    printk_ratelimited() is used for this taking into account the problems
    that we can see the information many times when we start multiple VMs
    and guests can trigger this by reading ROM in a loop for example.
    Signed-off-by: default avatarTakuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    7a2e8aaf
mmu.c 110 KB