Michael S. Tsirkin 3d2667826c virtio_config: fix virtio_cread_bytes
virtio_cread_bytes is implemented incorrectly in case length happens to
be 2,4 or 8 bytes: transports and devices will assume it's an integer
value that has to be converted to LE format.

Let's just do multiple 1-byte reads: this also makes life easier
for transports who only need to implement 1,2,4 and 8 byte reads.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-12-11 20:04:38 +02:00
..
2014-11-18 13:23:31 +01:00
2014-09-22 16:48:47 +09:00
2014-10-03 15:28:18 -06:00
2014-10-14 09:00:44 -06:00
2014-11-02 14:39:35 -08:00
2014-09-26 15:05:15 -04:00
2014-09-19 09:29:32 -04:00
2014-10-21 00:51:01 +02:00
2014-10-15 07:23:49 +02:00
2014-09-23 11:10:20 -07:00
2014-09-26 15:05:15 -04:00
2014-10-09 11:35:48 +03:00
2014-10-08 16:01:41 -04:00
2014-08-07 14:40:08 -04:00
2014-08-06 18:01:24 -07:00
2014-09-25 16:07:15 +02:00
2014-09-29 15:37:01 -04:00
2014-09-01 13:48:59 +02:00
2014-10-15 07:23:49 +02:00
2014-10-14 02:18:13 +02:00
2014-10-09 22:25:58 -04:00
2014-09-24 14:07:58 +02:00
2014-10-24 00:14:36 +02:00
2014-10-15 12:11:00 -04:00
2014-09-30 16:24:56 -04:00
2014-09-30 16:24:56 -04:00
2014-10-15 06:58:16 +02:00
2014-08-26 13:45:56 -04:00
2014-10-07 01:18:12 +02:00
2014-09-13 12:30:26 -04:00
2014-08-08 15:57:26 -07:00
2014-08-08 15:57:31 -07:00
2014-11-05 15:52:45 -05:00
2014-08-08 15:57:24 -07:00
2014-09-23 21:40:48 -07:00
2014-09-25 17:05:12 +02:00
2014-08-08 15:57:22 -07:00
2014-09-16 15:02:55 -06:00
2014-12-09 12:05:24 +02:00
2014-12-09 21:42:00 +02:00