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