Skip to content

RFC: provide synchronous registers in kvm_run

Christian Borntraeger kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3kvm: provide synchronous registers in kvm_runDocumentation/virtual/kvm/api.txt arch/ia64/include/asm/kvm.h arch/powerpc/include/asm/kvm.h +3 more+56 -02 replies
2/3kvm-s390: provide the prefix register via kvm_runarch/s390/include/asm/kvm.h arch/s390/kvm/kvm-s390.c+3 -00 replies
3/3kvm-s390: provide general purpose registers via kvm_runarch/s390/include/asm/kvm.h arch/s390/include/asm/kvm_host.h arch/s390/kvm/diag.c +4 more+34 -335 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/3] RFC: provide synchronous registers in kvm_run

Avi, Marcelo,

currently userspace can access guest registers via several ioctls. Some of these registers might be useful very often. Here the system call overhead for ioctl can make an exit more expensive than necessary.
In a discussion with Alex Graf we concluded that it might be beneficial to have a subset of registers available in kvm_run. (The ioctls will also be available).

This series provides a prototype implementation together with two example users for s390.

Opionions?