• Jes Sorensen's avatar
    KVM: ia64: Fix kvm_arch_vcpu_ioctl_[gs]et_regs() · 042b26ed
    Jes Sorensen authored
    Fix kvm_arch_vcpu_ioctl_[gs]et_regs() to do something meaningful on
    ia64. Old versions could never have worked since they required
    pointers to be set in the ioctl payload which were never being set by
    the ioctl handler for get_regs.
    
    In addition reserve extra space for future extensions.
    
    The change of layout of struct kvm_regs doesn't require adding a new
    CAP since get/set regs never worked on ia64 until now.
    
    This version doesn't support copying the KVM kernel stack in/out of
    the kernel. This should be implemented in a seperate ioctl call if
    ever needed.
    Signed-off-by: default avatarJes Sorensen <jes@sgi.com>
    Acked-by : Xiantao Zhang <xiantao.zhang@intel.com>
    Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
    042b26ed
kvm.h 4.97 KB