1
0
Files
linux/include/linux
Rusty Russell 6e5aa7efb2 virtio: reset function
A reset function solves three problems:

1) It allows us to renegotiate features, eg. if we want to upgrade a
   guest driver without rebooting the guest.

2) It gives us a clean way of shutting down virtqueues: after a reset,
   we know that the buffers won't be used by the host, and

3) It helps the guest recover from messed-up drivers.

So we remove the ->shutdown hook, and the only way we now remove
feature bits is via reset.

We leave it to the driver to do the reset before it deletes queues:
the balloon driver, for example, needs to chat to the host in its
remove function.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2008-02-04 23:50:03 +11:00
..
2008-01-28 14:54:13 -08:00
2008-02-01 15:04:30 -08:00
2008-01-28 15:00:14 -08:00
2008-02-01 11:34:49 +01:00
2008-01-29 21:55:15 +01:00
2008-01-28 14:54:10 -08:00
2008-01-30 13:31:48 +01:00
2008-01-30 13:31:10 +01:00
2008-01-30 13:31:56 +01:00
2008-01-28 23:58:27 -05:00
2008-01-30 13:30:27 +01:00
2008-02-02 19:56:47 +01:00
2008-01-28 15:08:27 -08:00
2008-01-28 15:07:58 -08:00
2008-01-28 15:07:57 -08:00
2008-01-28 14:55:09 -08:00
2008-01-28 14:55:09 -08:00
2008-01-31 19:26:46 -08:00
2008-01-31 19:28:20 -08:00
2008-01-28 23:58:27 -05:00
2008-01-30 13:33:13 +01:00
2008-01-28 14:56:29 -08:00
2008-01-28 14:54:18 -08:00
2008-01-30 02:06:08 -05:00
2008-02-01 15:04:30 -08:00
2008-02-01 15:04:31 -08:00
2008-02-02 02:44:34 +03:00
2008-01-30 23:27:58 +01:00
2008-01-31 19:28:36 -08:00
2008-01-28 15:01:36 -08:00
2008-01-30 13:30:53 +01:00
2008-01-30 13:31:47 +01:00
2008-01-31 19:26:46 -08:00
2008-01-31 19:28:30 -08:00
2008-01-30 13:31:20 +01:00
2008-01-30 13:31:20 +01:00
2008-01-30 13:31:20 +01:00
2008-01-31 22:05:48 +01:00
2008-02-01 17:45:14 +01:00
2008-02-04 23:50:03 +11:00
2008-02-04 23:50:02 +11:00
2008-02-04 23:50:03 +11:00
2008-01-28 14:58:25 -08:00