From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965495AbdEOOWR (ORCPT ); Mon, 15 May 2017 10:22:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:12736 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964971AbdEOOWQ (ORCPT ); Mon, 15 May 2017 10:22:16 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 386C7A1F6B Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=vkuznets@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 386C7A1F6B From: Vitaly Kuznetsov To: Juergen Gross Cc: Rusty Russell , Linux Kernel Mailing List , virtualization@lists.linux-foundation.org, xen-devel , lguest@lists.ozlabs.org Subject: Re: Support of lguest? References: <7696c3d8-0ede-2704-34bb-d3d7dac6883d@suse.com> Date: Mon, 15 May 2017 16:22:12 +0200 In-Reply-To: <7696c3d8-0ede-2704-34bb-d3d7dac6883d@suse.com> (Juergen Gross's message of "Mon, 15 May 2017 16:09:25 +0200") Message-ID: <87r2zqi4iz.fsf@vitty.brq.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Mon, 15 May 2017 14:22:15 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- Vitaly