[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] PATCH: Generic internal API for domain XML parser/formatter
- From: Cole Robinson <crobinso redhat com>
- To: "Daniel P. Berrange" <berrange redhat com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] PATCH: Generic internal API for domain XML parser/formatter
- Date: Thu, 26 Jun 2008 10:26:01 -0400
Daniel P. Berrange wrote:
>
> Given an XML document describing a network, parses the doc and generates
> a virDomainDefPtr to represent it in memory. This is a little more
> advanced than the network parser because the various hypervisor drivers
> have slightly varying capabilities. So we pass a virCapsPtr object in
> so the parser can validate against the actual driver's capabilities.
> I'd like to extend the capabilities format to cover things like the
> boot parameters supported - eg PXE vs kernel+initrd vs bootloader vs
> BIOS, so we can further validate at time of parsing, instead of time
> of use.
>
I realize this capabilities piece was a side point but I think it's the
way to go. Also providing the whitelist for things like storage pool
types/formats, network and sound models would be nice.
- Cole
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]