On Wed, May 09, 2018 at 03:53:05PM -0400, Thomas Tai wrote:
> The Linux kernel commit b40000325044 ("virtio_balloon: add array
> of stat names") defines an array of stat name strings for consumers
> of the virtio interface to use via the virtio_balloon.h header
> file, rather than requiring each consumer to define its own. But at
> present, the stat names defined in this array by the Linux kernel
> do not match up with those defined internally by QEMU.
>
> This patch fixes this inconsistency by importing the header file
> from linux and use the new macro to construct the balloon_stat_names
> array.
>
> Signed-off-by: Jonathan Helman <[email protected]>
> Signed-off-by: Thomas Tai <[email protected]>
> Cc: Rob Gardner <[email protected]>
> ---
> docs/virtio-balloon-stats.txt | 2 ++
> hw/virtio/virtio-balloon.c | 13 ++-----------
> include/standard-headers/linux/virtio_balloon.h | 19 ++++++++++++++++++-
> 3 files changed, 22 insertions(+), 12 deletions(-)Reviewed-by: Stefan Hajnoczi <[email protected]>
signature.asc
Description: PGP signature
