virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix hot-unplug: device removal while port in use
@ 2011-03-02  8:23 Amit Shah
  2011-03-02  8:23 ` [PATCH 1/2] virtio: console: Don't access vqs if device was unplugged Amit Shah
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Amit Shah @ 2011-03-02  8:23 UTC (permalink / raw)
  To: Virtualization List; +Cc: Amit Shah

A crash was observed when a device gets removed while a port is in
use.  When the port gets removed, we tried to free vq buffers.  The vq
no longer exists at this stage, just ensure we don't access it.

The second patch fixes a warning where the pci region is already
freed.  I'm not sure what or how the region gets freed, any clues
there will be helpful.

Thanks,
		Amit

Amit Shah (2):
  virtio: console: Don't access vqs if device was unplugged
  virtio: console: Don't call device_destroy() on port device

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

-- 
1.7.4

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

end of thread, other threads:[~2011-03-16  4:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-02  8:23 [PATCH 0/2] Fix hot-unplug: device removal while port in use Amit Shah
2011-03-02  8:23 ` [PATCH 1/2] virtio: console: Don't access vqs if device was unplugged Amit Shah
2011-03-02  8:23 ` [PATCH 2/2] virtio: console: Don't call device_destroy() on port device Amit Shah
2011-03-02 11:08 ` [PATCH 0/2] Fix hot-unplug: device removal while port in use Rusty Russell
2011-03-02 13:38   ` Amit Shah
2011-03-11 11:16 ` Amit Shah
2011-03-16  4:01   ` 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).