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