device-assignment: register a reset function
commitb377474e589e5a1fe2abc7b13fafa8bad802637a
authorBernhard Kohl <bernhard.kohl@nsn.com>
Tue, 16 Nov 2010 14:05:29 +0000 (16 15:05 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 17 Nov 2010 14:08:50 +0000 (17 12:08 -0200)
tree7c492b9e9ccdab786bdb7c7e02b29b720f727d84
parent4f21cd82ecede4a065def2ff146cd001078ffcb8
device-assignment: register a reset function

This is necessary because during reboot of a VM the assigned devices
continue DMA transfers which causes memory corruption.

Acked-by: Alex Williamson <alex.williamson@redhat.com>
Acked-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Thomas Ostler <thomas.ostler@nsn.com>
Signed-off-by: Bernhard Kohl <bernhard.kohl@nsn.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
hw/device-assignment.c