All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Amit Shah <amit.shah@redhat.com>, Christoph Hellwig <hch@lst.de>,
	virtualization@lists.linux-foundation.org
Subject: [PULL] virtio fixes
Date: Thu, 3 Jun 2010 22:43:53 +0930	[thread overview]
Message-ID: <201006032243.54702.rusty@rustcorp.com.au> (raw)

The following changes since commit aef4b9aaae1decc775778903922bd0075cce7a88:
  Linus Torvalds (1):
        Merge branch 'next' of git://git.kernel.org/.../benh/powerpc

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus.git virtio

Amit Shah (2):
      virtio: console: Fix crash when hot-unplugging a port and read is blocked
      virtio: console: Fix crash when port is unplugged and blocked for write

Christoph Hellwig (1):
      virtio-blk: fix minimum number of S/G elements

 drivers/block/virtio_blk.c    |    4 +++-
 drivers/char/virtio_console.c |   14 +++++++++++---
 2 files changed, 14 insertions(+), 4 deletions(-)

commit a5b365a652206ca300256974ed9301a7d241a6ed
Author: Christoph Hellwig <hch@lst.de>
Date:   Tue May 25 14:17:54 2010 +0200

    virtio-blk: fix minimum number of S/G elements
    
    We need at least one S/G element to operate properly, as does the block
    layer which increments it to one anyway.  We hit this due to a qemu
    bug which advertises a sg_elements of 0 under some circumstances.
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (tweaked logic)

 drivers/block/virtio_blk.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

commit 0047634d3daebca9e99a22eb89167bf77f35cdfa
Author: Amit Shah <amit.shah@redhat.com>
Date:   Thu May 27 13:24:39 2010 +0530

    virtio: console: Fix crash when hot-unplugging a port and read is blocked
    
    When removing a port we don't check if a program was blocked for read.
    This leads to a crash when SIGTERM is sent to the program after
    hot-unplugging the port.
    
    Signed-off-by: Amit Shah <amit.shah@redhat.com>
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

 drivers/char/virtio_console.c |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

commit 60e5e0b84045ce0f6ab07a02c7fcd6627b53d2d3
Author: Amit Shah <amit.shah@redhat.com>
Date:   Thu May 27 13:24:40 2010 +0530

    virtio: console: Fix crash when port is unplugged and blocked for write
    
    When a program that has a virtio port opened and blocked for a write
    operation, a port hot-unplug event will later led to a crash when
    SIGTERM was sent to the program. Fix that.
    
    Signed-off-by: Amit Shah <amit.shah@redhat.com>
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

 drivers/char/virtio_console.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

             reply	other threads:[~2010-06-03 13:13 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-03 13:13 Rusty Russell [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-04-10 13:18 [PULL] virtio: fixes Michael S. Tsirkin
2019-04-10 13:18 Michael S. Tsirkin
2019-04-10 16:50 ` pr-tracker-bot
2019-02-06 19:32 Michael S. Tsirkin
2019-02-07  8:10 ` pr-tracker-bot
2019-02-06 19:32 Michael S. Tsirkin
2014-09-16  1:04 [PULL] virtio fixes Rusty Russell
2013-05-22  0:55 Rusty Russell
2013-04-01 23:08 Rusty Russell
2011-04-21 13:31 Rusty Russell
2011-02-08 21:53 Rusty Russell
2010-06-23 13:20 Rusty Russell
2010-06-23 13:20 Rusty Russell
2009-10-19  2:31 Rusty Russell
2009-10-21 23:31 ` Linus Torvalds
2009-10-22  6:13   ` Rusty Russell
2009-10-22  6:13   ` Rusty Russell
2009-10-21 23:31 ` Linus Torvalds
2009-10-19  2:31 Rusty Russell

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=201006032243.54702.rusty@rustcorp.com.au \
    --to=rusty@rustcorp.com.au \
    --cc=amit.shah@redhat.com \
    --cc=hch@lst.de \
    --cc=torvalds@linux-foundation.org \
    --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.