hw/virtio: Factorize virtio-mmio headers
commitbca964bcea65e69895ff7200ca0b5ddd01b87d24
authorSergio Lopez <slp@redhat.com>
Thu, 26 Sep 2019 13:02:22 +0000 (26 15:02 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 Oct 2019 07:38:42 +0000 (22 09:38 +0200)
tree1fd161608c4a48047e775aa2ec81051efacc939c
parent7320c8b4ae610ad0b2faa3b049d8312b26f31518
hw/virtio: Factorize virtio-mmio headers

Put QOM and main struct definition in a separate header file, so it
can be accessed from other components.

Signed-off-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio-mmio.c
include/hw/virtio/virtio-mmio.h [new file with mode: 0644]