| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] xen/manage: Use orderly_reboot() to reboot
 On 27.06.22 16:28, Ross Lagerwall wrote: Currently when the toolstack issues a reboot, it gets translated into a call to ctrl_alt_del(). But tying reboot to ctrl-alt-del means rebooting may fail if e.g. the user has masked the ctrl-alt-del.target under systemd. A previous attempt to fix this set the flag to force rebooting when ctrl_alt_del() is called. Sorry, I have problems parsing this sentence. > However, this doesn't give userspace the The code seems to be fine. Albeit I wonder whether we shouldn't turn shutting_down into a bool, as all that seems to be needed is "shutting_down != SHUTDOWN_INVALID" today. But this could be part of another patch. Juergen Attachment:
OpenPGP_0xB0DE9DD628BF132F.asc Attachment:
OpenPGP_signature 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |