From: Jim Paris Subject: Re: How to remove VM (client) with command line ? Date: Thu, 23 Jul 2009 13:07:41 -0400 Message-ID: <20090723170741.GA30444@psychosis.jim.sh> References: <534037.5034.qm@web112418.mail.gq1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Stephen Liu Return-path: Received: from jim.sh ([75.150.123.25]:33218 "EHLO psychosis.jim.sh" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750985AbZGWRHn (ORCPT ); Thu, 23 Jul 2009 13:07:43 -0400 Content-Disposition: inline In-Reply-To: <534037.5034.qm@web112418.mail.gq1.yahoo.com> Sender: kvm-owner@vger.kernel.org List-ID: Stephen Liu wrote: > > 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. 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". > 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