virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] virtio: console: control queue race fixes
@ 2012-01-06 10:49 Amit Shah
  2012-01-06 10:49 ` [PATCH 1/2] virtio: console: Serialise control work Amit Shah
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Amit Shah @ 2012-01-06 10:49 UTC (permalink / raw)
  To: Rusty Russell; +Cc: Amit Shah, Virtualization List, miche, Michael S. Tsirkin

Hello,

The first patch here fixes the race seen by Miche.  He hasn't yet
reported back if this fixes the races he saw, but Joy Pu from Red Hat
tested this patch with hot-plugging/unplugging ports in a loop.
Before this patch, he saw some freezes as well as sysfs warnings.
After applying the patch, all was well.

The second patch can be folded into the series fixing S4 for
virtio-console.  It ensures all callbacks are disabled in the freeze
function.  This patch has a dependency on the 1st one in the sense the
double disabling of vq won't make sense w/o patch 1.

Please review and apply.


Amit Shah (2):
  virtio: console: Serialise control work
  virtio: console: Disable callbacks for virtqueues at start of S4
    freeze

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

-- 
1.7.7.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-01-09  3:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-06 10:49 [PATCH 0/2] virtio: console: control queue race fixes Amit Shah
2012-01-06 10:49 ` [PATCH 1/2] virtio: console: Serialise control work Amit Shah
2012-01-09  2:33   ` Rusty Russell
2012-01-09  3:53     ` Amit Shah
2012-01-06 10:49 ` [PATCH 2/2] virtio: console: Disable callbacks for virtqueues at start of S4 freeze Amit Shah
2012-01-09  2:31 ` [PATCH 0/2] virtio: console: control queue race fixes Rusty Russell

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).