qemu: Don't return success if creation of snapshot save file fails
When the snapshot definition can't be saved, the qemuDomainSnapshotCreate function succeeded without filling some of the fields in the internal definition. This patch removes the snapshot and returns failure if the XML file cannot be written.
Showing
想要评论请 注册 或 登录