[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 09/25] spapr: Add /ibm,partition-name
From: |
David Gibson |
Subject: |
[Qemu-ppc] [PATCH 09/25] spapr: Add /ibm,partition-name |
Date: |
Thu, 3 Sep 2015 14:28:00 +1000 |
From: Sam Bobroff <address@hidden>
QEMU has a notion of the guest name, so if it's present we might as
well put that into the device tree as /ibm,partition-name.
This is specificed by PAPR.
Signed-off-by: Sam Bobroff <address@hidden>
Reviewed-by: David Gibson <address@hidden>
Signed-off-by: David Gibson <address@hidden>
---
hw/ppc/spapr.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index dba6808..f05f406 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -377,6 +377,11 @@ static void *spapr_create_fdt_skel(hwaddr initrd_base,
_FDT((fdt_property_string(fdt, "vm,uuid", buf)));
g_free(buf);
+ if (qemu_get_vm_name()) {
+ _FDT((fdt_property_string(fdt, "ibm,partition-name",
+ qemu_get_vm_name())));
+ }
+
_FDT((fdt_property_cell(fdt, "#address-cells", 0x2)));
_FDT((fdt_property_cell(fdt, "#size-cells", 0x2)));
--
2.4.3
- [Qemu-ppc] [PATCH 10/25] spapr: Add /rtas/ibm,change-msix-capable, (continued)
- [Qemu-ppc] [PATCH 10/25] spapr: Add /rtas/ibm,change-msix-capable, David Gibson, 2015/09/03
- [Qemu-ppc] [PATCH 13/25] spapr_drc: Fix potential undefined behaviour, David Gibson, 2015/09/03
- [Qemu-ppc] [PATCH 02/25] spapr: Create pseries-2.5 machine, David Gibson, 2015/09/03
- [Qemu-ppc] [PATCH 12/25] spapr: SPLPAR Characteristics, David Gibson, 2015/09/03
- [Qemu-ppc] [PATCH 14/25] spapr: add dumpdtb support, David Gibson, 2015/09/03
- [Qemu-ppc] [PATCH 04/25] spapr: Add LMB DR connectors, David Gibson, 2015/09/03
- [Qemu-ppc] [PATCH 22/25] spapr_rtas: Prevent QEMU crash during hotplug without a prior device_add, David Gibson, 2015/09/03
- [Qemu-ppc] [PATCH 03/25] spapr: Initialize hotplug memory address space, David Gibson, 2015/09/03
- [Qemu-ppc] [PATCH 07/25] spapr: Memory hotplug support, David Gibson, 2015/09/03
- [Qemu-ppc] [PATCH 08/25] spapr: Don't allow memory hotplug to memory less nodes, David Gibson, 2015/09/03
- [Qemu-ppc] [PATCH 09/25] spapr: Add /ibm,partition-name,
David Gibson <=
- [Qemu-ppc] [PATCH 17/25] spapr: Provide better error message when slots exceed max allowed, David Gibson, 2015/09/03
- [Qemu-ppc] [PATCH 20/25] spapr: Support hotplug by specifying DRC count, David Gibson, 2015/09/03
- [Qemu-ppc] [PATCH 16/25] spapr: Use QEMU limit for maximum CPUs number, David Gibson, 2015/09/03
- [Qemu-ppc] [PATCH 18/25] spapr: Populate ibm, associativity-lookup-arrays correctly for non-NUMA, David Gibson, 2015/09/03
- [Qemu-ppc] [PATCH 21/25] spapr: Move memory hotplug to RTAS_LOG_V6_HP_ID_DRC_COUNT type, David Gibson, 2015/09/03
- [Qemu-ppc] [PATCH 23/25] sPAPR: Introduce rtas_ldq(), David Gibson, 2015/09/03
- [Qemu-ppc] [PATCH 24/25] pseries: define coldplugged devices as "configured", David Gibson, 2015/09/03
- [Qemu-ppc] [PATCH 15/25] ppc/spapr: Use qemu_log_mask() for hcall_dprintf(), David Gibson, 2015/09/03
- [Qemu-ppc] [PATCH 05/25] spapr: Support ibm, dynamic-reconfiguration-memory, David Gibson, 2015/09/03
- [Qemu-ppc] [PATCH 19/25] spapr: Revert to address@hidden representation for non-hotplugged memory, David Gibson, 2015/09/03