The current code has an early exit for PV guests, but it returns 0 having done
nothing.
Fixes: 524a98c2ac5 ("public / x86: introduce __HYPERCALL_dm_op...")
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Ian Jackson <iwj@xenproject.org>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
master commit:
615367b5275a5b0123f1f1ee86c985fab234a5a4
master date: 2021-02-26 12:28:52 +0000
if ( rc )
return rc;
+ rc = -EINVAL;
if ( !is_hvm_domain(d) )
goto out;