pseries: Add cleanup hook for PAPR virtual LAN device
commit156dfaded87d718a9ea798083e1c3e5ea7526713
authorDavid Gibson <david@gibson.dropbear.id.au>
Sun, 10 Feb 2013 18:59:02 +0000 (10 18:59 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 8 Mar 2013 20:04:44 +0000 (8 21:04 +0100)
tree3a0d92cc3bf077a35f23d777cb01784917caa739
parent0bc472a9d6b80567c212023c5eae413f4dfb53ad
pseries: Add cleanup hook for PAPR virtual LAN device

Currently the spapr-vlan device does not supply a cleanup call for its
NetClientInfo structure.  With current qemu versions, that leads to a SEGV
on exit, when net_cleanup() attempts to call the cleanup handlers on all
net clients.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/spapr_llan.c