Thread (16 messages) 16 messages, 2 authors, 2021-06-21

Re: [PATCH v12 2/7] KVM: stats: Add fd-based API to read binary stats data

From: Jing Zhang <hidden>
Date: 2021-06-21 23:39:06
Also in: kvm, kvmarm, linux-kselftest, linux-s390

On Mon, Jun 21, 2021 at 6:35 PM Paolo Bonzini [off-list ref] wrote:
On 22/06/21 00:58, Jing Zhang wrote:
quoted
quoted
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
Cool! Thanks, Paolo.

Jing
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help