qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Gal Hammer <ghammer@redhat.com>, qemu-devel@nongnu.org
Cc: Amit Shah <amit.shah@redhat.com>, Anthony Liguori <aliguori@amazon.com>
Subject: Re: [Qemu-devel] [PATCH v2] char: restore read callback on a reattached (hotplug) chardev
Date: Wed, 11 Dec 2013 10:36:14 -0700	[thread overview]
Message-ID: <52A8A28E.1060703@redhat.com> (raw)
In-Reply-To: <1386755260-13781-1-git-send-email-ghammer@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1373 bytes --]

On 12/11/2013 02:47 AM, Gal Hammer wrote:
> Fix a bug that was introduced in commit 386a5a1e. A removal of a device
> set the chr handlers to NULL. However when the device is plugged back,
> its read callback is not restored so data can't be transfter from the

s/transfter/transferred/

> host to the guest via the virtio-serial port.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1027181

The S-o-B tag below, and the commit message up to here is fine...

> 
> V2: - do not call chr_update_read_handler on device removal.
>     - add asserts to verify chr_update_read_handler is not called
>       with an assigned fd_in_tag to prevent fd leaks.
>     - update fd and udp backends' chr_update_read_handler function
>       so it won't remove fd_in to prevent a double release.

...whereas this version information belongs better...

> 
> Signed-off-by: Gal Hammer <ghammer@redhat.com>
> ---

...here, after the --- separator.  It's useful information to reviewers,
but in this location, 'git am' will strip it, as in the long run,
someone reading 'git log' history doesn't care about how many revisions
a patch took or what changed from the earlier versions of the patch,
since none of the earlier versions are stored in git.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 621 bytes --]

      parent reply	other threads:[~2013-12-11 17:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-11  9:47 [Qemu-devel] [PATCH v2] char: restore read callback on a reattached (hotplug) chardev Gal Hammer
2013-12-11 10:36 ` Paolo Bonzini
2013-12-11 17:36 ` Eric Blake [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=52A8A28E.1060703@redhat.com \
    --to=eblake@redhat.com \
    --cc=aliguori@amazon.com \
    --cc=amit.shah@redhat.com \
    --cc=ghammer@redhat.com \
    --cc=qemu-devel@nongnu.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 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).