mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-02 18:05:20 +00:00
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: John Ferlan <jferlan@redhat.com> Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
1f17ce215f
commit
42845acb0b
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user