# RE: \[PATCH v3\] video: hyperv: hyperv\_fb: refresh the VM screen by force on VM panic

- From: Dexuan Cui \<decui@microsoft.com\>
- Date: 2014-08-01 10:23:59 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2014/08/4307979
- Thread: https://ratatoskr.run/linux-fbdev/2014/07/4290180/t.md

```text
> -----Original Message-----
> From: Tomi Valkeinen [mailto:<redacted>]
> Sent: Thursday, July 31, 2014 21:38 PM
> > I think in hvfb_on_panic() we should be able to get the
> > hvfb_info pointer by
> > hvfb_info = container_of(nb, struct hv_fb_panic_nb, nb).
> >
> > If you like that or have a better idea, please let me know so
> > I can make a new patch.
> 
> Or maybe you can add the notifier_block and the synchronous_fb to
> hvfb_par? From the notifier_block pointer you could then get hvfp_par,
> and from there hvfb_info.
>  Tomi

Hi Tomi,
Thanks a lot for the suggestion! It's better.
I'll send out a v4 patch for your review.

Thanks,
-- Dexuan

```
