Call per-device post-parse callback even on implicit video
Call per-device post-parse callback even on implicit video

Commit 6879be48 moved adding of an implicit video device after XML
parsing. As a result, libxlDomainDeviceDefPostParse() is no longer
called to set the default vram when adding an implicit device.
Commit 6879be48 assumes virDomainVideoDefaultRAM() will set the
default vram, but it returns 0 if the domain virtType is
VIR_DOMAIN_VIRT_XEN. Attempting to start an HVM domain with vram=0
results in

error: unsupported configuration: videoram must be at least 4MB for CIRRUS

The default vram setting for Xen HVM domains depends on the device
model used (qemu-xen vs qemu-traditional), hence setting the
default is deferred to libxlDomainDeviceDefPostParse().

Call the device post-parse callback even for implicit video,
to fill out the default vram even for VIR_DOMAIN_VIRT_XEN.

https://bugzilla.redhat.com/show_bug.cgi?id=1334557
Most-of-commit-message-by: Jim Fehlig <39929b5b86d72d51fceac59b52303e3fe8a3083e@suse.com>

datto/libvirt,zippy2/libvirt,nertpinx/libvirt,eskultety/libvirt,taget/libvirt,libvirt/libvirt,VenkatDatta/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,olafhering/libvirt,nertpinx/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,taget/libvirt,zippy2/libvirt,taget/libvirt,fabianfreyer/libvirt,datto/libvirt,eskultety/libvirt,crobinso/libvirt,fabianfreyer/libvirt,libvirt/libvirt,jardasgit/libvirt,crobinso/libvirt,eskultety/libvirt,VenkatDatta/libvirt,datto/libvirt,VenkatDatta/libvirt,taget/libvirt,zippy2/libvirt,taget/libvirt,libvirt/libvirt,olafhering/libvirt,jardasgit/libvirt,olafhering/libvirt,jardasgit/libvirt,olafhering/libvirt,andreabolognani/libvirt,nertpinx/libvirt,crobinso/libvirt,jfehlig/libvirt,jfehlig/libvirt,andreabolognani/libvirt,jardasgit/libvirt,datto/libvirt,nertpinx/libvirt,andreabolognani/libvirt,libvirt/libvirt,VenkatDatta/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,eskultety/libvirt,crobinso/libvirt,zippy2/libvirt,eskultety/libvirt,nertpinx/libvirt,VenkatDatta/libvirt,datto/libvirt