[libvirt PATCH] src: fix generation of default resource partition
Michal Prívozník
mprivozn at redhat.com
Thu Aug 26 13:31:39 UTC 2021
On 8/25/21 4:43 PM, Pavel Hrdina wrote:
> Now that resource structure can have appid as well we need to adapt code
> that creates default resource partition if not provided by user.
> Otherwise starting a VM with appid defined would fail with following
> error:
>
> error: unsupported configuration: Resource partition '(null)' must start with '/'
>
> Fixes: 38b5f4faabccf681439d99e5394954c6ef7a5a40
> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> ---
> src/lxc/lxc_process.c | 10 ++++------
> src/qemu/qemu_cgroup.c | 12 ++++--------
> 2 files changed, 8 insertions(+), 14 deletions(-)
Reviewed-by: Michal Privoznik <mprivozn at redhat.com>
Michal
More information about the libvir-list
mailing list