[PATCH libvirt-glib 4/5] config: add virtio video model

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxx>
---
 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]