Re: [API reference] Are there XML-handling API to retrieve info directly from xml configure file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 18, 2012 at 06:09:35PM +0800, Zhihua Che wrote:
> 在 2012年4月18日 下午5:47,Zhihua Che <zhihua.che@xxxxxxxxx> 写道:
> > 在 2012年4月18日 下午5:31,Richard W.M. Jones <rjones@xxxxxxxxxx> 写道:
> >> On Wed, Apr 18, 2012 at 10:24:24AM +0800, Zhihua Che wrote:
> >>>    I guess I miss another thing. I thought the domain xml config file
> >>> was stored in etc/libvirt/qemu/ directory.
> >>
> >> libvirt manages the config files.  To edit them, DON'T edit them
> >> directly, use 'virsh edit'.
> >>
> >> Rich.
> >>
> 
> Correction
> 
>  I agree with you. But I wanna know where libvirt stores all the domains'
>  config files.
>  Image that if I uninstalled libvirt and reinstalled it, I wish I could
>  manipulate all the previous domains.

All the persistent configs are under /etc/libvirt

When a guest is running, there is a second config stored in /var/run/libvirt

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux