Skip to content

Commit

Permalink
refactor(qemu): Move qemu-system-* binary constant names to own file (#…
Browse files Browse the repository at this point in the history
…755)

Reviewed-by: Jakub Ciolek <jakub@unikraft.io>
Approved-by: Jakub Ciolek <jakub@unikraft.io>
  • Loading branch information
jake-ciolek authored Aug 29, 2023
2 parents f39fbc1 + 1ea07d7 commit cfcd31f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
11 changes: 11 additions & 0 deletions machine/qemu/qemu_system.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2022, Unikraft GmbH and The KraftKit Authors.
// Licensed under the BSD-3-Clause License (the "License").
// You may not use this file except in compliance with the License.
package qemu

const (
QemuSystemX86 = "qemu-system-x86_64"
QemuSystemArm = "qemu-system-arm"
QemuSystemAarch64 = "qemu-system-aarch64"
)
6 changes: 0 additions & 6 deletions machine/qemu/v1alpha1.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ import (
"kraftkit.sh/unikraft/export/v0/vfscore"
)

const (
QemuSystemX86 = "qemu-system-x86_64"
QemuSystemArm = "qemu-system-arm"
QemuSystemAarch64 = "qemu-system-aarch64"
)

// machineV1alpha1Service ...
type machineV1alpha1Service struct {
eopts []exec.ExecOption
Expand Down

0 comments on commit cfcd31f

Please sign in to comment.