[root@kvm qemu]# virsh list --all
Id Name State
- test1 shut off
- test10 shut off
[root@kvm qemu]# virsh undefine test1
error: Failed to undefine domain test1
error: Requested operation is not valid: cannot delete inactive domain with 1 snapshots
[root@kvm qemu]# virsh destroy test1
error: Failed to destroy domain test1
error: Requested operation is not valid: domain is not running
[root@kvm qemu]# virsh list --all
Id Name State
- test1 shut off
- test10 shut off
[root@kvm qemu]#
收起