VirtualBox

Opened 9 years ago

Last modified 9 years ago

#14195 new defect

Linked clone does not keep saved state

Reported by: Max D Owned by:
Component: other Version: VirtualBox 4.3.28
Keywords: Cc:
Guest type: all Host type: all

Description

When trying to create a link clone of a VM which has live snapshot and has been restored to one of them, the saved state is not carried accross to the cloned VM.

Simple steps to reproduce:

Create, register & start an empty VM. Wait until the boot failure screen.

vboxmanage createvm --name test --register
vboxmanage startvm test --type gui

Take a live snapshot, power off the VM, restore the snapshot, check the state.

vboxmanage snapshot test take base
vboxmanage controlvm test poweroff
vboxmanage snapshot test restorecurrent
vboxmanage showvminfo test | grep State

State is now "Saved" Create a linked clone and check its state:

vboxmanage clonevm test --name test-clone --snapshot base --mode machine --options link --register
vboxmanage showvminfo test-clone | grep State

Reported state if "powered off" instead of "Saved". Starting the linked clone brings us to the initial VBox boot and not to the failed boot screen of the parent VM.

Change History (1)

comment:1 by Max D, 9 years ago

It appears that the saved state file is copied over to the Snapshots folder of the cloned VM but is simply not incorporated into the VM config.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use