Jacek Konieczny
2014-Apr-24 12:20 UTC
xenstore /vm/$uuid cleared on domU reboot - bug or feature
Hi, I need to provide some data to my domUs from dom0. I decided to use xenstore for that and I put my data under /vm/$uuid/ – I assumed that is a good place, as the domU can easily locate this data and it is said to 'not change even on migration'. The http://wiki.xen.org/wiki/XenStore_Reference states:> The /vm path stores configuration information for a domain. This > information doesn't change and is indexed by the domain's UUID.Unfortunately, I found this not being true. The information does change, on a domU restart. The path is the same (provided I use static UUID in the xl cfg file), but all old contents is gone. Is that expected? Should I use some other location in the xenstore for my data? What is are the 'best practices' here? Using own 'root' namespace for my per-domU data would have some inconvenieces, like that I will need to remove it when the VM is _finally_ gone. Greets, Jacek