qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC PATCH v2 28/44] i386/tdx: Force x2apic mode and routing for TDs


From: Gerd Hoffmann
Subject: Re: [RFC PATCH v2 28/44] i386/tdx: Force x2apic mode and routing for TDs
Date: Thu, 26 Aug 2021 13:42:59 +0200

On Wed, Jul 07, 2021 at 05:54:58PM -0700, isaku.yamahata@gmail.com wrote:
> From: Sean Christopherson <sean.j.christopherson@intel.com>
> 
> TDX requires x2apic and "resets" vCPUs to have x2apic enabled.  Model
> this in QEMU and unconditionally enable x2apic interrupt routing.

We have a cpu flag for that.  IMHO you should verify it is set and error
out if not instead of silently fixing up things.

take care,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]