mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-28 19:54:35 +00:00
hypervisor: Remove unused methods
Deleted `HypervisorConfig`'s unused `CustomFirmwareAsset()` and `JailerAssetPath()` methods. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
parent
e82c9daec3
commit
5ced96e96d
@ -612,11 +612,6 @@ func (conf *HypervisorConfig) HypervisorCtlAssetPath() (string, error) {
|
||||
return conf.assetPath(types.HypervisorCtlAsset)
|
||||
}
|
||||
|
||||
// JailerAssetPath returns the VM Jailer path
|
||||
func (conf *HypervisorConfig) JailerAssetPath() (string, error) {
|
||||
return conf.assetPath(types.JailerAsset)
|
||||
}
|
||||
|
||||
// CustomHypervisorAsset returns true if the hypervisor asset is a custom one, false otherwise.
|
||||
func (conf *HypervisorConfig) CustomHypervisorAsset() bool {
|
||||
return conf.isCustomAsset(types.HypervisorAsset)
|
||||
@ -627,11 +622,6 @@ func (conf *HypervisorConfig) FirmwareAssetPath() (string, error) {
|
||||
return conf.assetPath(types.FirmwareAsset)
|
||||
}
|
||||
|
||||
// CustomFirmwareAsset returns true if the firmware asset is a custom one, false otherwise.
|
||||
func (conf *HypervisorConfig) CustomFirmwareAsset() bool {
|
||||
return conf.isCustomAsset(types.FirmwareAsset)
|
||||
}
|
||||
|
||||
func appendParam(params []Param, parameter string, value string) []Param {
|
||||
return append(params, Param{parameter, value})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user