From nobody Sun Feb 8 05:07:47 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1596551851; cv=none; d=zohomail.com; s=zohoarc; b=KYZyRR2YhK8rd0rDahkxtO/RoZYNlB3CrAzwpM+F46OwhiGTgQuSZLthxRNlyaJue1ggGRAAitlUN2TFDRytHqE/1Y1M0Dmo4/RX++DyfxhvgrjD34IRww/RBnayfjQEGPIOjJqqxwR6SBsXAZ5rAH4m0A+fQ7rTqIbr/URsBXc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1596551851; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=aQQ+OYDfM+IEd/TuDWk+4Pw84PnZ0Z+20Wtk+sX+lkA=; b=OhcJkMKaEmf9Lkd7LMxyY8z7+gy5gxYbcjbwlyVPHIaiWp/nxPBPxi4GKpRlQMnI4bAgjZ2I4SabZyuJDhjkKQ0s84ZwdnGRHhSwxPkineBstrrWF5gnpNpb+KslzPvFYkVJIM+nvIdE9Pym1kZCVhUKmZMMKmK6X3rSF9m2Xq4= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1596551851101602.884636921689; Tue, 4 Aug 2020 07:37:31 -0700 (PDT) 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-325-LAIdczGOPrCcUjyhNm8iSw-1; Tue, 04 Aug 2020 10:37:27 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2D6DF100A614; Tue, 4 Aug 2020 14:37:22 +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 0D3052857D; Tue, 4 Aug 2020 14:37:22 +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 CED4BA35BB; Tue, 4 Aug 2020 14:37:21 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 074EbKWL012704 for ; Tue, 4 Aug 2020 10:37:20 -0400 Received: by smtp.corp.redhat.com (Postfix) id 3685C2157F23; Tue, 4 Aug 2020 14:37:20 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast01.extmail.prod.ext.rdu2.redhat.com [10.11.55.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 131222166B28 for ; Tue, 4 Aug 2020 14:37:20 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id DD4CB8A1990 for ; Tue, 4 Aug 2020 14:37:19 +0000 (UTC) Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-187-vEaKqBw7PrqrAE_e3ce0Sg-1; Tue, 04 Aug 2020 10:37:16 -0400 Received: by mail-pg1-f182.google.com with SMTP id s15so10709423pgc.8 for ; Tue, 04 Aug 2020 07:37:16 -0700 (PDT) Received: from localhost.localdomain ([116.72.90.2]) by smtp.gmail.com with ESMTPSA id z3sm3076577pjn.32.2020.08.04.07.37.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Aug 2020 07:37:14 -0700 (PDT) X-MC-Unique: LAIdczGOPrCcUjyhNm8iSw-1 X-MC-Unique: vEaKqBw7PrqrAE_e3ce0Sg-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aQQ+OYDfM+IEd/TuDWk+4Pw84PnZ0Z+20Wtk+sX+lkA=; b=eqXtkKDGgd5Z4aOCTjYIE2OlKlu3ogHtVjn9nqRWZQIgJkEInyJnxfjTMpXy43fjDU pvjtt86y6v+WfornmkLPXrOh9yCFSZaTCoTa1YgHvGqwER/Hwb+MsUczLxXvaMyoQtzu rsFJJkyaRhjSCjhGAcY7xV4Nh5KLf7zqH5XrmXsDvIgKGc0D6X6mcoTGxbcccft8bnGs 020bvnFETp8SR+/C2LfboqhmfZokfa35q8EDRXJOqPAa93a4+asgHH/9PoHElQJiZ83c oVyaTLtO3HmDNiW8Uw6nruBiBWN6x5GUSfTeQa+Vt/PnEhpHDDZiNtE72H5d0w5KSriE Nj/Q== X-Gm-Message-State: AOAM530EurEo1c2qG2TWF1sCXmhXbedqyB0SW/+Ne+3aMvhgvVFK6RJo 2/fhJSIqfje65APLn+8eQ5Abz8H6plE= X-Google-Smtp-Source: ABdhPJzAkpgmN+2cjQhYgLew1+4XBGvWbl/jbG2w2JLWsWu+5/dP04pVTv3bCdzI8NI3Lum3rXIkkA== X-Received: by 2002:a65:6289:: with SMTP id f9mr11751760pgv.272.1596551835045; Tue, 04 Aug 2020 07:37:15 -0700 (PDT) From: Prathamesh Chavan To: libvir-list@redhat.com Subject: [GSoC][PATCH 4/7] qemu_domain: funciton declarations moved to correct file Date: Tue, 4 Aug 2020 20:06:46 +0530 Message-Id: <20200804143649.93703-5-pc44800@gmail.com> In-Reply-To: <20200804143649.93703-1-pc44800@gmail.com> References: <20200804143649.93703-1-pc44800@gmail.com> MIME-Version: 1.0 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false; X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-loop: libvir-list@redhat.com Cc: Prathamesh Chavan 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.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Functions `qemuDomainRemoveInactiveJob` and `qemuDomainRemoveInactiveJobLocked` had their declaration mispalced in `qemu_domainjob` and were moved to `qemu_domain`. Signed-off-by: Prathamesh Chavan Reviewed-by: Erik Skultety --- src/qemu/qemu_domain.h | 6 ++++++ src/qemu/qemu_domainjob.h | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/qemu/qemu_domain.h b/src/qemu/qemu_domain.h index a247629c17..2cc10a30a4 100644 --- a/src/qemu/qemu_domain.h +++ b/src/qemu/qemu_domain.h @@ -540,6 +540,12 @@ struct _qemuDomainJobPrivate { }; =20 =20 +void qemuDomainRemoveInactiveJob(virQEMUDriverPtr driver, + virDomainObjPtr vm); + +void qemuDomainRemoveInactiveJobLocked(virQEMUDriverPtr driver, + virDomainObjPtr vm); + void qemuDomainEventEmitJobCompleted(virQEMUDriverPtr driver, virDomainObjPtr vm); =20 diff --git a/src/qemu/qemu_domainjob.h b/src/qemu/qemu_domainjob.h index ee71ae77e8..437a27f74a 100644 --- a/src/qemu/qemu_domainjob.h +++ b/src/qemu/qemu_domainjob.h @@ -197,12 +197,6 @@ int qemuDomainObjRestoreJob(virDomainObjPtr obj, void qemuDomainObjDiscardAsyncJob(virDomainObjPtr obj); void qemuDomainObjReleaseAsyncJob(virDomainObjPtr obj); =20 -void qemuDomainRemoveInactiveJob(virQEMUDriverPtr driver, - virDomainObjPtr vm); - -void qemuDomainRemoveInactiveJobLocked(virQEMUDriverPtr driver, - virDomainObjPtr vm); - bool qemuDomainTrackJob(qemuDomainJob job); =20 void qemuDomainObjFreeJob(qemuDomainJobObjPtr job); --=20 2.25.1