Re: Running KVM inside a chroot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux