Skip to contentSkip to conversation

save/restore/migrate kernel questions

DISCUSSION Jan Beulich 3 participants 3 messages Nov 10, 2010

lore
Share & tools
lore
#0 lore raw

Jeremy: Is an off the shelf, upstream pv-ops kernel capable of being saved/restored/migrated? Somehow I can't seem to find the suspend event channel setup code...

Keir: In the 2.6.18 kernel, the suspend event channel gets set up even for Dom0. This as well as the registering of the shutdown watch seems pointless (and dangerous in case something connected to it say due to a bug) to me in that context. Am I missing something?

Thanks, Jan

#1 lore raw
Quoted 3 lines · Jan Beulich

Jeremy: Is an off the shelf, upstream pv-ops kernel capable of being saved/restored/migrated? Somehow I can't seem to find the suspend event channel setup code...

save/restore/migration support has been in the pvops kernel since (IIRC) the late 2.6.2x kernels and still works today. I haven't tested other trees as widely but it is pretty solid in the latest 2.6.32.x kernels and in the xen.git tree.

The suspend event channel is an optional extra (used to support fast back to back checkpoint iterations, e.g. for remus) which is not currently implemented in pvops. s/r/m works without it via the traditional /local/domain/N/control/shutdown xenstore key.

Ian.

#2 lore raw
In reply to Jan Beulich
Quoted 5 lines · Jan Beulich

Keir: In the 2.6.18 kernel, the suspend event channel gets set up even for Dom0. This as well as the registering of the shutdown watch seems pointless (and dangerous in case something connected to it say due to a bug) to me in that context. Am I missing something?

Probably not. I wouldn't have considered it a problem -- users will be pissed if some entity starts randomly connecting to and shutting down any guest, regardless if it's dom0 or a domU. Best not do that. ;-)

-- Keir