]> xenbits.xensource.com Git - qemu-xen-4.4-testing.git/commit
xen/pt: mark all PCIe capability bits read-only
authorJan Beulich <jbeulich@suse.com>
Wed, 10 Jun 2015 13:12:16 +0000 (14:12 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 10 Jun 2015 13:12:16 +0000 (14:12 +0100)
commit65e39c802e62d2427f5c3df2c597e0c3780d50f0
tree5953bef48a2229fbbf21e54e11d823ce05726388
parentdd37ad776c7ea026b7b9f34b240f5714aee6819d
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