From SpectLog
Jump to: navigation, search

: libvirt

Attempt to start VM (KVM) does not work leading to the following error:

virsh start guest_name
error: Failed to start domain guest_name
error: operation failed: cannot restore domain 'guest_name' uuid e29fbaf9-72e0-0df1-8d50-fbc6587727b3 from a file which belongs to domain 'guest_name' uuid e040a6d2-d591-c4ce-da5b-6382aa4219a1

The problem appeared because of a ghost file which related to previously saved VM with the same name:

ll /var/lib/libvirt/qemu/save/guest_name.save

Do not remove the file directly. Instead use this command:

virsh managedsave-remove guest_name

References