The attached patch makes two changes to the virsh command:
* Adds a 'domuuid' command to display the printable UUID of a domain
* Adds a '--connect NAME' argument allowing the name of a hypervisor
to be passed through to 'virConnect' / 'virConnectReadOnly'
Although libvirt only has a Xen backend at the moment, I'm working on a
'mock' hypervisor backend to enable unit testing of applications built on
libvirt without requiring the test suite to interface with the real Xen
hypervisor.
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 -=|