diff options
| author | Gerd Hoffmann | 2018-03-13 18:17:30 +0100 |
|---|---|---|
| committer | Alex Williamson | 2018-03-13 18:17:30 +0100 |
| commit | 00195ba710a004af02a711239324d7137f0b189a (patch) | |
| tree | 65c32ae696f621d8eaa0c20a8309eb53b13d0d65 /include/hw/vfio | |
| parent | vfio/display: core & wireup (diff) | |
| download | qemu-00195ba710a004af02a711239324d7137f0b189a.tar.gz qemu-00195ba710a004af02a711239324d7137f0b189a.tar.xz qemu-00195ba710a004af02a711239324d7137f0b189a.zip | |
vfio/display: adding region support
Wire up region-based display.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed By: Kirti Wankhede <kwankhede@nvidia.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/hw/vfio')
| -rw-r--r-- | include/hw/vfio/vfio-common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/hw/vfio/vfio-common.h b/include/hw/vfio/vfio-common.h index f3a2ac9fee..fc8ae14fb7 100644 --- a/include/hw/vfio/vfio-common.h +++ b/include/hw/vfio/vfio-common.h @@ -142,6 +142,14 @@ typedef struct VFIOGroup { QLIST_ENTRY(VFIOGroup) container_next; } VFIOGroup; +typedef struct VFIODisplay { + QemuConsole *con; + struct { + VFIORegion buffer; + DisplaySurface *surface; + } region; +} VFIODisplay; + void vfio_put_base_device(VFIODevice *vbasedev); void vfio_disable_irqindex(VFIODevice *vbasedev, int index); void vfio_unmask_single_irqindex(VFIODevice *vbasedev, int index); |
