On 11/19/19 10:45 AM, Cornelia Huck wrote: > On Tue, 19 Nov 2019 09:11:11 +0100 [...] >>> >>> So, what happens if we have an error other than -EEXIST (which >>> presumably means that we already protected it) here? The page is not >>> protected, and further accesses will get an error? (Another question: >>> what can actually go wrong here?) >> >> If KVM or QEMU write into a lowcore, we will fail the integrity check on >> import and this cpu will never run again. > > From the guest's POV, is that similar to a cpu going into xstop? Not really, I'm wondering what happens, if we try to send a restart to such a cpu. > >> In retrospect a warn_on_once might be the wrong error handling here. >> >>> >>>> + } >>>> if (rc) { >>>> kvm_make_request(KVM_REQ_MMU_RELOAD, vcpu); >>>> return rc; >>> >> >> >
Attachment:
signature.asc
Description: OpenPGP digital signature