The tdx::linux::device::is_available_function() function checks whether the Linux KVM device exists in a TD guest. This operation needs sudo privileges to succeed, but currently throws an error. Instead, this function should check for permissions if a user is running the command from an unprivileged account.
Originally posted by @sandlbn in #1 (comment)