Re: [Qemu-devel] [PATCH RESEND] ivshmem: allow the sharing of hugepages

2013-09-16 Thread Damien Millescamps
On 09/16/2013 03:07 PM, Daniel P. Berrange wrote: > IME this kind of auto-magical fallback behaviour is a bad idea. If we > want to support non-SHM files for the ivshmem device, then it should > be done with an explicit command line property. eg where we currently > have a 'size' and 'shm' property

Re: [Qemu-devel] [PATCH RESEND] ivshmem: allow the sharing of hugepages

2013-09-16 Thread Daniel P. Berrange
On Mon, Sep 16, 2013 at 02:56:15PM +0200, Damien Millescamps wrote: > This patch permits to share memory areas that do not specifically belong to > /dev/shm. In such case, the file must be already present when launching qemu. > > A use case for this patch is sharing huge pages available through a

[Qemu-devel] [PATCH RESEND] ivshmem: allow the sharing of hugepages

2013-09-16 Thread Damien Millescamps
This patch permits to share memory areas that do not specifically belong to /dev/shm. In such case, the file must be already present when launching qemu. A use case for this patch is sharing huge pages available through a hugetlbfs mountpoint. Signed-off-by: Damien Millescamps --- docs/specs/iv