lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 17 Jul 2014 12:43:17 +0200
From:	Paolo Bonzini <>
To:	Wanpeng Li <>,
	"Zhang, Yang Z" <>
CC:	Jan Kiszka <>,
	Marcelo Tosatti <>,
	Gleb Natapov <>, Bandan Das <>,
	"Hu, Robert" <>,
	"" <>,
	"" <>
Subject: Re: [PATCH 2/3] KVM: nVMX: Fix fail to get nested ack intr's vector
 during nested vmexit

Il 17/07/2014 12:01, Wanpeng Li ha scritto:
> That is my original proposal solution of this bug. However, what I concern
> after more think is since kvm_lapic_find_highest_irr will not clear
> irr, if the intr will be injected by kvm_86_ops->hwapic_irr_update(vcpu,
> kvm_lapic_find_highest_irr(vcpu)) which called by vcpu_enter_guest() again?
> Any idea, Paolo?

The processor should do that when it does the virtual interrupt 
delivery.  It will do (29.2.2):

    Vector := RVI;
    VISR[Vector] := 1;
    SVI := Vector;
    VIRR[Vector] := 0;
    If VIRR not empty
       then RVI := highest index of bit set in VIRR
       else RVI := 0
    deliver interrupt with Vector through IDT;

Please post a patch, so we can reason on it better.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists