xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Mathieu Tarral <mathieu.tarral@protonmail.com>
To: xen-devel <xen-devel@lists.xenproject.org>
Subject: [Libvirt] Failed to get udev device for syspath '/sys/devices/virtual/dmi/id'
Date: Wed, 23 Sep 2020 14:09:11 +0000	[thread overview]
Message-ID: <WBFXzWm02qaMoLNSOnDbHmebQchJ7xMXXT6ocR4SZ-6Pw8VClueBmTcHS3xHg_vttQRPdwdaHeNGskEHxHPETSSY03En7rejlTQ4lXhjlZk=@protonmail.com> (raw)

Hi,

I'm facing an issue with libvirt and the LIBXL driver, failing when searching for DMI data in /sys.

info : libvirt version: 5.0.0, package: 4+deb10u1 (Guido Günther <agx@sigxcpu.org> Thu, 05 Dec 2019 00:22:14 +0100)
error : udevGetDMIData:1719 : internal error: Failed to get udev device for syspath '/sys/devices/virtual/dmi/id' or '/sys/class/dmi/id'
error : libxlDriverConfigNew:1803 : Unable to configure libxl's memory management parameters
error : virStateInitialize:662 : Initialization of LIBXL state driver failed: internal error: Failed to get udev device for syspath '/sys/devices/virtual/dmi/id' or '/sys/class/dmi/id'
error : daemonRunStateInit:799 : Driver state initialization failed

The relevant function udevGetDMIData in libvirt:
https://github.com/libvirt/libvirt/blob/cb09344a2cccc0cc9bcefa3cb53d7af45ba92631/src/node_device/node_device_udev.c#L1726

I don't understand what's happening, as this initialization failure only happens when I boot on the Xen kernel.
Also, the /sys/class/dmi* paths are not exposed on Xen. (should they ?)

Note: Running on Xen 4.12.1

Any ideas ?

Thanks !


                 reply	other threads:[~2020-09-23 14:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='WBFXzWm02qaMoLNSOnDbHmebQchJ7xMXXT6ocR4SZ-6Pw8VClueBmTcHS3xHg_vttQRPdwdaHeNGskEHxHPETSSY03En7rejlTQ4lXhjlZk=@protonmail.com' \
    --to=mathieu.tarral@protonmail.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).