From patchwork Mon Nov 21 15:48:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 1707440 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-ppc-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=fOemyv5J; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NGBf81hrFz23nP for ; Tue, 22 Nov 2022 02:49:35 +1100 (AEDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ox92P-0008CE-DV; Mon, 21 Nov 2022 10:48:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ox92N-0008Ax-N9 for qemu-ppc@nongnu.org; Mon, 21 Nov 2022 10:48:47 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ox92K-000214-FT for qemu-ppc@nongnu.org; Mon, 21 Nov 2022 10:48:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669045722; 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=aBnEOrjeq7gC3PrHVaVKof0eGpc21dWg/uJxPjjZALY=; b=fOemyv5Jcb06QTIzU8q4g4BsRcZneT/N+MaqQ6Ekg33qeQ5Q7SW4Fu8TmTdsQiQiD1WTl1 W0MlZmxXdyD/JmbHRauUFFSM8Hpwxy60pXgtle1hccOv3ufyqtLAWYOsXboAwwR/dGcpIX Uh3KLJ+X7govTBxnxv5OMYb+6GVfVt0= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-637-91crVbiLOWeqFZZtwuWMGw-1; Mon, 21 Nov 2022 10:48:39 -0500 X-MC-Unique: 91crVbiLOWeqFZZtwuWMGw-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5116485A5B6; Mon, 21 Nov 2022 15:48:38 +0000 (UTC) Received: from localhost (unknown [10.39.195.179]) by smtp.corp.redhat.com (Postfix) with ESMTP id 58ED02166B26; Mon, 21 Nov 2022 15:48:37 +0000 (UTC) From: Stefan Hajnoczi To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, "Michael S . Tsirkin" , =?utf-8?q?A?= =?utf-8?q?lex_Benn=C3=A9e?= , David Gibson , Daniel Henrique Barboza , Fam Zheng , David Hildenbrand , Kevin Wolf , Stefan Hajnoczi , qemu-block@nongnu.org, Hanna Reitz , Laurent Vivier , Paolo Bonzini , Greg Kurz , Amit Shah , Jason Wang , =?utf-8?q?C?= =?utf-8?q?=C3=A9dric_Le_Goater?= , =?utf-8?q?Marc-Andr=C3=A9_?= =?utf-8?q?Lureau?= Subject: [PATCH v3 0/3] virtio: remove unnecessary host_features in ->get_features() Date: Mon, 21 Nov 2022 10:48:30 -0500 Message-Id: <20221121154833.1914768-1-stefanha@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 Received-SPF: pass client-ip=170.10.129.124; envelope-from=stefanha@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-ppc@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-ppc-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-ppc-bounces+incoming=patchwork.ozlabs.org@nongnu.org v3: - Use an informal comment instead of a full doc comment [Cornelia] v2: - Document vdv->get_features() callback [Cornelia] The vdc->get_features() callbacks are a little inconsistent in how they use vdev->host_features. This is because the function's behavior changed over time. Clean things up. Stefan Hajnoczi (2): virtio: document ->host_features usage in vdc->get_features() callback virtio: remove unnecessary host_features in ->get_features() Vaibhav Jain (1): target/ppc: Fix build warnings when building with 'disable-tcg' include/hw/virtio/virtio.h | 7 +++++++ hw/block/virtio-blk.c | 3 --- hw/char/virtio-serial-bus.c | 1 - hw/net/virtio-net.c | 3 --- hw/scsi/vhost-scsi-common.c | 3 --- hw/scsi/virtio-scsi.c | 4 ---- hw/virtio/virtio-balloon.c | 2 -- target/ppc/cpu_init.c | 2 ++ target/ppc/excp_helper.c | 2 ++ 9 files changed, 11 insertions(+), 16 deletions(-)