[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [RFC 0/5] Improve balloon handling of pagesizes other tha
From: |
Michael S. Tsirkin |
Subject: |
Re: [Qemu-ppc] [RFC 0/5] Improve balloon handling of pagesizes other than 4kiB |
Date: |
Fri, 12 Oct 2018 13:26:45 -0400 |
On Fri, Oct 12, 2018 at 02:24:26PM +1100, David Gibson wrote:
> The virtio-balloon devices was never really thought out for cases
> other than 4kiB pagesize on both guest and host. It works in some
> cases, but in others can be ineffectual or even cause guest memory
> corruption.
>
> This series makes a handful of preliminary cleanups, then makes a
> change to safely, though not perfectly, handle cases with non 4kiB
> pagesizes.
BTW do you want to add an interface to specify the page size?
I can see either host or guest or both supporting that.
Reviewed-by: Michael S. Tsirkin <address@hidden>
> David Gibson (5):
> virtio-balloon: Remove unnecessary MADV_WILLNEED on deflate
> virtio-balloon: Corrections to address verification
> virtio-balloon: Rework ballon_page() interface
> virtio-balloon: Use ram_block_discard_range() instead of raw madvise()
> virtio-balloon: Safely handle BALLOON_PAGE_SIZE < host page size
>
> hw/virtio/virtio-balloon.c | 100 ++++++++++++++++++++++++-----
> include/hw/virtio/virtio-balloon.h | 3 +
> 2 files changed, 87 insertions(+), 16 deletions(-)
>
> --
> 2.17.1
- [Qemu-ppc] [RFC 5/5] virtio-balloon: Safely handle BALLOON_PAGE_SIZE < host page size, (continued)
- [Qemu-ppc] [RFC 5/5] virtio-balloon: Safely handle BALLOON_PAGE_SIZE < host page size, David Gibson, 2018/10/11
- Re: [Qemu-ppc] [RFC 5/5] virtio-balloon: Safely handle BALLOON_PAGE_SIZE < host page size, David Hildenbrand, 2018/10/12
- Re: [Qemu-ppc] [RFC 5/5] virtio-balloon: Safely handle BALLOON_PAGE_SIZE < host page size, David Gibson, 2018/10/13
- Re: [Qemu-ppc] [RFC 5/5] virtio-balloon: Safely handle BALLOON_PAGE_SIZE < host page size, David Hildenbrand, 2018/10/15
- Re: [Qemu-ppc] [RFC 5/5] virtio-balloon: Safely handle BALLOON_PAGE_SIZE < host page size, David Gibson, 2018/10/16
- Re: [Qemu-ppc] [RFC 5/5] virtio-balloon: Safely handle BALLOON_PAGE_SIZE < host page size, David Hildenbrand, 2018/10/17
- Re: [Qemu-ppc] [RFC 5/5] virtio-balloon: Safely handle BALLOON_PAGE_SIZE < host page size, David Gibson, 2018/10/23
- Re: [Qemu-ppc] [RFC 5/5] virtio-balloon: Safely handle BALLOON_PAGE_SIZE < host page size, David Hildenbrand, 2018/10/23
Re: [Qemu-ppc] [RFC 5/5] virtio-balloon: Safely handle BALLOON_PAGE_SIZE < host page size, David Hildenbrand, 2018/10/12
Re: [Qemu-ppc] [RFC 0/5] Improve balloon handling of pagesizes other than 4kiB,
Michael S. Tsirkin <=