Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Support IOMMU_PLATFORM in qemu when launch the kata PodSandbox for s390x virtio devices #2830

Closed
huoqifeng opened this issue Jul 15, 2020 · 0 comments · Fixed by #2831
Closed
Labels
enhancement Improvement to an existing feature needs-review Needs to be assessed by the team.

Comments

@huoqifeng
Copy link

Which feature do you think can be improved?

When create a kata Pod, I want to pass iommu_platform=on for supported device in qemu, so that I can take advantage of the IOMMU feature. Details of IOMMU can be found in https://wiki.qemu.org/Features/VT-d

How can it be improved?

I'd like to add a new annotation like EnableDeviceIOMMU = kataAnnotHypervisorPrefix + "enable_device_iommu" and a new knobs like DeviceIOMMU in qemu, so that I can append the iommu option for all supported devices.

Additional Information

Anything else to add?

Before raising this feature request

Have you looked at the limitations document?

@huoqifeng huoqifeng added enhancement Improvement to an existing feature needs-review Needs to be assessed by the team. labels Jul 15, 2020
@huoqifeng huoqifeng changed the title Support IOMMU in qemu when launch the kata PodSandbox Support IOMMU in qemu when launch the kata PodSandbox for s390x ccw Jul 15, 2020
@huoqifeng huoqifeng changed the title Support IOMMU in qemu when launch the kata PodSandbox for s390x ccw Support IOMMU_PLATFORM in qemu when launch the kata PodSandbox for s390x virtio devices Jul 15, 2020
huoqifeng pushed a commit to huoqifeng/runtime that referenced this issue Aug 7, 2020
Fixes kata-containers#2830

Signed-off-by: Qi Feng Huo <[email protected]>

fix according to devimc comments

Signed-off-by: Qi Feng Huo <[email protected]>

vendor: Update govmm for s390x iommu_platform annoations

Updated govmm to support iommu_platform annotations for virtio devices. govmm changes:

   cf0f05d qemu: add iommu_platform knob for qemuParams

Signed-off-by: Qi Feng Huo <[email protected]>
huoqifeng pushed a commit to huoqifeng/runtime that referenced this issue Aug 7, 2020
Fixes kata-containers#2830

Signed-off-by: Qi Feng Huo <[email protected]>

fix according to devimc comments

Signed-off-by: Qi Feng Huo <[email protected]>

vendor: Update govmm for s390x iommu_platform annoations

Updated govmm to support iommu_platform annotations for virtio devices. govmm changes:

   cf0f05d qemu: add iommu_platform knob for qemuParams

Signed-off-by: Qi Feng Huo <[email protected]>

refmt the file

Signed-off-by: Qi Feng Huo <[email protected]>
huoqifeng pushed a commit to huoqifeng/runtime that referenced this issue Aug 7, 2020
Fixes kata-containers#2830

Signed-off-by: Qi Feng Huo <[email protected]>

fix according to devimc comments

Signed-off-by: Qi Feng Huo <[email protected]>

vendor: Update govmm for s390x iommu_platform annoations

Updated govmm to support iommu_platform annotations for virtio devices. govmm changes:

   cf0f05d qemu: add iommu_platform knob for qemuParams

Signed-off-by: Qi Feng Huo <[email protected]>

refmt the file

Signed-off-by: Qi Feng Huo <[email protected]>

fix gofmt issue

Signed-off-by: Qi Feng Huo <[email protected]>
huoqifeng pushed a commit to huoqifeng/runtime that referenced this issue Aug 7, 2020
Fixes kata-containers#2830

Signed-off-by: Qi Feng Huo <[email protected]>

vendor: Update govmm for s390x iommu_platform annoations

Updated govmm to support iommu_platform annotations for virtio devices. govmm changes:

   cf0f05d qemu: add iommu_platform knob for qemuParams

Signed-off-by: Qi Feng Huo <[email protected]>
huoqifeng pushed a commit to huoqifeng/runtime that referenced this issue Aug 7, 2020
Fixes kata-containers#2830

Signed-off-by: Qi Feng Huo <[email protected]>

vendor: Update govmm for s390x iommu_platform annoations

Updated govmm to support iommu_platform annotations for virtio devices. govmm changes:

   cf0f05d qemu: add iommu_platform knob for qemuParams

Signed-off-by: Qi Feng Huo <[email protected]>
huoqifeng pushed a commit to huoqifeng/runtime that referenced this issue Aug 7, 2020
Fixes kata-containers#2830

vendor: Update govmm for s390x iommu_platform annoations

Updated govmm to support iommu_platform annotations for virtio devices. govmm changes:

   cf0f05d qemu: add iommu_platform knob for qemuParams

Signed-off-by: Qi Feng Huo <[email protected]>
huoqifeng pushed a commit to huoqifeng/runtime that referenced this issue Aug 7, 2020
Fixes kata-containers#2830

vendor: Update govmm for s390x iommu_platform annoations

Updated govmm to support iommu_platform annotations for virtio devices. govmm changes:

   cf0f05d qemu: add iommu_platform knob for qemuParams

Signed-off-by: Qi Feng Huo [email protected]
huoqifeng pushed a commit to huoqifeng/runtime that referenced this issue Aug 7, 2020
huoqifeng pushed a commit to huoqifeng/runtime that referenced this issue Aug 7, 2020
Add iommu_platform annotations for qemu for ccw,
other supported devices can also make use of that.

  Fixes kata-containers#2830

Signed-off-by: Qi Feng Huo <[email protected]>
huoqifeng pushed a commit to huoqifeng/runtime that referenced this issue Aug 7, 2020
Add iommu_platform annotations for qemu for ccw,
other supported devices can also make use of that.

  Fixes kata-containers#2830

Signed-off-by: Qi Feng Huo <[email protected]>
huoqifeng pushed a commit to huoqifeng/runtime that referenced this issue Aug 11, 2020
Add iommu_platform annotations for qemu for ccw,
other supported devices can also make use of that.

  Fixes kata-containers#2830

Signed-off-by: Qi Feng Huo <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Improvement to an existing feature needs-review Needs to be assessed by the team.
Projects
None yet
1 participant