feat(web): surface QEMU logs in-page and enable guest-error diagnostics
Add a log panel that captures QEMU stdout/stderr, route serial to stdio, and pass -d guest_errors,unimp so device warnings (e.g. the m25p80 Read-ID gap that stalls CrossPoint boot) are visible in the browser. Read the framebuffer via HEAPU8 to match the validated node path.
This commit is contained in:
@@ -69,3 +69,8 @@ canvas { display: block; width: 100%; height: auto; background: #fff; image-rend
|
||||
.device { grid-template-columns: 1fr; }
|
||||
.controls { max-width: 24rem; width: 100%; margin: 0 auto; }
|
||||
}
|
||||
|
||||
.log-panel { margin-top: 2rem; }
|
||||
.log-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; font-size: .85rem; color: #b9b3a4; }
|
||||
.log-header button { min-height: auto; padding: .25rem .75rem; font-size: .8rem; }
|
||||
.log { margin: 0; max-height: 20rem; overflow: auto; padding: .75rem 1rem; border-radius: .6rem; background: #1c1d1a; color: #d6d0c2; font: .78rem/1.4 ui-monospace, monospace; white-space: pre-wrap; word-break: break-word; }
|
||||
|
||||
Reference in New Issue
Block a user