Displaying 2 results from an estimated 2 matches for "_replace_with_default_metadata".
2010 Jan 06
0
[PATCH] Converter: Fixes to Xen metadata conversion
...,
- '/domain/os/cmdline'
+ '/domain/os/cmdline',
+ '/domain/bootloader',
+ '/domain/bootloader_args'
);
foreach my $path (@bootloader_paths) {
@@ -396,64 +369,93 @@ sub _configure_drivers
}
}
-sub _find_hv_metadata
+sub _replace_with_default_metadata
{
- my ($dom) = @_;
+ my ($node, $xpath, $default_dom) = @_;
+
+ # Look for a replacement in the defaults
+ my ($default) = $default_dom->findnodes($xpath);
+ if(defined($default)) {
+ if($node->isa('XML::DOM::Attr')) {
+ $node->setNodeValue($defau...
2010 Feb 01
9
[ESX support] Working ESX conversion for RHEL 5
With this patchset I have successfully[1] imported a RHEL 5 guest directly from
ESX with the following command line:
virt-v2v -ic 'esx://yellow.marston/?no_verify=1' -op transfer RHEL5-64
Login details are stored in ~/.netrc
Note that this is the only guest I've tested against. I haven't for example,
checked that I haven't broken Xen imports.
Matt
[1] With the exception of