[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device
From: |
Matthew Wilcox |
Subject: |
Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device |
Date: |
Sun, 13 Jan 2019 15:38:21 -0800 |
User-agent: |
Mutt/1.9.2 (2017-12-15) |
On Mon, Jan 14, 2019 at 10:29:02AM +1100, Dave Chinner wrote:
> Until you have images (and hence host page cache) shared between
> multiple guests. People will want to do this, because it means they
> only need a single set of pages in host memory for executable
> binaries rather than a set of pages per guest. Then you have
> multiple guests being able to detect residency of the same set of
> pages. If the guests can then, in any way, control eviction of the
> pages from the host cache, then we have a guest-to-guest information
> leak channel.
I don't think we should ever be considering something that would allow a
guest to evict page's from the host's pagecache [1]. The guest should
be able to kick its own references to the host's pagecache out of its
own pagecache, but not be able to influence whether the host or another
guest has a read-only mapping cached.
[1] Unless the guest is allowed to modify the host's file; obviously
truncation, holepunching, etc are going to evict pages from the host's
page cache.
- Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device, (continued)
- Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device, Dave Chinner, 2019/01/09
- Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device, Rik van Riel, 2019/01/10
- Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device, Jan Kara, 2019/01/10
- Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device, Pankaj Gupta, 2019/01/12
- Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device, Dan Williams, 2019/01/12
- Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device, Pankaj Gupta, 2019/01/12
- Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device, Jan Kara, 2019/01/14
- Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device, Pankaj Gupta, 2019/01/14
- Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device, Pankaj Gupta, 2019/01/11
- Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device, Dave Chinner, 2019/01/13
- Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device,
Matthew Wilcox <=
- Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device, Dave Chinner, 2019/01/13
- Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device, Pankaj Gupta, 2019/01/14
- Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device, Dave Chinner, 2019/01/14
- Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device, Dan Williams, 2019/01/14
- Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device, Dave Chinner, 2019/01/14
- Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device, Michael S. Tsirkin, 2019/01/14
- Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device, Pankaj Gupta, 2019/01/15
- Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device, Pankaj Gupta, 2019/01/15
- Re: [Qemu-devel] [PATCH v3 0/5] kvm "virtio pmem" device, Dave Chinner, 2019/01/15