You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
virtiofs: split exit-code reporting and VM-exit request
Split guest exit-code reporting from VM-exit signaling in the virtio-fs path.
Guest exit status reporting and VM termination are different operations and
should not depend on reboot semantics.
Keep KRUN_EXIT_CODE_IOCTL for recording the guest exit status, and add
KRUN_EXIT_VM_IOCTL for explicitly requesting VM exit. Update init.krun to
call sync() and send the explicit VM-exit request instead of rebooting the
guest, and thread the exit request through the virtio-fs device/server/worker
path so the worker signals exit_evt only for the explicit VM-exit request.
This keeps the change focused on the virtio-fs exit protocol and avoids
mixing in unrelated init cleanups.
Signed-off-by: Zewei Yang <yangzewei@loongson.cn>
0 commit comments