[virt-tools-list] get vm configuration file
Richard W.M. Jones
rjones at redhat.com
Tue Sep 6 17:34:10 UTC 2011
On Sat, Sep 03, 2011 at 02:05:56PM -0400, Teddy Limousin wrote:
> Hey guys,
> I am using virt-manager with xen and when trying to set up a vm with xm
> command line I can not get access to the instalation files
> that are in a http site, but when configuring a new vm with virt-manager it
> works perfectly, I would like to know if there is a way
> to get the vm configuration file that virt-manager uses for deploying that
> vm.
virt-manager uses libvirt.
libvirt talks to the Xen hypervisor, xend etc directly itself. I
thought that recent versions of Xen don't use configuration files any
more -- I could be wrong about that. But in any case, there is no way
that I know to get to the Xen configuration, and you shouldn't need to.
You can get the *libvirt* configuration by doing:
virsh dumpxml NameOfGuest
You can also use 'virsh' to do everything you could do with 'xm'
commands. Let us know if find an 'xm' command that has no 'virsh'
equivalent.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v
More information about the virt-tools-list
mailing list