Commit a28feb85 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin

virtio_pmem: correct tags for config space fields

Since this is a modern-only device,
tag config space fields as having little endian-ness.
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Reviewed-by: default avatarCornelia Huck <cohuck@redhat.com>
parent 577e677a
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
#include <linux/virtio_config.h> #include <linux/virtio_config.h>
struct virtio_pmem_config { struct virtio_pmem_config {
__u64 start; __le64 start;
__u64 size; __le64 size;
}; };
#define VIRTIO_PMEM_REQ_TYPE_FLUSH 0 #define VIRTIO_PMEM_REQ_TYPE_FLUSH 0
......
Markdown is supported
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