From patchwork Mon Jul 29 14:47:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Igor Mammedov X-Patchwork-Id: 262810 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 355E62C00C0 for ; Tue, 30 Jul 2013 00:52:16 +1000 (EST) Received: from localhost ([::1]:49390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3oo2-0005GQ-0B for incoming@patchwork.ozlabs.org; Mon, 29 Jul 2013 10:52:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3okz-0000D6-Mq for qemu-devel@nongnu.org; Mon, 29 Jul 2013 10:49:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3oku-0002K0-Lw for qemu-devel@nongnu.org; Mon, 29 Jul 2013 10:49:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3oku-0002Jo-ER for qemu-devel@nongnu.org; Mon, 29 Jul 2013 10:49:00 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r6TEmwue013037 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 29 Jul 2013 10:48:59 -0400 Received: from dell-pet610-01.lab.eng.brq.redhat.com (dell-pet610-01.lab.eng.brq.redhat.com [10.34.42.20]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r6TEmevb028836; Mon, 29 Jul 2013 10:48:56 -0400 From: Igor Mammedov To: qemu-devel@nongnu.org Date: Mon, 29 Jul 2013 16:47:54 +0200 Message-Id: <1375109277-25561-5-git-send-email-imammedo@redhat.com> In-Reply-To: <1375109277-25561-1-git-send-email-imammedo@redhat.com> References: <1375109277-25561-1-git-send-email-imammedo@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id r6TEmwue013037 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: afaerber@suse.de, mst@redhat.com Subject: [Qemu-devel] [PATCH 4/7] pc: add Q35 to QOM composition tree under /machine X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Igor Mammedov Reviewed-by: Andreas Färber --- hw/i386/pc_q35.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index 0b1d2e3..2f35d12 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -131,6 +131,7 @@ static void pc_q35_init(QEMUMachineInitArgs *args) /* create pci host bus */ q35_host = Q35_HOST_DEVICE(qdev_create(NULL, TYPE_Q35_HOST_DEVICE)); + object_property_add_child(qdev_get_machine(), "q35", OBJECT(q35_host), NULL); q35_host->mch.ram_memory = ram_memory; q35_host->mch.pci_address_space = pci_memory; q35_host->mch.system_memory = get_system_memory();