Skip to content

tdx::linux::device::is_available should check for user privilege #3

@marcelamelara

Description

@marcelamelara

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions