[PATCH] VMX: Handle mmio emulation when guest state is invalid

2008-10-29 Thread Guillaume Thouvenin
If emulate_invalid_guest_state is enabled, the emulator is called when guest state is invalid. Until now, we reported an mmio failure when emulate_instruction() returned EMULATE_DO_MMIO. This patch adds the case where emulate_instruction() failed and an MMIO emulation is needed. Signed-off-by:

Re: [PATCH] VMX: Handle mmio emulation when guest state is invalid

2008-10-29 Thread Avi Kivity
Guillaume Thouvenin wrote: If emulate_invalid_guest_state is enabled, the emulator is called when guest state is invalid. Until now, we reported an mmio failure when emulate_instruction() returned EMULATE_DO_MMIO. This patch adds the case where emulate_instruction() failed and an MMIO emulation