Received: from eggs.gnu.org ([140.186.70.92]:45669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QC09z-0004A8-8Y for qemu-devel@nongnu.org; Mon, 18 Apr 2011 21:55:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QC09y-00022g-L0 for qemu-devel@nongnu.org; Mon, 18 Apr 2011 21:55:23 -0400 Received: from ozlabs.org ([203.10.76.45]:38622) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QC09y-00022S-AF for qemu-devel@nongnu.org; Mon, 18 Apr 2011 21:55:22 -0400 From: David Gibson Date: Tue, 19 Apr 2011 11:54:51 +1000 Message-Id: <1303178092-29891-3-git-send-email-david@gibson.dropbear.id.au> In-Reply-To: <1303178092-29891-1-git-send-email-david@gibson.dropbear.id.au> References: <1303178092-29891-1-git-send-email-david@gibson.dropbear.id.au> Subject: [Qemu-devel] [PATCH 2/3] Make pSeries 'model' property more closely resemble real hardware List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: agraf@suse.de, qemu-devel@nongnu.org Cc: paulus@samba.org, anton@samba.org 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 --- hw/spapr.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/spapr.c b/hw/spapr.c index 67dd1e5..884c667 100644 --- a/hw/spapr.c +++ b/hw/spapr.c @@ -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))); -- 1.7.1