]> git.proxmox.com Git - mirror_qemu.git/commit
intel_iommu: fix VTD_SID_TO_BUS
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 20 Oct 2014 09:37:23 +0000 (12:37 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 2 Nov 2014 10:03:04 +0000 (12:03 +0200)
commit1e06f131fd9a44dd4af223875660802fd2a3441f
tree69107bc5f114b9e5b9bdcaffc262d86cfde4bfdb
parent68a27b208a2328653faa09bc7a13d7ef0e2710bb
intel_iommu: fix VTD_SID_TO_BUS

(((sid) >> 8) && 0xff)  makes no sense
(((sid) >> 8) & 0xff) seems to be what was meant.

https://bugs.launchpad.net/qemu/+bug/1382477

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/hw/i386/intel_iommu.h