From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754535AbdCFVH0 (ORCPT ); Mon, 6 Mar 2017 16:07:26 -0500 Received: from mx3-phx2.redhat.com ([209.132.183.24]:45839 "EHLO mx3-phx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754430AbdCFVHN (ORCPT ); Mon, 6 Mar 2017 16:07:13 -0500 Date: Mon, 6 Mar 2017 16:07:10 -0500 (EST) From: Paolo Bonzini To: Yu Zhang Cc: qian ouyang , linux-kernel@vger.kernel.org, kvm@vger.kernel.org Message-ID: <70159308.29185317.1488834430533.JavaMail.zimbra@redhat.com> In-Reply-To: <58B68E91.4010400@linux.intel.com> References: <1468351223-3250-1-git-send-email-pbonzini@redhat.com> <0543af50-8961-38a7-1acc-aaefd4915dda@redhat.com> <58B68E91.4010400@linux.intel.com> Subject: Re: [RFC PATCH 0/4] KVM: Emulate UMIP (or almost do so) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.4.164.1, 10.5.101.130] X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF51 (Linux)/8.0.6_GA_5922) Thread-Topic: Emulate UMIP (or almost do so) Thread-Index: sr+tvzO6D9KNCr12P8rsmjhklORonw== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- Original Message ----- > From: "Yu Zhang" > To: "Paolo Bonzini" > Cc: "qian ouyang" , linux-kernel@vger.kernel.org, kvm@vger.kernel.org > Sent: Wednesday, March 1, 2017 10:04:17 AM > Subject: Re: [RFC PATCH 0/4] KVM: Emulate UMIP (or almost do so) > > > > On 12/13/2016 7:03 PM, Paolo Bonzini wrote: > > > > On 13/12/2016 05:03, Li, Liang Z wrote: > >> Hi Paolo, > >> > >> We intended to enable UMIP for KVM and found you had already worked on it. > >> Do you have any plan for the following patch set? It's there anything else > >> you expect > >> us help to do? > > Yes, I plan to resend these patches for 4.11. > > Hi Paolo, > > Previously we saw your RFC patches of UMIP sent out, and we would > like to try some unit test in Intel. I found a patch written by you in > https://patchwork.kernel.org/patch/9225929/, guess this is for the kvm > unit test(though I failed to git apply it directly). > And I wonder, when will it be integrated to kvm unit test repo? Probably together with the patches for UMIP support and emulation. > Besides, is this all the test for UMIP unit test? I.e. do we need to > construct a scenario in the test to trigger vm exit and let hypervisor > inject a GP fault? - I did not see this scenario in this patch. Or any > other suggestions? :-) The unit test only tests that UMIP works as advertised; if the host processor does not support UMIP, it will test the hypervisor emulation path. Whenever UMIP support is added to KVM, we will probably add a module parameter so that we can force UMIP emulation path even on processor that have native support. Paolo