summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorMetin Kaya <metikaya@amazon.com>2022-03-21 14:05:32 +0300
committerDavid Woodhouse <dwmw@amazon.co.uk>2022-11-30 22:24:56 +0300
commit214b0a88c46d5f32d80abe0d1bc2eea1cbd38f11 (patch)
treed8a88db46573406a8be2a144e38f000eb2e6bce5 /virt
parentdf0bb47baa95aad133820b149851d5b94cbc6790 (diff)
downloadlinux-214b0a88c46d5f32d80abe0d1bc2eea1cbd38f11.tar.xz
KVM: x86/xen: add support for 32-bit guests in SCHEDOP_poll
This patch introduces compat version of struct sched_poll for SCHEDOP_poll sub-operation of sched_op hypercall, reads correct amount of data (16 bytes in 32-bit case, 24 bytes otherwise) by using new compat_sched_poll struct, copies it to sched_poll properly, and lets rest of the code run as is. Signed-off-by: Metin Kaya <metikaya@amazon.com> Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Reviewed-by: Paul Durrant <paul@xen.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions