fixup kernel core dumps on paravirtual guests
This commit is contained in:
parent
9c6a6bc422
commit
be7747b449
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=199734
@ -325,7 +325,7 @@ xb_quiesce(struct blkfront_info *info)
|
||||
}
|
||||
if (blkif_queued_requests) {
|
||||
// Still pending requests, wait for the disk i/o to complete
|
||||
HYPERVISOR_block();
|
||||
HYPERVISOR_yield();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3103,7 +3103,7 @@ pmap_kenter_temporary(vm_paddr_t pa, int i)
|
||||
vm_offset_t va;
|
||||
|
||||
va = (vm_offset_t)crashdumpmap + (i * PAGE_SIZE);
|
||||
pmap_kenter(va, pa);
|
||||
PT_SET_MA(va, (pa & ~PAGE_MASK) | PG_V | pgeflag);
|
||||
invlpg(va);
|
||||
return ((void *)crashdumpmap);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user