tools/libxl: env variable to signal whether disk/nic backend is trusted
authorRoger Pau Monné <roger.pau@citrix.com>
Wed, 3 Aug 2022 10:38:36 +0000 (12:38 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 3 Aug 2022 10:38:36 +0000 (12:38 +0200)
commit6689cab2bcc066f063abe6ded0043f1eeb211207
tree0f23459efeea6f9e8a1dc23884bb7ecbc4df5db7
parentd77bb6e5375f19c64d182fb7b2e53138152421b5
tools/libxl: env variable to signal whether disk/nic backend is trusted

Introduce support in libxl for fetching the default backend trusted
option for disk and nic devices.

Users can set LIBXL_{DISK,NIC}_BACKEND_UNTRUSTED environment variable
to notify libxl of whether the backends for disk and nic devices
should be trusted.  Such information is passed into the frontend so it
can take the appropriate measures.

This is part of XSA-403.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
docs/man/xl.1.pod.in
tools/libs/light/libxl_disk.c
tools/libs/light/libxl_nic.c