[libvirt] Libvirtd and OSX... with QEMU

Martin Kletzander mkletzan at redhat.com
Mon Jan 18 14:00:20 UTC 2016


On Sun, Jan 17, 2016 at 10:16:54PM +0000, Justin Clift wrote:
>On 17 Jan 2016, at 22:10, Justin Clift <justin at postgresql.org> wrote:
>> On 17 Jan 2016, at 22:04, Justin Clift <justin at postgresql.org> wrote:
>> <snip>
>>> Interestingly on OSX, starting libvirtd (1.3.1) indicates it can see
>>> the installed QEMU.  However, it crashes out shortly afterwards with
>>> a weird error:
>>>
>>> 2016-01-17 22:02:17.159+0000: 18446744073709551615: error : virEventPollRunOnce:648 : Unable to poll on file handles: Bad file descriptor
>>>
>>> Does anyone know what that might be about, and/or how to capture more
>>> meaningful info? :)
>>
>>
>> With debug level logging, although more verbose there's nothing that
>> seems smoking-gun like.  Except maybe this?
>>
>>  2016-01-17 22:07:51.008+0000: 18446744073709551615: debug : virEventPollRunOnce:644 : Poll got error event 9
>>  2016-01-17 22:07:51.008+0000: 18446744073709551615: error : virEventPollRunOnce:648 : Unable to poll on file handles: Bad file descriptor
>>  2016-01-17 22:07:51.008+0000: 18446744073709551615: debug : virNetDaemonRun:703 : Loop iteration error, exiting
>>

So we're passing invalid FDs to poll() function.  I can't think of
anything else than bisection or pausing the process around
vireventpoll.c:644 (the call to poll()) and checking what the FDs point
to, which one is the invalid one and then going back to see how it got
there, what is it, who forgot to delete it and so on.

Did this not happen with the release candidates?  Does it happen every
single start?

>> That's with sudo libvirtd -vl, with tls disabled, tcp enabled, and
>> tcp auth set to none.
>>
>> Can post the entire console log output somewhere if that would help, it's
>> not stupidly long. :)
>
>Debug log here, in case it's useful: :)
>
>https://justinclift.fedorapeople.org/libvirt131/libvirtd131_osx_crash1.log
>
>+ Justin
>
>--
>libvir-list mailing list
>libvir-list at redhat.com
>https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160118/1b8f5ed1/attachment-0001.sig>


More information about the libvir-list mailing list