virtio additions
Subsystems (2)
PATCH RESEND 13/13 virtio additions
From 9f5a551d7e2a00eb019b158f8f3130e8176ec27c Mon Sep 17 00:00:00 2001
From: Dor Laor <dor.laor-atKUWr5tajBWk0Htik3J/[email protected]>
Date: Mon, 17 Dec 2007 01:40:15 +0200
Subject: [PATCH] Update all status fields on driver unload
Both VIRTIO_CONFIG_S_DRIVER and VIRTIO_CONFIG_S_DRIVER_OK should be cleaned upon driver unload.
--- drivers/virtio/virtio.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/virtio/virtio.c +2 -1
@@ -103,7 +103,8 @@ static int virtio_dev_remove(struct device *_d) struct virtio_driver, driver); dev->config->set_status (dev, dev->config->get_status (dev) - & ~VIRTIO_CONFIG_S_DRIVER ); + & ~(VIRTIO_CONFIG_S_DRIVER | +VIRTIO_CONFIG_S_DRIVER_OK )); drv->remove (dev);return 0 ; }
Signature · 7 lines
1.5.3.3 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Quoted 4 lines · On Saturday 22 December 2007 02:27:33 Dor Laor wrote:
From
9f5a551d7e2a00eb019b158f8f3130e8176ec27cMon Sep 17 00:00:00 2001
From: Dor Laor <dor.laor-atKUWr5tajBWk0Htik3J/[email protected]>
Date: Mon, 17 Dec 2007 01:40:15 +0200
Subject: [PATCH] Update all status fields on driver unload
OK, looks like I missed the last 4 patches.
I've applied them to my tree, will push that out after some basic testing...
Thanks,
Rusty.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Quoted 4 lines · On Saturday 22 December 2007 02:27:33 Dor Laor wrote:
From
9f5a551d7e2a00eb019b158f8f3130e8176ec27cMon Sep 17 00:00:00 2001
From: Dor Laor <[email protected]>
Date: Mon, 17 Dec 2007 01:40:15 +0200
Subject: [PATCH] Update all status fields on driver unload
OK, looks like I missed the last 4 patches.
I've applied them to my tree, will push that out after some basic testing...
Thanks,
Rusty.