Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 65CF5C3DA5D for ; Mon, 15 Jul 2024 09:25:35 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.758789.1168263 (Exim 4.92) (envelope-from ) id 1sTHxF-0003ds-TY; Mon, 15 Jul 2024 09:25:09 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 758789.1168263; Mon, 15 Jul 2024 09:25:09 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sTHxF-0003dl-Qf; Mon, 15 Jul 2024 09:25:09 +0000 Received: by outflank-mailman (input) for mailman id 758789; Mon, 15 Jul 2024 09:25:09 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sTHxF-0003df-80 for xen-devel@lists.xenproject.org; Mon, 15 Jul 2024 09:25:09 +0000 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 1fdb6185-428c-11ef-bbfb-fd08da9f4363; Mon, 15 Jul 2024 11:25:07 +0200 (CEST) Received: from zcs2-store8.inria.fr ([128.93.142.6]) by mail2-relais-roc.national.inria.fr with ESMTP; 15 Jul 2024 11:25:06 +0200 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 1fdb6185-428c-11ef-bbfb-fd08da9f4363 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:message-id:in-reply-to:references: subject:mime-version:content-transfer-encoding; bh=j5lBdSXBDKf99cbYhSizNwJG6K/tTq3AlNGJleTRCQ4=; b=mMNRWTqenasEl7RCtlO25roSXb0eRdYyjj9tCai2DXmI2pVB5G5uauRD xJX5bt2zxyLrhfYsqs5M/aF4GkGy3YTKMp6Gqv9aRYkO+84QR0AUzIVMS 9ioyMfvQQjfXKwHj0Ogy60cS6L/5q2/o/leTS6RjEgUjmDpqL6hbC62qi U=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=Pass smtp.mailfrom=fonyuy-asheri.caleb@inria.fr; spf=None smtp.helo=postmaster@zcs2-store8.inria.fr Received-SPF: Pass (mail2-relais-roc.national.inria.fr: domain of fonyuy-asheri.caleb@inria.fr designates 128.93.142.6 as permitted sender) identity=mailfrom; client-ip=128.93.142.6; receiver=mail2-relais-roc.national.inria.fr; envelope-from="fonyuy-asheri.caleb@inria.fr"; x-sender="fonyuy-asheri.caleb@inria.fr"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 include:mailout.safebrands.com a:basic-mail.safebrands.com a:basic-mail01.safebrands.com a:basic-mail02.safebrands.com ip4:128.93.142.0/24 ip4:192.134.164.0/24 ip4:128.93.162.160 ip4:89.107.174.7 mx ~all" Received-SPF: None (mail2-relais-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@zcs2-store8.inria.fr) identity=helo; client-ip=128.93.142.6; receiver=mail2-relais-roc.national.inria.fr; envelope-from="fonyuy-asheri.caleb@inria.fr"; x-sender="postmaster@zcs2-store8.inria.fr"; x-conformance=spf_only X-IronPort-AV: E=Sophos;i="6.09,210,1716242400"; d="scan'208";a="175471672" X-MGA-submission: =?us-ascii?q?MDFXRTVcgwQ6/NoigFbdOEytRADNdNU+Xwrieo?= =?us-ascii?q?plaJ4BG8RxFxxzfHt9+O6ZEoon27Oa330CNO0UYQOx/aQKCJNT/0A0eA?= =?us-ascii?q?0ouwPPdd+td3NbjaFFdRu3ICukzBOTluP9PR2b/Ho0LRWEkVLNyu9nvt?= =?us-ascii?q?JMftXvpJZqmx4D0kaCHzM/oQ=3D=3D?= Date: Mon, 15 Jul 2024 11:25:06 +0200 (CEST) From: Fonyuy-Asheri Caleb To: Jan Beulich Cc: xen-devel , Andrew Cooper Message-ID: <446765396.4260435.1721035506532.JavaMail.zimbra@inria.fr> In-Reply-To: <50ab12eb-70ba-4787-98fc-c3c933af2f06@suse.com> References: <60751777.2038091.1720694327760.JavaMail.zimbra@inria.fr> <8f8dac21-92fe-4760-8578-2fbfde2f2c14@citrix.com> <1557490999.4048664.1721029086794.JavaMail.zimbra@inria.fr> <77f1ff6e-a7dd-45c8-b706-429674b559f2@suse.com> <1423184950.4133169.1721031727075.JavaMail.zimbra@inria.fr> <61d717fd-62e3-434c-a326-687b649148c2@suse.com> <1365363643.4190382.1721033331904.JavaMail.zimbra@inria.fr> <50ab12eb-70ba-4787-98fc-c3c933af2f06@suse.com> Subject: Re: Help with Understanding vcpu xstate restore error during vm migration MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: [131.254.23.3] X-Mailer: Zimbra 10.0.8_GA_4611 (ZimbraWebClient - GC126 (Linux)/10.0.8_GA_4611) Thread-Topic: Help with Understanding vcpu xstate restore error during vm migration Thread-Index: KVpC9JP2YfxUbsjBei7P/zt2NIqU5Q== > On 15.07.2024 10:48, Fonyuy-Asheri Caleb wrote: >>>>> On 15.07.2024 09:38, Fonyuy-Asheri Caleb wrote: >>>>>>> Perhaps the more important question, are you booting the skylake with >>>>>>> cpuid=no-avx on the command line by any chance? >>>>>> >>>>>> No. I didn't boot any of the machines with any cpuid modification whatsoever. >>>>> >>>>> Yet is there perhaps "Mitigating GDS by disabling AVX" in the boot log of >>>>> the hypervisor (which sadly so far you didn't supply anywhere afaics)? >>>> >>>> I didn't notice that. Unfortunately I no longer have access to the logs to check >>>> since I was >>>> working on resources I reserved for a limited period. >>>> >>>> However, do you mind telling me what this would mean for my environment? >>> >>> Hard to tell, depending on what exactly you use that environment for. If >>> I'm not mistaken (Andrew will surely correct me if I'm wrong), the best >>> you can do is have such systems run with up-to-date microcode. Which of >>> course requires you have control over the physical system (to update >>> firmware) or at least the hypervisor (to hand it a microcode blob to load >>> while booting). If you had control over only the command line, you could >>> also choose to ignore the vulnerability and request AVX not to be turned >>> off ("spec-ctrl=no-gds-mit"). Yet of course you wouldn't want to do this >>> if you were running any not fully trusted guests. >> >> Quick verification: cpuid=no-avx and spec-ctrl=no-gds-mit are options >> passed to the grub right? > > They're options passed to Xen. If you use grub as the boot loader, then > they would need putting _in_ respective grub config files / scripts. > > Jan Thank you Jan Caleb