xen/pass-through: fold host PCI command register writes
commit950fe0aa3f55ad6bb135fc9cde9ebf4df05f62fc
authorJan Beulich <JBeulich@suse.com>
Fri, 15 May 2015 12:46:11 +0000 (15 13:46 +0100)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 23 Jun 2015 16:18:24 +0000 (23 16:18 +0000)
treee4d27399183e6a8952cc8d25e500f5de156fec56
parent00967f4e0bab246679d0ddc32fd31a7179345baf
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.

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