1. A method, in a data processing system, for detecting and managing dynamic migration of virtual environments, the method comprising: retrieving, by a virtual environment, a first host component identifier, wherein the virtual environment comprises an operating system and an application running on first host platform, identified by the first host component identifier, within the data processing system; performing a physical environment scan in response to receiving a call from the application; retrieving, by the virtual environment, a second host component identifier; and responsive to the second host component identifier being different from the first host component identifier, detecting a dynamic migration of the virtual environment from the first host platform to a second host platform, identified by the second host component identifier, within the data processing system and performing at least one action to manage the dynamic migration of the virtual environment.