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

Re: [Fedora-xen] configuration files



Hi Markus

Thanks for your reply!

> Because it's not XML.

That really explains a lot ;-)

I always assumed the "legacy" format from /etc/xen/mydomainconfig
(like in RHEL 5) is the native XEN syntax (I see this is not the
case.).  So, the xml format from libvirt is like a replacement for the
configuration in /etc/xen/mydomainconfig? But if I use virt-install
(e.g. in Fedora 8) to install a new machine, it does not create a file
/etc/xen/ and also no xml. All It does is creating the s-expression
file in /var/lib/.

Is there a documentation about the relation between all this different
XEN / libvirt configuration files? The architecture part of the
documentation on libvirt.org does not answer this question.

cheers

On Mon, Mar 16, 2009 at 8:48 AM, Markus Armbruster <armbru redhat com> wrote:
> Urs Golla <urs golla gmail com> writes:
>
>> Hi,
>>
>> ok, but why does the file in /var/lib/xend/dom-uuid/config.sxp use
>> such a strange syntax? I mean '()' instead of '<>' and an empty
>> element should look like <name attribute="value"/> not (name value).
>
> Because it's not XML.
>
>> if I dump the xml with virsh, it looks much more like a standard xml
>> to me.
>
> Because it's XML.
>
> The .sxp files use Xen's native syntax, which is from the sexp
> family[*].  libvirt uses XML.
>
>
> [*] http://en.wikipedia.org/wiki/S-expression
>


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