Re: [PATCH] KVM: SVM: handle singlestep exception when skipping emulated instructions

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

 



On Wed, Jun 21, 2017 at 6:55 PM, Radim Krčmář <rkrcmar@xxxxxxxxxx> wrote:
> 2017-06-21 15:37+0200, Ladi Prosek:
>> kvm_skip_emulated_instruction handles the singlestep debug exception
>> which is something we almost always want. This commit (specifically
>> the change in rdmsr_interception) makes the debug.flat KVM unit test
>> pass on AMD.
>
> kvm_skip_emulated_instruction() also has a return value, which says
> whether the debug exception was requested by the userspace or by the
> guest (userspace has priority).
>
> This patch fixes the guest debugging, but userspace still won't receive
> its events.  I think it would be better to fix both at once,

Will do, thanks!



[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