qubes-db-vm: add xen_privcmd modprobe config #385

Merged
forge merged 1 commit from qubes-db-vm/fix-xen-privcmd into main 2026-05-12 00:31:02 +00:00
Owner

XSA-482 patch modified behavior of /dev/xen/privcmd, to disallow most
operations. This breaks vchan which uses xc_evtchn_status() (not
available via /dev/xen/evtchn yet).
Until proper abstraction via /dev/xen/evtchn is available, lift the
limitation via kernel parameter.

Unfortunately, the usual cmdline 'xen_privcmd.unrestrictedused in other OSs does not work on Alpine Linux. We need to setxen_privcmd.unrestricted=1`. Thus, set via modprobe conf

XSA-482 patch modified behavior of /dev/xen/privcmd, to disallow most operations. This breaks vchan which uses xc_evtchn_status() (not available via /dev/xen/evtchn yet). Until proper abstraction via /dev/xen/evtchn is available, lift the limitation via kernel parameter. Unfortunately, the usual cmdline 'xen_privcmd.unrestricted` used in other OSs does not work on Alpine Linux. We need to set `xen_privcmd.unrestricted=1`. Thus, set via modprobe conf
qubes-db-vm: add xen_privcmd modprobe config
Some checks failed
/ deploy-v3.23 (pull_request) Blocked by required conditions
/ build-edge (pull_request) Successful in 1m22s
/ deploy-edge (pull_request) Waiting to run
/ build-v3.22 (pull_request) Successful in 1m36s
/ deploy-v3.22 (pull_request) Waiting to run
/ lint (pull_request) Has been cancelled
/ build-v3.23 (pull_request) Has been cancelled
5fd5e0b047
XSA-482 patch modified behavior of /dev/xen/privcmd, to disallow most
operations. This breaks vchan which uses xc_evtchn_status() (not
available via /dev/xen/evtchn yet).
Until proper abstraction via /dev/xen/evtchn is available, lift the
limitation via kernel parameter.

Unfortunately, the usual cmdline 'xen_privcmd.unrestricted` used in
other OSs does not work on Alpine Linux. We need to set
`xen_privcmd.unrestricted=1`. Thus, set via modprobe conf
forge force-pushed qubes-db-vm/fix-xen-privcmd from 5fd5e0b047
Some checks failed
/ deploy-v3.23 (pull_request) Blocked by required conditions
/ build-edge (pull_request) Successful in 1m22s
/ deploy-edge (pull_request) Waiting to run
/ build-v3.22 (pull_request) Successful in 1m36s
/ deploy-v3.22 (pull_request) Waiting to run
/ lint (pull_request) Has been cancelled
/ build-v3.23 (pull_request) Has been cancelled
to 6d9d0e38fe
All checks were successful
/ build-edge (pull_request) Successful in 1m29s
/ build-v3.22 (pull_request) Successful in 1m36s
/ lint (pull_request) Successful in 26s
/ build-v3.23 (pull_request) Successful in 1m54s
/ deploy-v3.22 (pull_request) Successful in 27s
/ deploy-v3.23 (pull_request) Successful in 29s
/ deploy-edge (pull_request) Successful in 29s
2026-05-12 00:15:07 +00:00
Compare
forge merged commit 6d9d0e38fe into main 2026-05-12 00:31:02 +00:00
forge deleted branch qubes-db-vm/fix-xen-privcmd 2026-05-12 00:31:02 +00:00
Sign in to join this conversation.
No reviewers
No labels
r4.2
r4.3
r4.4
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forge/qports!385
No description provided.