Re: [Qemu-devel] [RFC PATCH 1/2] migrate: Allow incoming migration without defer

2018-03-05 Thread Richard Palethorpe
hello David, Dr. David Alan Gilbert writes: > * Richard Palethorpe (rpaletho...@suse.com) wrote: >> Allow a QEMU instance which has been started and used without the "-incoming" >> flag to accept an incoming migration with the "migrate-incoming" QMP >>

Re: [Qemu-devel] [Qemu-block] [RFC PATCH 0/2] Increase usability of external snapshots

2018-03-05 Thread Richard Palethorpe
Hello Roman, Roman Kagan writes: > On Tue, Feb 27, 2018 at 12:56:49PM +0100, Richard Palethorpe wrote: >> Following on from the discussion about creating savevm/loadvm QMP >> equivalents. I decided to take the advice given that we should use external >> snapshots. However re

[Qemu-devel] [RFC PATCH 2/2] migrate: Tests for migrating to an already used QEMU

2018-02-27 Thread Richard Palethorpe
Currently this appears to work for X86_64, but PPC64 fails due to some unexpected data on the serial port after migration. This probably requires quite a bit more work. --- tests/migration-test.c | 113 + 1 file changed, 85 insertions(+), 28 deletion

[Qemu-devel] [RFC PATCH 0/2] Increase usability of external snapshots

2018-02-27 Thread Richard Palethorpe
but not yet on PPC64 because the serial output is different. It needs quite a lot more work, but before I continue, I would like to know first if this is something people fundamentally object to? Richard Palethorpe (2): migrate: Allow incoming migration without defer migrate: Tests for migrating t

[Qemu-devel] [RFC PATCH 1/2] migrate: Allow incoming migration without defer

2018-02-27 Thread Richard Palethorpe
Allow a QEMU instance which has been started and used without the "-incoming" flag to accept an incoming migration with the "migrate-incoming" QMP command. This allows the user to dump the VM state to an external file then revert to that state at a later time without restarting QEMU. --- migration

Re: [Qemu-devel] [PATCH 1/2] Add save-snapshot, load-snapshot and delete-snapshot to QAPI

2018-02-12 Thread Richard Palethorpe
>>> > > On 2018-01-08 14:52, Eric Blake wrote: >>> > > > On 01/07/2018 06:23 AM, Richard Palethorpe wrote: >>> > > >> Add QAPI wrapper functions for the existing snapshot functionality. >>> > > >> These >>> > &g

Re: [Qemu-devel] [PATCH 1/2] Add save-snapshot, load-snapshot and delete-snapshot to QAPI

2018-01-10 Thread Richard Palethorpe
Hello Eric & Peter, Eric Blake writes: > On 01/07/2018 06:23 AM, Richard Palethorpe wrote: >> Add QAPI wrapper functions for the existing snapshot functionality. These >> functions behave the same way as the HMP savevm, loadvm and delvm >> commands. This will allow app

[Qemu-devel] [PATCH 2/2] Add test cases for saving, loading and deleting snapshots using QAPI

2018-01-07 Thread Richard Palethorpe
Signed-off-by: Richard Palethorpe --- tests/.gitignore | 1 + tests/Makefile.include | 2 ++ tests/test-snapshot.c | 93 ++ 3 files changed, 96 insertions(+) create mode 100644 tests/test-snapshot.c diff --git a/tests/.gitignore b/tests

[Qemu-devel] [PATCH 1/2] Add save-snapshot, load-snapshot and delete-snapshot to QAPI

2018-01-07 Thread Richard Palethorpe
the term snapshot instead of VM because I think it is less ambiguous and matches the internal function names. Signed-off-by: Richard Palethorpe --- migration/savevm.c | 27 ++ qapi-schema.json | 66 ++ 2 files changed, 93