• C
    s390x/kvm: fix small race reboot vs. cmma · 1a0e4c8b
    Christian Borntraeger 提交于
    Right now we reset all devices before we reset the cmma states.  This
    can result in the host kernel discarding guest pages that were
    previously in the unused state but already contain a bios or a -kernel
    file before the cmma reset has finished.  This race results in random
    guest crashes or hangs during very early reboot.
    
    Fixes: 1cd4e0f6 ("s390x/cmma: clean up cmma reset")
    Cc: qemu-stable@nongnu.org
    Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
    1a0e4c8b
s390-virtio.c 5.8 KB