Re: [PATCH v2] KVM: X86: Allow userspace to define the microcode version

2018-02-26 Thread Wanpeng Li
2018-02-26 19:42 GMT+08:00 Paolo Bonzini : > On 26/02/2018 11:17, Wanpeng Li wrote: >> From: Wanpeng Li >> >> Linux (among the others) has checks to make sure that certain features >> aren't enabled on a certain family/model/stepping if the microcode

Re: [PATCH v2] KVM: X86: Allow userspace to define the microcode version

2018-02-26 Thread Wanpeng Li
2018-02-26 19:42 GMT+08:00 Paolo Bonzini : > On 26/02/2018 11:17, Wanpeng Li wrote: >> From: Wanpeng Li >> >> Linux (among the others) has checks to make sure that certain features >> aren't enabled on a certain family/model/stepping if the microcode version >> isn't greater than or equal to a

Re: [PATCH v2] KVM: X86: Allow userspace to define the microcode version

2018-02-26 Thread Paolo Bonzini
On 26/02/2018 11:17, Wanpeng Li wrote: > From: Wanpeng Li > > Linux (among the others) has checks to make sure that certain features > aren't enabled on a certain family/model/stepping if the microcode version > isn't greater than or equal to a known good version. > >

Re: [PATCH v2] KVM: X86: Allow userspace to define the microcode version

2018-02-26 Thread Paolo Bonzini
On 26/02/2018 11:17, Wanpeng Li wrote: > From: Wanpeng Li > > Linux (among the others) has checks to make sure that certain features > aren't enabled on a certain family/model/stepping if the microcode version > isn't greater than or equal to a known good version. > > By exposing the real

Re: [PATCH v2] KVM: X86: Allow userspace to define the microcode version

2018-02-26 Thread Liran Alon
- kernel...@gmail.com wrote: > From: Wanpeng Li > > Linux (among the others) has checks to make sure that certain features > > aren't enabled on a certain family/model/stepping if the microcode > version > isn't greater than or equal to a known good version. > >

Re: [PATCH v2] KVM: X86: Allow userspace to define the microcode version

2018-02-26 Thread Liran Alon
- kernel...@gmail.com wrote: > From: Wanpeng Li > > Linux (among the others) has checks to make sure that certain features > > aren't enabled on a certain family/model/stepping if the microcode > version > isn't greater than or equal to a known good version. > > By exposing the real

[PATCH v2] KVM: X86: Allow userspace to define the microcode version

2018-02-26 Thread Wanpeng Li
From: Wanpeng Li Linux (among the others) has checks to make sure that certain features aren't enabled on a certain family/model/stepping if the microcode version isn't greater than or equal to a known good version. By exposing the real microcode version, we're

[PATCH v2] KVM: X86: Allow userspace to define the microcode version

2018-02-26 Thread Wanpeng Li
From: Wanpeng Li Linux (among the others) has checks to make sure that certain features aren't enabled on a certain family/model/stepping if the microcode version isn't greater than or equal to a known good version. By exposing the real microcode version, we're preventing buggy guests that