hw/i386/intel_iommu.c:902: wrong logical operator ?
Bug #1382477 reported by
dcb
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
/home/dcb/
pvtd_as = s->address_
^
$ fgrep VTD_SID_TO_BUS `find . -name \*.h -print`
./include/
$
Sounds to me like
#define VTD_SID_TO_BUS(sid) (((sid) >> 8) & 0xff)
would be better.
To post a comment you must log in.
Fix has been included here: git.qemu. org/?p= qemu.git; a=commitdiff; h=1e06f131fd9a4 4dd4af
http://