From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Running KVM inside a chroot Date: Sun, 30 Oct 2011 16:36:09 +0200 Message-ID: <4EAD60D9.4010808@redhat.com> References: <4E9B04FD.5030201@redhat.com> <4E9BFBD2.2000103@redhat.com> <4E9D550F.9030400@redhat.com> <4E9DB75B.8040005@redhat.com> <4E9DBB93.2010704@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Alexander Graf , kvm@vger.kernel.org To: Jorge Lucangeli Obes Return-path: Received: from mx1.redhat.com ([209.132.183.28]:18147 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934035Ab1J3OgP (ORCPT ); Sun, 30 Oct 2011 10:36:15 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 10/20/2011 05:30 AM, Jorge Lucangeli Obes wrote: > >> > >> >> However, running trace-cmd gives: > >> >> > >> >> $ trace-cmd report trace_report > >> >> error reading header for trace_report > >> >> jorgelo@tegan:~/local$ trace-cmd report trace.dat > trace_report2 > >> >> cound not load plugin '/usr/local/share/trace-cmd/plugins/plugin_kvm.so' > >> >> /usr/local/share/trace-cmd/plugins/plugin_kvm.so: undefined symbol: > >> >> ud_translate_att > >> >> > >> > > >> > Looks like udis86 isn't loaded correctly, is it installed in /usr/lib[64]? > >> > >> $ ls /usr/local/lib/libudis* > >> /usr/local/lib/libudis86.a /usr/local/lib/libudis86.la > >> > >> Does "/usr/local/lib" vs "/usr/lib" make a difference? > > > > Shoudn't. I have a .so instead of .a, maybe trace-cmd's Makefile isn't > > prepared for static libraries? > > 'configure' doesn't seem to enable building shared libs by default. I > had to pass '--enable-shared'. Once the shared libs were installed, I > ran 'ldconfig' and the problem was solved. Ok, great. > I've uploaded a new version > of the trace report, now generated without any errors. I see lots of: > > kvm_exit: reason EPT_VIOLATION > > But maybe that's expected. Yes, completely normal. > > https://docs.google.com/leaf?id=0B78o7gMWkuFeNmJlYzNiNWYtMGQ4MS00NzhiLWIyNTMtY2NlNWEzNzQ5NGYx&hl=en_US > > I'll get a trace of the VM outside the chroot to see if there are > noticeable differences. > > Could ksmd have anything to do with this? The daemon is running on my host. > It shouldn't, but worth trying to disable it. -- error compiling committee.c: too many arguments to function