A method for managing operating systems. A request from an operating
system is received in the multi-partitioned data processing system to
register for access to hardware in the multi-partitioned data processing
system. The request includes a key code for the operating system. A
determination is made as to whether the operating system is an authorized
operating system using the key code in response to receiving the request.
The operating system is registered if the operating system is the
authorized operating system. Otherwise, the operating system is
terminated.