diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2014-06-24 19:49:31 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-06-29 19:39:43 +0300 |
commit | e0ab7fac65dc75573d3f02105c80981be4f49c2d (patch) | |
tree | 7882cd5b7aa199debd7be38d3ad77cca5088536a /LICENSE | |
parent | 8c085dbe6d1e3fb3f18cdd05e67980a529a3ba4a (diff) | |
download | hqemu-e0ab7fac65dc75573d3f02105c80981be4f49c2d.zip hqemu-e0ab7fac65dc75573d3f02105c80981be4f49c2d.tar.gz |
virtio-serial-bus: use virtio wrappers to access headers
We also fix max_nr_ports at reset time as the device endianness may have
changed.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
[ pass VirtIODevice * to memory accessors,
fix max_nr_ports at reset time,
Greg Kurz <gkurz@linux.vnet.ibm.com> ]
Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions