aboutsummaryrefslogtreecommitdiff
path: root/include/qjson.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-06-04 12:34:24 +0200
committerMichael S. Tsirkin <mst@redhat.com>2015-06-10 18:15:05 +0200
commitadfb743c90c7aa5e92907ce875e4f35747ee1963 (patch)
tree520758a3525d5482cff188a746dfa3c9f0b0c90c /include/qjson.h
parentb8f059081d93f1802480059d1d49fe5c1d32f60c (diff)
virtio: add modern config accessors
virtio 1.0 defines config space as LE, as opposed to pre-1.0 which was native endian. Add API for transports to execute word/dword accesses in little endian format - will be useful for mmio and pci (byte access is also wrapped, for completeness). For simplicity, we still keep config in host native endian format, byteswap to LE on guest access. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/qjson.h')
0 files changed, 0 insertions, 0 deletions