mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-19 01:39:48 +00:00
runtime: Gofmt fixes
- Mostly blank lines after `+build` -- see https://pkg.go.dev/go/build@go1.14.15 -- this is, to date, enforced by `gofmt`. - 1.17-style go:build directives are also added. - Spaces in govmm/vmm_s390x.go Fixes: #3769 Signed-off-by: Jakob Naucke <jakob.naucke@ibm.com>
This commit is contained in:
parent
9e3353a7e4
commit
eda8ea154a
@ -1,3 +1,4 @@
|
||||
//go:build !s390x
|
||||
// +build !s390x
|
||||
|
||||
// Copyright contributors to the Virtual Machine Manager for Go project
|
||||
|
@ -9,7 +9,7 @@ package govmm
|
||||
// MaxVCPUs returns the maximum number of vCPUs supported
|
||||
func MaxVCPUs() uint32 {
|
||||
// Max number of virtual Cpu defined in qemu. See
|
||||
// https://github.com/qemu/qemu/blob/80422b00196a7af4c6efb628fae0ad8b644e98af/target/s390x/cpu.h#L55
|
||||
// #define S390_MAX_CPUS 248
|
||||
return uint32(248)
|
||||
// https://github.com/qemu/qemu/blob/80422b00196a7af4c6efb628fae0ad8b644e98af/target/s390x/cpu.h#L55
|
||||
// #define S390_MAX_CPUS 248
|
||||
return uint32(248)
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2021-2022 Apple Inc.
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,6 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2019 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,6 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2019 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,6 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2019 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,7 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
|
||||
//
|
||||
// Copyright (c) 2019 Ericsson Eurolab Deutschland GmbH
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,6 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2019 Ericsson Eurolab Deutschland G.m.b.H.
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,7 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
|
||||
//
|
||||
// Copyright (c) 2018 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,6 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2020 Ant Group
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,6 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2019 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,5 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,5 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,5 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,5 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,5 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,5 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,5 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,5 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,7 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
|
||||
//
|
||||
// Copyright (c) 2016 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,6 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,6 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,6 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,6 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,6 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,6 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 IBM
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,6 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 IBM
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,6 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 IBM
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,6 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 IBM
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,6 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 IBM
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,6 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2016 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,5 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 Huawei Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,5 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 Huawei Corporation
|
||||
// Copyright (c) 2019 Intel Corporation
|
||||
//
|
||||
|
@ -1,5 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,5 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,5 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -1,5 +1,6 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
//
|
||||
|
||||
// Copyright (c) 2018 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
Loading…
Reference in New Issue
Block a user