diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2011-04-19 11:54:51 +1000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2011-05-09 22:31:37 +0200 |
commit | 5d73dd66e46f4aff784d15d0e869813dc4b1029a (patch) | |
tree | a4d21ccdde1e948abd9fc910f76d58a81d292c60 /hw | |
parent | 41019fecc83c466faeddbc6b3784a447516c03a7 (diff) | |
download | qemu-5d73dd66e46f4aff784d15d0e869813dc4b1029a.zip qemu-5d73dd66e46f4aff784d15d0e869813dc4b1029a.tar.gz qemu-5d73dd66e46f4aff784d15d0e869813dc4b1029a.tar.bz2 |
Make pSeries 'model' property more closely resemble real hardware
Currently, the qemu emulated pseries machine puts
"qemu,emulated-pSeries-LPAR" in the device tree's root level 'model'
property. Unfortunately this confuses some installers and ybin, which
expect this to start with "IBM" on pSeries machines. This patch addresses
this problem, making the property more closely resemble the pattern of
existing real hardware.
Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/spapr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -93,7 +93,7 @@ static void *spapr_create_fdt_skel(const char *cpu_model, /* Root node */ _FDT((fdt_begin_node(fdt, ""))); _FDT((fdt_property_string(fdt, "device_type", "chrp"))); - _FDT((fdt_property_string(fdt, "model", "qemu,emulated-pSeries-LPAR"))); + _FDT((fdt_property_string(fdt, "model", "IBM pSeries (emulated by qemu)"))); _FDT((fdt_property_cell(fdt, "#address-cells", 0x2))); _FDT((fdt_property_cell(fdt, "#size-cells", 0x2))); |