qemu: process: Improve update of maximum balloon state at startup
qemu: process: Improve update of maximum balloon state at startup

In commit 641a145d73fdc3dd9350fd57b3d3247abf101c05 I've added code that
resets the balloon memory value to full size prior to resuming the vCPUs
since the size certainly was not reduced at that point.

Since qemuProcessStart is used also in code paths with already booted
up guests (migration, save/restore) the assumption is not entirely true
since the guest might already been running before.

This patch adds a function that queries the monitor rather than using
the full size since a balloon event would not be reissued in case we are
recovering a saved migration state.

Additionally the new function is used also when reconnecting to a VM
after libvirtd restart since we might have missed a few balloon events
while libvirtd was not running.

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