提交 42845acb 编写于 作者: C Cole Robinson

qemu: parse: drop redundant video config

The ram/vram = 0 bits aren't needed, and PostParse will fill in the
needed QXL default
Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
Signed-off-by: NCole Robinson <crobinso@redhat.com>
上级 1f17ce21
......@@ -2608,12 +2608,6 @@ qemuParseCommandLine(virCapsPtr caps,
if (VIR_ALLOC(vid) < 0)
goto error;
vid->type = video;
if (vid->type == VIR_DOMAIN_VIDEO_TYPE_QXL) {
vid->vgamem = QEMU_QXL_VGAMEM_DEFAULT;
} else {
vid->ram = 0;
vid->vgamem = 0;
}
vid->heads = 1;
if (VIR_APPEND_ELEMENT(def->videos, def->nvideos, vid) < 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册