[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v4 2/5] x86/hvm/domain: remove the 'hap_enabled' flag


  • To: Paul Durrant <paul.durrant@xxxxxxxxxx>
  • From: Jan Beulich <JBeulich@xxxxxxxx>
  • Date: Tue, 30 Jul 2019 13:40:24 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=suse.com;dmarc=pass action=none header.from=suse.com;dkim=pass header.d=suse.com;arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8fXMbD66o3QX1orz3ZUfXd5WCNRdtV8excB9NgQwXvE=; b=OURu80gTJSmCsqHQIftNYkAF0QTsz1FkTS0mAGXKvhAssYRZPyhtU5sGEK8dBmoV3XSc0W0rsuabj+GrafLaY6KNogmjLz6DYGotQf3u6iHwLkqgWtiFZpKM8+ozLwjchhhWjbdxRmd/GFhCOx1S3fFoZExeNlmzzkYDYxiX1OL5+nDlBTQ6Yy5PYfILSQGuku4fA/vb5AsWzMhxZm4RmoXUrimE84Sx6dqbiY9tbWULMrgetuB259A4VvaBGM+lAnFNrAFufrE5JSTH3LnmsmX8KoAL1C72UzT+HGoRwifQ7EqCETfmOlnhDXww2XL1zsGSPrTlzIYx5ccepR5Gkw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g71Lphh9pUL4kiwVZhohbt0umReF4UU7mgxvH4PiUGIP4hIK9gDzHxGbd1Vpkngn+Dr1Bm/1gHC+M71bTn8Ubz/s1jjC/20iL58gDMS4w5vwknSUhy+AwGn/j7nRwqW06DRyQaI6SD9taQOPa3EYPEfCP+EuldIgUk/DlGH0DF/MdcNeLLKY9JU3L0Fn0cVgZZMoNemOuo+48hgxTna6kE/dSP1iQSNW6dgGcyelacWYqxPPPekiM0mK6cmdV4WcyOnxh1fBgWTmy1BV3+OMnWgkmTcwRayfHjWw09aOXZZNdyvqvcykJW4HuNu/icWAuevv4J5T8KgYu6lVsHmkSQ==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=JBeulich@xxxxxxxx;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Ian Jackson <ian.jackson@xxxxxxxxxxxxx>, TimDeegan <tim@xxxxxxx>, Julien Grall <julien.grall@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Tue, 30 Jul 2019 13:45:14 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHVRtxWbYiD1jQJ/Ue4DR65/axJVA==
  • Thread-topic: [PATCH v4 2/5] x86/hvm/domain: remove the 'hap_enabled' flag

On 30.07.2019 15:18, Paul Durrant wrote:
> The hap_enabled() macro can determine whether the feature is available
> using the domain 'options'; there is no need for a separate flag.
> 
> NOTE: Furthermore, by extending sanitiziing of the domain 'options', the
>        macro can be transformed into an inline function and re-located to
>        xen/sched.h. This also makes hap_enabled() common, thus allowing
>        removal of an ugly ifdef CONFIG_X86 from the common iommu code.
> 
> Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.