summaryrefslogtreecommitdiff
path: root/src/libxl/libxl_domain.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libxl/libxl_domain.c')
-rw-r--r--src/libxl/libxl_domain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libxl/libxl_domain.c b/src/libxl/libxl_domain.c
index 68dd28e9c8..c7f0ed9d29 100644
--- a/src/libxl/libxl_domain.c
+++ b/src/libxl/libxl_domain.c
@@ -324,6 +324,10 @@ libxlDomainDeviceDefPostParse(virDomainDeviceDefPtr dev,
dev->data.video->vram = 4 * 1024;
}
break;
+ case VIR_DOMAIN_VIDEO_TYPE_QXL:
+ if (dev->data.video->vram == 0)
+ dev->data.video->vram = 128 * 1024;
+ break;
}
}