On 22/06/21 00:58, Jing Zhang wrote:
Pass it as an argument?
The num_desc can only be initialized in the same file that defines the
descriptor array.
Looks like we have to have a global variable to save that. The
solution would be similar
to have a statically defined header for each arch.
So, keep the header structure for each arch?
Oh, sorry. I missed that there's only one call to kvm_stats_read and
it's in common code. The remaining comments are small enough that I can
apply them myself. Thanks!
Paolo