Skip to content
Commit 5d7d0f38 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

vdpa_sim: fix endian-ness of config space



VDPA sim accesses config space as native endian - this is
wrong since it's a modern device and actually uses LE.

It only supports modern guests so we could punt and
just force LE, but let's use the full virtio APIs since people
tend to copy/paste code, and this is not data path anyway.

Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 63991673
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment