From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z28Ef-0006ZP-7s for qemu-devel@nongnu.org; Mon, 08 Jun 2015 21:21:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z28Eb-0004wN-Ro for qemu-devel@nongnu.org; Mon, 08 Jun 2015 21:21:49 -0400 Received: from mail-yk0-x22d.google.com ([2607:f8b0:4002:c07::22d]:35284) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z285W-0000m4-Le for qemu-devel@nongnu.org; Mon, 08 Jun 2015 21:12:22 -0400 Received: by yken206 with SMTP id n206so1977149yke.2 for ; Mon, 08 Jun 2015 18:12:21 -0700 (PDT) Received: from t430.minyard.home ([12.218.212.2]) by mx.google.com with ESMTPSA id y2sm3034431ywc.29.2015.06.08.18.12.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Jun 2015 18:12:20 -0700 (PDT) Sender: Corey Minyard Received: from t430.minyard.home (t430.minyard.home [127.0.0.1]) by t430.minyard.home (8.14.7/8.14.7) with ESMTP id t591CHl0019531 for ; Mon, 8 Jun 2015 20:12:18 -0500 Received: (from cminyard@localhost) by t430.minyard.home (8.14.7/8.14.7/Submit) id t591CH0o019529 for qemu-devel@nongnu.org; Mon, 8 Jun 2015 20:12:17 -0500 From: minyard@acm.org Date: Mon, 8 Jun 2015 20:11:55 -0500 Message-Id: <1433812331-18993-1-git-send-email-minyard@acm.org> Subject: [Qemu-devel] [PATCH v3 00/16] Add an IPMI device to QEMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I have reworked the QEMU IPMI patches, and I believe this design improves greatly on the previous one. The suggestions made all resulted in better design. To start an IPMI interface with this, you would use: -device ipmi-bmc-sim,id=bmc0 -device isa-ipmi-bt,bmc=bmc0 Note that I did not make the BMCs objects. I started this way, but adding properties was ending up duplicating a lot of code already in the device core, especially for the chardev link. I'm not sure of the importance of having a BMC be an object instead of a device, but it seems to me that if we do that, it would be best to add helper functions to the object core for the chardev and integer properties. Thanks, -corey