Bug 1467883 - unbreak virtio-scsi for vIOMMU [NEEDINFO]
unbreak virtio-scsi for vIOMMU
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev (Show other bugs)
Unspecified Unspecified
high Severity high
: rc
: ---
Assigned To: jason wang
Xueqiang Wei
: ZStream
Depends On:
Blocks: 1471076
  Show dependency treegraph
Reported: 2017-07-05 08:22 EDT by jason wang
Modified: 2017-07-27 14:05 EDT (History)
14 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1471076 (view as bug list)
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
jen: needinfo? (jasowang)

Attachments (Terms of Use)

  None (edit)
Description jason wang 2017-07-05 08:22:36 EDT
Description of problem:

commit e5b9f9a660151f4cd62e70380d721bd4985b72c5
Author: Jason Wang <jasowang@redhat.com>
Date:   Tue Jul 4 20:01:17 2017 +0800

    virtio-scsi: finalize IOMMU support
    After converting to use DMA api for virtio devices, we should use
    dma_as instead of address_space_memory. Otherwise it won't work if
    IOMMU is enabled.
    Fixes: commit 8607f5c3072c ("virtio: convert to use DMA api")
    Cc: qemu-stable@nongnu.org
    Signed-off-by: Jason Wang <jasowang@redhat.com>

Version-Release number of selected component (if applicable):

How reproducible:


Steps to Reproduce:
1. boot virtio-scsi with iommu_platform=on

Actual results:

Can't access root fs.

Expected results:

Works like a charm.

Additional info:
Comment 2 jason wang 2017-07-05 22:38:43 EDT
In the pull request from Paolo.

Note You need to log in before you can comment on or make changes to this bug.