Displaying 1 result from an estimated 1 matches for "rb_aligned_offset".
2020 May 13
0
[RFC v3 for QEMU] virtio-balloon: Add option cont-pages to set VIRTIO_BALLOON_VQ_INFLATE_CONT
..._size);
> /* We ignore errors from ram_block_discard_range(), because it
> * has already reported them, and failing to discard a balloon
> * page is not fatal */
> @@ -99,32 +102,38 @@ static void balloon_inflate_page(VirtIOBalloon *balloon,
>
> rb_aligned_offset = QEMU_ALIGN_DOWN(rb_offset, rb_page_size);
> subpages = rb_page_size / BALLOON_PAGE_SIZE;
> - base_gpa = memory_region_get_ram_addr(mr) + mr_offset -
> - (rb_offset - rb_aligned_offset);
>
> - if (pbp->bitmap && !virtio_balloon_pbp_matches(pbp,...