Skip to contentSkip to conversation

Migration of paused domains

DISCUSSION Rob Bradford 3 participants 3 messages Aug 3, 2006

lore
Share & tools
lore
#0 lore raw

I'm not sure if this is a real bug or not, but when attempting to test my block device migration system I pause the domain to ensure that no more writes to the backing block device will occur.

Unfortunately if the domain is pause an xm migrate command simply leads to the xm migrate command hanging. I would have thought it should be possible to migrate a paused domain. Is this a bug or is there a real problem with trying to migrate a paused domain?

Cheers,

Rob

Signature · 1 line
Rob Bradford <[email protected]>
#1 lore raw
Quoted 9 lines

I'm not sure if this is a real bug or not, but when attempting to test my block device migration system I pause the domain to ensure that no more writes to the backing block device will occur.

Unfortunately if the domain is pause an xm migrate command simply leads to the xm migrate command hanging. I would have thought it should be possible to migrate a paused domain. Is this a bug or is there a real problem with trying to migrate a paused domain?

There is a problem in migrating (or saving) a paused paravirtual domain - the guest OS needs to be 'aware' that it is being suspended so that it can ensure there are no stale mfns lying around (since these will no longer be valid after the resume / on the destination node).

cheers,

S.

#2 lore raw

There was a discussion on these lines sometime back.
http://lists.xensource.com/archives/html/xen-devel/2006-05/msg00521.html

Quoted 27 lines · Steven Hand
Quoted 10 lines

I'm not sure if this is a real bug or not, but when attempting to test my block device migration system I pause the domain to ensure that no more writes to the backing block device will occur.

Unfortunately if the domain is pause an xm migrate command simply leads to the xm migrate command hanging. I would have thought it should be possible to migrate a paused domain. Is this a bug or is there a real problem with trying to migrate a paused domain?

There is a problem in migrating (or saving) a paused paravirtual domain - the guest OS needs to be 'aware' that it is being suspended so that it can ensure there are no stale mfns lying around (since these will no longer be valid after the resume / on the destination node).

cheers,

S.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 3 lines
Jayesh
------------------------------------------------------------------------
Everything you can imagine is real

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel