From patchwork Sun Jul 10 11:47:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Condrea X-Patchwork-Id: 9222603 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BCA9560572 for ; Sun, 10 Jul 2016 12:04:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9801E1FF65 for ; Sun, 10 Jul 2016 12:04:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8A773212CF; Sun, 10 Jul 2016 12:04:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 29B301FF65 for ; Sun, 10 Jul 2016 12:04:44 +0000 (UTC) Received: from localhost ([::1]:54355 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMDTX-000783-Cp for patchwork-qemu-devel@patchwork.kernel.org; Sun, 10 Jul 2016 08:04:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMDDv-0006Dw-9g for qemu-devel@nongnu.org; Sun, 10 Jul 2016 07:48:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMDDr-0001jh-Th for qemu-devel@nongnu.org; Sun, 10 Jul 2016 07:48:35 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:35986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMDDr-0001ja-NF for qemu-devel@nongnu.org; Sun, 10 Jul 2016 07:48:31 -0400 Received: by mail-wm0-x244.google.com with SMTP id x83so11999438wma.3 for ; Sun, 10 Jul 2016 04:48:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=cIH4gZp2B4VYrt1CJpDcgJoD6CcVtVFVFYf5IwWagyc=; b=GvxLzatZ1pDRAFfBJmiP5a/5GTBPX69cQvmPQwuGuDwtnjXUkSK1/6/BWG1b66zlXZ p9kTiW6usn3YaFnifr/b98Nnq+3207WhmCgmqC4WghgDSh/fMUVTJhOq2jVsb3eMTrgo 2DLX+AhZEYbi5gaNzt74nNY7/w3n1I/AwP3qZtTF4tIJeLqUWojTd1VLbk0TxUjhATgV zTRIFXYHK4Ubqg3j+DvyaLdoSBBLaeB2BjZr5SEUxQbMDeN5YoJaPXRICabjSDx/aG2X 159rL2KCQJweGiybwvwuikXUFAVgmgSadrpt7N2dpfj4vQX94f5GUItEcQAKJMenXGno 45rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=cIH4gZp2B4VYrt1CJpDcgJoD6CcVtVFVFYf5IwWagyc=; b=b8vjdcoICujGa+uZ5PlZ7Tf/6Y5fLFV6ImQ4m4Q3jmJcbGi4cfhYSKavVW5cR9wc3u 1J5+f/IN3EUtEmfxplaaKR7L4wkkWAnilMvTJfbdtFIEAMMV/ZE/bElY1vrkh1jDWIUk Y5OIKuK/rWvrRDRKPociLMttxngUpuITF/dLlGDukV9k1viVUEefKPo4bwyO9bO3Pvm1 jFJlUcdib0kxSV2exbsCMQeRhbOoDqhCk/608rqWDZvUbCqGBgTteW+i5a92ft7gpSsZ i4OomyIqtCJfkhAo2KNYIejbXnhCdBzFeq97ZlRUX2j63/gVRhHF4dF3JN8l9mTcQaxc nqKw== X-Gm-Message-State: ALyK8tJlaKNHlCM7X5XY441u4D8v1LVMxtoQbLeyyQe3F8LgBv20CvFCnJq5xGw5oAtTHw== X-Received: by 10.28.152.202 with SMTP id a193mr7161255wme.98.1468151310214; Sun, 10 Jul 2016 04:48:30 -0700 (PDT) Received: from localhost.localdomain ([79.112.8.37]) by smtp.gmail.com with ESMTPSA id d137sm6888378wmd.12.2016.07.10.04.48.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 10 Jul 2016 04:48:29 -0700 (PDT) From: Emil Condrea To: qemu-devel@nongnu.org Date: Sun, 10 Jul 2016 14:47:43 +0300 Message-Id: <1468151270-12984-13-git-send-email-emilcondrea@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1468151270-12984-1-git-send-email-emilcondrea@gmail.com> References: <1468151270-12984-1-git-send-email-emilcondrea@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::244 Subject: [Qemu-devel] [PATCH 12/19] xen: Rename xen_be_frontend_changed X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: wei.liu2@citrix.com, stefanb@linux.vnet.ibm.com, stefano.stabellini@eu.citrix.com, xen-devel@lists.xen.org, quan.xu@intel.com, dgdegra@tycho.nsa.gov, emilcondrea@gmail.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP xen_be_frontend_changed -> xen_fe_frontend_changed Signed-off-by: Emil Condrea --- hw/xen/xen_backend.c | 2 +- hw/xen/xen_frontend.c | 4 ++-- include/hw/xen/xen_frontend.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/xen/xen_backend.c b/hw/xen/xen_backend.c index 9efe4b9..d0e3f50 100644 --- a/hw/xen/xen_backend.c +++ b/hw/xen/xen_backend.c @@ -262,7 +262,7 @@ static int xen_be_try_setup(struct XenDevice *xendev) xen_be_set_state(xendev, XenbusStateInitialising); xen_be_backend_changed(xendev, NULL); - xen_be_frontend_changed(xendev, NULL); + xen_fe_frontend_changed(xendev, NULL); return 0; } diff --git a/hw/xen/xen_frontend.c b/hw/xen/xen_frontend.c index 474c74a..6b92cf1 100644 --- a/hw/xen/xen_frontend.c +++ b/hw/xen/xen_frontend.c @@ -38,7 +38,7 @@ int xenstore_read_fe_uint64(struct XenDevice *xendev, const char *node, uint64_t return xenstore_read_uint64(xendev->fe, node, uval); } -void xen_be_frontend_changed(struct XenDevice *xendev, const char *node) +void xen_fe_frontend_changed(struct XenDevice *xendev, const char *node) { int fe_state; @@ -83,6 +83,6 @@ void xenstore_update_fe(char *watch, struct XenDevice *xendev) } node = watch + len + 1; - xen_be_frontend_changed(xendev, node); + xen_fe_frontend_changed(xendev, node); xen_be_check_state(xendev); } diff --git a/include/hw/xen/xen_frontend.h b/include/hw/xen/xen_frontend.h index ae587e1..5d03f4e 100644 --- a/include/hw/xen/xen_frontend.h +++ b/include/hw/xen/xen_frontend.h @@ -8,6 +8,6 @@ int xenstore_read_fe_int(struct XenDevice *xendev, const char *node, int *ival); int xenstore_read_fe_uint64(struct XenDevice *xendev, const char *node, uint64_t *uval); void xenstore_update_fe(char *watch, struct XenDevice *xendev); -void xen_be_frontend_changed(struct XenDevice *xendev, const char *node); +void xen_fe_frontend_changed(struct XenDevice *xendev, const char *node); #endif /* QEMU_HW_XEN_FRONTEND_H */