OSDN Git Service

pseries: Fix reset of VIO network device
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 12 Apr 2012 02:44:15 +0000 (12:44 +1000)
committerAndreas Färber <afaerber@suse.de>
Sun, 15 Apr 2012 18:07:58 +0000 (20:07 +0200)
commitc17491b63e198ac48d533f8a9d301d11c5880a36
treec7e4f64561c55900f2ab5892cb73f817bb7313a5
parent3cabba609de07e06b3dacf4f30403f6e9e293f2c
pseries: Fix reset of VIO network device

Currently, the PAPR VIO network device does not have a reset handler.  This
means that after a hard reset, H_REGISTER_LOGICAL_LAN will return an error
when the new guest boot attempts to initialize the device.

This patch corrects this, adding a suitable reset hook.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/spapr_llan.c