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 16:42:02 -05:00
2008-01-31 19:28:09 -08:00
2008-01-31 19:27:40 -08:00
2008-01-31 19:27:36 -08:00
2008-01-31 19:27:39 -08:00
2008-02-01 16:42:06 -05:00
2008-01-28 15:09:52 -08:00
2008-02-01 16:42:15 -05:00
2008-02-01 14:35:07 -08:00
2008-01-30 13:30:18 +01:00
2008-02-01 15:04:30 -08:00
2008-01-28 15:00:14 -08:00
2008-01-28 15:00:12 -08:00
2008-02-01 14:23:55 -05:00
2008-02-01 11:34:49 +01:00
2008-01-29 21:55:15 +01:00
2008-01-28 23:58:26 -05:00
2008-01-28 14:54:10 -08:00
2008-02-01 23:09:24 +01:00
2008-01-30 13:30:02 +01:00
2008-01-30 13:31:48 +01:00
2008-01-28 15:00:40 -08:00
2008-01-30 13:32:42 +01:00
2008-01-30 13:31:10 +01:00
2008-01-28 14:57:51 -08:00
2008-01-30 13:31:56 +01:00
2008-01-28 23:58:27 -05:00
2008-01-29 00:19:52 -05:00
2008-01-29 00:19:52 -05:00
2008-01-29 00:19:52 -05:00
2008-01-28 23:58:27 -05:00
2008-02-01 17:45:14 +01:00
2008-02-02 19:56:45 +01:00
2008-02-01 23:09:34 +01:00
2008-01-30 13:30:27 +01:00
2008-02-02 19:56:47 +01:00
2008-01-28 15:10:45 -08:00
2008-01-28 14:54:09 -08:00
2008-01-28 15:08:27 -08:00
2008-01-28 15:07:58 -08:00
2008-01-28 14:56:28 -08:00
2008-01-28 15:07:57 -08:00
2008-01-28 14:55:09 -08:00
2008-01-28 15:08:32 -08:00
2008-01-28 14:55:09 -08:00
2008-01-28 15:08:44 -08:00
2008-01-31 19:28:31 -08:00
2008-01-30 13:34:11 +01:00
2008-02-01 14:06:51 -05:00
2008-01-31 19:26:46 -08:00
2008-01-30 13:30:32 +01:00
2008-01-31 19:28:20 -08:00
2008-01-28 23:58:27 -05:00
2008-02-01 18:30:53 -05:00
2008-01-30 13:33:06 +01:00
2008-01-30 13:32:53 +01:00
2008-01-30 18:01:22 +02:00
2008-01-30 18:01:22 +02:00
2008-01-30 18:01:18 +02:00
2008-01-30 18:01:22 +02:00
2008-02-04 23:49:57 +11:00
2008-01-30 13:33:13 +01:00
2008-01-30 13:33:58 +01:00
2008-01-29 22:46:14 +11:00
2008-01-28 14:56:29 -08:00
2008-01-31 19:28:24 -08:00
2008-01-28 15:02:22 -08:00
2008-01-31 19:28:23 -08:00
2008-01-28 14:54:18 -08:00
2008-01-30 02:06:07 -05:00
2008-02-01 11:45:47 +11:00
2008-01-30 02:05:24 -05:00
2008-01-30 02:06:08 -05:00
2008-02-01 16:42:05 -05:00
2008-01-28 14:59:52 -08:00
2008-02-01 18:30:53 -05:00
2008-01-30 13:33:36 +01:00
2008-02-01 15:04:30 -08:00
2008-02-01 15:04:29 -08:00
2008-02-01 15:04:31 -08:00
2008-01-28 15:00:35 -08:00
2008-02-02 02:44:34 +03:00
2008-01-30 23:27:58 +01:00
2008-01-31 19:27:03 -08:00
2008-01-31 19:28:36 -08:00
2008-01-31 19:28:35 -08:00
2008-02-02 02:43:00 +03: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-28 14:54:25 -08:00
2008-02-01 14:06:51 -05:00
2008-01-30 08:17:26 +11:00
2008-01-28 14:54:28 -08:00
2008-02-04 23:49:56 +11:00
2008-01-30 13:33:17 +01:00
2008-01-31 19:28:30 -08:00
2008-01-28 14:56:57 -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-02-01 18:30:53 -05:00
2008-02-01 18:30:58 -05:00
2008-01-31 22:05:48 +01:00
2008-01-31 19:28:27 -08:00
2008-01-28 14:54:07 -08:00
2008-02-01 17:45:14 +01:00
2008-02-01 17:45:14 +01:00
2008-02-01 17:45:13 +01:00
2008-01-30 13:30:00 +01:00
2008-01-28 14:54:09 -08:00
2008-01-31 19:27:30 -08:00
2008-02-01 14:34:49 -08:00
2008-02-01 14:35:07 -08:00
2008-02-01 14:34:58 -08:00
2008-02-04 23:50:01 +11:00
2008-02-04 23:50:03 +11:00
2008-02-04 23:50:02 +11:00
2008-02-04 23:50:00 +11:00
2008-02-04 23:50:03 +11:00
2008-01-28 14:58:25 -08:00
2008-01-31 19:27:03 -08:00