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?
Thanks, Jorge
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.
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...
- Cole
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
On 10/09/2013 01:46 PM, Cole Robinson wrote:
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.
Done!
https://bugzilla.redhat.com/show_bug.cgi?id=1017385
Yes, that would be a nice thing to have. I had like 7 snapshots on a given VM (doing a bunch of tests) and at one point I forgot from which snapshot I forked from.
On 10/09/2013 02:45 PM, Jorge Fábregas wrote:
Done!
Hi Cole,
I got the email from bugzilla that this is done. Thanks! Is it coming to the preview-repo soon?
Thanks, Jorge
On 02/01/2014 03:40 PM, Jorge Fábregas wrote:
On 10/09/2013 02:45 PM, Jorge Fábregas wrote:
Done!
Hi Cole,
I got the email from bugzilla that this is done. Thanks! Is it coming to the preview-repo soon?
I'm planning a new virt-manager release within the next couple weeks.
- Cole