[libvirt] virsh start/list hangs

Michal Privoznik mprivozn at redhat.com
Wed Jun 13 13:50:04 UTC 2018


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).

> 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.

Michal




More information about the libvir-list mailing list