Changeset 97095 in vbox
- Timestamp:
- Oct 11, 2022 8:46:59 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r97069 r97095 6310 6310 /* 6311 6311 * Always import the guest-interruptibility state as we need it while evaluating 6312 * injecting events on re-entry. 6312 * injecting events on re-entry. We could in *theory* postpone reading it for 6313 * exits that does not involve instruction emulation, but since most exits are 6314 * for instruction emulation (exceptions being external interrupts, shadow 6315 * paging building page faults and EPT violations, and interrupt window stuff) 6316 * this is a reasonable simplification. 6313 6317 * 6314 6318 * We don't import CR0 (when unrestricted guest execution is unavailable) despite … … 6316 6320 * mode changes wrt CR0 are intercepted. 6317 6321 * 6318 * Note! This mask _must_ match the default value for the a_fDonePostExit value6319 * for the vmxHCImportGuestState template!6322 * Note! This mask _must_ match the default value for the default a_fDonePostExit 6323 * value for the vmxHCImportGuestState template! 6320 6324 */ 6325 /** @todo r=bird: consider dropping the INHIBIT_XXX and fetch the state 6326 * explicitly in the exit handlers and injection function. That way we have 6327 * fewer clusters of vmread spread around the code, because the EM history 6328 * executor won't execute very many non-exiting instructions before stopping. */ 6321 6329 rc = vmxHCImportGuestState< CPUMCTX_EXTRN_INHIBIT_INT 6322 6330 | CPUMCTX_EXTRN_INHIBIT_NMI
Note:
See TracChangeset
for help on using the changeset viewer.