Re: [libvirt-users] Rollback to running VM

2017-09-19 Thread Jackson, Gary L.
Thanks! The vanilla snapshot-create-as and revert commands work just exactly the way I’d want them to. I’d gotten a bit confused by the documentation and went down a rabbit hole with external snapshots. Is there any way to make the snapshot and restore faster, like maybe by a decimal order of

Re: [libvirt-users] Rollback to running VM

2017-09-19 Thread Doug Hughes
According to this page: https://wiki.libvirt.org/page/Snapshots It saves complete memory state, or crash-consistent disk state, but not both. You probably want to test it thoroughly and see how it does.  I only use the disk-consistent snapshots. On 9/19/2017 11:17 AM, Jackson, Gary L. wrote: >

Re: [libvirt-users] Rollback to running VM

2017-09-19 Thread Jackson, Gary L.
Will snapshot-revert restore the processor and memory state of the VM as it was at the time of the snapshot? -- Gary Jackson On 9/19/17, 11:10 AM, "libvirt-users-boun...@redhat.com on behalf of Doug Hughes" wrote:

Re: [libvirt-users] Rollback to running VM

2017-09-19 Thread Doug Hughes
On 9/19/2017 9:56 AM, Martin Kletzander wrote: > On Tue, Sep 19, 2017 at 01:28:45PM +, Jackson, Gary L. wrote: >> >> I would like to make a snapshot of a running VM, let it continue to run >> after the shapshot, and then at some later time roll back the VM to >> that previous running state.

Re: [libvirt-users] Rollback to running VM

2017-09-19 Thread Martin Kletzander
On Tue, Sep 19, 2017 at 01:28:45PM +, Jackson, Gary L. wrote: I would like to make a snapshot of a running VM, let it continue to run after the shapshot, and then at some later time roll back the VM to that previous running state. Can I do that with libvirt? If so, how? I understand that

[libvirt-users] Rollback to running VM

2017-09-19 Thread Jackson, Gary L.
I would like to make a snapshot of a running VM, let it continue to run after the shapshot, and then at some later time roll back the VM to that previous running state. Can I do that with libvirt? If so, how? I understand that this will cause all kinds of havoc with things like ongoing TCP

Re: [libvirt-users] How can i limit CPU allowance to 25% of a single core

2017-09-19 Thread Martin Kletzander
On Tue, Sep 19, 2017 at 02:57:09AM +0530, Shashwat shagun wrote: Hi, How do Hard limit a CPU allowance to 25% of a single core in KVM? Using `period`/`quota` and `shares` parameters of cgroups. This is mapped to the domain XML's respective `cputune` elements [1]. Martin [1]