Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

qemu: add IOMMU Device #127

Merged
merged 1 commit into from
May 27, 2020
Merged

qemu: add IOMMU Device #127

merged 1 commit into from
May 27, 2020

Conversation

amorenoz
Copy link
Contributor

The following options can be provided:
Intremap: activates interrupt remapping
DeviceIotlb: enables device IOTLB support for the vIOMMU
CachingMode: enables Cahing Mode

See: https://wiki.qemu.org/Features/VT-d

Fixes: #126
Signed-off-by: Adrian Moreno amorenoz@redhat.com

@coveralls
Copy link

coveralls commented May 22, 2020

Coverage Status

Coverage increased (+0.1%) to 81.127% when pulling e57e86e on amorenoz:iommu into 10b22ac on intel:master.

@amorenoz
Copy link
Contributor Author

@devimc ptal

@devimc
Copy link

devimc commented May 26, 2020

@amorenoz thanks for raising this, could you add some unit tests?
btw CI is not happy

$ gometalinter --tests --vendor --disable-all --enable=misspell --enable=vet --enable=ineffassign --enable=gofmt --enable=gocyclo --cyclo-over=15 --enable=golint --enable=errcheck --enable=deadcode --enable=staticcheck -enable=gas ./...

qemu/qemu.go:1864:6:warning: exported type IommuDev should have comment or be unexported (golint)

The command "gometalinter --tests --vendor --disable-all --enable=misspell --enable=vet --enable=ineffassign --enable=gofmt --enable=gocyclo --cyclo-over=15 --enable=golint --enable=errcheck --enable=deadcode --enable=staticcheck -enable=gas ./..." exited with 1.

The following options can be provided

Intremap: activates interrupt remapping
DeviceIotlb: enables device IOTLB support for the vIOMMU
CachingMode: enables Cahing Mode

See: https://wiki.qemu.org/Features/VT-d

Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
@devimc devimc merged commit 7efaf0b into kata-containers:master May 27, 2020
amorenoz added a commit to amorenoz/runtime that referenced this pull request May 28, 2020
Bring support for vIOMMU. Commit:

7efaf0b1cde3883a3f38e656c2223f38b9086469

kata-containers/govmm#127
amorenoz added a commit to amorenoz/runtime that referenced this pull request May 28, 2020
Bring support for vIOMMU. Commit:

7efaf0b1cde3883a3f38e656c2223f38b9086469

kata-containers/govmm#127

Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
fidencio pushed a commit to fidencio/kata-containers that referenced this pull request Jun 9, 2020
Bring support for vIOMMU. Commit:

7efaf0b

kata-containers/govmm#127

Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
fidencio pushed a commit to fidencio/kata-containers that referenced this pull request Jun 9, 2020
Bring support for vIOMMU. Commit:

7efaf0b

kata-containers/govmm#127

Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
fidencio pushed a commit to fidencio/kata-containers that referenced this pull request Jun 22, 2020
Bring support for vIOMMU. Commit:

7efaf0b

kata-containers/govmm#127

Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RFE: Support vIOMMU
4 participants