All of lore.kernel.org
 help / color / mirror / Atom feed
* live saving of domU
@ 2006-05-10 15:40 Jayesh Salvi
  2006-05-10 16:32 ` Ewan Mellor
  0 siblings, 1 reply; 13+ messages in thread
From: Jayesh Salvi @ 2006-05-10 15:40 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1644 bytes --]

Hi,

Could anyone tell me, why 'xm save' has live parameter set to false by
default. From yesterday's patch ([PATCH] [XenD] Migration-related change) i
guess this paramter is renamed to network.

This is the piece of code I am talking about:
XendDomain.py:
   def domain_save(self, domid, dst):
        """Start saving a domain to file.

        @param dst:      destination file
        """

        try:
            dominfo = self.domain_lookup_by_name_or_id_nr(domid)
            if not dominfo:
                raise XendInvalidDomain(str(domid))

            if dominfo.getDomid() == PRIV_DOMAIN:
                raise XendError("Cannot save privileged domain %i" % domid)

            fd = os.open(dst, os.O_WRONLY | os.O_CREAT | os.O_TRUNC)
            try:
--->                # For now we don't support 'live checkpoint'
--->                return XendCheckpoint.save(fd, dominfo, False)
            finally:
                os.close(fd)

I am interested in saving the state of a virtual machine to a file, but want
to continue it running. I want to backup the state of the machine, so I want
this to be unintrusive operation. I would like to pause the domU and save it
to file but keeping it still in memory. After save to file is done I will
unpause the domU.

I don't see why this shouldn't be possible if live migration works so well.

Is it possible? Are there any hidden xm options for doing live save, if not
where can I tweak this?

Please let me know.

Thanks,
--
Jayesh
------------------------------------------------------------------------
Everything you can imagine is real

[-- Attachment #1.2: Type: text/html, Size: 2878 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread
[parent not found: <E1FdtIP-0000Id-VQ@host-192-168-0-1-bcn-london>]

end of thread, other threads:[~2006-05-11  8:25 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-10 15:40 live saving of domU Jayesh Salvi
2006-05-10 16:32 ` Ewan Mellor
2006-05-10 16:59   ` Anthony Liguori
2006-05-10 19:06     ` Jayesh Salvi
2006-05-10 19:30       ` Anthony Liguori
2006-05-11  1:29         ` Jayesh Salvi
2006-05-11  1:32           ` Anthony Liguori
2006-05-11  8:25     ` Jacob Gorm Hansen
2006-05-10 19:00   ` Jayesh Salvi
     [not found] <E1FdtIP-0000Id-VQ@host-192-168-0-1-bcn-london>
2006-05-10 19:14 ` Andres Lagar Cavilla
2006-05-10 19:40   ` Anthony Liguori
2006-05-10 20:42     ` Andres Lagar Cavilla
2006-05-10 21:05       ` Anthony Liguori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.