File remove_esx_examples.patch of Package virt-v2v

SLES12 does not ship an ESX libvirt driver. This patch removes samples
and documentation for this type of connection from the virt-v2v help
screen and man page. It also removes documentation regarding exporting
a guest to RHEV.

Index: virt-v2v-0.9.1/v2v/virt-v2v.pl
===================================================================
--- virt-v2v-0.9.1.orig/v2v/virt-v2v.pl
+++ virt-v2v-0.9.1/v2v/virt-v2v.pl
@@ -50,8 +50,6 @@ virt-v2v - Convert a guest to use KVM
 
  virt-v2v -ic xen+ssh://xen.server/ -os imported --network default xen_guest
 
- virt-v2v -ic esx://esx.server/ -os imported --network default esx_guest
-
 =head1 DESCRIPTION
 
 virt-v2v converts guests from a foreign hypervisor to run on KVM,managed by
@@ -99,8 +97,8 @@ this defaults to qemu:///system when vir
 when virt-v2v runs as a regular user.
 
 B<N.B.> virt-v2v can currently automatically obtain guest storage from local
-libvirt connections, ESX connections, and connections over SSH. Other types of
-connection are not supported.
+libvirt connections, and connections over SSH. Other types of connection are
+not supported.
 
 =cut
 
@@ -899,112 +897,6 @@ which won't reference a hypervisor in it
 make this newly installed kernel your default kernel because Xen may not boot
 it. virt-v2v will make it the default during conversion.
 
-=head1 CONVERTING A GUEST FROM VMWARE ESX
-
-B<N.B.> libvirt version 0.7.0 or greater is required to connect to ESX.
-
-virt-v2v can convert a guest from VMware ESX, including transferring its
-storage.
-
-B<N.B.> virt-v2v does not transfer snapshots from ESX. Only the latest flat
-storage is transferred.
-
-The guest MUST be shut down in ESX before conversion starts. virt-v2v will not
-proceed if the guest is still running. To convert the guest, run:
-
- virt-v2v -ic esx://<esx.server>/ -os <pool> [--network <network name>] \
-          <domain>
-
-where:
-
-=over
-
-=item *
-
-E<lt>esx.serverE<gt> is the hostname of the ESX server hosting the guest to be
-converted.
-
-B<N.B.> This hostname must match the hostname reported in the ESX server's SSL
-certificate, or verification will fail.
-
-=item *
-
-E<lt>poolE<gt> is the name of the local storage pool where copies of the guest's
-storage will be created.
-
-=item *
-
-E<lt>domainE<gt> is the name of the guest on the ESX server which is to be
-converted.
-
-=back
-
-The I<--network> option may be provided for simple network mappings. For more
-complex mappings, see L<virt-v2v.conf(5)>.
-
-=head2 Authenticating to the ESX server
-
-Connecting to the ESX server will require authentication. virt-v2v supports
-password authentication when connecting to ESX. It reads passwords from
-$HOME/.netrc. The format of this file is described in L<netrc(5)>. An example
-entry is:
-
- machine esx01.example.com login root password s3cr3t
-
-B<N.B.> The permissions of .netrc MUST be set to 0600, or it will be ignored.
-
-=head2 Connecting to an ESX server with an invalid certificate
-
-In non-production environments, the ESX server may have an invalid certificate,
-for example a self-signed certificate. In this case, certificate checking can be
-explicitly disabled by adding '?no_verify=1' to the connection URI as shown
-below:
-
- ... -ic esx://<esx.server>/?no_verify=1 ...
-
-=head1 EXPORTING A GUEST TO RHEV
-
-virt-v2v can export to RHEV any guest that it can convert. This includes:
-
-=over
-
-=item *
-
-Local Xen guests
-
-=item *
-
-ESX guests
-
-=item *
-
-Local libvirt/KVM guests
-
-=back
-
-To export to RHEV, specify I<-o rhev> on the command line, and ensure I<-os>
-specifies the location of a RHEV export storage domain as in the following
-examples:
-
-=over
-
-=item Exporting a local Xen guest to RHEV
-
- virt-v2v -i libvirtxml -o rhev -os <export_sd> \
-          [--network <network name>] <domain>.xml
-
-=item Export a VMware ESX guest to RHEV
-
- virt-v2v -ic esx://<esx.server>/ -o rhev -os <export_sd> \
-          [--network <network name>] <domain>
-
-=item Export a local libvirt/KVM guest to RHEV
-
- virt-v2v -o rhev -os <export_sd> [--network <network name>] \
-          <domain>
-
-=back
-
 =head1 RUNNING THE CONVERTED GUEST
 
 =head2 Libvirt output method