[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 05/24] xen/console: introduce consoled_is_enabled()
- To: <dmukhin@xxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Jason Andryuk <jason.andryuk@xxxxxxx>
- Date: Mon, 27 Jan 2025 18:09:58 -0500
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=ford.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
- 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=ANoig7FuyQKJCpv8ZJW2tEa1w04hIsAQvmyOh3RHgjg=; b=uvzdEfcCGZVIRgduYShssbdiMCpuMYLIRB1cdn90DiZOvbKGF/V64kqaSY+gxgh+LDRKBSVVeNy/e0BNlYhXSdTLUnThl8eWlog+YhXbT6gaCL1ObifGmSazq0m6AuifE41hBkalMATFAyRGVNimjE5aILfnlSHGs587+U0Dp8zyDca35Y7VBOu4fehH4pdolvkDFFkVeO7rTFOiOezqUQG2OlNQwI988j3QpFgKMChWZyVo1smPVYBWi4Q55+7RaWX1JDIGSvrM3Tqi/oVGDro8LgE92nXDdk0y7Nqla09SwtaoCEne45Bl9bMaU/LHFxgGfUuYrU/YPhDIrvIbSg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=dOQKKB8s1UHjWnyw5+SVVWMKpO1xSrq6jx5Zh92l6cJCDbd4yVXd5Y8JxPKECnScBOb/AM1/12c7kmTRcpPPi2eYuhBjJMNBKb5P7ZKWEMXaQ6nKaSiDkoae/xFwt+9ktDi/RdmlO1efxh73Y4MJJIgII0Azd3xAdQH5WC6n4iuhMPobiwa9wLQk7ePRHikHi8WYi1IBzHht5qwyULBVS9vJRMUOP0qZeXMgYKpFgoeD7F6aCwfINZBVEccSieKpp3b5t6e/E77cElKm1HKH7oG5CDSRBrkClgrXhQv6HFUN8Rh6ZpoiHh5i1ox4X36Xv+2M5Q+YYPFiZrgq1aNAzg==
- Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, "Jan Beulich" <jbeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Delivery-date: Mon, 27 Jan 2025 23:45:20 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 2025-01-03 20:58, Denis Mukhin via B4 Relay wrote:
From: Denis Mukhin <dmukhin@xxxxxxxx>
There are few places which check pv_shim console under CONFIG_PV_SHIM in xen
console driver. Instead of #ifdef-ing, use new consoled_is_enabled() to
customize the logic.
Header file now can be included w/o CONFIG_X86.
Signature of consoled_guest_{rx,tx} has changed so the error can be logged.
Signed-off-by: Denis Mukhin <dmukhin@xxxxxxxx>
Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>
|