<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span>Thanks a lot for reply, this is really helpful to me.<br class=""></span></span></div><div class=""><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><br class=""></span></span></div><div><blockquote type="cite" class=""><div class=""><div class=""><br class="">On Mon, Dec 17, 2018 at 07:47:45PM +0800, Zhang Huan wrote:<br class=""><blockquote type="cite" class="">Hi All,<br class=""><br class="">As the in-place help said,<br class=""><br class="">   --in-place<br class="">Do not create an output virtual machine in the target hypervisor. Instead, adjust the guest OS in the source VM to run in the input hypervisor.<br class=""><br class="">This mode is meant for integration with other toolsets, which take the responsibility of converting the VM configuration, providing for rollback in case of errors, transforming the storage, etc.<br class=""><br class=""><br class=""><br class="">I want to do v2v modifications in the source disk image, but the v2v give the error:<br class="">virt-v2v -v -x -i disk /dev/vdh --in-place<br class="">virt-v2v: error: --in-place cannot be used in RHEL 7<br class=""><br class="">could any one give me some help?<br class="">why —in-place option disabled in RHEL7, is there a older version enabled this feture?<br class=""></blockquote><br class="">It's because we explictly disable it in RHEL 7 because we don't want<br class="">to support it for Red Hat's customers.<br class=""><br class="">You can see the patches that we add on top of upstream libguestfs<br class="">here:<br class=""><br class=""><a href="https://github.com/libguestfs/libguestfs/commits/rhel-7.7" class="">https://github.com/libguestfs/libguestfs/commits/rhel-7.7</a><br class=""><br class="">The patch in question is:<br class=""><br class="">https://github.com/libguestfs/libguestfs/commit/fb3e89b0fb2d0de3c12a668c00d07c5cfcac9ec0<br class=""><br class="">If you want to use this feature, you'll either have to use Fedora or<br class="">another non-CentOS distribution, or compile libguestfs yourself from<br class="">source, or take the CentOS SRPM, comment out the patch, and rebuild<br class="">it.<br class=""><br class="">Rich.<br class=""><br class="">-- <br class="">Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones<br class="">Read my programming and virtualization blog: http://rwmj.wordpress.com<br class="">virt-p2v converts physical machines to virtual machines.  Boot with a<br class="">live CD or over the network (PXE) and turn machines into KVM guests.<br class="">http://libguestfs.org/virt-v2v<br class=""><br class=""></div></div></blockquote></div><br class=""></body></html>