[fedora-virt] "You Are Here" on Snapshots

Cole Robinson crobinso at redhat.com
Wed Oct 9 17:46:53 UTC 2013


On 10/09/2013 12:14 PM, Cole Robinson wrote:
> On 10/09/2013 11:55 AM, Eric Blake wrote:
>> On 10/09/2013 09:26 AM, Jorge Fábregas wrote:
>>> Hello again,
>>>
>>> Another question with internal snapshots.  I can see the snapshot tree with:
>>>
>>> virsh snapshot-list Win7vm --tree
>>>
>>> However, I would like to know from what previous snapshot I'm currently
>>> running off.  Something like the "You are here" that VMware shows.   Is
>>> there a way to find that out?
>>
>> virsh snapshot-current --name $dom
>>
>> will show you the current snapshot if there is one (that is, the state
>> at which the current execution most recently forked from, which may not
>> always exist if you start deleting snapshots).  I haven't played with
>> virt-manager's handling of snapshots, but if it doesn't already, it
>> should definitely highlight the current snapshot.
> 
> I had it in the initial UI, but then dropped it. There's some trade off here:
> if we make it too prominent in the UI, I guarantee inexperienced users will
> take current snapshot to mean 'all my current disk activity is being recorded
> in the current snapshot', which isn't correct and could lead to potential data
> loss if they revert (and ignore the explicit warnings virt-manager will show
> before revert). But maybe some different wording will make it less ambiguous.
> I should play with the vmware UI...
> 

Jorge, can you file a bug under Virtualization Tools->virt-manager about
tracking the 'current' bit in the UI? So it doesn't get lost.

Thanks,
Cole



More information about the virt mailing list