lkml.org 
[lkml]   [2020]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v6 13/14] KVM: selftests: Let dirty_log_test async for dirty ring test
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

\
 
 \ /
  Last update: 2020-03-11 18:46    [W:0.061 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site