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

[PATCH v2 0/9] xen/x86: PVH Dom0 fixes and fallout adjustments

  • To: Juergen Gross <jgross@xxxxxxxx>, Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 30 Sep 2021 14:12:31 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=QEISk7lW5cGpTfVXdr7Uq4IqbkSOrbZC3tjyIezCZzo=; b=A7BT+0LbeiSNdnWpjdK/6zMLC950wGwt8Woe95yC61hgN+6rDb1ZKxw+/k+bs1tVCgQK8rq1ciNlRduxX1T7MnpZH0n+dvQ3jVRMY+2PGmH7FbsJP8H3nD9ByT/kgGuPoV5eT+w2UEHv+YxYw1RJ2/s1JJ949yDwWOvqST5TCPALosP6O4d7aMepix1J8Up6wSQcjl3iEB1VjYDXHCSDjJxE3RM+JIokfm1/9gZMb/ldT9YLOLox7WJgCI5QZrtVoh1VVGFG+dIrxjWXIaiTvT8uKnOW1J3uFB6QRzSGXbfeTkRFMBK3P6EtpARBLl7uzJkw1ZeUSKTk4sE8/H3T1Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ODqMRHZ2QVJbk1/sYWquUYTxdgCqd1WDABi9PmEVHBu98VkJuXUHgFA+1PBzYonf2urHk3GYCestx74nqKd3jCIf0kIM+HNlnb5kNYdDD7YXCO4DVynXZITsJj2r9b1iWd9CEUGXTLGtPIsqmQWVWsDCrWtvJUShwD28aK3o8sGSpU6Vnh4+2AbLwx6We92oPDho9aeHCG3BKMFZKc9+lmVsPGGnvkngGSxcqb6OAJTS9OVjbXGSEzCFd1vDqDhCCJW7/jvNy8LShUYPnzsNWxS4nVnH6ngEO+kU3On7HLovF4OdTcW+sTpMtRdZK1tx80qSiqe/qsiiquDUBCWnvA==
  • Authentication-results: lists.xenproject.org; dkim=none (message not signed) header.d=none;lists.xenproject.org; dmarc=none action=none header.from=suse.com;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, lkml <linux-kernel@xxxxxxxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 30 Sep 2021 12:13:07 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

In order to try to debug hypervisor side breakage from XSA-378 I found
myself urged to finally give PVH Dom0 a try. Sadly things didn't work
quite as expected. In the course of investigating these issues I actually
spotted one piece of PV Dom0 breakage as well, a fix for which is also
included here.

There are one immediate remaining issues: Dom0, unlike in the PV case,
cannot access the screen (to use as a console) when in a non-default
mode (i.e. not 80x25 text), as the necessary information (in particular
about VESA-bases LFB modes) is not communicated. On the hypervisor side
this looks like deliberate behavior, but it is unclear to me what the
intentions were towards an alternative model. (X may be able to access
the screen depending on whether it has a suitable driver besides the
presently unusable /dev/fb<N> based one.)

v2 merely addresses small review comments in patches 7 and 9 (see there).

1: xen/x86: prevent PVH type from getting clobbered
2: xen/x86: allow PVH Dom0 without XEN_PV=y
3: xen/x86: make "earlyprintk=xen" work better for PVH Dom0
4: xen/x86: allow "earlyprintk=xen" to work for PV Dom0
5: xen/x86: make "earlyprintk=xen" work for HVM/PVH DomU
6: xen/x86: generalize preferred console model from PV to PVH Dom0
7: xen/x86: hook up xen_banner() also for PVH 
8: x86/PVH: adjust function/data placement
9: xen/x86: adjust data placement




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