Re: [Xen-devel] [PATCH RFC 19/31] tools/libxc: Sanitise guest featuresets

2016-01-05 Thread Ian Campbell
On Wed, 2015-12-16 at 21:24 +, Andrew Cooper wrote: > When generating a VM featureset, clearing individual features is > problematic > if a feature has dependent features. > > Instead of disabling individual features, collect all disabling together > in > sanitise_featureset(), and perform dee

[Xen-devel] [PATCH RFC 19/31] tools/libxc: Sanitise guest featuresets

2015-12-16 Thread Andrew Cooper
When generating a VM featureset, clearing individual features is problematic if a feature has dependent features. Instead of disabling individual features, collect all disabling together in sanitise_featureset(), and perform deep dependency removal on the result, to remove all impacted features.