public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] KVM: selftests: fix races in dirty log test
@ 2021-04-20 15:39 Peter Xu
  2021-04-20 15:39 ` [PATCH v4 1/2] KVM: selftests: Sync data verify of dirty logging with guest sync Peter Xu
  2021-04-20 15:39 ` [PATCH v4 2/2] KVM: selftests: Wait for vcpu thread before signal setup Peter Xu
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Xu @ 2021-04-20 15:39 UTC (permalink / raw)
  To: kvm, linux-kernel
  Cc: Paolo Bonzini, peterx, Sean Christopherson, Andrew Jones

v4:
- add missing vcpu_handle_sync_stop() call in dirty ring test

The other solution of patch 2 is here [1]

I got another report that there seems to still be a race, but that one seems
extremely hard to trigger, even so far we don't know whether that could be
ARM-only.  Since current fix should make sense already and fix real problems,
IMHO we don't need to wait for that.

Paolo, I still kept the 2nd patch just for completeness, but feel free to
ignore the 2nd patch if you prefer the other version, and I'll follow your
preference.

Thanks!

[1] https://lore.kernel.org/kvm/20210420081614.684787-1-pbonzini@redhat.com/

Peter Xu (2):
  KVM: selftests: Sync data verify of dirty logging with guest sync
  KVM: selftests: Wait for vcpu thread before signal setup

 tools/testing/selftests/kvm/dirty_log_test.c | 70 +++++++++++++++++---
 1 file changed, 59 insertions(+), 11 deletions(-)

-- 
2.26.2



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-20 15:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-20 15:39 [PATCH v4 0/2] KVM: selftests: fix races in dirty log test Peter Xu
2021-04-20 15:39 ` [PATCH v4 1/2] KVM: selftests: Sync data verify of dirty logging with guest sync Peter Xu
2021-04-20 15:39 ` [PATCH v4 2/2] KVM: selftests: Wait for vcpu thread before signal setup Peter Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox