[Libvir] [PATCH 1/2] Add internal API for managing capabilities data

Daniel P. Berrange berrange at redhat.com
Tue Feb 26 12:52:32 UTC 2008


On Tue, Feb 26, 2008 at 09:39:49AM +0000, Richard W.M. Jones wrote:
> 
> Yes, this all looks good.
> 
> Another advantage of doing this is that we can be sure that the
> capabilities XML generated by each driver will have the same schema.

Yes indeed - this is a very good benefit, particularly as we extend the
capabilities with more data like NUMA / migration / etc.  At some point
I think it'd be interesting to do a similar refactoring for domains. So
we could have an internal virDomainDefPtr to store the definitions and
a generic XML formatter / XML parser shared by all drivers.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the libvir-list mailing list