From nobody Mon Feb 9 16:34:30 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 153989693028143.70067690567339; Thu, 18 Oct 2018 14:08:50 -0700 (PDT) Received: from localhost ([::1]:44703 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDFXF-0004fD-5z for importer@patchew.org; Thu, 18 Oct 2018 17:08:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDEyY-0007bk-7h for qemu-devel@nongnu.org; Thu, 18 Oct 2018 16:33:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gDEyV-0006XX-1Q for qemu-devel@nongnu.org; Thu, 18 Oct 2018 16:32:58 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:42663) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gDEyU-0006V9-Kr for qemu-devel@nongnu.org; Thu, 18 Oct 2018 16:32:54 -0400 Received: by mail-wr1-x441.google.com with SMTP id r17-v6so2746073wrt.9 for ; Thu, 18 Oct 2018 13:32:52 -0700 (PDT) Received: from 640k.lan (dynamic-adsl-78-12-231-174.clienti.tiscali.it. [78.12.231.174]) by smtp.gmail.com with ESMTPSA id a12-v6sm14270952wrr.71.2018.10.18.13.32.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Oct 2018 13:32:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=bgWfMnIsTzSOJi3/V6bjpFv5Z2shBVMJCGBBxv4OtZM=; b=SvPxK/n0CgJBA0NuT7ybBzHIXKnNz1RQ4MwB7/AGrjVvLmvKHgL0X3HyelAAsdjRvX HCLzYAueOnlVCuVKZytHuWKrzdxSXPuYy2p/INzh6aruvCqRYrkCcOIuytwEZipISp4e 2J2JpX2si6G+C/k5YF1IpkcVm+SN0w3NG6S/o+Sf+gtR3V0NsQmexf3HVCRfizgh2w49 lufb0Q5B+ccTU2iwwXPG3+TXcTEyArPa0Q/1SMiDsrDRNOYdW9GIt5h3sprqmOa2BJcr cLbG17beh8zOItvltYn8Iox4qrXKJbSDTqD5jHlvoICNct+FDLlPkOqZGb1zshHYvCrv qExQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=bgWfMnIsTzSOJi3/V6bjpFv5Z2shBVMJCGBBxv4OtZM=; b=kIIMU8tgoIoDx2ksq8s+Kjt43Ej5wiW5N5rUCfUNgh4a4IfCGDM7HDfPy2UqTBIa4L Q+kJvQ5Szggn540jDAyyEByQBcYYxUDi2WpUkPLeflmLbGUFDmNdTyGGeeuHmfpGS9Vd vp8kuQ3gqkdA/x8rwURaVejYvv1Oev7Do57bxFrnba6OQlzOjcSJ/3n2lzmZ68YmC5mQ SjLYiVUx/QCqOAUfbvn6g6nbCvdEDRo+KUsvEdq5JmYUq078VfT6EUYFNwtdCBgMCqRS RreIi9FWh6IfPUVpObonOqXRGEDp3pMlRQWItD6zna0ByalkMwbM5rAWyKUSfWUGn0aW qQ4g== X-Gm-Message-State: ABuFfohWnPAZWVy41LD0R2LbUcDIxu1Fopm4XdQO4DDwPcbNfFyHNIaA 66Z5Ids4xQpZRz2FZcIcxdG8Ps4s X-Google-Smtp-Source: ACcGV60dvj3Osn2yYgcYXSWaqptQTdz2bNoQl0Vhp0vT5gwaf/5DUc+VyPLbkEeEbaK6m+XjrBn/gA== X-Received: by 2002:adf:f90b:: with SMTP id b11-v6mr30991380wrr.307.1539894771019; Thu, 18 Oct 2018 13:32:51 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Thu, 18 Oct 2018 22:31:58 +0200 Message-Id: <1539894735-14232-32-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1539894735-14232-1-git-send-email-pbonzini@redhat.com> References: <1539894735-14232-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::441 Subject: [Qemu-devel] [PULL 31/48] hyperv: rename kvm_hv_sint_route_set_sint 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: Roman Kagan Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDMRC_1 RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Roman Kagan There's nothing kvm-specific in it so follow the suite and replace "kvm_hv" prefix with "hyperv". Signed-off-by: Roman Kagan Message-Id: <20180921081836.29230-9-rkagan@virtuozzo.com> Signed-off-by: Paolo Bonzini --- hw/misc/hyperv_testdev.c | 2 +- target/i386/hyperv.c | 2 +- target/i386/hyperv.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/misc/hyperv_testdev.c b/hw/misc/hyperv_testdev.c index dbf4e7e..33bbd28 100644 --- a/hw/misc/hyperv_testdev.c +++ b/hw/misc/hyperv_testdev.c @@ -90,7 +90,7 @@ static void sint_route_set_sint(HypervTestDev *dev, =20 sint_route =3D sint_route_find(dev, vp_index, sint); =20 - kvm_hv_sint_route_set_sint(sint_route->sint_route); + hyperv_sint_route_set_sint(sint_route->sint_route); } =20 static uint64_t hv_test_dev_read(void *opaque, hwaddr addr, unsigned size) diff --git a/target/i386/hyperv.c b/target/i386/hyperv.c index 4d8ef6f..fc537e7 100644 --- a/target/i386/hyperv.c +++ b/target/i386/hyperv.c @@ -185,7 +185,7 @@ void hyperv_sint_route_unref(HvSintRoute *sint_route) g_free(sint_route); } =20 -int kvm_hv_sint_route_set_sint(HvSintRoute *sint_route) +int hyperv_sint_route_set_sint(HvSintRoute *sint_route) { return event_notifier_set(&sint_route->sint_set_notifier); } diff --git a/target/i386/hyperv.h b/target/i386/hyperv.h index cdf44a7..59e9f9a 100644 --- a/target/i386/hyperv.h +++ b/target/i386/hyperv.h @@ -28,7 +28,7 @@ HvSintRoute *hyperv_sint_route_new(uint32_t vp_index, uin= t32_t sint, void hyperv_sint_route_ref(HvSintRoute *sint_route); void hyperv_sint_route_unref(HvSintRoute *sint_route); =20 -int kvm_hv_sint_route_set_sint(HvSintRoute *sint_route); +int hyperv_sint_route_set_sint(HvSintRoute *sint_route); =20 uint32_t hyperv_vp_index(X86CPU *cpu); X86CPU *hyperv_find_vcpu(uint32_t vp_index); --=20 1.8.3.1