]> xenbits.xensource.com Git - qemu-xen-4.3-testing.git/commit
passthrough: mask out upper bits in vendor id
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 28 Jun 2011 12:49:35 +0000 (13:49 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 28 Jun 2011 12:49:35 +0000 (13:49 +0100)
commit5c5295c807583e3cc29fafb3603a8b89dc83edac
treefcbfb38101776c2caf2edcbdd81682bcd63f442c
parente3073b9dbf3217f619a4537197067231111d400e
passthrough: mask out upper bits in vendor id

Making vendor_id u16 eliminates potential bogus upper bits that are
not part of the actual 16-bit vendor ID.  On some systems, upper bits
shows up with 0xffff.

Signed-off-by: Allen Kay <allen.m.kay@intel.com>
hw/pt-graphics.c