]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Do not probe for power mgmt capabilities in lxc emulator
authorJán Tomko <jtomko@redhat.com>
Fri, 31 Oct 2014 09:02:22 +0000 (10:02 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 4 Nov 2014 12:40:45 +0000 (13:40 +0100)
commit7ead1a5d91a93b5614deeef7b0227bffcea9740d
tree54d2644c8c16115bbbf42fc20bd61a5829dbc3d9
parent3f43bb832646588f57303f09fe5c7ac8ba7602d8
Do not probe for power mgmt capabilities in lxc emulator

It fails after 30 seconds with this error:
error : virDBusCall:1429 : error from service: CanSuspend:
Did not receive a reply. Possible causes include: the remote
application did not send a reply, the message bus security
policy blocked the reply, the reply timeout expired, or the
network connection was broken.

Only probe for the power mgmt capabilities when driver is non-NULL.
This speeds up domain startup by 30 seconds.

https://bugzilla.redhat.com/show_bug.cgi?id=1159227
src/lxc/lxc_conf.c