virtio-balloon: use virtio wrappers to access page frame numbers
commit8609d2a87aff1e4b45fa96f7373d9f8e07951deb
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 24 Jun 2014 17:43:22 +0000 (24 19:43 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 29 Jun 2014 16:39:42 +0000 (29 19:39 +0300)
tree423a48be1a512ac918dfe1146bba6883ccc9aa9e
parent1399c60d70a261acbeb65f614a00eab2dbf4237b
virtio-balloon: use virtio wrappers to access page frame numbers

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
[ pass VirtIODevice * to memory accessors,
  Greg Kurz <gkurz@linux.vnet.ibm.com> ]
Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio-balloon.c