This is the main patch. It adds a new 'xm config file' backend driver to
libvirt. This basically just scans /etc/xen for config files, reads them
and turns them into libvirt XML to create domains. Similarly it can accept
libvirt XML and create config files from it.
Some important points
- It can override /etc/xen with LIBVIRT_XM_CONFIG_DIR env variable
- It only re-scans /etc/xen every X seconds & caches parsed config
files in-memory to avoid parsing / I/O overhead
- Automatically generates a UUID if the config file doesn;t have one
- Skips over a blacklist of files from /etc/xen which are known to
not be valid config files to avoid too many error messages
- Filters list of inactive domains to strip out any which are currently
running (acccording to XenD)
- Allows changing of VCPUS, memory & max memory config settings and
writes changes back out to disk
- Can start, create, delete domains from disk
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 -=|