qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4 42/47] ivshmem: use strtosz()


From: Marc-André Lureau
Subject: Re: [Qemu-devel] [PATCH v4 42/47] ivshmem: use strtosz()
Date: Thu, 24 Sep 2015 14:33:35 +0200

Hi

On Thu, Sep 24, 2015 at 2:13 PM, Marc-André Lureau
<address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]