Signed-off-by: Marc-André Lureau <marcandre.lureau(a)gmail.com>
---
examples/config-demo.py | 2 +-
libvirt-gconfig/libvirt-gconfig-domain-video.h | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/examples/config-demo.py b/examples/config-demo.py
index 952640a..3fdc367 100644
--- a/examples/config-demo.py
+++ b/examples/config-demo.py
@@ -62,7 +62,7 @@ graphics.set_gl(True)
domain.add_device(graphics)
video = LibvirtGConfig.DomainVideo.new()
-video.set_model(LibvirtGConfig.DomainVideoModel.QXL)
+video.set_model(LibvirtGConfig.DomainVideoModel.VIRTIO)
domain.add_device(video)
console = LibvirtGConfig.DomainConsole.new()
diff --git a/libvirt-gconfig/libvirt-gconfig-domain-video.h
b/libvirt-gconfig/libvirt-gconfig-domain-video.h
index a87ec4f..d162b8f 100644
--- a/libvirt-gconfig/libvirt-gconfig-domain-video.h
+++ b/libvirt-gconfig/libvirt-gconfig-domain-video.h
@@ -62,7 +62,8 @@ typedef enum {
GVIR_CONFIG_DOMAIN_VIDEO_MODEL_VMVGA,
GVIR_CONFIG_DOMAIN_VIDEO_MODEL_XEN,
GVIR_CONFIG_DOMAIN_VIDEO_MODEL_VBOX,
- GVIR_CONFIG_DOMAIN_VIDEO_MODEL_QXL
+ GVIR_CONFIG_DOMAIN_VIDEO_MODEL_QXL,
+ GVIR_CONFIG_DOMAIN_VIDEO_MODEL_VIRTIO
} GVirConfigDomainVideoModel;
GType gvir_config_domain_video_get_type(void);
--
2.5.0