On 17/06/21 09:24, Greg KH wrote:
Provides a file descriptor per VM to read VM stats info/data.
Provides a file descriptor per vCPU to read vCPU stats info/data.
Shouldn't this be two separate patches, one for each thing as these are
two different features being added?
They share a lot of code. We could have three patches though:
- add common code for binary statistics file descriptor
- add VM ioctl to retrieve a statistics file descriptor [including the
definition of VM stats descriptors]
- add VCPU ioctl to retrieve a statistics file descriptor [again
including the definitions of VCPU stats].
Paolo