]> xenbits.xensource.com Git - qemu-upstream-4.6-testing.git/commit
xen/pass-through: fold host PCI command register writes
authorJan Beulich <JBeulich@suse.com>
Fri, 15 May 2015 12:46:11 +0000 (13:46 +0100)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 24 Jun 2015 13:31:44 +0000 (13:31 +0000)
commitec82a546d2e22729aa3dfa3f1707490dba2ef3a7
treeda095b0353e7bb20257ba1f920b8ca0c3c61a3d4
parent579e90432e995d6cb6f8520aca557fa6646f94ec
xen/pass-through: fold host PCI command register writes

The code introduced to address XSA-126 allows simplification of other
code in xen_pt_initfn(): All we need to do is update "cmd" suitably,
as it'll be written back to the host register near the end of the
function anyway.

upstream-commit-id: 950fe0aa3f55ad6bb135fc9cde9ebf4df05f62fc

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
hw/xen/xen_pt.c