qemu-e2k/hw/xen
Jan Beulich d61bb2482d xen/pt: consolidate PM capability emu_mask
There's no point in xen_pt_pmcsr_reg_{read,write}() each ORing
PCI_PM_CTRL_STATE_MASK and PCI_PM_CTRL_NO_SOFT_RESET into a local
emu_mask variable - we can have the same effect by setting the field
descriptor's emu_mask member suitably right away. Note that
xen_pt_pmcsr_reg_write() is being retained in order to allow later
patches to be less intrusive.

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>
Acked-by: Ian Campbell <ian.campbell@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_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_config_init.c xen/pt: consolidate PM capability emu_mask 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
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-host-pci-device.c
xen-host-pci-device.h