>-----Original Message-----
>From: Avi Kivity [mailto:[EMAIL PROTECTED]
>Sent: 2007年10月26日 18:14
>To: Dong, Eddie
>Cc: kvm-devel@lists.sourceforge.net
>Subject: Re: [kvm-devel] FW: [kvm-commits] KVM: Move interrupt
>injection out of interruptdisabled section
>
>Dong, Eddie wrote:
>>> I didn't see anything in 20.8.3 regarding injection of software
>>> interrupts to vm86 mode. And other sections in the manual (22.5.1)
>>> imply that it is possible.
>>>
>>> Maybe it's failing on something else? VM-entry instruction
>length? I
>>> see that it must be in the range 1-15.
>>>
>>>
>> It is VM instruction failure with error # 7, which means bad
>VM control.
>> Also one difference for software interrupt is that HW will
>adjust guest
>> IP automatically.
>>
>
>So you could set instruction length to 1 and adjust rip
>backwards by 1 :)
>
>Though you may need to remember the adjustment and undo it if
>you get a
>page fault on the IVT.
>
>
What I mean is HW implicitly take SW interrupt as what it should be.
And check exception #.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel