aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-04-21 11:22:14 +0200
committerGerd Hoffmann <kraxel@redhat.com>2017-04-24 10:12:28 +0200
commit729abb6a920e80c3866f60d1638f08f2eba98a9a (patch)
tree0ca27cb83ca5876de2020ac156449ca41079f262 /include
parent6f663d7be94efacf14ee84e71340a4f49011ac36 (diff)
downloadqemu-729abb6a920e80c3866f60d1638f08f2eba98a9a.zip
qemu-729abb6a920e80c3866f60d1638f08f2eba98a9a.tar.gz
qemu-729abb6a920e80c3866f60d1638f08f2eba98a9a.tar.bz2
virtio-gpu: add xres and yres properties
So the default resolution is configurable. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-id: 20170421092214.8176-1-kraxel@redhat.com
Diffstat (limited to 'include')
-rw-r--r--include/hw/virtio/virtio-gpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/virtio/virtio-gpu.h b/include/hw/virtio/virtio-gpu.h
index f3a98a3..f3ffdce 100644
--- a/include/hw/virtio/virtio-gpu.h
+++ b/include/hw/virtio/virtio-gpu.h
@@ -72,6 +72,8 @@ struct virtio_gpu_conf {
uint64_t max_hostmem;
uint32_t max_outputs;
uint32_t flags;
+ uint32_t xres;
+ uint32_t yres;
};
struct virtio_gpu_ctrl_command {