Merge pull request #304 from fidencio/wip/forward_port_2703

[foward port] Add vIOMMU support to qemu q35
This commit is contained in:
Julio Montes
2020-06-23 12:20:52 -05:00
committed by GitHub
20 changed files with 214 additions and 5 deletions

View File

@@ -6,6 +6,7 @@
package virtcontainers
import (
"fmt"
"time"
govmmQemu "github.com/intel/govmm/qemu"
@@ -121,3 +122,7 @@ func (q *qemuPPC64le) memoryTopology(memoryMb, hostMemoryMb uint64, slots uint8)
func (q *qemuPPC64le) appendBridges(devices []govmmQemu.Device) []govmmQemu.Device {
return genericAppendBridges(devices, q.Bridges, q.machineType)
}
func (q *qemuPPC64le) appendIOMMU(devices []govmmQemu.Device) ([]govmmQemu.Device, error) {
return devices, fmt.Errorf("PPC64le does not support appending a vIOMMU")
}