Files
kata-containers/virtcontainers/device/drivers/utils.go
Zhang Wei f4a453b86c virtcontainers: address some comments
* Move makeNameID() func to virtcontainers/utils file as it's a generic
function for making name and ID.
* Move bindDevicetoVFIO() and bindDevicetoHost() to vfio driver package.

Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
2018-05-08 10:24:26 +08:00

18 lines
321 B
Go

// Copyright (c) 2017-2018 Intel Corporation
// Copyright (c) 2018 Huawei Corporation
//
// SPDX-License-Identifier: Apache-2.0
//
package drivers
import (
"github.com/sirupsen/logrus"
"github.com/kata-containers/runtime/virtcontainers/device/api"
)
func deviceLogger() *logrus.Entry {
return api.DeviceLogger()
}