[SeaBIOS] [PATCH v2] Preserve Xen DebugOutputPort

2020-06-24 Thread Jason Andryuk
xen_preinit() runs early and changes DebugOutputPort. qemu_preinit() runs soon after. inb on DebugOutputPort doesn't work on Xen, so the check will always fail and DebugOutputPort will be cleared to 0 disabling output. Quick exit the function when running on Xen to preserve the modified DebugOut

[SeaBIOS] Re: [PATCH v2] Preserve Xen DebugOutputPort

2020-06-24 Thread Kevin O'Connor
On Wed, Jun 24, 2020 at 10:25:13AM -0400, Jason Andryuk wrote: > xen_preinit() runs early and changes DebugOutputPort. qemu_preinit() runs > soon after. inb on DebugOutputPort doesn't work on Xen, so the check > will always fail and DebugOutputPort will be cleared to 0 disabling > output. > > Qu

[SeaBIOS] Re: [PATCH v2] Preserve Xen DebugOutputPort

2020-06-24 Thread Jason Andryuk
On Wed, Jun 24, 2020 at 11:46 AM Kevin O'Connor wrote: > > On Wed, Jun 24, 2020 at 10:25:13AM -0400, Jason Andryuk wrote: > > xen_preinit() runs early and changes DebugOutputPort. qemu_preinit() runs > > soon after. inb on DebugOutputPort doesn't work on Xen, so the check > > will always fail an