[libvirt] virsh start/list hangs

Bo YU yuzibode at 126.com
Wed Jun 13 13:56:33 UTC 2018


On Wed, Jun 13, 2018 at 03:50:04PM +0200, Michal Privoznik wrote:
>On 06/13/2018 03:45 PM, Bo YU wrote:
>> On Wed, Jun 13, 2018 at 01:54:37PM +0200, Michal Privoznik wrote:
>>> On 06/13/2018 05:00 AM, Bo YU wrote:
>>>> Hello,
>>>> The libvirt is a cool tool, i like it.
>>>
>>> Thank you :-)
>>>
>>>>
>>>> Here is output of strace:
>>>>
>>>
>>> Nothing odd looking here. Can you run 'virsh list', then attach gdb to
>>> libvirtd and run 't a a bt' and share the output please?
>>> I wonder if this is the bug that qemu fixed just recently - are you
>>> running qemu from git too? There was a problem where libvirt deadlocked
>>> when fetching qemu capabilities (so no virsh list, virsh start, .. was
>>> possible). Anyway, this can be confirmed by gdb output.
>> Great!
>> After i git fetch && rebase qemu and recompile it.I satrt my VM with
>> libvirt.
>
>Yeah, it was fixed in qemu just recently (v2.12.0-1193-g0f5319ea25).
Confirmed it.
qemu-system-x86_64  --version
QEMU emulator version 2.12.50 (v2.12.0-1296-g2ab09bf2f9-dirty)
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

>
>> You save my life.  Before you hint me, i fouce my energy on libvirt.
>> But it has differ  with libvirt with apt installed.Does i have to
>> /usr/sbin/libvirtd -d
>> to start libvirt-daemon by hand?
>
>No, we have a systemd unit so you can enable that.
Ok, this is another good message i hear from you.
Thank you!
Bo
>
>Michal




More information about the libvir-list mailing list