libxl: create domain 'error' node in xenstore
authorPaul Durrant <pdurrant@amazon.com>
Thu, 19 Mar 2020 11:47:47 +0000 (11:47 +0000)
committerIan Jackson <ian.jackson@eu.citrix.com>
Thu, 19 Mar 2020 15:56:00 +0000 (15:56 +0000)
commit1f706eace393cd3ca8330a2d6eeb05ff3791f608
treeb4430a9563c19037c6e3f710a15ec355669e38dc
parent85b01220fe4629fcc450896e588100fb8516ad40
libxl: create domain 'error' node in xenstore

Several PV drivers (both historically and currently [1]) report errors
by writing text into /local/domain/$DOMID/error. This patch creates the
node in libxl and makes it writable by the domain, and also adds some
text into xenstore-paths.pandoc to state what the node is for.

[1] https://xenbits.xen.org/gitweb/?p=pvdrivers/win/xenvif.git;a=blob;f=src/xenvif/frontend.c;hb=HEAD#l459

Signed-off-by: Paul Durrant <paul@xen.org>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
docs/misc/xenstore-paths.pandoc
tools/libxl/libxl_create.c