Displaying 9 results from an estimated 9 matches for "ivshmem_read".
2014 Jun 18
6
[Qemu-devel] Why I advise against using ivshmem
...start doing what was
> suggested elsewhere in the thread: get the server and uio driver merged into
> the QEMU tree, document the protocol in docs/specs/ivshmem_device_spec.txt,
> and start fixing bugs such as the ones that Markus reported.
One more thing to add to the list:
static void ivshmem_read(void *opaque, const uint8_t * buf, int flags)
The "flags" argument should be "size". Size should be checked before
accessing buf.
Please also see the bug fixes in the following unapplied patch:
"[PATCH] ivshmem: fix potential OOB r/w access (#2)" by Sebastian Krahme...
2014 Jun 18
6
[Qemu-devel] Why I advise against using ivshmem
...start doing what was
> suggested elsewhere in the thread: get the server and uio driver merged into
> the QEMU tree, document the protocol in docs/specs/ivshmem_device_spec.txt,
> and start fixing bugs such as the ones that Markus reported.
One more thing to add to the list:
static void ivshmem_read(void *opaque, const uint8_t * buf, int flags)
The "flags" argument should be "size". Size should be checked before
accessing buf.
Please also see the bug fixes in the following unapplied patch:
"[PATCH] ivshmem: fix potential OOB r/w access (#2)" by Sebastian Krahme...
2014 Jun 18
1
[Qemu-devel] Why I advise against using ivshmem
Hello Stefan,
On 06/18/2014 12:48 PM, Stefan Hajnoczi wrote:
> One more thing to add to the list:
>
> static void ivshmem_read(void *opaque, const uint8_t * buf, int flags)
>
> The "flags" argument should be "size". Size should be checked before
> accessing buf.
You are welcome to send a fix and I will review it.
>
> Please also see the bug fixes in the following unapplied patch:
>...
2014 Jun 18
1
[Qemu-devel] Why I advise against using ivshmem
Hello Stefan,
On 06/18/2014 12:48 PM, Stefan Hajnoczi wrote:
> One more thing to add to the list:
>
> static void ivshmem_read(void *opaque, const uint8_t * buf, int flags)
>
> The "flags" argument should be "size". Size should be checked before
> accessing buf.
You are welcome to send a fix and I will review it.
>
> Please also see the bug fixes in the following unapplied patch:
>...
2014 Jun 18
0
[Qemu-devel] Why I advise against using ivshmem
Il 18/06/2014 16:57, David Marchand ha scritto:
> Hello Stefan,
>
> On 06/18/2014 12:48 PM, Stefan Hajnoczi wrote:
>> One more thing to add to the list:
>>
>> static void ivshmem_read(void *opaque, const uint8_t * buf, int flags)
>>
>> The "flags" argument should be "size". Size should be checked before
>> accessing buf.
>
> You are welcome to send a fix and I will review it.
This is not what a maintainer should do. A maintainer sho...
2014 Jun 21
0
[Qemu-devel] Why I advise against using ivshmem
On Wed, Jun 18, 2014 at 10:57 PM, David Marchand
<david.marchand at 6wind.com> wrote:
> On 06/18/2014 12:48 PM, Stefan Hajnoczi wrote:
>>
>> One more thing to add to the list:
>>
>> static void ivshmem_read(void *opaque, const uint8_t * buf, int flags)
>>
>> The "flags" argument should be "size". Size should be checked before
>> accessing buf.
>
>
> You are welcome to send a fix and I will review it.
I don't plan to send ivshmem patches in the near...
2014 Jun 18
0
[Qemu-devel] Why I advise against using ivshmem
...elsewhere in the thread: get the server and
>> uio driver merged into the QEMU tree, document the protocol in
>> docs/specs/ivshmem_device_spec.txt, and start fixing bugs such as
>> the ones that Markus reported.
>
> One more thing to add to the list:
>
> static void ivshmem_read(void *opaque, const uint8_t * buf, int
> flags)
>
> The "flags" argument should be "size". Size should be checked
> before accessing buf.
>
> Please also see the bug fixes in the following unapplied patch:
> "[PATCH] ivshmem: fix potential OOB r/w a...
2014 Jun 17
4
[Qemu-devel] Why I advise against using ivshmem
Hello all,
On 06/17/2014 04:54 AM, Stefan Hajnoczi wrote:
> ivshmem has a performance disadvantage for guest-to-host
> communication. Since the shared memory is exposed as PCI BARs, the
> guest has to memcpy into the shared memory.
>
> vhost-user can access guest memory directly and avoid the copy inside the guest.
Actually, you can avoid this memory copy using frameworks like
2014 Jun 17
4
[Qemu-devel] Why I advise against using ivshmem
Hello all,
On 06/17/2014 04:54 AM, Stefan Hajnoczi wrote:
> ivshmem has a performance disadvantage for guest-to-host
> communication. Since the shared memory is exposed as PCI BARs, the
> guest has to memcpy into the shared memory.
>
> vhost-user can access guest memory directly and avoid the copy inside the guest.
Actually, you can avoid this memory copy using frameworks like