[Libvir] [Patch 0/4] Xen inactive domain
by Daniel P. Berrange
The following series of patches add support for managing inactive domains
with Xen. Based on DV's recent xm config file reader, it processes all domains
in /etc/xen (skipping known bogus files, xmexmaple*, xend-config.sxp). It can
do all the operations you'd expect for managing inactive domains. Create a
new domain, start a domain, list domains, delete a domain, change cpu / memory,
get XML for domain.
The impact on existing driver backends is very small - the only place which
needed changing is the XenD code which lookups existing domains - making it
be quiet if it get s a 404 error from XenD - this is to be expected if the
domain is inactive.
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 -=|
18 years, 2 months
[Libvir] Semantics for ListDomains/ ListDefinedDomains
by Daniel P. Berrange
So I was thinking a little about lifecycle support for passive domains in
libvirt and wanted to clarify the intended semantics of the two methods:
virConnectListDomains
virConnectListDefinedDomains
Am I correct in thinking that virConnectListDefinedDomains will list a
domain if-and-only-if its state == 'shutoff', and that virConnectListDomains
will list a domain if-and-only-if its state != 'shutoff'
ie, when I start a defined domain with 'virDomainCreate', it will be removed
from the 'ListDefinedDomains' set and added to the 'ListDomains' set.
Likewise when shutting down it'll move back the other way. Or will the
virConnectListDefinedDomains call always list a domain with a config
file, even if it is running ?
I realize this is a little hypothetical since XenD doesn't have lifecycle
management yet, but it matters to the test backend, and any potential
QEMU / UML backend, and the future XenD XML-RPC backend
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 -=|
18 years, 2 months
[Libvir] Libvirt / Xen incompatible versions.
by Michel Gauthier
We've just installed the last advanced version of Xen on our IA64 platform.
Unfortunatly, the build of the 0.1.4 version of libvirt with this version of
Xen is not successful.
The C header file of Xen /usr/include/xen/dom0_ops.h used by libvirt in
xen_internal.c has been modified.
The dom0_getdomaininfo_t structure is no more decared in this header file.
Are you aware of this problem?
What is the latest version of Xen on which libvirt has been successfully
built and tested?
Thanks.
18 years, 2 months