diff options
| author | David Hildenbrand | 2021-07-08 11:53:39 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2021-09-04 22:35:17 +0200 |
| commit | 2d050ed07c97a88202dac3eef64263e1f2556bfe (patch) | |
| tree | 996c4bc86f3f79eab5ed834efcfcd383ff45e0d5 /include | |
| parent | virtio-balloon: don't start free page hinting if postcopy is possible (diff) | |
| download | qemu-2d050ed07c97a88202dac3eef64263e1f2556bfe.tar.gz qemu-2d050ed07c97a88202dac3eef64263e1f2556bfe.tar.xz qemu-2d050ed07c97a88202dac3eef64263e1f2556bfe.zip | |
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 'include')
0 files changed, 0 insertions, 0 deletions
