From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zx8HF-0008Ha-5A for qemu-devel@nongnu.org; Fri, 13 Nov 2015 01:56:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zx8HA-0008Sl-6O for qemu-devel@nongnu.org; Fri, 13 Nov 2015 01:56:05 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39433) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zx8HA-0008Sc-0Z for qemu-devel@nongnu.org; Fri, 13 Nov 2015 01:56:00 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id D763CA35A4 for ; Fri, 13 Nov 2015 06:55:58 +0000 (UTC) From: Bandan Das Date: Fri, 13 Nov 2015 01:55:46 -0500 Message-Id: <1447397748-24920-1-git-send-email-bsd@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/2] Minor cleanups when parsing the "iommu" option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: armbru@redhat.com, mst@redhat.com Small cleanup changes. The first removes the helper function by directly checking the property and the second adds a error message if user tries to use "-machine iommu=on" with i440fx. v3: error_report does not need a \n! v2: 2/2: use error_report for the warning message Bandan Das (2): q35: Check propery to determine if iommu is set i440fx: print an error message if user tries to enable iommu hw/core/machine.c | 5 ----- hw/pci-host/piix.c | 5 +++++ hw/pci-host/q35.c | 2 +- include/hw/boards.h | 1 - 4 files changed, 6 insertions(+), 7 deletions(-) -- 2.5.0