lkml.org 
[lkml]   [2009]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/9] KVM: SVM: Notify nested hypervisor of lost event injections
Date


Am 08.10.2009 um 18:38 schrieb Avi Kivity <avi@redhat.com>:

> On 10/08/2009 06:32 PM, Joerg Roedel wrote:
>> No. The L1 guest needs to execute VMRUN with an interrupt to inject
>> to
>> the L2 guest with event_inj. On that VMRUN instruction emulation an
>> interrupt becomes pending which causes an immediate #vmexit from L2
>> to
>> L2 again without even entering the L2 guest. The bug was that in this
>> case the event which the L1 tried to inject in the L2 was lost
>> because
>> it was not copied to exit_int_info.
>>
>
> (from L1 to L0?)
>
> Wow. Alex, how did you find this?

Hyper-V got stuck and I was trying to think of possible reasons
looking at the logs :-).
Fortunately this patch also seemed to make things work better with KVM
in KVM.

Doesn't really help with regression testing though...

Alex

>
> We can try to cause an interrupt using a signal from another thread,
> but that's too difficult as the first test in a test suite.
>
> --
> error compiling committee.c: too many arguments to function
>


\
 
 \ /
  Last update: 2009-10-08 18:59    [W:0.055 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site