aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorTomáš Golembiovský <tgolembi@redhat.com>2017-12-05 13:14:46 +0100
committerMichael S. Tsirkin <mst@redhat.com>2018-02-13 18:29:35 +0200
commitbf1e7140ef0b3a149860ab9f05b36665133238f6 (patch)
treea7d0b654f3d3f5c5284ce0bfd0663cda9fb2b3a3 /hw
parente89e7ea620f866ab42cbaa2de964552a3d2f7494 (diff)
downloadqemu-bf1e7140ef0b3a149860ab9f05b36665133238f6.zip
qemu-bf1e7140ef0b3a149860ab9f05b36665133238f6.tar.gz
qemu-bf1e7140ef0b3a149860ab9f05b36665133238f6.tar.bz2
virtio-balloon: include statistics of disk/file caches
Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/virtio/virtio-balloon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/virtio/virtio-balloon.c b/hw/virtio/virtio-balloon.c
index f2104bf..179c8f5 100644
--- a/hw/virtio/virtio-balloon.c
+++ b/hw/virtio/virtio-balloon.c
@@ -50,6 +50,7 @@ static const char *balloon_stat_names[] = {
[VIRTIO_BALLOON_S_MEMFREE] = "stat-free-memory",
[VIRTIO_BALLOON_S_MEMTOT] = "stat-total-memory",
[VIRTIO_BALLOON_S_AVAIL] = "stat-available-memory",
+ [VIRTIO_BALLOON_S_CACHES] = "stat-disk-caches",
[VIRTIO_BALLOON_S_NR] = NULL
};