The patch titled KVM: Make the GET_SREGS and SET_SREGS ioctls symmetric has been added to the -mm tree. Its filename is kvm-make-the-get_sregs-and-set_sregs-ioctls-symmetric.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: KVM: Make the GET_SREGS and SET_SREGS ioctls symmetric From: Uri Lublin <uril@xxxxxxxxxxxx> This makes the SET_SREGS ioctl behave symmetrically to the GET_SREGS ioctl wrt the segment access rights flag. Signed-off-by: Uri Lublin <uril@xxxxxxxxxxxx> Signed-off-by: Avi Kivity <avi@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/kvm/vmx.c | 2 ++ 1 files changed, 2 insertions(+) diff -puN drivers/kvm/vmx.c~kvm-make-the-get_sregs-and-set_sregs-ioctls-symmetric drivers/kvm/vmx.c --- a/drivers/kvm/vmx.c~kvm-make-the-get_sregs-and-set_sregs-ioctls-symmetric +++ a/drivers/kvm/vmx.c @@ -884,6 +884,8 @@ static void vmx_set_segment(struct kvm_v ar |= (var->db & 1) << 14; ar |= (var->g & 1) << 15; } + if (ar == 0) /* a 0 value means unusable */ + ar = AR_UNUSABLE_MASK; vmcs_write32(sf->ar_bytes, ar); } _ Patches currently in -mm which might be from uril@xxxxxxxxxxxx are origin.patch kvm-make-the-get_sregs-and-set_sregs-ioctls-symmetric.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html