mirror of
https://github.com/opnsense/src.git
synced 2026-06-05 14:54:21 -04:00
Using sbuf_clear() on a drained sbuf is explicitly prohibited, and using
sbuf_finish() after printing a trace leads to a single trace being printed, as
after calling sbuf_finish() further attempts to use the same sbuf will lead to
a panic.
While there also switch to using xen_emergency_print() instead of attempting to
write directly to the hypervisor console. xen_emergency_print() can be
implemented per-arch to use a different mechanism than the console hypercall
(note the default implementation still uses the console hypercall).
Fixes:
|
||
|---|---|---|
| .. | ||
| balloon | ||
| blkback | ||
| blkfront | ||
| bus | ||
| console | ||
| control | ||
| cpu | ||
| debug | ||
| efi | ||
| evtchn | ||
| gntdev | ||
| grant_table | ||
| netback | ||
| netfront | ||
| privcmd | ||
| timer | ||
| xenpci | ||
| xenstore | ||