mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 12:44:39 +00:00
virtcontainers/s390x: Put consts into one block
Previously, all consts were in single lines in virtcontainers/qemu_s390x.go. Put them into a const block. Signed-off-by: Jakob Naucke <jakob.naucke@ibm.com>
This commit is contained in:
parent
a57118d03a
commit
78f21710e3
@ -21,15 +21,13 @@ type qemuS390x struct {
|
||||
qemuArchBase
|
||||
}
|
||||
|
||||
const defaultQemuPath = "/usr/bin/qemu-system-s390x"
|
||||
|
||||
const defaultQemuMachineType = QemuCCWVirtio
|
||||
|
||||
const defaultQemuMachineOptions = "accel=kvm"
|
||||
|
||||
const virtioSerialCCW = "virtio-serial-ccw"
|
||||
|
||||
const qmpMigrationWaitTimeout = 5 * time.Second
|
||||
const (
|
||||
defaultQemuPath = "/usr/bin/qemu-system-s390x"
|
||||
defaultQemuMachineType = QemuCCWVirtio
|
||||
defaultQemuMachineOptions = "accel=kvm"
|
||||
virtioSerialCCW = "virtio-serial-ccw"
|
||||
qmpMigrationWaitTimeout = 5 * time.Second
|
||||
)
|
||||
|
||||
// Verify needed parameters
|
||||
var kernelParams = []Param{
|
||||
|
Loading…
Reference in New Issue
Block a user