summary refs log tree commit diff stats
path: root/net/socket.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2017-06-04 20:28:04 +1000
committerDavid Gibson <david@gibson.dropbear.id.au>2017-06-06 09:24:25 +1000
commit91dcb1ffa67cfa41a13dcc89dd44e2310b5773b0 (patch)
tree5baf828faff6f2a0272ec8b4907e1785579a0fb8 /net/socket.c
parent1693ea168575849bc2784e193002c317ef3eee39 (diff)
downloadfocaccia-qemu-91dcb1ffa67cfa41a13dcc89dd44e2310b5773b0.tar.gz
focaccia-qemu-91dcb1ffa67cfa41a13dcc89dd44e2310b5773b0.zip
spapr: Remove some non-useful properties on DRC objects
 * 'connector_type' is easily derived from the 'index' property, so there's
   no point to it (it's also implicit in the QOM type of the DRC)
 * 'isolation-state', 'indicator-state' and 'allocation-state' are
   part of the transaction between qemu and guest during PAPR hotplug
   operations, and outside tools really have no business looking at it
   (especially not changing, and these were RW properties)
 * 'entity-sense' is basically just a weird PAPR encoding of whether there
   is a device connected to this DRC

Strictly speaking removing these properties is breaking the qemu interface.
However, I'm pretty sure no management tools have ever used these.  For
debugging there are better alternatives.  Therefore, I think removing these
broken interfaces is the better option.

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>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions