Hi

On Thu, Sep 24, 2015 at 2:13 PM, Marc-André Lureau
<marcandre.lur...@gmail.com> wrote:
> scrap this one, it doesn't check the power of 2, and I wonder if
> accepting values lower than megabyte is acceptable

So the ivshmem server allows kilobytes shm, and with this patch, when
giving non-pow2 size to ivshmem device, you get the following error:
ERROR: PCI region size must be pow2 type=0xc, size=0xc00

This patch might be worth considering as is.

-- 
Marc-André Lureau

Reply via email to