From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23702C6377D for ; Thu, 22 Jul 2021 12:55:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0A3CE6137D for ; Thu, 22 Jul 2021 12:55:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232103AbhGVMOv (ORCPT ); Thu, 22 Jul 2021 08:14:51 -0400 Received: from verein.lst.de ([213.95.11.211]:33958 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232075AbhGVMOr (ORCPT ); Thu, 22 Jul 2021 08:14:47 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 9C05767373; Thu, 22 Jul 2021 14:55:19 +0200 (CEST) Date: Thu, 22 Jul 2021 14:55:19 +0200 From: Christoph Hellwig To: Zhenyu Wang Cc: Christoph Hellwig , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Zhi Wang , intel-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman Subject: Re: refactor the i915 GVT support Message-ID: <20210722125519.GA25887@lst.de> References: <20210721155355.173183-1-hch@lst.de> <20210722094516.GQ13928@zhen-hp.sh.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210722094516.GQ13928@zhen-hp.sh.intel.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 22, 2021 at 05:45:16PM +0800, Zhenyu Wang wrote: > The reason we isolated hypervisor specific code from core vgpu > emulation is to make multiple hypervisor support possible. Yes, we do > have Xen support but never got way into upstream...And we also have > third party hypervisors which leverage gvt function through current > hypervisor interface. Out of tree stuff simply does not matter for the upstream kernel, especially when it creates such a huge burden. As a background: I started this refactoring as a lot of the code did not make much sense when reviewing the mdev integration in preparation to switching them to the new mdev interface from Jason.