[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: SVM emulation: EVENTINJ marked valid when a pagefault h
From: |
Roedel, Joerg |
Subject: |
[Qemu-devel] Re: SVM emulation: EVENTINJ marked valid when a pagefault happens while issuing a software interrupt |
Date: |
Fri, 28 May 2010 11:12:37 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Fri, May 28, 2010 at 03:45:09AM -0400, Erik van der Kouwe wrote:
> This is a ok, the problem is the event_inj field rather than the
> exit_int_info field. From what I've seen the SVM specification neither
> specifies that the CPU writes to this field nor does it explicitly
> forbid it. Given the unclarity of the specification it may safest to
> deal with this in the same way as the hardware does (although I don't
> know which way this is, it seems inuitively unlikely that the hardware
> would set event_inj to valid).
The "AMD64 Architecture Programmer's Manual Volume 2" states in section
15.19:
When an event is injected by means of this mechanism, the VMRUN
instruction causes the guest to unconditionally take the
specified exception or interrupt before executing the first
guest instruction.
Which implicitly means that. But it could be documented more explicitly,
thats right :)
Joerg
- [Qemu-devel] Re: SVM emulation: EVENTINJ marked valid when a pagefault happens while issuing a software interrupt, (continued)
- [Qemu-devel] Re: SVM emulation: EVENTINJ marked valid when a pagefault happens while issuing a software interrupt, Roedel, Joerg, 2010/05/28
- Re: [Qemu-devel] Re: SVM emulation: EVENTINJ marked valid when a pagefault happens while issuing a software interrupt, Jamie Lokier, 2010/05/28
- Re: [Qemu-devel] Re: SVM emulation: EVENTINJ marked valid when a pagefault happens while issuing a software interrupt, Erik van der Kouwe, 2010/05/28
- Re: [Qemu-devel] Re: SVM emulation: EVENTINJ marked valid when a pagefault happens while issuing a software interrupt, Roedel, Joerg, 2010/05/28
- Re: [Qemu-devel] Re: SVM emulation: EVENTINJ marked valid when a pagefault happens while issuing a software interrupt, Erik van der Kouwe, 2010/05/28
- Re: [Qemu-devel] Re: SVM emulation: EVENTINJ marked valid when a pagefault happens while issuing a software interrupt, Roedel, Joerg, 2010/05/28
- [Qemu-devel] Re: SVM emulation: EVENTINJ marked valid when a pagefault happens while issuing a software interrupt, Roedel, Joerg, 2010/05/28
- [Qemu-devel] Re: SVM emulation: EVENTINJ marked valid when a pagefault happens while issuing a software interrupt, Jan Kiszka, 2010/05/28
- [Qemu-devel] Re: SVM emulation: EVENTINJ marked valid when a pagefault happens while issuing a software interrupt, Roedel, Joerg, 2010/05/28