summaryrefslogtreecommitdiffstats
path: root/hw/i386/pc_q35.c
diff options
context:
space:
mode:
authorIgor Mammedov2013-07-29 16:47:54 +0200
committerAnthony Liguori2013-07-30 02:33:33 +0200
commitc52dc697259ac826d905db57e298c50306a8c600 (patch)
tree3ac627de5d37a5fdfa3a4590409bd5742df7373e /hw/i386/pc_q35.c
parentpc: replace i440fx_common_init() with i440fx_init() (diff)
downloadqemu-c52dc697259ac826d905db57e298c50306a8c600.tar.gz
qemu-c52dc697259ac826d905db57e298c50306a8c600.tar.xz
qemu-c52dc697259ac826d905db57e298c50306a8c600.zip
pc: add Q35 to QOM composition tree under /machine
Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Message-id: 1375109277-25561-5-git-send-email-imammedo@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/i386/pc_q35.c')
-rw-r--r--hw/i386/pc_q35.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
index 0b1d2e32f7..2f35d12bf2 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();