Patent ID: 8560817

Claim:
An information processing apparatus having a connecting unit that connects with an external device, comprising: an obtaining unit that obtains identification information from the external device connected to the connecting unit; a receiving unit that receives operation setting information from the external device connected to the connecting unit; an assigning unit that assigns an operating environment based on the operation setting information received by the receiving unit to an external device identified by the identification information that is obtained by the obtaining unit; a deciding unit that decides whether it is possible to assign in accordance with the operation setting information received by the receiving unit or not; a generating unit that generates plural virtual machines from hardware of the information processing apparatus with virtual machine monitor technique; a hardware calculating unit that calculates utilized amounts of the hardware having been already assigned by the assigning unit; and a hardware computing unit that computes utilized amounts of the hardware required for assignment of operating environment based on the operation setting information received by the receiving unit, wherein the assigning unit modifies operation setting of a virtual machine generated by the generating unit in accordance with the operation setting information received by the receiving unit, and assigns the modified virtual machine to the external device identified by the identification information which is obtained by the obtaining unit, and the deciding unit decides, in reference to the utilized amounts calculated by the hardware calculating unit and the utilized amounts computed by the hardware computing unit, whether it is possible to assign in accordance with the operation setting information received by the receiving unit or not.