Skip to contentSkip to conversation

How to remove VM (client) with command line ?

DISCUSSION Stephen Liu 2 participants 2 messages Jul 23, 2009 KVM

lore
Share & tools
lore
#0 lore raw

Hi folks,

Debian 5.0
KVM

How to remove/delete VM (client) on command line instead of on Virt-manager.

Ex.

$ sudo virsh --connect qemu:///system

virsh # list --all
Id Name State
----------------------------------

  - vm10                 shut off
  - vm11                 shut off
  - vm13                 shut off

I expect to remove vm10 and vm11. The later was cloned on the former.

Furthermore;

$ apt-cache policy uml-utilities
uml-utilities:
  Installed: (none)
  Candidate: 20070815-1.1
  Version table:
     20070815-1.1 0
        500 http://ftp.hk.debian.org lenny/main Packages

Do I need uml-utilities ? What will be its use?

TIA

B.R.
satimis

Send instant messages to your online friends http://uk.messenger.yahoo.com

#1 lore raw
Quoted 14 lines · Stephen Liu

Hi folks,

Debian 5.0
KVM

How to remove/delete VM (client) on command line instead of on Virt-manager.

Ex.

$ sudo virsh --connect qemu:///system

virsh # list --all
Id Name State
----------------------------------

Quoted 6 lines
  - vm10                 shut off
  - vm11                 shut off
  - vm13                 shut off

I expect to remove vm10 and vm11. The later was cloned on the former.

This is a libvirt question, not a kvm question. You should use the libvirt mailing list instead. Also, check the documentation and the "help" output, as it is generally good. To remove a domain completely, use "undefine".

Quoted 2 lines

Furthermore;
Do I need uml-utilities ? What will be its use?

You would use uml-utilities if you were using User Mode Linux. Again, not KVM related.

-jim