<div dir="ltr"><div><div><div>(1) This made no difference. It still hangs around the same place.<br><br></div>(2) It wasn't enabled in the kernel so i enabled it. I then rebooted but unfortunately it made no difference.<br><br></div>If you want access to a hypervisor to have a play around, let me know.<br><br></div>The only information i really have is that if i installed CentOS 7.3 on this hypervisor it works fine.<br><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 11 December 2017 at 16:24, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Dec 11, 2017 at 02:28:31PM +0000, Phill Bandelow wrote:<br>
> Hi,<br>
><br>
> We seem to be hitting an issue where libguestfs keeps hanging. virt-resize,<br>
> guestmount etc.. never complete. If we set<br>
> LIBGUESTFS_BACKEND_SETTINGS=<wbr>force_tcg it completes.<br>
><br>
> The issue starts when updating to CentOS 7.4 (CentOS 7.3 work fine). It<br>
> doesn't seem to affect all 7.4 hypervisors and the only similarity that we<br>
> have found is that they all use NVMe drives.<br>
<br>
</span>I've seen this issue before where the UART hangs, and I can't put my<br>
finger on what was causing it right now.<br>
<br>
At any rate there's a few things you can look into:<br>
<br>
(1) Try with LIBGUESTFS_BACKEND=direct (without forcing TCG).<br>
<br>
(2) Is it using nested KVM?  Is nested KVM enabled in the KVM<br>
module in the host kernel:<br>
<br>
  # systool -m kvm_intel -v | grep nested<br>
<br>
(should say "Y" if yes)<br>
<br>
If nested KVM is enabled, you can disable it (probably requires a<br>
reboot unfortunately).  Or if disabled, try enabling it.<br>
<br>
Rich.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" rel="noreferrer" target="_blank">http://people.redhat.com/~<wbr>rjones</a><br>
Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com" rel="noreferrer" target="_blank">http://rwmj.wordpress.com</a><br>
virt-p2v converts physical machines to virtual machines.  Boot with a<br>
live CD or over the network (PXE) and turn machines into KVM guests.<br>
<a href="http://libguestfs.org/virt-v2v" rel="noreferrer" target="_blank">http://libguestfs.org/virt-v2v</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><div><div>Regards,<br><br>Phill Bandelow<br></div>SolusVM Team Lead | OnApp Ltd<br></div>Direct Phone: +44 7883 442 300<br></div>Email: <a href="mailto:phill@onapp.com" target="_blank">phill@onapp.com</a><br></div>Web: <a href="http://solusvm.com" target="_blank">solusvm.com</a> | <a href="http://onapp.com" target="_blank">onapp.com</a><br></div></div>
</div></div></div></div></div></div>