target/ppc: pass const string to kvmppc_is_mem_backend_page_size_ok()
commitec69355beffe138c0f97306e65410e5dbc605554
authorGreg Kurz <groug@kaod.org>
Tue, 6 Jun 2017 16:12:24 +0000 (6 18:12 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 8 Jun 2017 01:05:31 +0000 (8 11:05 +1000)
tree0fb0728dac45efdd2ccc899c723ebc8563f3c2ce
parent64175afc695c0672876fbbfc31b299c86d562cb4
target/ppc: pass const string to kvmppc_is_mem_backend_page_size_ok()

This function has three implementations. Two are stubs that do nothing
and the third one only passes the obj_path argument to:

Object *object_resolve_path(const char *path, bool *ambiguous);

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/kvm.c
target/ppc/kvm_ppc.h