feat: exhaustive STUB instrumentation - 241 panic sites across VMM/kernel + whitelist alignment
- VMM cluster: XJ3-E/LIN-E/VMM-E/VMX-E/EPT-E/IPC-E/VVB-E (124 sites) - kernel cluster: TST-E/MM-E/UTRW-E/LAPIC-E/IDT-E/SAS-E/PRB-E/NETST-E/DKM-E (117 sites) - whitelist fixes: vmm_init env probes E10-E14 fallback, disk_log read-only block path, DSL-E05 non-FAT32 device 0 probe - QEMU smoke: wizard -> USER.CONF -> login -> desktop ready, zero spurious panic
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
|
||||
#include <utsm/virtio_mmio.h>
|
||||
#include <utsm/panic.h>
|
||||
#include <utsm/linux_loader.h>
|
||||
#include <utsm/block.h>
|
||||
#include <utsm/log.h>
|
||||
@@ -690,6 +691,7 @@ static int xrootfs_map_esp_file(void) {
|
||||
if (nclus == 0 || nclus > XROOTFS_MAX_CLUSTERS) {
|
||||
log_error("[VBLK] extra-rootfs cluster map too large");
|
||||
log_hex64("[VBLK] nclus=", nclus);
|
||||
panic_full("VVB-E10 EXTRA ROOTFS CLUSTER MAP TOO LARGE", "extra rootfs image cluster count exceeds the static map limit", 0);
|
||||
return -7;
|
||||
}
|
||||
|
||||
@@ -697,6 +699,7 @@ static int xrootfs_map_esp_file(void) {
|
||||
for (i = 0; i < nclus; i++) {
|
||||
if (fc_cur < 2 || fc_cur >= 0x0FFFFFF8u) {
|
||||
log_error("[VBLK] extra-rootfs FAT chain short");
|
||||
panic_full("VVB-E11 EXTRA ROOTFS FAT CHAIN SHORT", "fat chain of the extra rootfs image ended before covering the file", 0);
|
||||
return -8;
|
||||
}
|
||||
g_xrootfs_clus_lba[i] = (u32)vol + data_start + (fc_cur - 2u) * spc;
|
||||
|
||||
Reference in New Issue
Block a user