Re: [PATCH v6 13/14] KVM: selftests: Let dirty_log_test async for dirty ring test

From: Peter Xu
Date: Wed Mar 11 2020 - 13:45:22 EST


On Tue, Mar 10, 2020 at 09:27:04AM +0100, Andrew Jones wrote:
> > enum log_mode_t {
> > /* Only use KVM_GET_DIRTY_LOG for logging */
> > @@ -156,6 +167,33 @@ enum log_mode_t {
> > static enum log_mode_t host_log_mode_option = LOG_MODE_ALL;
> > /* Logging mode for current run */
> > static enum log_mode_t host_log_mode;
> > +pthread_t vcpu_thread;
> > +
> > +/* Only way to pass this to the signal handler */
> > +struct kvm_vm *current_vm;
>
> nit: above two new globals could be static

Will do.

--
Peter Xu