new timer API - new API to save/restore the virtual machine state