Files
xen/tools/misc
Andrew Cooper e19b01c186 libs/guest: Don't hide the indirection on xc_cpu_policy_t
It is bad form in C, perhaps best demonstrated by trying to read
xc_cpu_policy_destroy(), and causes const qualification to have
less-than-obvious behaviour (the hidden pointer becomes const, not the thing
it points at).

xc_cpu_policy_set_domain() needs to drop its (now normal) const qualification,
as the policy object is modified by the serialisation operation.

This also shows up a problem with the x86_cpu_policies_are_compatible(), where
the intermediate pointers are non-const.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
2021-05-05 20:20:42 +01:00
..
2021-02-05 17:37:28 +00:00
2021-02-05 17:37:28 +00:00
2018-09-07 15:06:00 +01:00
2017-10-05 09:27:32 -04:00
2020-05-19 11:40:53 +01:00
2018-01-25 12:27:44 +01:00
2018-10-08 15:20:18 +01:00
2018-10-08 15:20:18 +01:00
2010-06-07 07:16:43 +01:00