From: Rusty Russell <rusty@rustcorp.com.au>
Cc: Amit Shah <amit.shah@redhat.com>,
Virtualization List <virtualization@lists.linux-foundation.org>
Subject: Re: [PATCH 0/1] virtio: console: regression in virtqueue_add_buf() change
Date: Mon, 10 Dec 2012 10:06:12 +1030 [thread overview]
Message-ID: <87lid6er2r.fsf@rustcorp.com.au> (raw)
In-Reply-To: <cover.1354859479.git.amit.shah@redhat.com>
Amit Shah <amit.shah@redhat.com> writes:
> Hi Rusty,
>
> The linux-next kernel was failing my virtio-console test suite for a
> while. I looked into it today, and it's due to the
> virtqueue_add_buf() change that doesn't return > 0 values anymore. I
> found your commit that adjusts virtio_console.c, but you missed one
> instance where the return value mattered, and as a result not enough
> buffers were queued for the host to send in data.
>
> This resulted in the port's name to be not populated in sysfs, which
> meant udev didn't create any symlinks in /dev/virtio-ports/.
>
> I've just updated your commit with the small diff (attached below).
> Please put this commit after
>
> commit e794093a52cdfef09b3fdb6294b75ab8cacb30a8
> Author: Rusty Russell <rusty@rustcorp.com.au>
> Date: Tue Oct 16 23:56:14 2012 +1030
>
> virtio_net: don't rely on virtqueue_add_buf() returning capacity.
>
> and before
>
> commit 08d088e8357b3c031db7de006247f613c7f136ab
> Author: Rusty Russell <rusty@rustcorp.com.au>
> Date: Tue Oct 16 23:56:15 2012 +1030
>
> virtio: make virtqueue_add_buf() returning 0 on success, not capacity.
>
> in the pull request you send so that there's no regression in
> virtio_console on bisection.
>
> (commit ids from linux-next/master).
I will append it for now, then fold it before pushing to Linus. I try
not to rebase linux-next until just before the push.
Thanks,
Rusty.
prev parent reply other threads:[~2012-12-09 23:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-07 6:04 [PATCH 0/1] virtio: console: regression in virtqueue_add_buf() change Amit Shah
2012-12-07 6:04 ` [PATCH 1/1] virtio: console: virtqueue_add_buf() no longer returns > 0 Amit Shah
2012-12-09 23:36 ` Rusty Russell [this message]
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=87lid6er2r.fsf@rustcorp.com.au \
--to=rusty@rustcorp.com.au \
--cc=amit.shah@redhat.com \
--cc=virtualization@lists.linux-foundation.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.