[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] libvirt fails to start guest with latest code checkins
From: |
Anthony Liguori |
Subject: |
Re: [Qemu-devel] libvirt fails to start guest with latest code checkins |
Date: |
Fri, 01 Feb 2013 18:09:07 -0600 |
User-agent: |
Notmuch/0.13.2+93~ged93d79 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) |
Bruce Rogers <address@hidden> writes:
> >>> On 2/1/2013 at 03:16 PM, Anthony Liguori <address@hidden> wrote:
>> Bruce Rogers <address@hidden> writes:
>>
>>> I get the following error message starting a linux guest via
>>> libvirt with the latest qemu git head:
>>>
>>> brogers2:/ # virsh start sles11
>>> error: Failed to start domain sles11
>>> error: internal error process exited while connecting to monitor: WARNING:
>> failed to find acpi-dsdt.aml
>>> qemu-kvm: -device
>> virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:59:31:da,bus=pci.0,addr
>> =0x3: Property 'virtio-net-pci.netdev' can't find value 'hostnet0'
>>>
>>> I bisected it to this commit:
>>
>> Can you provide full details and logs? I cannot reproduce this with a
>> simple invocation.
>>
>> The 'qemu-kvm:' suffix suggests that you aren't just using a straight
>> qemu.git. Are you carrying any patches that may be affecting this?
>
> No patches are applied to qemu-system-x86_64 as tested. (I just renamed
> it to qemu-kvm and put it in /usr/bin for libvirt to find easily).
Okay, I think I fixed this problem. Patch is coming through the tubes.
I'll make sure to include it for -rc0.
Thanks for the report!
Regards,
Anthony Liguori
>
> Here is the invocation by libvirt, as recorded in
> /var/log/libvirt/qemu/<vmname>:
> 2013-02-01 21:35:45.597+0000: starting up
> LC_ALL=C
> PATH=/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin
> HOME=/root USER=root LOGNAME=root TMPDIR=/tmp QEMU_AUDIO_DRV=none
> /usr/bin/qemu-kvm -name sles11 -S -M pc -cpu
> core2duo,+lahf_lm,+pdcm,+xtpr,+cx16,+tm2,+est,+vmx,+ds_cpl,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds
> -enable-kvm -m 512 -smp 2,sockets=2,cores=1,threads=1 -uuid
> 36975709-16ae-85e0-c90f-09eb4ec7dec3 -no-user-config -nodefaults -chardev
> socket,id=charmonitor,path=/var/lib/libvirt/qemu/sles11.monitor,server,nowait
> -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown
> -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive
> file=/var/lib/kvm/images/sles11/disk0.raw,if=none,id=drive-virtio-disk0,format=raw
> -device
> virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
> -drive if=none,id=drive-ide0-0-0,readonly=on,format=raw -device
> ide-cd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -netdev
> tap,fd=18,id=hostnet0 -device
> virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:59:31:da,bus=pci.0,addr=0x3
> -vnc 127.0.0.1:0 -vga cirrus -device
> virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
> WARNING: failed to find acpi-dsdt.aml
> qemu-kvm: -device
> virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:59:31:da,bus=pci.0,addr=0x3:
> Property 'virtio-net-pci.netdev' can't find value 'hostnet0'
> 2013-02-01 21:35:46.491+0000: shutting down
>
> Bruce