[PATCH] contrib/systemd: use BindsTo in qemu-guest-agent.service

malike posted 1 patch 1 month, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260929060653.445985-1-malike@kylinos.cn
Maintainers: Michael Roth <michael.roth@amd.com>, Kostiantyn Kostiuk <kkostiuk@redhat.com>
contrib/systemd/qemu-guest-agent.service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] contrib/systemd: use BindsTo in qemu-guest-agent.service
Posted by malike 1 month, 3 weeks ago
The qemu-guest-agent systemd unit uses the old BindTo= directive
name. systemd renamed BindTo= to BindsTo=, so use the current
directive name here.

systemd commit 7f2cdda committed on Jul 14, 2012:
unit: rename BindTo= to BindsTo=

Fixes: 2ba60ec17518 ("contrib: add systemd unit files")
Signed-off-by: malike <malike@kylinos.cn>
---
 contrib/systemd/qemu-guest-agent.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/systemd/qemu-guest-agent.service b/contrib/systemd/qemu-guest-agent.service
index 51cd7b37ff..59f7ecb1b8 100644
--- a/contrib/systemd/qemu-guest-agent.service
+++ b/contrib/systemd/qemu-guest-agent.service
@@ -1,6 +1,6 @@
 [Unit]
 Description=QEMU Guest Agent
-BindTo=dev-virtio\x2dports-org.qemu.guest_agent.0.device
+BindsTo=dev-virtio\x2dports-org.qemu.guest_agent.0.device
 After=dev-virtio\x2dports-org.qemu.guest_agent.0.device
 
 [Service]
-- 
2.25.1
Re: [PATCH] contrib/systemd: use BindsTo in qemu-guest-agent.service
Posted by Marc-André Lureau 1 month, 3 weeks ago
On Tue, Sep 29, 2026 at 10:08 AM malike <malike@kylinos.cn> wrote:
>
> The qemu-guest-agent systemd unit uses the old BindTo= directive
> name. systemd renamed BindTo= to BindsTo=, so use the current
> directive name here.
>
> systemd commit 7f2cdda committed on Jul 14, 2012:
> unit: rename BindTo= to BindsTo=
>
> Fixes: 2ba60ec17518 ("contrib: add systemd unit files")
> Signed-off-by: malike <malike@kylinos.cn>

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>

> ---
>  contrib/systemd/qemu-guest-agent.service | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/contrib/systemd/qemu-guest-agent.service b/contrib/systemd/qemu-guest-agent.service
> index 51cd7b37ff..59f7ecb1b8 100644
> --- a/contrib/systemd/qemu-guest-agent.service
> +++ b/contrib/systemd/qemu-guest-agent.service
> @@ -1,6 +1,6 @@
>  [Unit]
>  Description=QEMU Guest Agent
> -BindTo=dev-virtio\x2dports-org.qemu.guest_agent.0.device
> +BindsTo=dev-virtio\x2dports-org.qemu.guest_agent.0.device
>  After=dev-virtio\x2dports-org.qemu.guest_agent.0.device
>
>  [Service]
> --
> 2.25.1
>
>


-- 
Marc-André Lureau