qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC PATCH RDMA support v2: 5/6] connection-setup code


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC PATCH RDMA support v2: 5/6] connection-setup code between client/server
Date: Tue, 19 Feb 2013 22:34:20 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

Il 19/02/2013 22:22, Michael R. Hines ha scritto:
>> Yes it is basically the same :).
>> you will need the QEMUFileRDMA to store the rdma context (look at
>> QEMUFileSocket for example) and other specific rdma parameters.
>> you will the rdma_file_ops (QEMUFileOps) to implement sending guest
>> pages directly and pinning the buffer that contain the device state.
>> you won't need to change qemu_put_buffer for the device state but
>> implement a rdma_put_buffer ops that will pin the buffer and send it.
>> As for the guest memory pages you have two options:
>> update qemu_put_buffer/get_buffer
>> add new QEMUFileOps just for rdma and call it instead of
>> qemu_put_buffer for guest pages.
> 
> Understood.... I have some code reading to do with these pointers, then.
> Will have to teach myself everything you just said =)

Look at my migration-thread-20130115 branch
(git://github.com/bonzini/qemu.git).  It's much simpler than the current
code, and should be easier to understand and extend.

Paolo




reply via email to

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