aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2022-07-15 07:34:55 -0400
committerPaolo Bonzini <[email protected]>2022-07-15 07:49:40 -0400
commit79629181607e801c0b41b8790ac4ee2eb5d7bc3e (patch)
treee5f5fdfd481ba5e0978cd7f661ff7182649c20f7 /lib/mpi/mpi-sub-ui.c
parent8a414f943f8b5f94bbaafdec863d6f3dbef33f8a (diff)
KVM: emulate: do not adjust size of fastop and setcc subroutines
Instead of doing complicated calculations to find the size of the subroutines (which are even more complicated because they need to be stringified into an asm statement), just hardcode to 16. It is less dense for a few combinations of IBT/SLS/retbleed, but it has the advantage of being really simple. Cc: [email protected] # 5.15.x: 84e7051c0bc1: x86/kvm: fix FASTOP_SIZE when return thunks are enabled Cc: [email protected] Suggested-by: Linus Torvalds <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions