mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-02 13:44:33 +00:00
runtime: remove qemuPaths
It is broken that it doesn't list QemuVirt machine type. In fact we don't need it at all. Just drop it. Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
parent
cc4b9ac7cd
commit
fa09f0ec84
@ -41,11 +41,6 @@ const (
|
||||
qmpMigrationWaitTimeout = 5 * time.Second
|
||||
)
|
||||
|
||||
var qemuPaths = map[string]string{
|
||||
QemuQ35: defaultQemuPath,
|
||||
QemuMicrovm: defaultQemuPath,
|
||||
}
|
||||
|
||||
var kernelParams = []Param{
|
||||
{"tsc", "reliable"},
|
||||
{"no_timer_check", ""},
|
||||
@ -114,7 +109,7 @@ func newQemuArch(config HypervisorConfig) (qemuArch, error) {
|
||||
q := &qemuAmd64{
|
||||
qemuArchBase: qemuArchBase{
|
||||
qemuMachine: *mp,
|
||||
qemuExePath: qemuPaths[machineType],
|
||||
qemuExePath: defaultQemuPath,
|
||||
memoryOffset: config.MemOffset,
|
||||
kernelParamsNonDebug: kernelParamsNonDebug,
|
||||
kernelParamsDebug: kernelParamsDebug,
|
||||
|
Loading…
Reference in New Issue
Block a user