|
From: | Michael R. Hines |
Subject: | Re: [Qemu-devel] [RFC PATCH RDMA support v3: 09/10] Move RAMBlock to cpu-common.h |
Date: | Mon, 11 Mar 2013 12:34:44 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 |
Understood......will take care of both of these. On 03/11/2013 10:07 AM, Paolo Bonzini wrote:
Only used in qemu_rdma_init_ram_blocks. Can you add instead an API like qemu_ram_foreach_block( void (*fn)(void *host_addr, ram_addr_t offset, ram_addr_t length, void *opaque), void *opaque) ? BTW, please avoid arbitrary limits like RDMA_MAX_RAM_BLOCKS. Can you use a list (see qemu-queue.h; it is the same as the BSD queue.h) instead of current_index? Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |