From nobody Sun Apr 28 20:05:36 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 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=1579503657; cv=none; d=zohomail.com; s=zohoarc; b=g2G/kZVqN1dz+EcSO9uVjJDGVuuavFY/Mh8TSPFasRTM6fwcxlB5C99VDv0X5CS839FNocj3BSSrJGOmjYeU6iwV+VVQdKdL/SHYWa3j66Amr0olxav5F3Uw5tzkOQwhUpM/P6CjFXbjR+gaVW/vWe5DLs9jAfL1eCGplk6oTZw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1579503657; 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=DeI+X9AXLjzvnIwyyrOeDuZmwq7EefFlV5LlUlw9L9I=; b=kiE/j8E1MTpnJ94a1AX4MairhiWJArFTAQjFkxcwyqL9iuvd22TlIT8MeOsV7mYcKCYx8QeXCEppH9SUTTjx/auW/AAB9VYPmdk1JrI0IQE0xXtXfoDWrQPxTcM35RO4euvKa2WdQEoDxGM+H6hfiC12e08kmvTByBXI6M03teI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 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-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 157950365711918.83973219578354; Sun, 19 Jan 2020 23:00:57 -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-353-9DODauYCP-iMYMreYndEIQ-1; Mon, 20 Jan 2020 02:00:54 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1D636800D48; Mon, 20 Jan 2020 07:00:48 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F16411001901; Mon, 20 Jan 2020 07:00:45 +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 8C19318089CD; Mon, 20 Jan 2020 07:00:39 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 00K70c6i024637 for ; Mon, 20 Jan 2020 02:00:38 -0500 Received: by smtp.corp.redhat.com (Postfix) id D51DE383; Mon, 20 Jan 2020 07:00:38 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.43.2.17]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5D17527BDC for ; Mon, 20 Jan 2020 07:00:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579503655; 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=DeI+X9AXLjzvnIwyyrOeDuZmwq7EefFlV5LlUlw9L9I=; b=EoZZfUArMdCohWwlffuSvhHPhCx5yQ0O6L0FPE2kZ2csyWTHl18OD6vsqqw++PrClFmS+G /RcJalQH/SP1iUabuVUjvKVbhSy7y2+fXwzVaTfaBf2OYKeAkBr4hAfw3uVqVyxNF6IVnu zUyTS0h6k43aIYncRBiRZG2E5Uh/meI= From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH] qemu: end the agent job in qemuDomainSetTimeAgent Date: Mon, 20 Jan 2020 08:01:41 +0100 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 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.84 on 10.5.11.22 X-MC-Unique: 9DODauYCP-iMYMreYndEIQ-1 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" This function grabs an agent job but ends a monitor job. End the agent job instead. https://bugzilla.redhat.com/show_bug.cgi?id=3D1792723 Signed-off-by: J=C3=A1n Tomko Reported-by: Dan Zheng Fixes: e005c95f56fee9ed780be7f8db103d690bd34cbd --- src/qemu/qemu_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 7e379fe83a..2f66d7cd9a 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -20464,7 +20464,7 @@ qemuDomainSetTimeAgent(virQEMUDriverPtr driver, qemuDomainObjExitAgent(vm, agent); =20 endjob: - qemuDomainObjEndJob(driver, vm); + qemuDomainObjEndAgentJob(vm); return ret; } =20 --=20 2.21.0