We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97e5410 commit c8c897aCopy full SHA for c8c897a
libcontainer/vtpm/vtpm.go
@@ -451,6 +451,10 @@ func (vtpm *VTPM) GetTPMDevname() string {
451
return fmt.Sprintf("/dev/tpm%d", vtpm.tpm_dev_num)
452
}
453
454
+func (vtpm *VTPM) GetTPMDevNum() uint32 {
455
+ return vtpm.tpm_dev_num
456
+}
457
+
458
// Get the major and minor numbers of the created device;
459
// This method can be called after Start()
460
func (vtpm *VTPM) GetMajorMinor() (uint32, uint32) {
0 commit comments