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

Re: [PATCH 0/4] x86/PVH: Dom0 building adjustments

  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 1 Sep 2021 17:06:03 +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=lIEEVx3pKZhCJQYNuhuiguKiqn5e+HYCDbQkL7NIP7I=; b=EOAXveL+MZ9jEWbSSGxZlMdQeEGg7xTsr/lkhokGk3jGmYC8srUbwLdRj5/m6vYPV5tXcgCyY3z4Y/xmSIlXrgb9V7wSaq9sml0uCXmLift2Z/CRuAWT/9yr3uDCBwPfHl6q8ePsiCDpSWGcUbgMziSm8UiG7WcCZPwPRotoI8hKVjtnUPnFIPZoOlsQxJwWIgIaVDrxsa/3/oMSwthT+uPfMyosgn4eKn7WqvLzQF0bFSHHKI7560CPnCVW9FFv0vm9CdpX3B3Dpy2W+7z8/9/brDT9+g9f2NnXSR90CNPUOzzcmOpMM6iAQgHOQSSoCCE35bw2EBD/NokJ+CaW/A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lsVp0pnb5svi4vgRWnekEUj0FYNzoQMJwN75M/1z6MpcacJcx7kL4pRWezLC4CKAnWU9HnRhpNQWDTd3u86ubd6ZSf+I/n/GF6x6/Wdobg5ihJXdXyA4AumO2jINxDgYRAdr+ELRFxxLY734u8XLvsVTKjL8nIz5lFe+90TYUWaW6YdP4ZP05LNe7iikRMl33vLqH/Pv1/8S1zr0FhrkNGI/j5sWyqCW724a68IxuL5aY4GPppOGC7yxMp+DfRBlp3YAUDhCSwZHWMWQJ3r3FlzdUX6HtFe+8ICoHVAbiLlSL2AegBgxXHzsxFesoR0YIgRl42J99blIiwVWu5sneg==
  • Authentication-results: citrix.com; dkim=none (message not signed) header.d=none;citrix.com; dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Wed, 01 Sep 2021 15:06:39 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 30.08.2021 15:01, Jan Beulich wrote:
> The code building PVH Dom0 made use of sequences of P2M changes
> which are disallowed as of XSA-378. First of all population of the
> first Mb of memory needs to be redone. Then, largely as a
> workaround, checking introduced by XSA-378 needs to be slightly
> relaxed.
> Note that with these adjustments I get Dom0 to start booting on my
> development system, but the Dom0 kernel then gets stuck. Since it
> was the first time for me to try PVH Dom0 in this context (see
> below for why I was hesitant), I cannot tell yet whether this is
> due further fallout from the XSA, or some further unrelated
> problem. Dom0's BSP is in VPF_blocked state while all APs are
> still in VPF_down. The '0' debug key, unhelpfully, doesn't produce
> any output, so it's non-trivial to check whether (like PV likes to
> do) Dom0 has panic()ed without leaving any (visible) output.

Having made '0' work at least partly, I can now see that Dom0's
vCPU0 enters its idle loop after having gone through all normal
initialization. Clearly certain things must not have worked as
intended (no APs booted, no drivers loaded afaict), but I'm
having a hard time seeing how to find out what that might be
when there's no output at all. PV Dom0 does not require any
special command line option to do output to both the VGA console
and through hvc_xen (making its output also go to the serial
log) - is this perhaps different for PVH? I couldn't find
anything under docs/ ...




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