Michael S. Tsirkin
d71de9ec6b
virtio: core support for config generation
...
virtio 1.0 spec says:
Drivers MUST NOT assume reads from fields greater than 32 bits wide are
atomic, nor are reads from multiple fields: drivers SHOULD read device
configuration space fields like so:
u32 before, after;
do {
before = get_config_generation(device);
// read config entry/entries.
after = get_config_generation(device);
} while (after != before);
Do exactly this, for transports that support it.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2014-12-14 18:21:31 +02:00
..
2014-11-18 13:23:31 +01:00
2014-11-15 16:04:56 +00:00
2014-11-10 15:22:02 +00:00
2014-10-19 12:29:23 -07:00
2014-10-21 13:46:03 -07:00
2014-10-19 12:50:44 -07:00
2014-10-28 03:30:21 +01:00
2014-10-18 18:11:04 -07:00
2014-10-28 17:26:19 -04:00
2014-10-24 11:21:43 -07:00
2014-10-22 16:14:03 -06:00
2014-11-16 09:55:39 +01:00
2014-11-02 14:39:35 -08:00
2014-11-13 16:17:06 -08:00
2014-11-17 11:13:52 -08:00
2014-10-22 16:14:03 -06:00
2014-10-27 13:00:55 +01:00
2014-10-28 11:03:40 +01:00
2014-10-28 11:03:40 +01:00
2014-10-21 00:51:01 +02:00
2014-10-21 00:51:01 +02:00
2014-10-22 16:14:04 -06:00
2014-10-18 18:11:04 -07:00
2014-10-31 06:33:26 -04:00
2014-11-14 17:08:58 -05:00
2014-11-16 10:04:18 +01:00
2014-10-23 14:45:09 -07:00
2014-10-22 16:14:04 -06:00
2014-10-29 16:33:14 -07:00
2014-11-26 14:40:45 +01:00
2014-10-29 16:33:15 -07:00
2014-10-22 16:14:04 -06:00
2014-10-29 16:33:14 -07:00
2014-11-13 16:17:05 -08:00
2014-10-24 00:14:36 +02:00
2014-11-12 14:22:51 -05:00
2014-10-29 16:33:14 -07:00
2014-11-04 10:19:48 +00:00
2014-10-21 23:44:21 +02:00
2014-11-13 16:17:05 -08:00
2014-11-05 13:06:16 -07:00
2014-11-24 14:11:34 +11:00
2014-11-23 12:36:06 -05:00
2014-11-11 22:28:44 +01:00
2014-10-19 20:22:32 +03:00
2014-10-28 03:30:19 +01:00
2014-10-28 18:25:17 -04:00
2014-11-10 16:45:43 -05:00
2014-10-30 19:58:30 -04:00
2014-11-05 15:52:45 -05:00
2014-10-24 12:33:32 -07:00
2014-10-22 16:14:04 -06:00
2014-12-09 12:05:24 +02:00
2014-12-14 18:21:31 +02:00
2014-12-09 21:42:00 +02:00
2014-10-20 20:46:25 +02:00