aboutsummaryrefslogtreecommitdiff
path: root/qga/service-win32.c
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2017-09-11 22:52:06 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2017-09-15 10:29:48 +1000
commit1bbadc759e23ef8629ef955a4b78f06da2e5a381 (patch)
tree69f9533de5cb9b12f763ba30295f9c68813be201 /qga/service-win32.c
parenta1a6bbde4f6a29368f8f605cea2e73630ec1bc7c (diff)
spapr_cpu_core: fail gracefully with non-pseries machine types
Since commit 7cca3e466eb0 ("ppc: spapr: Move VCPU ID calculation into sPAPR"), QEMU aborts when started with a *-spapr-cpu-core device and a non-pseries machine. Let's rely on the already existing call to object_dynamic_cast() instead of using the SPAPR_MACHINE() macro. Signed-off-by: Greg Kurz <groug@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'qga/service-win32.c')
0 files changed, 0 insertions, 0 deletions