aboutsummaryrefslogtreecommitdiff
path: root/hw/char/serial.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2014-06-24 19:49:31 +0200
committerMichael S. Tsirkin <mst@redhat.com>2014-06-29 19:39:43 +0300
commite0ab7fac65dc75573d3f02105c80981be4f49c2d (patch)
tree7882cd5b7aa199debd7be38d3ad77cca5088536a /hw/char/serial.c
parent8c085dbe6d1e3fb3f18cdd05e67980a529a3ba4a (diff)
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 'hw/char/serial.c')
0 files changed, 0 insertions, 0 deletions