mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-06 12:06:49 +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,
|
Type: QemuQ35,
|
||||||
Options: defaultQemuMachineOptions,
|
Options: defaultQemuMachineOptions,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
Type: QemuVirt,
|
|
||||||
Options: defaultQemuMachineOptions,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
Type: QemuMicrovm,
|
Type: QemuMicrovm,
|
||||||
Options: defaultQemuMachineOptions,
|
Options: defaultQemuMachineOptions,
|
||||||
@ -169,8 +165,7 @@ func newQemuArch(config HypervisorConfig) (qemuArch, error) {
|
|||||||
func (q *qemuAmd64) capabilities(hConfig HypervisorConfig) types.Capabilities {
|
func (q *qemuAmd64) capabilities(hConfig HypervisorConfig) types.Capabilities {
|
||||||
var caps types.Capabilities
|
var caps types.Capabilities
|
||||||
|
|
||||||
if q.qemuMachine.Type == QemuQ35 ||
|
if q.qemuMachine.Type == QemuQ35 {
|
||||||
q.qemuMachine.Type == QemuVirt {
|
|
||||||
caps.SetBlockDeviceHotplugSupport()
|
caps.SetBlockDeviceHotplugSupport()
|
||||||
caps.SetNetworkDeviceHotplugSupported()
|
caps.SetNetworkDeviceHotplugSupported()
|
||||||
}
|
}
|
||||||
|
@ -221,7 +221,7 @@ const (
|
|||||||
// QemuMicrovm is the QEMU microvm machine type for amd64
|
// QemuMicrovm is the QEMU microvm machine type for amd64
|
||||||
QemuMicrovm = "microvm"
|
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"
|
QemuVirt = "virt"
|
||||||
|
|
||||||
// QemuPseries is a QEMU virt machine type for ppc64le
|
// QemuPseries is a QEMU virt machine type for ppc64le
|
||||||
|
Loading…
Reference in New Issue
Block a user