virtio: Import virtio_vring.h
commitd9612b43dd062309a6a4ad4e5cef2badc94f5385
authorFam Zheng <famz@redhat.com>
Wed, 10 Sep 2014 06:17:49 +0000 (10 14:17 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 22 Sep 2014 10:39:49 +0000 (22 11:39 +0100)
tree48a903f217f6a0e92ca2e60122907b1a9b93df25
parent2f78e491d7b46542158ce0b8132ee4e05bc0ade4
virtio: Import virtio_vring.h

This header has no further dependencies. It only has some stable data
types and primitive functions, so we can copy it to include/hw/virtio in
order to allow vring code (and its user virtio-blk dataplane) to be
built unconditionally, even for cross compiling.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1410329871-28885-2-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/net/vhost_net.c
include/hw/virtio/dataplane/vring.h
include/hw/virtio/virtio_ring.h [new file with mode: 0644]
linux-headers/linux/vhost.h