Re: [Qemu-devel] [PATCH 1/4] tpm: Split off tpm_crb_reset function

2018-02-03 Thread Marc-Andre Lureau
On Fri, Feb 2, 2018 at 3:44 PM, Stefan Berger wrote: > Split off the tpm_crb_reset function part from tpm_crb_realize > that we need to run every time the machine resets. > > Also register our reset function with the system since TYPE_DEVICE > seems to not get a reset

[Qemu-devel] [PATCH 1/4] tpm: Split off tpm_crb_reset function

2018-02-02 Thread Stefan Berger
Split off the tpm_crb_reset function part from tpm_crb_realize that we need to run every time the machine resets. Also register our reset function with the system since TYPE_DEVICE seems to not get a reset otherwise. Signed-off-by: Stefan Berger --- v1->v2: