PPC: openpic_kvm: Implement reset
commitaf354f19a9b6a655eac1c49b66d3be021e7ed3d9
authorAlexander Graf <agraf@suse.de>
Thu, 22 May 2014 15:12:23 +0000 (22 17:12 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 16 Jun 2014 11:24:36 +0000 (16 13:24 +0200)
tree9eb83ba8917e951a3625e2ecfc828a159c5b4c71
parentffd5e9fe02763a0e943dbb76fa78100ef5513e48
PPC: openpic_kvm: Implement reset

When we trigger a system reset, the in-kernel openpic controller should also
get reset. This happens through a write to the GCR.RESET register which is
the same mechanism a guest would use to manually reset the device.

Signed-off-by: Alexander Graf <agraf@suse.de>
hw/intc/openpic_kvm.c