[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC 10/12] Add qemu_put_buffer_no_copy
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RFC 10/12] Add qemu_put_buffer_no_copy |
Date: |
Mon, 25 Mar 2013 09:05:11 -0400 (EDT) |
----- Messaggio originale -----
> Da: "Michael R. Hines" <address@hidden>
> A: "Orit Wasserman" <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden, "chegu vinod"
> <address@hidden>,
> address@hidden
> Inviato: Sabato, 23 marzo 2013 17:27:49
> Oggetto: Re: [Qemu-devel] [RFC 10/12] Add qemu_put_buffer_no_copy
>
> Can you add a "flag" or something to indicate that the iov pointer
> belongs to RAM and not to device state?
>
> That way, I could re-use this code for RDMA - if I see this flag, I
> will know to send to RDMA.....
I am not sure you can, because the function will be preceded by
a qemu_put_be64 to store the header. That header is not sent in
the RDMA case, isn't it?
Paolo
- Re: [Qemu-devel] [RFC 07/12] Store the data to send also in iovec, (continued)
[Qemu-devel] [RFC 08/12] Use writev ops instead of put_buffer ops, Orit Wasserman, 2013/03/21
[Qemu-devel] [RFC 09/12] More optimized qemu_put_be64/32/16, Orit Wasserman, 2013/03/21
[Qemu-devel] [RFC 10/12] Add qemu_put_buffer_no_copy, Orit Wasserman, 2013/03/21
[Qemu-devel] [RFC 11/12] Use qemu_put_buffer_no_copy for guest memory pages, Orit Wasserman, 2013/03/21
[Qemu-devel] [RFC 12/12] Bye Bye put_buffer, Orit Wasserman, 2013/03/21
Re: [Qemu-devel] [RFC 00/12] Migration: Remove copying of guest ram pages, Paolo Bonzini, 2013/03/21
Re: [Qemu-devel] [RFC 00/12] Migration: Remove copying of guest ram pages, Michael S. Tsirkin, 2013/03/21