Skip to contentSkip to conversation

Assert hit in p2m.c while booting a Vista guest

DISCUSSION Keir Fraser 1 participant 1 message Apr 11, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 11 lines · Travis Betak

While trying to boot a 32-bit Vista guest on the lastest unstable I hit the assertion below. After a quick check, it looks like the assertion was added by the EPT patch:

changeset:   17404:9b635405ef90
user:        Keir Fraser <[email protected]>
date:        Wed Apr 09 11:30:32 2008 +0100
summary:     x86, vmx: Enable EPT (Extended PageTable) support on new Intel

processors

Also, this was with shadow paging, not nested paging.

The assertion wasn't added by that patch. The code containing the assertion was merely moved out of p2m.h. Also the assertion looks pretty sensible, especially as we've already checked that gfn <= max_mapped_pfn.

If you can repro this assertion then I suggest you dump out some information when the assertion fires. The gfn, the value of (RO_MPT_VIRT_END-RO_MPT_VIRT_START)/sizeof(l1_pgentry_t), and max_mapped_pfn would be a good start.

-- Keir