On Fri, Jul 06, 2012 at 04:06:13PM +0100, Daniel P. Berrange wrote:
On Fri, Jul 06, 2012 at 03:51:58PM +0100, Richard W.M. Jones wrote:
>
> Here is the output of virsh capabilities. It seems to make no sense.
> But it might indicate that something about detection of the
> qemu-kvm-1.1.0 binary fails, so libvirt assumes that it's not working.
With luck libvirt should have said what's wrong via syslog. Can
you see if there were any log messages ?
Ah, thanks, I was looking in /var/log/libvirt/libvirtd.log. Here is
syslog from the point that I restart libvirtd:
Jul 6 16:07:54 spin libvirtd: Could not find keytab file: /etc/libvirt/krb5.tab: No such
file or directory
Jul 6 16:07:56 spin libvirtd[2157]: 2012-07-06 15:07:56.745+0000: 2172: info : libvirt
version: 0.9.11.4, package: 3.fc17 (Fedora Project, 2012-06-28-13:50:28,
x86-05.phx2.fedoraproject.org)
Jul 6 16:07:56 spin libvirtd[2157]: 2012-07-06 15:07:56.745+0000: 2172: error :
virCommandWait:2315 : internal error Child process (LC_ALL=C
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin /usr/bin/qemu-system-x86_64 -device
? -device pci-assign,? -device virtio-blk-pci,? -device virtio-net-pci,? -device
scsi-disk,?) status unexpected: exit status 1
Jul 6 16:07:56 spin libvirtd[2157]: 2012-07-06 15:07:56.811+0000: 2172: error :
virCommandWait:2315 : internal error Child process (LC_ALL=C
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin /usr/bin/qemu-system-x86_64 -device
? -device pci-assign,? -device virtio-blk-pci,? -device virtio-net-pci,? -device
scsi-disk,?) status unexpected: exit status 1
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.087+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.087+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.087+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.088+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.088+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.088+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.088+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.088+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.089+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.089+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.089+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.089+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.089+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.090+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.090+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.090+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.090+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.091+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.091+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.091+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.091+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.091+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.092+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin libvirtd[2157]: 2012-07-06 15:07:57.092+0000: 2172: error :
virDomainDefParseXML:8249 : internal error No guest options available for arch
'x86_64'
Jul 6 16:07:57 spin udevd[499]: RUN+="socket:..." support will be removed from
a future udev release. Please remove it from: /etc/udev/rules.d/90-hal.rules:2 and use
libudev to subscribe to events.
Jul 6 16:07:57 spin udevd[499]: RUN+="socket:..." support will be removed from
a future udev release. Please remove it from: /etc/udev/rules.d/90-hal.rules:2 and use
libudev to subscribe to events.
The full output of that failing command is:
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
/usr/bin/qemu-system-x86_64 -device ? -device pci-assign,? -device virtio-blk-pci,?
-device virtio-net-pci,? -device scsi-disk,?
KVM not supported for this target
No accelerator found!
Adding the option '-machine accel=kvm:tcg' fixes the output.
A quick look through upstream libvirt commits doesn't come up with
anything obvious.
BTW I think (for libvirt AND libguestfs) we'd find these bugs a lot
quicker if Rawhide tracked qemu-kvm git revisions more closely.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw