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
Also in
lkml
Reply to
Tomi Valkeinen, 2014-07-31
-----Original Message-----
From: Tomi Valkeinen [mailto:<redacted>]
Sent: Thursday, July 31, 2014 21:38 PM
quoted
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
Thread (8 messages) 8 messages, 3 authors, last reply 2014-08-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help