On Wed, Jan 05, 2022 at 01:14:08AM +0800, huang...@chinatelecom.cn wrote: > +uint32_t kvm_dirty_ring_size(void) > +{ > + return kvm_state->kvm_dirty_ring_size; > +}
You may need to touch up stub too to fix build on non-x86: ============= diff --git a/accel/stubs/kvm-stub.c b/accel/stubs/kvm-stub.c index 5319573e00..1128cb2928 100644 --- a/accel/stubs/kvm-stub.c +++ b/accel/stubs/kvm-stub.c @@ -152,4 +152,9 @@ bool kvm_dirty_ring_enabled(void) { return false; } + +uint32_t kvm_dirty_ring_size(void) +{ + return 0; +} #endif ============= -- Peter Xu