Hi Jing,
+int vm_stats_test(struct kvm_vm *vm) +{
- ssize_t ret;
- int i, stats_fd, err = -1;
- size_t size_desc, size_data = 0;
- struct kvm_stats_header header;
- struct kvm_stats_desc *stats_desc, *pdesc;
- struct kvm_vm_stats_data *stats_data;
- // Get fd for VM stats
Another small nitpick: comments should go in /* */ format
Thank you, Emanuele