diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 96de12147a..dcb7af887e 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -1154,7 +1154,8 @@ qemu-kvm -net nic,model=? /dev/null
model
The model
element has a mandatory type
- attribute which takes the value "vga", "cirrus", "vmvga", "xen" or "vbox".
+ attribute which takes the value "vga", "cirrus", "vmvga", "qxl",
+ "xen" or "vbox", depending on the hypervisor features available.
You can also provide the amount of video memory in kilobytes using
vram
and the number of screen with heads
.
diff --git a/docs/schemas/domain.rng b/docs/schemas/domain.rng
index 520bdd4675..16fc444df7 100644
--- a/docs/schemas/domain.rng
+++ b/docs/schemas/domain.rng
@@ -1169,6 +1169,7 @@
vmvga
xen
vbox
+ qxl
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 7eb8fb3324..09f415b711 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -252,7 +252,8 @@ VIR_ENUM_IMPL(virDomainVideo, VIR_DOMAIN_VIDEO_TYPE_LAST,
"cirrus",
"vmvga",
"xen",
- "vbox")
+ "vbox",
+ "qxl")
VIR_ENUM_IMPL(virDomainInput, VIR_DOMAIN_INPUT_TYPE_LAST,
"mouse",
diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h
index 5827ffbe6f..834eafeb23 100644
--- a/src/conf/domain_conf.h
+++ b/src/conf/domain_conf.h
@@ -482,6 +482,7 @@ enum virDomainVideoType {
VIR_DOMAIN_VIDEO_TYPE_VMVGA,
VIR_DOMAIN_VIDEO_TYPE_XEN,
VIR_DOMAIN_VIDEO_TYPE_VBOX,
+ VIR_DOMAIN_VIDEO_TYPE_QXL,
VIR_DOMAIN_VIDEO_TYPE_LAST
};
diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c
index a506064012..e0064f75e1 100644
--- a/src/qemu/qemu_conf.c
+++ b/src/qemu/qemu_conf.c
@@ -92,7 +92,8 @@ VIR_ENUM_IMPL(qemuVideo, VIR_DOMAIN_VIDEO_TYPE_LAST,
"cirrus",
"vmware",
"", /* no arg needed for xen */
- "" /* don't support vbox */);
+ "", /* don't support vbox */
+ "", /* Not implemented QXL yet */);
int qemudLoadDriverConfig(struct qemud_driver *driver,
const char *filename) {