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

[Libvir] [QEMU 1/3] hook up driver methods for inactive domains



The attached patch prepares the driver method API to support inactive
domains. The following methods are hooked up:

 * virConnectListDefinedDomains
 * virConnectNumOfDefinedDomains
 * virDomainDefineXML
 * virDomainUndefine
 * virDomainCreate

It sets all existing drivers to have NULL in these fields.

The existing code in virDomainDefineXML was ripped out since it was found
to be more trouble than it was worth - the backend driver needed to repeat
most of the logic anyway - so better just to delegate the whole lot.

Regards,
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  -=| 


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