Re: [kvm-unit-tests PATCH v2 0/3] Regression test for L1 LDTR persistence bug

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

 



On 11/29/21 23:19, David Matlack wrote:
The selftests infrastructure already has save/restore tests at
instruction granularity (state_test.c) so you should have more luck that
way; these tests are worthwhile anyway.
There is also (I just discovered) support for guest-triggerable
migration in the kvm-unit-tests [1]. You could use that to trigger a
save/restore.

There is, but I don't think it's good. Save/restore bugs almost invariably depend on very specific processor state, and it's hard to ensure that in kvm-unit-tests (except probabilistically, but we can do better).

Paolo

[1] Example:https://gitlab.com/kvm-unit-tests/kvm-unit-tests/-/blob/master/arm/gic.c#L798





[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