[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] x86/nested-vmx: Only log L0-handled PIO in debug builds
- To: jbeulich@xxxxxxxx
- From: chunjie.zhu@xxxxxxxxxx
- Date: Wed, 2 Dec 2026 19:19:11 +0800
- 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=arcselector10001; 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=/uk4JqLMawALLFKhsZJduURjUPAU1eYofRwTCisr/TY=; b=PSEcIT1Hv2UjzxduarbhQJNMAmNYWr398DqdYrZTJ4ztROxdXaKcb/o2Iydw8Z2al1uIvZurSJ3Yrd3HfwouRcqvkHizKdzxQjFfbIaBdtX6uTJJmyZ05af9FkUpU1Zpe8HdiMOBP/JB3VFCXePOArlnHiW5IwBS4dldtwsrFd05mls44s9DSMlIqHh+LvY/GaRAQHH7ta4Yql4UzhED1u3pReA8/hWVk/WMfVjmfxZ877x6eVFczkKjKub/w/FF4Yn6ZJ89txbMcG5jylxah+7gmZfmspUkFiYhT4F/SxIhqdyscrB9bGOXHYfcsXjOjdXRX+qQRon1kWYDJKAyxw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=cThS3q6G1+ky3ZOMZPIro4zeYQJQN+83T5oSVQpX1bo1mvNEWq1MgkhZny748sCcep6e36ELSulCTQRJjaeN+gdmGAPIKTIGNM0LMvDC4UUYzvo8LiAlym+kNkLNSREpsf80XWS2Gj/yC6/g5r2U9/1qhgKrT2XrBJANOfm4WAuozdUAv3l+4ieCYIFjg9R6HLCSG9LuM0QB8H0bFenZvY+9nHswnoL8vn9Zu4iFEzHp6UB8DLm7lWyipacJ8qafa7Q9eTM6fX88lq5PX6ZYzGFwZQt3DoNRc/iQhFOlmELKdjJho/ijRIheGKcv5XkZBOpWdGMACh1PwCTnj4yC/w==
- Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=citrix.com header.i="@citrix.com" header.h="From:Date:Subject:Message-Id:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"
- Authentication-results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
- Cc: andrew.cooper3@xxxxxxxxxx, chunjie.zhu@xxxxxxxxxx, roger@xxxxxxxxxxxxxx, teddy.astie@xxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Wed, 02 Dec 2026 11:19:27 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 02.12.2026 09:40, Chunjie Zhu wrote:
> Use gdprintk() so the message is only emitted in debug builds, while
> keeping the per-guest (rate-limited) aspect of the original
> XENLOG_G_WARNING.
On 02.12.2026 10:21, Jan Beulich wrote:
> I don't quite understand this part of the description: You retain the
> rate-limiting, yes, but the per-guest (really per-vCPU) aspect of the
> logging is an extra improvement.
You are right, the wording was inaccurate. How about,
Use gdprintk() so the message is only emitted in debug builds. This
keeps the guest log level (XENLOG_GUEST), and thus the rate limiting,
of the original XENLOG_G_WARNING, and additionally identifies the
vCPU that triggered the message.
Thanks for offering to fold it in while committing.
Thanks,
Chunjie
|