qemu-patch-raspberry4/hw/xen
Jan Beulich 0e7ef22136 xen/pt: split out calculation of throughable mask in PCI config space handling
This is just to avoid having to adjust that calculation later in
multiple places.

Note that including ->ro_mask in get_throughable_mask()'s calculation
is only an apparent (i.e. benign) behavioral change: For r/o fields it
doesn't matter > whether they get passed through - either the same flag
is also set in emu_mask (then there's no change at all) or the field is
r/o in hardware (and hence a write won't change it anyway).

This is a preparatory patch for XSA-131.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
2015-06-02 15:07:01 +00:00
..
Makefile.objs xen: move Xen HVM files under hw/i386/xen 2014-05-07 16:14:56 +00:00
xen-host-pci-device.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
xen-host-pci-device.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
xen_backend.c xen_backend: introduce xenstore_read_uint64 and xenstore_read_fe_uint64 2014-07-07 10:37:40 +00:00
xen_devconfig.c hw: Convert from BlockDriverState to BlockBackend, mostly 2014-10-20 14:02:25 +02:00
xen_pt.c xen: properly gate host writes of modified PCI CFG contents 2015-06-02 15:07:00 +00:00
xen_pt.h xen/MSI-X: limit error messages 2015-06-02 15:07:00 +00:00
xen_pt_config_init.c xen/pt: split out calculation of throughable mask in PCI config space handling 2015-06-02 15:07:01 +00:00
xen_pt_msi.c xen/MSI-X: limit error messages 2015-06-02 15:07:00 +00:00