[Libvir] [PATCH 0/7] QEMU/KVM save/restore support, take 3

2007-08-13 Thread Jim Paris
Here's take 3 of the QEMU/KVM save/restore support.  Thanks for your
input.

Changes since last time:

- Remove escape sequence filtering, it's not necessary.

- Clean up stdin handling in virExec, use -1 to signify unused

- Add signal-safe read/write wrappers that handle EINTR and use them.

- Add version and padding to image header, and check version on restore.

- Include null-termination in XML data  length

- Show name of conflicting domain in error message

Everything seems to work well in my tests.  I've run into a few rare
cases where the migration doesn't work correctly (causing segfaults in
the guest, or kvm to crash), but it's not libvirt's fault, and libvirt
handles the failures well.
(I suspect it's related to
  http://article.gmane.org/gmane.comp.emulators.kvm.devel/5583)

Thanks,
-jim

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [Libvir] [PATCH 0/7] QEMU/KVM save/restore support, take 3

2007-08-13 Thread Jim Paris
Sorry, I'm still trying to learn these tools ... those subjects weren't 
numbered.

The order should be:

Subject: [PATCH 1/7] Fix issues with QEMU monitor interface.
Subject: [PATCH 2/7] Add option to pass stdin fd to virExec
Subject: [PATCH 3/7] Add migration support to QEMU startup.
Subject: [PATCH 4/7] Add qemudEscapeShellArg for passing commandlines to qemu.
Subject: [PATCH 5/7] Add signal-safe read/write wrappers
Subject: [PATCH 6/7] Add KVM save support using migration.
Subject: [PATCH 7/7] Add KVM restore support using migration.

-jim

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [Libvir] [PATCH 0/7] QEMU/KVM save/restore support, take 3

2007-08-13 Thread Daniel P. Berrange
On Mon, Aug 13, 2007 at 02:17:03PM -0400, Jim Paris wrote:
 Here's take 3 of the QEMU/KVM save/restore support.  Thanks for your
 input.
 
 Changes since last time:
 
 - Remove escape sequence filtering, it's not necessary.
 
 - Clean up stdin handling in virExec, use -1 to signify unused
 
 - Add signal-safe read/write wrappers that handle EINTR and use them.
 
 - Add version and padding to image header, and check version on restore.
 
 - Include null-termination in XML data  length
 
 - Show name of conflicting domain in error message
 
 Everything seems to work well in my tests.  I've run into a few rare
 cases where the migration doesn't work correctly (causing segfaults in
 the guest, or kvm to crash), but it's not libvirt's fault, and libvirt
 handles the failures well.

It all worked nicely for me too - exposed a bug in virt-manager too :-)
Thanks again for coding  debugging this all

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-   Perl modules: http://search.cpan.org/~danberr/  -=|
|=-   Projects: http://freshmeat.net/~danielpb/   -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [Libvir] [PATCH 0/7] QEMU/KVM save/restore support, take 3

2007-08-13 Thread Daniel Veillard
On Tue, Aug 14, 2007 at 03:19:24AM +0100, Daniel P. Berrange wrote:
 On Mon, Aug 13, 2007 at 02:17:03PM -0400, Jim Paris wrote:
  Here's take 3 of the QEMU/KVM save/restore support.  Thanks for your
  input.
  
  Changes since last time:
  
  - Remove escape sequence filtering, it's not necessary.
  
  - Clean up stdin handling in virExec, use -1 to signify unused
  
  - Add signal-safe read/write wrappers that handle EINTR and use them.
  
  - Add version and padding to image header, and check version on restore.
  
  - Include null-termination in XML data  length
  
  - Show name of conflicting domain in error message
  
  Everything seems to work well in my tests.  I've run into a few rare
  cases where the migration doesn't work correctly (causing segfaults in
  the guest, or kvm to crash), but it's not libvirt's fault, and libvirt
  handles the failures well.
 
 It all worked nicely for me too - exposed a bug in virt-manager too :-)
 Thanks again for coding  debugging this all

  Yes, I want to echo this, congrats and many thanks !

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard  | virtualization library  http://libvirt.org/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list