Daniel P. Berrange
2006-Dec-07 01:20 UTC
[Xen-devel] [PATCH] Expose lifecycle APIs via SEXPR protocol
The new lifecycle patches in xen-unstable added 3 new operations which can be performed on domains - new, start and delete. libvirt has had no-op stub implementations of these APIs for a while & thus we''d enable their use for Xen 3.0.4 builds. The new APIs are not currently exposed via the existing SEXPR protocol, and since the new Xen-API protocol is unsupported tech-preview for 3.0.4 we don''t want to re-write against that just yet. Thus the attached patch adds the 3 neccessary bindings for the SEXPR protocol to allow the lifecycle functionality to be invoked. It also allows the ''state'' parameter to be specified when listing domains, so we can explicitly request inactive domains if we know we''re running against a 3.0.4 era XenD Signed-off-by: Daniel P. Berrange <berrange@redhat.com> 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 -=| _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ewan Mellor
2006-Dec-07 12:15 UTC
Re: [Xen-devel] [PATCH] Expose lifecycle APIs via SEXPR protocol
On Thu, Dec 07, 2006 at 01:20:18AM +0000, Daniel P. Berrange wrote:> The new lifecycle patches in xen-unstable added 3 new operations which can > be performed on domains - new, start and delete. libvirt has had no-op > stub implementations of these APIs for a while & thus we''d enable their > use for Xen 3.0.4 builds. The new APIs are not currently exposed via the > existing SEXPR protocol, and since the new Xen-API protocol is unsupported > tech-preview for 3.0.4 we don''t want to re-write against that just yet. > > Thus the attached patch adds the 3 neccessary bindings for the SEXPR protocol > to allow the lifecycle functionality to be invoked. It also allows the ''state'' > parameter to be specified when listing domains, so we can explicitly request > inactive domains if we know we''re running against a 3.0.4 era XenD > > Signed-off-by: Daniel P. Berrange <berrange@redhat.com>Applied, thank you. Ewan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel