]> xenbits.xensource.com Git - xen.git/commit
libx86: introduce a helper to deserialise msr_policy objects
authorSergey Dyasli <sergey.dyasli@citrix.com>
Fri, 11 Sep 2020 12:56:34 +0000 (14:56 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 11 Sep 2020 12:56:34 +0000 (14:56 +0200)
commitc481b9f32da5af232edaf0feff0bf213fa23e0ba
tree3b8d55527986c8d1dc1c866ea64fe5eb39c0fd6d
parent1336ca17742471fc4a59879ae2f637a59530a933
libx86: introduce a helper to deserialise msr_policy objects

As with the serialise side, Xen's copy_from_guest API is used, with a
compatibility wrapper for the userspace build.

Signed-off-by: Sergey Dyasli <sergey.dyasli@citrix.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
master commit: afec08b92ffe8b85d2bf2e8c7c221b63ba96743e
master date: 2019-03-12 14:12:23 +0000
xen/include/xen/lib/x86/msr.h
xen/lib/x86/msr.c
xen/lib/x86/private.h