Stefan Hajnoczi 4b35dfea68 virtio-net: Fix lduw_p() pointer argument of wrong size
A pointer to a size_t variable was passed as the void * pointer to
lduw_p() in virtio_net_receive().  Instead of acting on the 16-bit value
this caused failure on big-endian hosts.

Avoid this issue in the future by using stw_p() instead.  In general we
should use ld*_p() for loading from target memory and st*_p() for
storing to target memory anyway, not the other way around.

Also tighten up a correct use of lduw_p() when stw_p() should be used
instead in virtio_net_get_config().

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
(cherry picked from commit b46d97f2d2)
2011-03-03 23:46:18 +01:00
2011-01-25 19:56:53 +03:00
2011-02-11 14:34:06 +01:00
2011-02-01 16:50:44 -06:00
2011-02-01 16:57:00 -06:00
2010-12-09 14:23:24 +01:00
2011-02-01 16:57:00 -06:00
2011-01-29 22:52:00 +00:00
2011-02-14 14:42:29 -06:00
2011-02-04 20:50:16 +01:00
2010-03-06 23:09:28 +01:00
2011-01-25 09:18:00 +01:00
2011-01-25 09:18:00 +01:00
2010-04-09 18:55:56 +02:00
2011-02-07 12:55:32 +01:00
2011-02-07 12:55:32 +01:00
2011-02-07 12:55:26 +01:00
2011-01-10 10:55:10 +01:00
2010-12-02 21:13:39 +02:00
2010-11-01 00:54:06 +03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2011-01-20 20:58:56 +00:00
2010-10-20 16:15:04 -05:00
2010-10-20 16:15:04 -05:00
2011-02-01 16:50:43 -06:00
2011-01-23 02:27:22 -02:00
2010-05-24 15:18:23 -05:00
2011-01-16 08:32:27 +00:00
2011-01-20 20:54:21 +00:00
2010-03-29 19:24:00 +00:00
2009-12-17 18:12:04 +01:00
2010-05-22 08:02:12 +00:00
2010-11-21 09:16:57 -06:00
2010-11-21 09:16:57 -06:00
2010-11-21 09:16:57 -06:00
2010-05-10 11:36:03 -05:00
2010-05-10 11:36:03 -05:00
2010-06-11 15:25:14 -03:00
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2011-01-24 15:13:54 +01:00
2011-01-20 20:54:21 +00:00
2010-03-21 08:28:47 +00:00
2010-05-22 08:24:49 +00:00
2011-02-07 12:55:19 +01:00
2011-01-24 20:54:34 +00:00
2010-01-08 09:58:40 -06:00
2011-02-01 16:50:43 -06:00
2010-12-09 14:23:24 +01:00
2010-10-30 08:02:40 +00:00
2009-12-25 18:19:15 +00:00
2010-05-19 12:45:54 -03:00
2009-11-17 08:49:39 -06:00
2010-07-01 14:27:13 -03:00
2010-07-01 14:27:13 -03:00
2010-09-22 20:05:23 +00:00
2011-02-01 16:50:43 -06:00
2011-01-24 15:41:40 +01:00
2010-09-21 18:36:42 +02:00
2011-01-31 10:03:00 +01:00
2010-05-19 12:45:54 -03:00
2011-01-09 20:59:53 +00:00
2010-05-19 12:45:54 -03:00
2009-11-17 08:49:38 -06:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-10-01 10:12:43 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-09-18 05:53:14 +00:00
2011-01-20 20:54:21 +00:00
2011-01-24 15:41:40 +01:00
2011-01-25 09:18:00 +01:00
2010-03-14 22:04:50 +01:00
2011-01-09 14:43:33 +00:00
2011-02-16 08:42:46 -06:00
2011-02-04 21:23:05 +01:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 569 MiB
Languages
C 83%
C++ 6.3%
Python 3.2%
Dylan 2.9%
Shell 1.6%
Other 2.8%