From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=49154 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1bmm-0000oT-UN for qemu-devel@nongnu.org; Mon, 21 Mar 2011 05:52:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1bmk-00041P-Sq for qemu-devel@nongnu.org; Mon, 21 Mar 2011 05:52:27 -0400 Received: from thoth.sbs.de ([192.35.17.2]:33218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1bmk-00041L-HR for qemu-devel@nongnu.org; Mon, 21 Mar 2011 05:52:26 -0400 Message-ID: <4D871FD8.2010400@siemens.com> Date: Mon, 21 Mar 2011 10:52:24 +0100 From: Jan Kiszka MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH] vmmouse: Fix initialization List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl , qemu-devel Latest refactorings left vmmouse nonfunctional behind. Fix it by adding the required device initialization. Signed-off-by: Jan Kiszka --- hw/pc.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index 4d67d9f..6939c04 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -1142,6 +1142,7 @@ void pc_basic_device_init(qemu_irq *isa_irq, vmmouse = isa_try_create("vmmouse"); if (vmmouse) { qdev_prop_set_ptr(&vmmouse->qdev, "ps2_mouse", i8042); + qdev_init_nofail(&vmmouse->qdev); } port92 = isa_create_simple("port92"); port92_init(port92, &a20_line[1]); -- 1.7.1