The fix required some refactoring in various places. More details
about why and
what had to be reworked can be found in each of the patches.
Refactor qemudDomainRestore
Factor out def assignment to existing domain from virDomainAssignDef
Refactor qemudDomainStart
Autostart domains using virDomainObjStart
Thanks for the review.
I changed qemudDomainImage* to qemudDomainSaveImage* (good point, Cole), added
ATTRIBUTE_NONNULL()s for qemudDomainSaveImageOpen and
qemudDomainSaveImageStartVM, rebased to current master, and pushed.
Jirka