Displaying 2 results from an estimated 2 matches for "_find_hv_metadata".
2010 Jan 06
0
[PATCH] Converter: Fixes to Xen metadata conversion
...- a/lib/Sys/VirtV2V/Converter.pm
+++ b/lib/Sys/VirtV2V/Converter.pm
@@ -194,37 +194,7 @@ sub _unconfigure_hvs
die("unconfigure_hvs called without default_dom argument")
unless defined($default_dom);
- # Get a list of source HV specific metadata nodes
- my @nodeinfo = _find_hv_metadata($dom);
-
- for(my $i = 0; $i < $#nodeinfo; $i += 2) {
- my $node = $nodeinfo[$i];
- my $xpath = $nodeinfo[$i + 1]->[0];
- my $required = $nodeinfo[$i + 1]->[1];
-
- # Look for a replacement in the defaults
- my ($default) = $default_dom->findnodes($...
2009 Dec 21
4
Refactor virt-v2v to be more like a 'big script'
These patches combine HVSource and HVTarget into a single Converter. This should
make it more obvious where to hack without losing any practical flexibility.
GuestOS remains separate. GuestOS is now a misnomer, because it's really only a
Linux distro abstraction. It will be useless for Windows, for example. Functions
which you'd expect to be different on a non-RH distro should live in