x86/dmop: Properly fail for PV guests
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 25 Feb 2021 16:54:17 +0000 (16:54 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 26 Feb 2021 12:28:52 +0000 (12:28 +0000)
commit615367b5275a5b0123f1f1ee86c985fab234a5a4
tree18c544f4c6525052a8adcd75fe15269471e70b69
parent109e8177fd4a225e7025c4c17d2c9537b550b4ed
x86/dmop: Properly fail for PV guests

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>
Release-Acked-by: Ian Jackson <iwj@xenproject.org>
xen/arch/x86/hvm/dm.c