]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vboxDumpDisplay: split out def->graphics allocation
authorJán Tomko <jtomko@redhat.com>
Fri, 5 Feb 2016 15:25:25 +0000 (16:25 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 9 Feb 2016 09:08:39 +0000 (10:08 +0100)
commitef98d93bed69aa42b84cbaeb414ebf619a9b98bc
treed5b520f8623cd7a2d1d13594e0f4c5851d73ec52
parent2f2a0b29250410c787bfabe6f979119189d9f694
vboxDumpDisplay: split out def->graphics allocation

Separate allocation of the def->graphics array from the allocation
and initialization of its first element.

Note that the only possible values of totalPresent at this point
are 0 or 1, because it equals to guiPresent + sdlPresent.
src/vbox/vbox_common.c