--- tests/test-gconfig.c | 2 ++ tests/xml/gconfig-domain-device-video.xml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test-gconfig.c b/tests/test-gconfig.c index de09c24..aca8f02 100644 --- a/tests/test-gconfig.c +++ b/tests/test-gconfig.c @@ -494,6 +494,8 @@ static void test_domain_device_video(void) video = gvir_config_domain_video_new(); gvir_config_domain_video_set_model(video, GVIR_CONFIG_DOMAIN_VIDEO_MODEL_QXL); + gvir_config_domain_video_set_heads(video, 4); + gvir_config_domain_video_set_vram(video, 256*1024); gvir_config_domain_add_device(domain, GVIR_CONFIG_DOMAIN_DEVICE(video)); g_object_unref(G_OBJECT(video)); diff --git a/tests/xml/gconfig-domain-device-video.xml b/tests/xml/gconfig-domain-device-video.xml index a6155e2..7af6256 100644 --- a/tests/xml/gconfig-domain-device-video.xml +++ b/tests/xml/gconfig-domain-device-video.xml @@ -1,7 +1,7 @@ <domain> <devices> <video> - <model type="qxl"/> + <model type="qxl" heads="4" vram="262144"/> </video> </devices> </domain> -- 2.4.3 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list