mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
fixup kernel core dumps on paravirtual guests
This commit is contained in:
parent
9c6a6bc422
commit
be7747b449
2 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue