qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Apfelbaum <marcel@redhat.com>
To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	"Peter Maydell" <peter.maydell@linaro.org>,
	"Eduardo Habkost" <ehabkost@redhat.com>
Cc: dotanb@mellanox.com, QEMU Developers <qemu-devel@nongnu.org>,
	yuval.shaia@oracle.com, "Michael S. Tsirkin" <mst@redhat.com>
Subject: Re: [Qemu-devel] [PULL 0/4] RDMA patches
Date: Thu, 8 Feb 2018 16:12:17 +0200	[thread overview]
Message-ID: <c685b567-ad73-feff-08db-c952ac1f4c6f@redhat.com> (raw)
In-Reply-To: <f7b61733-f25a-31b5-7b55-d9a41b6d3f10@amsat.org>

On 08/02/2018 16:01, Philippe Mathieu-Daudé wrote:
> Hi Marcel,
> 
> On 02/08/2018 10:38 AM, Marcel Apfelbaum wrote:
>> On 08/02/2018 14:59, Peter Maydell wrote:
>>> On 5 February 2018 at 10:26, Marcel Apfelbaum <marcel@redhat.com> wrote:
>>>> The following changes since commit f24ee107a07f093bd7ed475dd48d7ba57ea3d8fe:
>>>
>>> Hi. The technical details of this pullreq are all fine (pgp
>>> key, format, etc), and it passes my build tests. But I gave
>>> this pullreq a bit of a closer inspection than I normally
>>> would, since it's your first, and there are a few things I
>>> thought worth bringing up:
>>
>> Thanks for doing it!
>>
>>>
>>> (1) I notice that some of the new files in this pullreq are licensed
>>> as "GPL, version 2", rather than "version 2 or any later version".
>>> Did you really mean that? Per 'LICENSE', we have a strong preference
>>> for 2-or-later for new code.
>>>
>>
>> No real preference, I will modify the license.
>>
>>> (2) Some new files have no copyright or license comment at the
>>> top of them. Can you fix that, please?
>>>
>>
>> Sure.
>>
>>> (3) Some of the new headers use kernel-internals __u32 etc types.
>>> This isn't portable. ('HACKING' has some suggestions for types you
>>> might want instead.)
>>>
>>
>> We do not "use" the __u32 types, we just copied a kernel file
>> for structures used for communication between the guest driver
>> and the QEMU code. We had a look on how it is done and
>> we use the model that adds macros __u32 -> uint32_t,
>> so the "__types" do not really create such problems.
>>
>>> (4) One of your patches doesn't have any reviewed-by tags.
>>> We don't always manage to review everything, but it is
>>> nicer if we can get review, especially for patches from
>>> new submaintainers.
>>>
>>
>> The patch did receive several questions/comments and all
>> of them were addressed, but indeed no RB tag was given.
>> Since the patch was in the mailing list for over a month
>> and *was* reviewed, I thought is enough.
>> I will ping Eduardo, he had the latest comments for it.
>>
>>
>>> (5) This is an absolutely enormous diffstat for a single commit:
>>>  26 files changed, 5149 insertions(+), 4 deletions(-)
>>>
>>
>> On the github where the project was developed we have thousands of commits,
>> so it can't be used.
>> It was reviewed closely by one reviewer and got a lot
>> of comments from others.
>> That being said, we will try to split it in a few patches
>> and send a new version.
> 
> I spent some time to review this but got lost when it became too
> specific (this is not really my area).
> I was hoping some of the VMware folks could review this.
> 

The code was reviewed by someone from Mellanox and
we have an RDMA developer from Oracle looking into it to.
For V10 we will have a second RB for the device, it should be enough.

> KVM related stuffs are hard to test, but we have some qtests (migration
> mostly). Adding some tests for this huge code addition would be really
> great.
> 

It is in our plans, yes.
We saw the avocado guys are returning to QEMU, I will ask their help in setting
up an avocado test. It should take some time and we are developing the device
over an year offline making it had to maintain/review, so
we will work on the tests in parallel with the device submission.

Thanks,
Marcel

> Regards,
> 
> Phil.
> 

  reply	other threads:[~2018-02-08 14:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-05 10:26 [Qemu-devel] [PULL 0/4] RDMA patches Marcel Apfelbaum
2018-02-05 10:26 ` [Qemu-devel] [PULL 1/4] mem: add share parameter to memory-backend-ram Marcel Apfelbaum
2018-02-05 10:26 ` [Qemu-devel] [PULL 2/4] docs: add pvrdma device documentation Marcel Apfelbaum
2018-02-05 10:26 ` [Qemu-devel] [PULL 3/4] pvrdma: initial implementation Marcel Apfelbaum
2018-02-05 10:26 ` [Qemu-devel] [PULL 4/4] MAINTAINERS: add entry for hw/rdma Marcel Apfelbaum
2018-02-07 17:19 ` [Qemu-devel] [PULL 0/4] RDMA patches Marcel Apfelbaum
2018-02-07 17:27   ` Peter Maydell
2018-02-08 12:59 ` Peter Maydell
2018-02-08 13:38   ` Marcel Apfelbaum
2018-02-08 13:54     ` Peter Maydell
2018-02-08 14:06       ` Marcel Apfelbaum
2018-02-08 13:58     ` Michael S. Tsirkin
2018-02-08 14:07       ` Marcel Apfelbaum
2018-02-08 14:01     ` Philippe Mathieu-Daudé
2018-02-08 14:12       ` Marcel Apfelbaum [this message]
2018-02-08 13:54   ` Michael S. Tsirkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c685b567-ad73-feff-08db-c952ac1f4c6f@redhat.com \
    --to=marcel@redhat.com \
    --cc=dotanb@mellanox.com \
    --cc=ehabkost@redhat.com \
    --cc=f4bug@amsat.org \
    --cc=mst@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=yuval.shaia@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).