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

Re: [PATCH v2 20/35] xen/console: introduce console_owner_domid()


  • To: <dmukhin@xxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jason Andryuk <jason.andryuk@xxxxxxx>
  • Date: Tue, 10 Dec 2024 17:11:56 -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=aTwujxVMXCGU4xDb47YM76dAP1HfsbXuTjoKxljROnE=; b=aXgOwny9yfRoFnFF+pFfcuSyVojwA2DCFefmNBI60ONqDf1Gpe4jYkU5qLePM0YvuoEu6kRE1Dx77F7IamaUteHPP0lIewaw9LNwhVWCqKur+U7lESXlgUvUdN1cJBIx9zjhyUyi0q4L7L5KSJcD+Lu5QT1qB/5YgBlkoIsbHvHjb37of7YoPy1b9oFLFgyWf/9TSqqQYydFRrKb25IZel+ocdqDUiYTyeh4YxqYsHFY5MrrWYje2UvJ6x7TjQl6uJ6vFSIBCqesyAv/LNuuTcgQEpYX0V7iJgTv+u8krc0YHP27OnMNpV6lIqDSA527S0/N9Y5NJwc5j8mdXaSWCA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Srkl9rnBGopXD1t21xpZfu8b4RzuZkleS+9X7nM2UriTWZ41p50MhlmpfFO5YODgxQ0ppUPnjjdw/ahaLijIQRUbG24RZBjYNFmPCtUaMkaMZ5BwYKVMehvpJJHKGgr+/8ELggj2rrXWgGQcfa76DGVAFiw0qpTHz0OWvkIN+KOu9MlJRz2RkcY+C4dwpY6YWo124tdP1FTR4mYsEj5ymf8Ch/5QaXhn9C5MdQCqmdMpwxWVmoYQOrzrpZRP8l2evh8yxq78Z/qopyksQuu6cdtEe/1UVoGOKhOHQfkDfoEEwucu6b5EnXaZZRWfdzW5HjnxVonkDJ9NmQdivTqaDA==
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Tue, 10 Dec 2024 22:26:48 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 2024-12-05 23:41, Denis Mukhin via B4 Relay wrote:
From: Denis Mukhin <dmukhin@xxxxxxxx>

console_owner_domid() is introduced to obtain the "console owner" domain ID.

The call is used in NS8250 emulator to identify the case when physical xen
console focus is owned by the domain w/ NS8250 emulator, in which case,
messages from guest OS are formatted w/o '(XEN)' prefix.

Signed-off-by: Denis Mukhin <dmukhin@xxxxxxxx>

Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>

I expected this to be used immediately by patch 21, but it is not. You might want to re-order it directly before its first use is introduced. I haven't gotten far enough to know when that is.

Regards,
Jason



 


Rackspace

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