From patchwork Thu Jun 3 10:41:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 1487179 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=R23wh6Zy; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FwjBy3Yfdz9s24 for ; Thu, 3 Jun 2021 20:42:16 +1000 (AEST) Received: from localhost ([::1]:45126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loknl-0006UA-K8 for incoming@patchwork.ozlabs.org; Thu, 03 Jun 2021 06:42:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loknN-0006Tt-Rr for qemu-devel@nongnu.org; Thu, 03 Jun 2021 06:41:49 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:32999) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loknL-0007mk-Jl for qemu-devel@nongnu.org; Thu, 03 Jun 2021 06:41:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1622716905; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sbIvOZJvevPMmTKzmmPEtMU7HrEXrnqUb5rUpcwA4S8=; b=R23wh6ZyT01kvIwQpxWfexkJ3YwJq53A3blxPXnCAdl8A+90K1hy7EQ/Jwn7YLi0CRc9Ws +s4ab/9rrxwQo2uRt50NfPIcH90BIJKxuJcBlRm/KG8Lb9U6HkrRYMgHgpssw4uXM+czg5 xzogo+y2pljSkve+h09KDiYHJDi+zfU= 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-496-1Ou1gJoBPLugHUDJPIQD8g-1; Thu, 03 Jun 2021 06:41:44 -0400 X-MC-Unique: 1Ou1gJoBPLugHUDJPIQD8g-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 168148018A7; Thu, 3 Jun 2021 10:41:43 +0000 (UTC) Received: from thuth.com (ovpn-112-76.ams2.redhat.com [10.36.112.76]) by smtp.corp.redhat.com (Postfix) with ESMTP id 77F375D9F0; Thu, 3 Jun 2021 10:41:41 +0000 (UTC) From: Thomas Huth To: qemu-devel@nongnu.org Subject: [PATCH 0/2] Improve vmstate_vmbus_dev handling Date: Thu, 3 Jun 2021 12:41:37 +0200 Message-Id: <20210603104139.556512-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=thuth@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.37, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, Paolo Bonzini , "Maciej S . Szmigiero" , Jon Doron , Roman Kagan Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" I accidentally came accross vmstate_vmbus_dev and noticed that it is currently not used at all ... wire it up and make it static, since it is only used in one file. Thomas Huth (2): hw/hyperv/vmbus: Wire up vmstate_vmbus_dev hw/hyperv/vmbus: Make vmstate_vmbus_dev static hw/hyperv/vmbus.c | 29 +++++++++++++++-------------- include/hw/hyperv/vmbus.h | 3 --- 2 files changed, 15 insertions(+), 17 deletions(-)