Comment #1 on issue 243 by [email protected]: kvm live migration fails with keymap set
http://code.google.com/p/ganeti/issues/detail?id=243
The problem results from the fact that GenerateKVMRuntime should be a "pure" function, but for the keymap, it also touches the filesystem. This change is of course not propagated over migration, so therefore migration fails.
We need to either duplicate the creation of the keymap in AcceptInstance, or (better) split the generation of the keymap into a separate "PrepareSystem" that is called on both start and migration.
Looking more in-depth, the spice "bind-on-interface" mode is also broken, because it looks up the interface IP once, at startup, and after migration it will be broken too.
