From nobody Mon May 6 11:05:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1614006616; cv=none; d=zohomail.com; s=zohoarc; b=mZsrJuBKB8VcIz6Z23YUQ0HiBgzCpoaZOypMxdgqlraqcEqOhOFh7py9LljEKYUPZ9KxzE+pcJTDDSBMCF8oZc+nuhrT5y/+z5XEdx3cjcN+PO3frdbcYaYUZxDwdORn7dRSsVw2WgS84ZlGu489WhZBy1UExTtwMddC0Q9EgYU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1614006616; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=VlFsYAxzILZskMpJpWTHtZacxm/kAlBT/ia0SccvNLM=; b=VZrRPvp0gQ8MAt2hpLjtckN3RXupldY7VepwrkQssIU3llE/tGJocC6ZUUliWlEHBHFcaUTVlIW8EIFmYCUrfP7Cnt64BESAPXXYkaoy56MpJYVZOS1k7d+G0v2HmVQqIoq9qpb55QbGKJVSQLnbzslK4LUv2sGP5y/7vsc3bbc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1614006615764254.87837327170246; Mon, 22 Feb 2021 07:10:15 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-585-UXDV-AoOMFCfR53fBjfQ2A-1; Mon, 22 Feb 2021 10:10:12 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BDD61195D562; Mon, 22 Feb 2021 15:10:05 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5B8865C1BD; Mon, 22 Feb 2021 15:10:05 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 34E6957DFA; Mon, 22 Feb 2021 15:10:03 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 11MFA1bY006087 for ; Mon, 22 Feb 2021 10:10:01 -0500 Received: by smtp.corp.redhat.com (Postfix) id E278510016FC; Mon, 22 Feb 2021 15:10:01 +0000 (UTC) Received: from antique-work.lan (unknown [10.40.192.13]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5D26710016FA for ; Mon, 22 Feb 2021 15:09:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1614006614; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=VlFsYAxzILZskMpJpWTHtZacxm/kAlBT/ia0SccvNLM=; b=P9tiB2xF0w3/gTnf/XZZjAgkTVVvjGJMR406nQPzL6cB7agjqnZcgOd9Hp4y5TgXEGrzUX IMU4s1zt5tIIKkAXmimlgmfkCPOr53fB4O7MqpdU9xmNx9x8RlagPUQQQsIzHamFh5N4fu pF99+yp9i7PBMkyINapLUKvtC8Nkvuk= X-MC-Unique: UXDV-AoOMFCfR53fBjfQ2A-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH] NEWS: mention cgroups on hosts with systemd bug fix Date: Mon, 22 Feb 2021 16:09:57 +0100 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Pavel Hrdina --- NEWS.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index bee49923a5..eac86d8a4e 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -71,6 +71,23 @@ v7.1.0 (unreleased) of relying on ``VIR_DOMAIN_SNAPSHOT_CREATE_QUIESCE`` if they need finer grained control. =20 + * cgroups: Fix how we setup and configure cgroups on hosts with systemd + + When libvirt is running on host with systemd we register every VM with + machined which creates the VM root cgroup for us as well. Before this = fix + we were directly modifying files in the VM root cgroup which was incor= rect + because all the files are managed by systemd. The implication was that= any + change done by libvirt to cgroup attributes supported by systemd could= be + removed which happens for example by running ``systemctl daemon-reload= ``. + + To fix the issue libvirt now uses DBus calls for some of the cgroup + attributes that distributes the resources proportionally to the cgroup + siblings and for the rest we have new sub-cgroup that libvirt can mana= ged + directly. + + For more details why this is necessary see + `systemd cgroug `_ documentatio= n. + =20 v7.0.0 (2021-01-15) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=20 2.29.2