1. A method for addressing at least one anomaly associated with at least one actual hardware element in a computer system having a plurality of hardware elements, said method comprising the steps of: responsive to detecting said at least one anomaly, inserting a virtualization layer between (i) an operating system of said computer system, and (ii) said plurality of hardware elements; and performing at least one of hardware emulation and hardware deactivation on said at least one actual hardware element, with said virtualization layer; wherein said insertion of said virtualization layer is accomplished in an on-the-fly manner.