search for: _get_os_type_windows

Displaying 2 results from an estimated 2 matches for "_get_os_type_windows".

2010 Jun 08
2
[PATCH 1/2] Target: Pass os description to create_guest
This will allow use of raw data from os description in addition to libvirt XML when writing guest output. --- lib/Sys/VirtV2V/Target/LibVirt.pm | 2 +- lib/Sys/VirtV2V/Target/RHEV.pm | 2 +- v2v/virt-v2v.pl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Sys/VirtV2V/Target/LibVirt.pm b/lib/Sys/VirtV2V/Target/LibVirt.pm index
2011 Apr 26
7
[PATCH 1/7] Push $desc creation into Sys::VirtConvert::Converter->convert
...ch}); + } elsif ($arch ne 'i386') { + logmsg WARN, __x('Unsupported architecture: {arch}', arch => $arch); return undef; } my $type; - $type = _get_os_type_linux($desc, $arch_suffix) - if ($desc->{os} eq 'linux'); - $type = _get_os_type_windows($desc, $arch_suffix) - if ($desc->{os} eq 'windows'); + $type = _get_os_type_linux($g, $root, $arch_suffix) + if ($g->inspect_get_type($root) eq 'linux'); + $type = _get_os_type_windows($g, $root, $arch_suffix) + if ($g->inspect_get_type($root) eq...