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

Re: [PATCH RESEND v10 2/2] x86/xen: Allow per-domain usage of hardware virtualized APIC


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Jane Malalane <Jane.Malalane@xxxxxxxxxx>
  • Date: Mon, 11 Jul 2022 08:00:29 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=iew1KypYLNnEardBDEJ1fNDRhWoT8y3h2nRFRCyAQvA=; b=IuNbzBBZC7Xe+tezsUQNK7Ws6YqH4e+eKoY4pUrNWmxMoafSgMb6KTslNUjc65VvP1llnT09QQoDTxf91XXTBpJd8bI3ewDlyHvgSoCY+RCRKpzMTnNbJt0/++gVFlDJFjm5DbgY1klNnrCJxHY8A/pyZinH7AoqIgavVbojx2Bjm0Q/UC8/0WLAiwVYqlSg5tpyqrhQX61qqW0TfyTA5tFtpxSi1cB2h3QeesRwc1ZTirAFJpURhBSTnrGGoG2pmghCgGysRxisg21lpp7E5PEMyBMcv+uRQSRUl2vMkVuxaQ9+NUO2BLJh0Yxsh//YsBEbAbxL2gqoIxBvV7RUPA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iRuRurHaUy6auGhEDgknjF7cR7xv50zRQvjCL0LV7esIAyW1U14TQtiRnLeT9yoiPiVU+i4YTzmCdkOqTAnVYufYokAWS+5CjefZLo1hNiAtwcUHmx27lXbImt1vKDRPsybGsXgq7h5F1dKSUSfqzvhV9sydP7uEpg/skMIumds0dQM85CbdDPS+yevVNmIIjb710Bjacr+dymrMgh5GqIPCtTohKl16xrQsZK0HfR+zZqf3b3CFx11ntUUXitKlok+FTethFshbUKfc12fPvKrCykFbbDBgOeOEg50HWP0pOjXpwjJ4SLN6VhQWdCk4EbX/q6bgNJnISWs0faJ8+w==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: Wei Liu <wl@xxxxxxx>, Anthony Perard <anthony.perard@xxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxx>, Nick Rosbrook <rosbrookn@xxxxxxxxx>, "Gross, Jurgen" <jgross@xxxxxxxx>, Christian Lindig <christian.lindig@xxxxxxxxxx>, David Scott <dave@xxxxxxxxxx>, Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>, Roger Pau Monne <roger.pau@xxxxxxxxxx>, "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 11 Jul 2022 08:00:43 +0000
  • Ironport-data: A9a23:d/4/naxEw/MF7TPOGQR6t+fxxyrEfRIJ4+MujC+fZmUNrF6WrkUAz 2IYXGyAMqyLYjHzKIogbYy18x9UuZGEydMwTQZr/iAxQypGp/SeCIXCJC8cHc8zwu4v7q5Dx 59DAjUVBJlsFhcwnj/0bv656yMUOZigHtIQMsadUsxKbVIiGX1JZS5LwbZj2NY32IHhWmthh PupyyHhEA79s9JLGjp8B5Kr8HuDa9yr5Vv0FnRnDRx6lAe2e0s9VfrzFonoR5fMeaFGH/bSe gr25OrRElU1XfsaIojNfr7TKiXmS1NJVOSEoiI+t6OK2nCuqsGuu0qS2TV1hUp/0l20c95NJ Npl6qCBdx0RPY32nvVAYUBADmJvNJxU9+qSSZS/mZT7I0zuVVLJm68rJmdveIoS96BwHH1E8 uEeJHYVdBefiumqwbW9DO5xmsAkK8qtN4Qa0p1i5WiBUbB6HtaeGuOWv7e03x9p7ixKNdTXY cdfTDNrZRD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dD+pN+prrwALL2LCzrciFcr/ed
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHYi8Ac3FlD8zBv9U62svKKFrIqXq1nSpWAgAAsEQCAEWpoAA==
  • Thread-topic: [PATCH RESEND v10 2/2] x86/xen: Allow per-domain usage of hardware virtualized APIC

On 30/06/2022 07:03, Jan Beulich wrote:
> On 30.06.2022 05:25, Tian, Kevin wrote:
>>> From: Jane Malalane <jane.malalane@xxxxxxxxxx>
>>> Sent: Wednesday, June 29, 2022 9:56 PM
>>>
>>> Introduce a new per-domain creation x86 specific flag to
>>> select whether hardware assisted virtualization should be used for
>>> x{2}APIC.
>>>
>>> A per-domain option is added to xl in order to select the usage of
>>> x{2}APIC hardware assisted virtualization, as well as a global
>>> configuration option.
>>>
>>> Having all APIC interaction exit to Xen for emulation is slow and can
>>> induce much overhead. Hardware can speed up x{2}APIC by decoding the
>>> APIC access and providing a VM exit with a more specific exit reason
>>> than a regular EPT fault or by altogether avoiding a VM exit.
>>
>> Above is obvious and could be removed.
>>
>> I think the key is just the next paragraph for why we
>> want this per-domain control.
> 
> Indeed, but the paragraph above sets the context. It might be possible
> to shorten it, but ...
> 
>> Apart from that:
>>
>> Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>
>>
>>>
>>> On the other hand, being able to disable x{2}APIC hardware assisted
>>> virtualization can be useful for testing and debugging purposes.
> 
> ... I think it is desirable for this sentence to start with "Otoh" or
> alike.
> 
> JanHello Jan,

In the previous email, I was referring to this discussion about the 
commit message. I haven't sent out a v11 because there was no change 
other than this one suggested. What I said earlier was that I thought 
the "Having all APIC interaction exit to Xen for emulation is slow..." 
paragraph provided context for what I say after but I am happy to remove it.

Thanks,

Jane.

 


Rackspace

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