mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Add API for calling systemd-machined's DBus API
To register virtual machines and containers with systemd-machined, and thus have cgroups auto-created, we need to talk over DBus. This is somewhat tedious code, so introduce a dedicated function to isolate the DBus call in one place. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
@@ -119,6 +119,7 @@ typedef enum {
|
||||
VIR_FROM_CGROUP = 54, /* Error from cgroups */
|
||||
|
||||
VIR_FROM_ACCESS = 55, /* Error from access control manager */
|
||||
VIR_FROM_SYSTEMD = 56, /* Error from systemd code */
|
||||
|
||||
# ifdef VIR_ENUM_SENTINELS
|
||||
VIR_ERR_DOMAIN_LAST
|
||||
|
||||
Reference in New Issue
Block a user