]> xenbits.xensource.com Git - qemu-xen-4.3-testing.git/commit
xen/pt: mark all PCIe capability bits read-only
authorJan Beulich <jbeulich@suse.com>
Wed, 10 Jun 2015 13:14:25 +0000 (14:14 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 10 Jun 2015 13:14:25 +0000 (14:14 +0100)
commit9fa54a8818979ce375fa830402b5897996bbcc1a
tree2d052d896bfc84ba6bb8da7e5c6e3b8b84c81205
parent8599757a0a68333eca419e20561eaf49ab1f24e2
xen/pt: mark all PCIe capability bits read-only

xen_pt_emu_reg_pcie[]'s PCI_EXP_DEVCAP needs to cover all bits as read-
only to avoid unintended write-back (just a precaution, the field ought
to be read-only in hardware).

This is a preparatory patch for XSA-131.

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