[Qemu-devel] [PATCH v2 0/2] vhost: two fixes

Jay Zhou posted 2 patches 6 years, 4 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1513327555-17520-1-git-send-email-jianjay.zhou@huawei.com
Test checkpatch failed
Test docker passed
Test ppc passed
Test s390x passed
hw/virtio/vhost-backend.c         | 14 ++++++++++++++
hw/virtio/vhost-user.c            | 31 +++++++++++++++++++++++++++++++
hw/virtio/vhost.c                 | 39 ++++++++++++++++++++++++++++++---------
include/hw/virtio/vhost-backend.h |  4 ++++
4 files changed, 79 insertions(+), 9 deletions(-)
[Qemu-devel] [PATCH v2 0/2] vhost: two fixes
Posted by Jay Zhou 6 years, 4 months ago
v1 -> v2:
  * delete the "used_memslots" global variable, and add it
    for vhost-user and vhost-kernel separately

Jay Zhou (2):
  vhost: add used memslot number for vhost-user and vhost-kernel    
    separately
  vhost: double check used memslots number

 hw/virtio/vhost-backend.c         | 14 ++++++++++++++
 hw/virtio/vhost-user.c            | 31 +++++++++++++++++++++++++++++++
 hw/virtio/vhost.c                 | 39 ++++++++++++++++++++++++++++++---------
 include/hw/virtio/vhost-backend.h |  4 ++++
 4 files changed, 79 insertions(+), 9 deletions(-)

-- 
1.8.3.1



Re: [Qemu-devel] [PATCH v2 0/2] vhost: two fixes
Posted by no-reply@patchew.org 6 years, 4 months ago
Hi,

This series seems to have some coding style problems. See output below for
more information:

Message-id: 1513327555-17520-1-git-send-email-jianjay.zhou@huawei.com
Subject: [Qemu-devel] [PATCH v2 0/2] vhost: two fixes
Type: series

=== TEST SCRIPT BEGIN ===
#!/bin/bash

BASE=base
n=1
total=$(git log --oneline $BASE.. | wc -l)
failed=0

git config --local diff.renamelimit 0
git config --local diff.renames True

commits="$(git log --format=%H --reverse $BASE..)"
for c in $commits; do
    echo "Checking PATCH $n/$total: $(git log -n 1 --format=%s $c)..."
    if ! git show $c --format=email | ./scripts/checkpatch.pl --mailback -; then
        failed=1
        echo
    fi
    n=$((n+1))
done

exit $failed
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
error: Could not fetch 3c8cf5a9c21ff8782164d1def7f44bd888713384
Traceback (most recent call last):
  File "/usr/bin/patchew", line 442, in test_one
    git_clone_repo(clone, r["repo"], r["head"], logf)
  File "/usr/bin/patchew", line 48, in git_clone_repo
    stdout=logf, stderr=logf)
  File "/usr/lib64/python3.6/subprocess.py", line 291, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'remote', 'add', '-f', '--mirror=fetch', '3c8cf5a9c21ff8782164d1def7f44bd888713384', 'https://github.com/patchew-project/qemu']' returned non-zero exit status 1.



---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to patchew-devel@freelists.org
Re: [Qemu-devel] [PATCH v2 0/2] vhost: two fixes
Posted by Michael S. Tsirkin 6 years, 4 months ago
On Fri, Dec 15, 2017 at 04:45:53PM +0800, Jay Zhou wrote:
> v1 -> v2:
>   * delete the "used_memslots" global variable, and add it
>     for vhost-user and vhost-kernel separately

imammedo, any feedback on this?

> Jay Zhou (2):
>   vhost: add used memslot number for vhost-user and vhost-kernel    
>     separately
>   vhost: double check used memslots number
> 
>  hw/virtio/vhost-backend.c         | 14 ++++++++++++++
>  hw/virtio/vhost-user.c            | 31 +++++++++++++++++++++++++++++++
>  hw/virtio/vhost.c                 | 39 ++++++++++++++++++++++++++++++---------
>  include/hw/virtio/vhost-backend.h |  4 ++++
>  4 files changed, 79 insertions(+), 9 deletions(-)
> 
> -- 
> 1.8.3.1
>