Revert "libxl: fix build on rather old systems"
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 14 Jan 2019 14:59:36 +0000 (14:59 +0000)
committerWei Liu <wei.liu2@citrix.com>
Thu, 17 Jan 2019 17:59:13 +0000 (17:59 +0000)
commitba219192b108c36b96e4f0f79fd10b03aff9f534
tree5fd1338273cbd457ad138da35fb123349df34b98
parent617da6a3796eda79cc5f13e4a128e4d80d720925
Revert "libxl: fix build on rather old systems"

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 <ian.jackson@eu.citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
tools/libxl/libxl_linux.c