Skip to content

RFC Making KVM_GET_ONE_REG/KVM_SET_ONE_REG generic.

Rusty Russell kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 42 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5KVM: Move KVM_SET_ONE_REG/KVM_GET_ONE_REG to generic code.arch/powerpc/include/asm/kvm_host.h arch/powerpc/kvm/book3s_hv.c arch/powerpc/kvm/book3s_pr.c +6 more+35 -383 replies
2/5KVM: ARM: use KVM_SET_ONE_REG/KVM_GET_ONE_REG.arch/arm/include/asm/kvm.h arch/arm/include/asm/kvm_coproc.h arch/arm/include/asm/kvm_host.h +2 more+103 -1621 reply
3/5KVM: Add KVM_VCPU_GET_REG_LIST.include/linux/kvm.h include/linux/kvm_host.h virt/kvm/kvm_main.c+27 -11 reply
4/5KVM: ARM: Use KVM_VCPU_GET_REG_LIST.arch/arm/include/asm/kvm.h arch/arm/include/asm/kvm_host.h arch/arm/kvm/arm.c +2 more+5 -261 reply
5/5KVM: ARM: Access all registers via KVM_GET_ONE_REG/KVM_SET_ONE_REG.arch/arm/include/asm/kvm.h arch/arm/include/asm/kvm_host.h arch/arm/kvm/coproc.c +1 more+275 -7311 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC 0/5] Making KVM_GET_ONE_REG/KVM_SET_ONE_REG generic.

Hi all,

This compiles, completely untested, but it's my attempt to give
Avi (and Alexander) what he asked for in a generic register accessor.

Mingled in these patches is the conversion of the latest KVM ARM code, which is the first proposed user: by the end, we use these accessors for *every* register and piece of state.

GET_MULTI/SET_MULTI is an obvious extension which is not yet implemented.

Comments please!
Rusty.