Abstract:
A method for executing a virtual machine (VM) in an electronic device is provided. The method includes obtaining a position of a first base disk image stored in a disk image storage, creating a root disk image that backs the first base disk image based on the obtained position, and executing the VM based on the created root disk image. The method further includes, in the run-time of the VM, changing the first base disk to the second base disk, and continuing the VM based on the merged root disk.