Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:GA
virt-v2v
mask_unused_hv_features.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mask_unused_hv_features.patch of Package virt-v2v
Remove warnings on capabilites not listed off in `virsh capabilities` for the hypervisor. Without this change, guest conversion can report errors such as: virt-v2v: WARNING: The connected hypervisor does not support feature pae. virt-v2v: WARNING: The connected hypervisor does not support feature hap. virt-v2v: WARNING: The connected hypervisor does not support feature viridian. Index: virt-v2v-v0.9.1/lib/Sys/VirtConvert/Connection/LibVirtTarget.pm =================================================================== --- virt-v2v-v0.9.1.orig/lib/Sys/VirtConvert/Connection/LibVirtTarget.pm +++ virt-v2v-v0.9.1/lib/Sys/VirtConvert/Connection/LibVirtTarget.pm @@ -556,9 +556,13 @@ sub _configure_capabilities my @new_features = (); foreach my $feature (@{$meta->{features}}) { if (!exists($features{$feature})) { - logmsg WARN, __x('The connected hypervisor does not '. - 'support feature {feature}.', - feature => $feature); + # Don't report warnings on features provided, but not listed + # in virsh capabilities for the hypervisor + if ($feature !~ /^(hap|pae|viridian)$/) { + logmsg WARN, __x('The connected hypervisor does not '. + 'support feature {feature}.', + feature => $feature); + } } elsif ($feature eq 'acpi' && !$guestcaps->{acpi}) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor