From: Stefano Stabellini Date: Wed, 30 Apr 2014 15:06:24 +0000 (+0100) Subject: libxl: introduce an option for disabling the non-O_DIRECT workaround X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~5067 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6ec48cf41b6656c98148380f39010063e62628c5;p=xen.git libxl: introduce an option for disabling the non-O_DIRECT workaround Document and implement a new option that permits disk backends which would otherwise have to avoid O_DIRECT (because of the network memory lifetime bug) to use it anyway. This is: direct-io-safe in the xl domain disk config specification direct_io_safe in the libxl disk API direct-io-safe in the backend xenstore interface Add a reference to xen/include/public/io/blkif.h in docs/misc/vbd-interface.txt. Signed-off-by: Stefano Stabellini Signed-off-by: Ian Jackson Acked-by: Ian Campbell Tested-by: Felipe Franciosi --- diff --git a/docs/misc/vbd-interface.txt b/docs/misc/vbd-interface.txt index 3952e73b51..f873db0f70 100644 --- a/docs/misc/vbd-interface.txt +++ b/docs/misc/vbd-interface.txt @@ -125,3 +125,9 @@ because they directly map the bottom 8 bits of the xenstore integer directly to the Linux guest's device number and throw away the rest; they can crash due to minor number clashes. With these guests, the workaround is not to supply problematic combinations of devices. + + +Other frontend and backend options +---------------------------------- + +See xen/include/public/io/blkif.h for the full list of options. diff --git a/docs/misc/xl-disk-configuration.txt b/docs/misc/xl-disk-configuration.txt index cf22397ba4..11fee9a9b8 100644 --- a/docs/misc/xl-disk-configuration.txt +++ b/docs/misc/xl-disk-configuration.txt @@ -178,6 +178,44 @@ information to be interpreted by the executable program