Re: [Xen-devel] [PATCH v3 2/3] Revert "libxl: fix build on rather old systems"

2019-01-14 Thread Wei Liu
On Mon, Jan 14, 2019 at 02:59:36PM +, Ian Jackson wrote: > This reverts commit 1bce5f9baf0f4a4e50722f32b44afe4fdefc6b35. > > This situation should be handled by disabling the dm restrict > feature, not silently falling back to lower protection. > > Also this #ifdeffery is bad style. > >

[Xen-devel] [PATCH v3 2/3] Revert "libxl: fix build on rather old systems"

2019-01-14 Thread Ian Jackson
This reverts commit 1bce5f9baf0f4a4e50722f32b44afe4fdefc6b35. This situation should be handled by disabling the dm restrict feature, not silently falling back to lower protection. Also this #ifdeffery is bad style. Signed-off-by: Ian Jackson --- tools/libxl/libxl_linux.c | 16 ++--