From patchwork Fri Oct 19 05:20:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Li Qiang X-Patchwork-Id: 986527 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="it51gGrl"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42bvQj3LMwz9sCQ for ; Fri, 19 Oct 2018 16:21:17 +1100 (AEDT) Received: from localhost ([::1]:47044 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDNDn-0003ko-1z for incoming@patchwork.ozlabs.org; Fri, 19 Oct 2018 01:21:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDNDC-0003il-LS for qemu-devel@nongnu.org; Fri, 19 Oct 2018 01:20:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gDND6-00004u-R9 for qemu-devel@nongnu.org; Fri, 19 Oct 2018 01:20:37 -0400 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]:43325) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gDND2-0008PQ-MW for qemu-devel@nongnu.org; Fri, 19 Oct 2018 01:20:31 -0400 Received: by mail-pl1-x642.google.com with SMTP id 30-v6so15335066plb.10 for ; Thu, 18 Oct 2018 22:20:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=bWj28PPpFjlST+w2m9SZbflaRmqqaiDjyL5JiX2/QQ0=; b=it51gGrlo3Ca/xYYPhVe0Hrw0gI4qTwhxwbL5fYEiitpERc1SbU61DJjMxzZt8ZueZ FTmauYDHiW+2nAgcXvKBMbF36P91HIIy/7dEQYKZKZ3oAoDmoNS0f8yWyeaRla84X5+I CIwp7HPV/EBUrv+82PeAybYvS6nxZnVbVIfBHVDZ0OVSaxVlfoFJr5UczhkOzya166fi SpQNGf3ySb2E5HYEQTLICY5HNnMQ7HJ/Ao1xifjbooeyKrOuGjsZ5187ckbDKbTf47OE y8QmuW2gDUWCFVBRB78JHVQPZ3WJ5maUZlsfPhFr+vkTPBjnSjDYvzNi/kGLrTyhPtW4 r4Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=bWj28PPpFjlST+w2m9SZbflaRmqqaiDjyL5JiX2/QQ0=; b=EzQpFZcB7L4NmfZOYZp+f2PIke4d9dfmJ0XavzG8f7EgqkhzKeokyYMqkvR9S+Ddc+ MSuiFdlF//67ZX55OjoqA6ubmcrptX+uqprTMxBxJ1P6+meIjwuMGSE9fgXbpFwrlbK/ ghWQsMbeI2nz4B03dDLWw/DYZ+SdUcd48PHDSNs/9EM3Y928SL6OWJF3zQEReLBZSgrf qfN6H1/Q9TUlsf2pA4g/jWQexiBCSugYnbbdGa3riEkp5B8xyA/FaRB2vO5AkATVJr/R QDxO3lRadGyg6NaMLJ+kWKy7XrfZuOswdDr75tQmxGSdS6a1sy9mIBUr+EZUhLO8lLey xm5g== X-Gm-Message-State: ABuFfoj7GwPSCRMeI0eWSK5EoletR1Ke9dcmT0SUd5brPWiGy67S9b2Y JT6C5TlHpLWjI9WLeYh/rNg= X-Google-Smtp-Source: ACcGV62JyEmVadawhr/JntDtrbnKVwi7H4YNJlUV3nKDgVNaovWVK/8Yu+ipuW0NAb9UtwPlQlkXGg== X-Received: by 2002:a17:902:368:: with SMTP id 95-v6mr33027552pld.319.1539926424508; Thu, 18 Oct 2018 22:20:24 -0700 (PDT) Received: from localhost.localdomain.localdomain ([103.65.40.100]) by smtp.gmail.com with ESMTPSA id p1-v6sm25075191pff.128.2018.10.18.22.20.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Oct 2018 22:20:23 -0700 (PDT) From: Li Qiang To: alex.williamson@redhat.com Date: Thu, 18 Oct 2018 22:20:05 -0700 Message-Id: <1539926412-21831-1-git-send-email-liq3ea@gmail.com> X-Mailer: git-send-email 1.8.3.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::642 Subject: [Qemu-devel] [PATCH 0/7] vfio: some trivial fixes 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: Li Qiang , philmd@redhat.com, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" This patch set contains some trivial issue such as QOMConvetion, typo and resources leak in vfio. Li Qiang (7): vfio-pci: make "vfio-pci-nohotplug" as MACRO vfio: ap-device: make it more QOMConventional vfio: drop TYPE_FOO MACRO in VMStateDescription vfio: paltform: fix a typo vfio: platform: cleanup the notifier in error path vfio: platform: free timer in error path vfio: platform: destory mutex in error path hw/s390x/ap-device.c | 2 +- hw/vfio/amd-xgbe.c | 2 +- hw/vfio/ap.c | 12 ++++++------ hw/vfio/calxeda-xgmac.c | 2 +- hw/vfio/ccw.c | 2 +- hw/vfio/pci.c | 6 ++++-- hw/vfio/platform.c | 12 ++++++++---- include/hw/s390x/ap-device.h | 4 ++-- 8 files changed, 24 insertions(+), 18 deletions(-) Reviewed-by: Philippe Mathieu-Daudé