From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Bauer Subject: Re: KVM entry failed, hardware error Date: Wed, 06 Jun 2012 20:19:24 +0200 Message-ID: <4FCF9F2C.2070501@gmx.de> References: <4FCB55FE.2010808@gmx.de> <4FCB59A2.4020008@redhat.com> <4FCB6045.1050002@gmx.de> <4FCB69FE.80303@redhat.com> <4FCB8FFD.4020705@gmx.de> <20120604085331.GB23670@redhat.com> <4FCCFE4D.6060500@gmx.de> <4FCE10D7.8060707@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Gleb Natapov , Avi Kivity , kvm@vger.kernel.org To: David Ahern Return-path: Received: from mailout-de.gmx.net ([213.165.64.23]:55992 "HELO mailout-de.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1756601Ab2FFST1 (ORCPT ); Wed, 6 Jun 2012 14:19:27 -0400 In-Reply-To: <4FCE10D7.8060707@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On 05.06.2012 15:59, David Ahern wrote: > You need to install the plugins for trace-cmd: > make install_plugins > > you could also try setting: > export TRACE_CMD_PLUGIN_DIR=/path/to/plugins Aha, with that I get more messages: trace-cmd: No such file or directory cound not load plugin '/home/joe/qEmu/trace/trace-cmd/plugin_kvm.so' /home/joe/qemu/trace/trace-cmd/plugin_kvm.so: undefined symbol: ud_translate_att However, during the build process, udis86 is linked in like it should be: [...] gcc -g -Wall -I. '-DPLUGIN_DIR="/usr/local/share/trace-cmd/plugins"' -DHAVE_UDIS86 -ludis86 -DHAVE_BLK_TC_FLUSH -shared -nostartfiles -o plugin_blk.so plugin_blk.o But when looking, I just noticed that it does not appear in the imports $ ldd plugin_kvm.so linux-vdso.so.1 => (0x00007fff3cfff000) libc.so.6 => /lib64/libc.so.6 (0x00007f6429e1c000) /lib64/ld-linux-x86-64.so.2 (0x00007f642a3e4000) Nor do I actually *have* the .so of udis86 in my /usr/lib directory. Gentoo by default just built the static library. Weird! I'll recompile myself and then it'll work for sure. Best regards, Joe