From patchwork Tue Oct 4 06:43:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Condrea X-Patchwork-Id: 9361195 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 6B974607D8 for ; Tue, 4 Oct 2016 06:45:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A3EF28494 for ; Tue, 4 Oct 2016 06:45:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4ED44285C2; Tue, 4 Oct 2016 06:45:35 +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 EB88828494 for ; Tue, 4 Oct 2016 06:45:34 +0000 (UTC) Received: from localhost ([::1]:40438 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brJTq-00023l-0W for patchwork-qemu-devel@patchwork.kernel.org; Tue, 04 Oct 2016 02:45:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brJTF-0001yj-08 for qemu-devel@nongnu.org; Tue, 04 Oct 2016 02:44:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brJTC-00061Q-Ha for qemu-devel@nongnu.org; Tue, 04 Oct 2016 02:44:55 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:33168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brJTC-000615-9z for qemu-devel@nongnu.org; Tue, 04 Oct 2016 02:44:54 -0400 Received: by mail-wm0-x244.google.com with SMTP id p138so18018414wmb.0 for ; Mon, 03 Oct 2016 23:44:54 -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=Djst78dRlYrW8AbDHQtyf4SD0UMLGkzOZNNnaiQfVvE=; b=tsR/QX97ttNFVIMjcFDgqHFFLR0XQCp0vknR2UVJDpkTth24LuaCcf8mK7iReObOCy lPuDlcSpxQWSYfBf8RADx1y3h9RWk6uS4PsOKKmGQZQ/ukxpZx6B9wlbOd+D/gbFtvlF eD2V2UHOOs+zCrm8J4fbGgCzKPrdv29VAAaup4fsSmQIkFk7DwN29bll2kKtaOzIXQBb pnjfL2yMjL91hOVBQjJ3T+k9lzfIU6jrTf1iMrPNXjRShoQK5gUgLXC6z6Xufdwadxi/ iBb5BIEgyguL5gJctsUAV0e3qKJK3wzFZpHGxGkzhkLqwzZ7hHS2M+Sn2uLEG12tzLjg 9+qg== 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=Djst78dRlYrW8AbDHQtyf4SD0UMLGkzOZNNnaiQfVvE=; b=dkBxRxv9PQBaCuD1h8QVN1dsUu6cIHc4wBQ5ZXhGs7nXB8ev+EvunfeyNwv3up2Dcs qdhCEBNrtqFXCVOEHP5DlU63ntNwR/tvg5Vo7yicgyN5VXFDKXyuu0Eg5+QG8qoD8Evz zWFqv0DoIAQOBPZPlvrsXfLqOENh2VjOiwE7+cqkcTo2ajPndpsI9nHAHBOagss/2viZ MCHn56mZtewdmptPq6Jb90y9Ot/aBN0GdVx1zSTELyV5wgz3zVrUTH5wp2yMMOeozSjL bEdTJbdpaG13OYIsxkgoi8K9+T9ewX6Z/jO7FrxcszrvaYXpKASptcEdTcj7UqW2siXY 5yjA== X-Gm-Message-State: AA6/9RkZ+ZnOoKvv22lBzgOXEqOdBzcbLMLYnjk2RMCrt55R5H/7PyWsNqoCNxhUNls7+w== X-Received: by 10.28.4.74 with SMTP id 71mr2337215wme.19.1475563493364; Mon, 03 Oct 2016 23:44:53 -0700 (PDT) Received: from localhost.localdomain ([79.112.35.35]) by smtp.gmail.com with ESMTPSA id f142sm2341423wmf.19.2016.10.03.23.44.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Oct 2016 23:44:52 -0700 (PDT) From: Emil Condrea To: qemu-devel@nongnu.org Date: Tue, 4 Oct 2016 09:43:44 +0300 Message-Id: <1475563424-6604-16-git-send-email-emilcondrea@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1475563424-6604-1-git-send-email-emilcondrea@gmail.com> References: <1475563424-6604-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 15/15] 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: xuquan8@huawei.com, sstabellini@kernel.org, wei.liu2@citrix.com, stefanb@linux.vnet.ibm.com, xen-devel@lists.xen.org, anthony.perard@citrix.com, dgdegra@tycho.nsa.gov, Emil Condrea 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 30d3aaa..b79e83e 100644 --- a/hw/xen/xen_backend.c +++ b/hw/xen/xen_backend.c @@ -213,7 +213,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 1407f5f..761688b 100644 --- a/hw/xen/xen_frontend.c +++ b/hw/xen/xen_frontend.c @@ -39,7 +39,7 @@ int xenstore_read_fe_uint64(struct XenDevice *xendev, const char *node, 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; @@ -85,6 +85,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 bb0bc23..2a5f03f 100644 --- a/include/hw/xen/xen_frontend.h +++ b/include/hw/xen/xen_frontend.h @@ -9,6 +9,6 @@ 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 */