From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 29DE0C04AB4 for ; Tue, 21 May 2019 15:19:07 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EBF3D2173E for ; Tue, 21 May 2019 15:19:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=163.com header.i=@163.com header.b="cMHjRLnT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EBF3D2173E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=163.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([127.0.0.1]:55410 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hT6Xi-0000Hj-49 for qemu-devel@archiver.kernel.org; Tue, 21 May 2019 11:19:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hT6VQ-0007Vh-Q1 for qemu-devel@nongnu.org; Tue, 21 May 2019 11:16:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hT6VP-0001Yz-W9 for qemu-devel@nongnu.org; Tue, 21 May 2019 11:16:44 -0400 Received: from m12-16.163.com ([220.181.12.16]:57266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hT6VP-0001VV-Di; Tue, 21 May 2019 11:16:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=3MoRSJyCsIFKNNUCfB vEtOAISeqVYFTvmBIb424LSkw=; b=cMHjRLnT2kh/sil4TjDYpZl/kFJhguuj/b rvDUaMpzX6OJhrXgzlyCdnu2XOeljWEp39nxQfEjmZS2IkwA8VtopcQk7WrnUHt+ +8NDAoMHWZE+4B5CGy98d11nV839ITTh3mhS7o/TqaDB6cvyxAefjAfL/ACS47wG KJhzggEZA= Received: from localhost.localdomain (unknown [115.192.71.0]) by smtp12 (Coremail) with SMTP id EMCowAC31lxJFuRcie7uGw--.4521S2; Tue, 21 May 2019 23:16:26 +0800 (CST) From: Li Qiang To: alex.williamson@redhat.com, lvivier@redhat.com Date: Tue, 21 May 2019 08:15:39 -0700 Message-Id: <20190521151543.92274-1-liq3ea@163.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: EMCowAC31lxJFuRcie7uGw--.4521S2 X-Coremail-Antispam: 1Uf129KBjvdXoW7XFyUJF1rury8JFykAr1kXwb_yoW3GrcEk3 4Fvws8GrZIgasIkFW2kr17Ww18Cw4rurn0y34rAryqvws8Jas8GF97CrWSgF17ur4SyF9x GrW7uryayr9xWjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUjdHUPUUUUU== X-Originating-IP: [115.192.71.0] X-CM-SenderInfo: 5oltjvrd6rljoofrz/1tbiFAi7bVaD011gfAAAsN X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 220.181.12.16 Subject: [Qemu-devel] [PATCH v2 0/4] hw: vfio: some trivial fix 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: qemu-trivial@nongnu.org, philmd@redhat.com, liq3ea@gmail.com, qemu-devel@nongnu.org, Li Qiang Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" These patchset fix some trivial issues, The first patch makes the code more QOMConventions. The second decouples VMStateDescription's name with QOM TypeInfo's name. The third fixes a typo. The fourth reduce duplicated code. Change since v1: Add more commit message. Li Qiang (4): vfio: pci: make "vfio-pci-nohotplug" as MACRO hw: vfio: drop TYPE_FOO MACRO in VMStateDescription vfio: platform: fix a typo pci: msix: move 'MSIX_CAP_LENGTH' to header file hw/pci/msix.c | 2 -- hw/vfio/amd-xgbe.c | 2 +- hw/vfio/ap.c | 2 +- hw/vfio/calxeda-xgmac.c | 2 +- hw/vfio/ccw.c | 2 +- hw/vfio/pci.c | 8 ++++---- hw/vfio/platform.c | 6 +++--- include/hw/pci/msix.h | 2 ++ 8 files changed, 13 insertions(+), 13 deletions(-) -- 2.17.1