From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965334AbdEOOY2 (ORCPT ); Mon, 15 May 2017 10:24:28 -0400 Received: from mx2.suse.de ([195.135.220.15]:44085 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965104AbdEOOY1 (ORCPT ); Mon, 15 May 2017 10:24:27 -0400 Subject: Re: Support of lguest? To: Vitaly Kuznetsov Cc: Rusty Russell , Linux Kernel Mailing List , virtualization@lists.linux-foundation.org, xen-devel , lguest@lists.ozlabs.org References: <7696c3d8-0ede-2704-34bb-d3d7dac6883d@suse.com> <87r2zqi4iz.fsf@vitty.brq.redhat.com> From: Juergen Gross Message-ID: <50f4d2ff-3028-990c-b9c9-f85ad2a3c7e9@suse.com> Date: Mon, 15 May 2017 16:24:24 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <87r2zqi4iz.fsf@vitty.brq.redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/05/17 16:22, Vitaly Kuznetsov wrote: > Juergen Gross writes: > >> Lguest and Xen pv-guests are the only users of pv_mmu_ops (with the >> one exception of the .exit_mmap member, which is being used by Xen >> HVM-guests, too). >> >> As it is possible now to build a kernel without Xen pv-guest support >> while keeping PVH and PVHVM support, I thought about putting most >> pv_mmu_ops functions in #ifdef CONFIG_XEN_HAS_PVMMU sections. > > There is an ongoing work to enable PV TLB flushing for Hyper-V guests: > http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2017-April/104411.html > > it utilizes .flush_tlb_others member in pv_mmu_ops. > > hopefully, this work will be merged in 4.13. Thanks for the information. I'll keep .flush_tlb_others member outside the #ifdef section. Juergen