XenStore: Difference between revisions

From Xen
Jump to navigationJump to search
(Created page with "<!-- MoinMoin name: XenStore --> <!-- Comment: --> <!-- WikiMedia name: XenStore --> <!-- Page revision: 00000003 --> <!-- Original date: Sun Mar 26 12:11:10 2006 (114…")
 
mNo edit summary
Line 35: Line 35:
[[Category:Developers]]
[[Category:Developers]]
[[Category:Glossary]]
[[Category:Glossary]]

{{Languages}}

Revision as of 17:19, 29 November 2011


XenStore is an information storage space shared between domains. It is meant for configuration and status information rather than for large data transfers. Each domain gets its own path in the store, which is somewhat similar in spirit to procfs. When values are changed in the store, the appropriate drivers are notified. For more information and a guide to developing with XenStore, see XenBus.

You can find more about the data stored in XenStore at XenStoreReference.

A handy shell script to dump the xenstore :


#!/bin/sh

function dumpkey() {
   local param=${1}
   local key
   local result
   result=$(xenstore-list ${param})
   if [ "${result}" != "" ] ; then
      for key in ${result} ; do dumpkey ${param}/${key} ; done
     else
      echo -n ${param}'='
      xenstore-read ${param}
   fi
}

for key in /vm /local/domain /tool ; do dumpkey ${key} ; done
Languages Language: [[::XenStore|English]]  • [[::XenStore/fr|français]]