mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-04 19:16:23 +00:00
Merge pull request #11230 from kimullaa/remove-wrong-qemu-option
runtime: remove wrong qemu-system-x86_64 option
This commit is contained in:
commit
79ad68cce5
@ -72,10 +72,6 @@ var supportedQemuMachines = []govmmQemu.Machine{
|
||||
Type: QemuQ35,
|
||||
Options: defaultQemuMachineOptions,
|
||||
},
|
||||
{
|
||||
Type: QemuVirt,
|
||||
Options: defaultQemuMachineOptions,
|
||||
},
|
||||
{
|
||||
Type: QemuMicrovm,
|
||||
Options: defaultQemuMachineOptions,
|
||||
@ -169,8 +165,7 @@ func newQemuArch(config HypervisorConfig) (qemuArch, error) {
|
||||
func (q *qemuAmd64) capabilities(hConfig HypervisorConfig) types.Capabilities {
|
||||
var caps types.Capabilities
|
||||
|
||||
if q.qemuMachine.Type == QemuQ35 ||
|
||||
q.qemuMachine.Type == QemuVirt {
|
||||
if q.qemuMachine.Type == QemuQ35 {
|
||||
caps.SetBlockDeviceHotplugSupport()
|
||||
caps.SetNetworkDeviceHotplugSupported()
|
||||
}
|
||||
|
@ -221,7 +221,7 @@ const (
|
||||
// QemuMicrovm is the QEMU microvm machine type for amd64
|
||||
QemuMicrovm = "microvm"
|
||||
|
||||
// QemuVirt is the QEMU virt machine type for aarch64 or amd64
|
||||
// QemuVirt is the QEMU virt machine type for aarch64 or arm
|
||||
QemuVirt = "virt"
|
||||
|
||||
// QemuPseries is a QEMU virt machine type for ppc64le
|
||||
|
Loading…
Reference in New Issue
Block a user