qemu/include
David Gibson f224d35be9 spapr: Clean up DR entity sense handling
DRC classes have an entity_sense method to determine (in a specific PAPR
sense) the presence or absence of a device plugged into a DRC.  However,
we only have one implementation of the method, which explicitly tests for
different DRC types.  This changes it to instead have different method
implementations for the two cases: "logical" and "physical" DRCs.

While we're at it, the entity sense method always returns RTAS_OUT_SUCCESS,
and the interesting value is returned via pass-by-reference.  Simplify this
to directly return the value we care about

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Acked-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2017-06-08 14:38:26 +10:00
..
block migration: Create include for migration snapshots 2017-06-01 18:49:23 +02:00
chardev char: make chr_fe_deinit() optionaly delete backend 2017-06-02 11:33:53 +04:00
crypto crypto: qcrypto_random_bytes() now works on windows w/o any other crypto libs 2017-05-09 14:41:47 +01:00
disas Fix Thumb-1 BE32 execution and disassembly. 2017-02-07 18:29:59 +00:00
exec tb-hash: improve tb_jmp_cache hash function in user mode 2017-06-05 09:25:42 -07:00
fpu softfloat: Add float128_to_uint32_round_to_zero() 2017-02-22 11:28:28 +11:00
hw spapr: Clean up DR entity sense handling 2017-06-08 14:38:26 +10:00
io trivial patches for 2017-05-10 2017-05-10 12:31:19 -04:00
libdecnumber Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
migration migration: remove register_savevm() 2017-06-06 08:53:24 +10:00
monitor qmp: Dumb down how we run QMP command registration 2017-03-05 09:02:10 +01:00
net slirp: add a fake NC-SI backend 2017-04-25 19:17:25 +08:00
qapi qapi: Document visit_type_any() issues with keyval input 2017-05-31 16:04:05 +02:00
qemu qemu/atomic: Loosen restrictions for 64-bit ILP32 hosts 2017-06-05 09:25:42 -07:00
qom numa: move numa_node from CPUState into target specific classes 2017-06-05 14:59:09 -03:00
standard-headers linux-headers: update 2017-05-19 12:29:01 +02:00
sysemu ppc patch queue 2017-06-06 2017-06-06 14:30:06 +01:00
ui opengl: add egl-headless display 2017-05-12 12:02:48 +02:00
elf.h nios2: Add usermode binaries emulation 2017-01-24 13:10:35 -08:00
glib-compat.h qga: Add 'guest-get-users' command 2017-04-26 23:57:45 -05:00
qemu-common.h utils: provide size_to_str() 2017-05-17 17:30:45 +01:00
qemu-io.h hmp: Request permissions in qemu-io 2017-02-28 20:47:50 +01:00
trace-tcg.h trace: get rid of generated-events.h/generated-events.c 2016-10-12 09:54:52 +02:00