openbmc / obmc-ikvm

GNU General Public License v2.0
23 stars 9 forks source link

KVM should provide --timeout option to timeout the VNC session after that idle period. #8

Open saravanan-palanisamy opened 1 year ago

saravanan-palanisamy commented 1 year ago

Background: 'bmcweb' have default [30-minutes session timeout ].(https://github.com/openbmc/bmcweb/blob/e01d0c36af115ed46d54b5dbbacfe3ad92226bd3/include/sessions.hpp#L424)

Issue: KVM session opened is accessible from OpenBMC webUI even after bmcweb idle session timeout (30-minutes). This could be legacy design, needed to do the uninterrupted host video access, say, SW installation going for more than 30 minutes.

Ask: KVM should provide --timeout option to timeout the VNC session after that --timeout value. i.e.) KVM should provide an option to start its session with a configured session timeout value and close the session automatically after that time. This will be useful for users who want to enforce timeout on idle KVM sessions.