aboutsummaryrefslogtreecommitdiff
path: root/hw/rx
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2021-07-08 11:53:39 +0200
committerMichael S. Tsirkin <mst@redhat.com>2021-09-04 16:35:17 -0400
commit2d050ed07c97a88202dac3eef64263e1f2556bfe (patch)
tree996c4bc86f3f79eab5ed834efcfcd383ff45e0d5 /hw/rx
parentfd51e54fa10221e5a8add894c38cc1cf199f4bc4 (diff)
downloadqemu-2d050ed07c97a88202dac3eef64263e1f2556bfe.zip
qemu-2d050ed07c97a88202dac3eef64263e1f2556bfe.tar.gz
qemu-2d050ed07c97a88202dac3eef64263e1f2556bfe.tar.bz2
virtio-balloon: free page hinting cleanups
Let's compress the code a bit to improve readability. We can drop the vm_running check in virtio_balloon_free_page_start() as it's already properly checked in the single caller. Cc: Wei Wang <wei.w.wang@intel.com> Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Philippe Mathieu-Daudé <philmd@redhat.com> Cc: Alexander Duyck <alexander.duyck@gmail.com> Cc: Juan Quintela <quintela@redhat.com> Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com> Cc: Peter Xu <peterx@redhat.com> Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20210708095339.20274-3-david@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/rx')
0 files changed, 0 insertions, 0 deletions