search for: balloon_deflate_pag

Displaying 2 results from an estimated 2 matches for "balloon_deflate_pag".

Did you mean: balloon_deflate_page
2020 Jul 16
0
[RFC for qemu v4 2/2] virtio_balloon: Add dcvq to deflate continuous pages
...> diff --git a/hw/virtio/virtio-balloon.c b/hw/virtio/virtio-balloon.c > index d36a5c8..165adf7 100644 > --- a/hw/virtio/virtio-balloon.c > +++ b/hw/virtio/virtio-balloon.c > @@ -138,7 +138,8 @@ static void balloon_inflate_page(VirtIOBalloon *balloon, > } > > static void balloon_deflate_page(VirtIOBalloon *balloon, > - MemoryRegion *mr, hwaddr mr_offset) > + MemoryRegion *mr, hwaddr mr_offset, > + size_t size) > { > void *addr = memory_region_get_ram_ptr(mr) + mr_offset...
2020 Mar 12
0
[RFC for QEMU] virtio-balloon: Add option thp-order to set VIRTIO_BALLOON_F_THP_ORDER
..._balloon_is_inhibited()) { > - if (vq == s->ivq) { > - balloon_inflate_page(s, section.mr, > - section.offset_within_region, &pbp); > - } else if (vq == s->dvq) { > - balloon_deflate_page(s, section.mr, section.offset_within_region); > - } else { > - g_assert_not_reached(); > + trace_virtio_balloon_handle_output(memory_region_name(section.mr), > + pa); > +...