enarx-archive / sev

Library for AMD SEV
Apache License 2.0
20 stars 15 forks source link

Refer to correct struct and kernel header #4

Closed connorkuehl closed 4 years ago

connorkuehl commented 4 years ago

(This merged into enarx/enarx right after the split to here :sweat_smile:)

Just for clarity's sake since indeed both structs and both headers are relevant to this crate :-)

This file corresponds to ioctls that are called only on /dev/sev, meaning the correct header and struct are sev_issue_cmd and psp-sev.h, respectively.

A different module will be responsible for dealing with the SEV ioctls that are called on /dev/kvm. Those ioctls will use struct kvm_sev_cmd and include/uapi/linux/kvm.h.