<div dir="ltr"><div>I understand about it being tough to support over a self-build issue - I suppose I can only offer reassurance this node is about my twentieth self-build in my farm right now and all are done according to a script with the same options. (This is the first one that refused to run. It's sister server (also an old Dell 2950,) is having the exact same problem, and even on the CentOS provided builds.) I'm also making sure 1.7.1 / 2.0.0 are working with my build (they are, on a Poweredge 610, with the same options.) I am utterly convinced that these two servers are haunted, as the iDracs on these things also flatly don't work.<br>
<br></div>Thanks for your response - much appreciated.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 16, 2014 at 12:53 PM, Eric Blake <span dir="ltr"><<a href="mailto:eblake@redhat.com" target="_blank">eblake@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 06/16/2014 08:25 AM, andy zerger wrote:<br>
> Hi all -<br>
><br>
> I'm dealing with a libvirt 1.2.5 and Qemu-1.7.1 also Qemu-2.0 (all source<br>
> compile,) which somehow isn't seeing any hypervisors when connected to via<br>
> virt-manager.<br>
<br>
</div>A good thing to try is whether 'virsh -c qemu:///system list --all'<br>
shows anything; debugging a command-line test can be easier than<br>
debugging a gui not listing anything.<br>
<div class=""><br>
><br>
> I'm sure I must be doing something wrong but cannot figure out what. My<br>
> basic config and current state here in pastebin:<br>
> <a href="http://pastebin.com/m5M8PfFC" target="_blank">http://pastebin.com/m5M8PfFC</a><br>
<br>
</div>pastebin is not permanent.  When your posting expires, someone<br>
revisiting this thread in the mail list archives will have no idea what<br>
you were seeing.  So I'm reproducing it here:<br>
<br>
> ./configure --target-list=x86_64-linux-user --enable-kvm --sysconfdir=/etc/libvirt --localstatedir=/var;<br>
<br>
This is not the same set of configure options as what is used by the rpm<br>
package shipped in CentOS.  As a result, if you have any mismatch<br>
between the distro build and your self-build, things tend not to connect<br>
to the right server.<br>
<br>
Libvirt's autogen.sh has a --system flag that sets up the following<br>
configure arguments, which tends to work better out-of-the-box for<br>
replacing a Fedora-based distro build with a self-build:<br>
<br>
  if test "x$1" = "x--system"; then<br>
    shift<br>
    prefix=/usr<br>
    libdir=$prefix/lib<br>
    sysconfdir=/etc<br>
    localstatedir=/var<br>
    if [ -d /usr/lib64 ]; then<br>
      libdir=$prefix/lib64<br>
    fi<br>
    EXTRA_ARGS="--prefix=$prefix --sysconfdir=$sysconfdir<br>
--localstatedir=$localstatedir --libdir=$libdir"<br>
<br>
<br>
><br>
> [root@10-3-1-35 qemu_images]# lsmod<br>
> Module                  Size  Used by<br>
> kvm_amd                41702  0<br>
> kvm                   316506  1 kvm_amd<br>
><br>
> [root@10-3-1-35 qemu_images]# ls -l /dev/kvm<br>
> crw-rw----. 1 root root 10, 232 Jun 16 09:13 /dev/kvm<br>
<br>
This looks fishy; /dev/kvm should be 0666, not 0660.<br>
<br>
><br>
> [root@10-3-1-35 qemu-1.7.1]# which qemu-x86_64<br>
> /usr/local/bin/qemu-x86_64<br>
<br>
Again, an issue of self-built binaries not being in the same location as<br>
the distro defaults, so I'm not sure if you have configured everything<br>
to work well with this location.<br>
<br>
><br>
> [root@10-3-1-35 qemu_images]# qemu-x86_64<br>
> usage: qemu-x86_64 [options] program [arguments...]<br>
> Linux CPU emulator (compiled for x86_64 emulation)<br>
><br>
> [root@10-3-1-35 qemu-1.7.1]# cat /etc/redhat-release<br>
> CentOS release 6.5 (Final)<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Eric Blake   eblake redhat com    <a href="tel:%2B1-919-301-3266" value="+19193013266">+1-919-301-3266</a><br>
Libvirt virtualization library <a href="http://libvirt.org" target="_blank">http://libvirt.org</a><br>
<br>
</font></span></blockquote></div><br></div>