[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen/hvm: Fix handling of obsolete HVM_PARAMs
On Thu, Feb 06, 2020 at 01:24:52PM +0000, Andrew Cooper wrote: > The local xc_hvm_param_deprecated_check() in libxc tries to guess Xen's > behaviour for the MEMORY_EVENT params, but is wrong for the get side, where > Xen would return 0 (which is also a bug). Delete the helper. > > In Xen, perform the checks in hvm_allow_set_param(), rather than > hvm_set_param(), and actually implement checks on the get side so the > hypercall doesn't return successfully with 0 as an answer. > > Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> OK. Now the check is pushed down to hypervisor. I'm certainly happy to have less code in libxc. Acked-by: Wei Liu <wl@xxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |