Re: [PATCH 3/4] KVM: SVM: hide TF/RF flags used by NMI singlestep

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 15/06/2017 13:20, Ladi Prosek wrote:
> Example: NMI singlestepping is enabled while running L1 guest. The
> instruction to step over is VMRUN and nested vmrun emulation stashes
> rflags to hsave->save.rflags. Then if singlestepping is disabled
> while still in L2, TF/RF will be cleared from the nested VMCB but the
> next nested VM exit will restore them from hsave->save.rflags and
> cause an unexpected DB exception.

Stupid question ahead, why is NMI singlestepping even using RF?

I should fire up my AMD box and see whether changing it breaks
eventinj.flat...

Paolo



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux