From: Charles Duffy <Charles_Duffy@messageone.com>
To: kvm@vger.kernel.org
Cc: zhq527725@gmail.com
Subject: Re: VM config file
Date: Wed, 01 Jul 2009 11:22:37 -0500 [thread overview]
Message-ID: <4A4B8D4D.5090300@messageone.com> (raw)
In-Reply-To: <8b8dd4340907010715q5357421fs12c913a9e1a2f108@mail.gmail.com>
Zhang Qian wrote:
> I'd like to know if there is a configuration file for each KVM virtual
> machine? I can define a domain by "virsh define" command, but where
> the configuraiton parameters are persisted for the VM?
virsh is not a part of kvm, but rather libvirt; you should ask for
support for it on the libvirt mailing list.
That said -- you can list defined VMs through "virsh list --all", edit
them through "virsh edit", and dump their XML via "virsh dumpxml". The
config files are kept in /etc/libvirt/qemu, but you SHOULD NOT edit them
directly -- just like /etc/sudoers should be edited only through visudo,
/etc/libvirt/qemu/* should be edited only through libvirt methods (which
can be accessed through the virsh command); this makes sure libvirtd is
always aware of any changes, and prevents invalid configuration from
ever being written to disk.
prev parent reply other threads:[~2009-07-01 16:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-01 14:15 VM config file Zhang Qian
2009-07-01 16:22 ` Charles Duffy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A4B8D4D.5090300@messageone.com \
--to=charles_duffy@messageone.com \
--cc=kvm@vger.kernel.org \
--cc=zhq527725@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.