Do not format CPU features without a model
Do not format CPU features without a model

For host-passthrough CPU we don't honor the CPU
features specified in the XML, but we allow
outputting them via the UPDATE_CPU flag for dumpxml,
this gives user a rough idea of what features the CPU
might have.

After restoring a managedsave'd domain, the features
might end up in the live status XML (in /var/run) without
the model. This XML cannot be parsed by the daemon after
restart and the domain might disappear.

This fix skips formatting the features for HOST_PASSTHROUGH
when UPDATE_CPU is not specified, so the newly restored domains
and newly created snapshots won't be affected.

Note: this doesn't fix existing snapshots or already restored
running domains.

https://bugzilla.redhat.com/show_bug.cgi?id=1030793
https://bugzilla.redhat.com/show_bug.cgi?id=1151885

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