1. A computer-implemented method comprising: receiving an indication that a virtual machine is going to be migrated from a first operating environment to a second operating environment; downgrading the mode of operation of a cache system associated with the virtual machine including initially downgrading the mode of operation of the cache system, wherein initially downgrading the mode of operation includes obtaining content associated with a read request resulting in a cache hit from a memory device currently associated with the cache system and writing content associated with a write request received during downgrade to a data array associated with the virtual machine; copying content included within the memory device currently associated with the cache system to a memory device to be associated with the cache system; after the content is copied, subsequently downgrading the mode of operation of the cache system, wherein subsequently downgrading the mode of operation includes obtaining content associated with a read request resulting in a cache hit from the data array; detaching the memory device currently associated with the cache system from the virtual machine; and migrating the virtual machine from the first operating environment to the second operating environment.