Il 26/06/2013 09:08, j...@tribudubois.net ha scritto: > For my own education, could you elaborate on the reason this is not a > good change?
Quoting from http://article.gmane.org/gmane.comp.emulators.qemu/218078: > The MemoryRegion name is free text that can be changed as desired and > doesn't need to match the type name. > > The TYPE_* constant serves to keep consistency between usages of the > string literal but does not prohibit changing its value. > > The VMStateDescription should thus not use the TYPE_* constant because > it must not ever change for live migration. Renaming a type is a valid > thing to do if there is no command line compatibility to keep (think > board-level "xlnx.foo" -> "xlnx,foo"). Paolo