fixup kernel core dumps on paravirtual guests

This commit is contained in:
Kip Macy 2009-11-24 07:17:51 +00:00
parent 9c6a6bc422
commit be7747b449
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=199734
2 changed files with 2 additions and 2 deletions

View File

@ -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();
}
}
}

View File

@ -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);
}