vt_suspend / vt_resume

Andriy Gapon avg at FreeBSD.org
Thu Oct 9 15:10:08 UTC 2014

On 03/10/2014 18:21, Nathan Whitehorn wrote:
> On 10/03/14 08:13, Andriy Gapon wrote:
>> The patch (I am not sure if fbd_attach is the right place to register the event
>> handlers):
> It's not, I don't think, since fbd_attach() isn't called for all vt backends
> (e.g. the VGA and EFI backends don't call it). vt_fb_suspend() also only calls
> vt_suspend(), so it's probably best to put this in the core vt code.

I looked at the vt code and I was not able to figure out what would be the
proper place there.
Initially I thought that vt_allocate() would be it, but then it seems that
vt_allocate() might not be called. So, perhaps vtterm_cnprobe() ? Something else?

Andriy Gapon

More information about the freebsd-current mailing list