1. A method for allocating resources for a virtualization system supporting at least two operating systems, the method comprising: allocating resources to the operating systems; calculating, when one of the operating systems is running, workloads for each operating system; and adjusting resources allocated to the operating systems according to the calculated workloads.