OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e28c16f
)
spapr_iommu: Convert old qdev_init_nofail() to object_property_set_bool
author
Alexey Kardashevskiy
<aik@ozlabs.ru>
Tue, 27 May 2014 05:36:34 +0000
(15:36 +1000)
committer
Alexander Graf
<agraf@suse.de>
Mon, 16 Jun 2014 11:24:39 +0000
(13:24 +0200)
qdev_init_nofail() was replaced by object_property_set_bool("realized")
all over the QEMU so do we.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr_iommu.c
patch
|
blob
|
history
diff --git
a/hw/ppc/spapr_iommu.c
b/hw/ppc/spapr_iommu.c
index
2d50faf
..
e5fd088
100644
(file)
--- a/
hw/ppc/spapr_iommu.c
+++ b/
hw/ppc/spapr_iommu.c
@@
-165,7
+165,7
@@
sPAPRTCETable *spapr_tce_new_table(DeviceState *owner, uint32_t liobn, size_t wi
object_property_add_child(OBJECT(owner), "tce-table", OBJECT(tcet), NULL);
-
qdev_init_nofail(DEVICE(tcet)
);
+
object_property_set_bool(OBJECT(tcet), true, "realized", NULL
);
return tcet;
}