Message ID | 1453095881-16704-4-git-send-email-david@gibson.dropbear.id.au (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index e26baca..1147382 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -334,6 +334,9 @@ static void *spapr_create_fdt_skel(hwaddr initrd_base, add_str(hypertas, "hcall-splpar"); add_str(hypertas, "hcall-bulk"); add_str(hypertas, "hcall-set-mode"); + if (!kvm_enabled()) { /* Not implemented in KVM yet */ + add_str(hypertas, "hcall-hpt-resize"); + } add_str(qemu_hypertas, "hcall-memop1"); fdt = g_malloc0(FDT_MAX_SIZE);
This adds a new string to the hypertas property in the device tree, advertising to the guest the availability of the HPT resizing hypercalls. This is a tentative suggested value, and would need to be standardized by PAPR before being merged. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> --- hw/ppc/spapr.c | 3 +++ 1 file changed, 3 insertions(+)