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

Re: [PATCH v3] x86/vlapic: call vmx_vlapic_msr_changed through an hvm_function callback


  • To: Xenia Ragiadakou <burzalodowa@xxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 13 Feb 2023 14:15:40 +0100
  • 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=S9QZW/TJgcYW70GPlUd5E60yboVrl3mjfoXh880ekTU=; b=gFFRPKF0GPCl2RUrdqj2ccdHPakRI528RmLNPWMIkzm1XJOjT4YNp1lN72NEMGBAtbu8YKc1KwU7gBFnEX9QXMrxy1pBz7aGST4fqYmZ1HNcQUdfoIS2IhmXQnlj3yeIw2ZC/UE7L+4bk0cmt0hfslKQEYRuCezL4q9vqGH2R/ZT1NcCSCGeZuVXFAVq1nV3GP47u13CwVeNpAYFqGQYJObZJ0FN9agSJBxwTQ6Up2iVFqGUfzYfzPJm69pBb6SKG6z6vWKWAsF6vrfCF9vgZEuQjWldwhCEiRagYH20li0/JyIdrBFtGozSh6XrSX4pfv/s1zmSlDm3DBXmrcl0rw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A/W1mGUsmas+5R96wcRRHp8e2vHNr6MyJYHkMi1mro5lsc1BeFPPzeWzg2iCtddFJZzhqWMjuX1NUfRsGNH911A9rKNyzEnSlmjnxwNGYUgoHgjW7vYc21GWK2ePyOj86GcRY3K+IJNxHxKtd15PoxGuSoo4uZQQw840OlkzCXNJJhsQjRYe3iyb2v5Xzeg3R5DgEYzRih93XLE63f3cItKunWxXq+5IVp0MEuAfTcguX0lPF3/rIx4jsC40XaPPGR/2nrGJSkVntoeHjorJ8nHJ6BIgvhR1S0oThWI8QvWZ0EtYsEKEPiSKwHJTA1v0oAMct72Stn3htTmXQIsTRg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Jun Nakajima <jun.nakajima@xxxxxxxxx>, Kevin Tian <kevin.tian@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 13 Feb 2023 13:15:53 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 13.02.2023 12:50, Xenia Ragiadakou wrote:
> APIC virtualization support is currently implemented only for Intel VT-x.
> To aid future work on separating AMD-V from Intel VT-x code, instead of
> calling directly vmx_vlapic_msr_changed() from common hvm code, add a stub
> to the hvm_function_table, named update_vlapic_mode, and create a wrapper
> function, called hvm_vlapic_mode(), to be used by common hvm code.
> 
> After the change above, do not include header asm/hvm/vmx/vmx.h as it is
> not required anymore and resolve subsequent build errors for implicit
> declaration of functions ‘TRACE_2_LONG_3D’ and ‘TRC_PAR_LONG’ by including
> missing asm/hvm/trace.h header.
> 
> No functional change intended.
> 
> Signed-off-by: Xenia Ragiadakou <burzalodowa@xxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>





 


Rackspace

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