Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1653464

Re: [RFC] KVM: SVM: ignore type when setting segment registers

From Matt Mullins <mmullins@mmlx.us>
Newsgroups linux.kernel
Subject Re: [RFC] KVM: SVM: ignore type when setting segment registers
Date 2017-05-30 20:20 +0200
Message-ID <tMTUm-2jI-25@gated-at.bofh.it> (permalink)
References <tMsU9-s2-11@gated-at.bofh.it> <tMOUF-7tv-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, May 30, 2017 at 02:54:21PM +0200, Radim Krčmář wrote:
> 2017-05-29 15:24+0200, Gioh Kim:
> > If so, why type is checked when setting segment registers?
> 
> No idea.  19bca6ab75d8 ("KVM: SVM: Fix cross vendor migration issue with
> unusable bit") also moved the assigment up to initialize it before use
> and I think that is enough.

Was this perhaps intended to instead check for a zero selector, which is also
an unusable segment?

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC] KVM: SVM: ignore type when setting segment registers Gioh Kim <gi-oh.kim@profitbricks.com> - 2017-05-29 15:30 +0200
  Re: [RFC] KVM: SVM: ignore type when setting segment registers Radim Krčmář <rkrcmar@redhat.com> - 2017-05-30 15:00 +0200
    Re: [RFC] KVM: SVM: ignore type when setting segment registers Gioh Kim <gi-oh.kim@profitbricks.com> - 2017-05-30 15:40 +0200
    Re: [RFC] KVM: SVM: ignore type when setting segment registers Matt Mullins <mmullins@mmlx.us> - 2017-05-30 20:20 +0200
      Re: [RFC] KVM: SVM: ignore type when setting segment registers Gi-Oh Kim <gi-oh.kim@profitbricks.com> - 2017-05-31 08:50 +0200

csiph-web