]> xenbits.xensource.com Git - qemu-upstream-4.5-testing.git/commit
xen/pt: unknown PCI config space fields should be read-only
authorJan Beulich <jbeulich@suse.com>
Tue, 2 Jun 2015 15:43:08 +0000 (15:43 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 2 Jun 2015 15:43:08 +0000 (15:43 +0000)
commit4f7865d19f3db71ce23585eb6a01f8521361878d
tree05e294275dfd6fac72f4334ac22692534822cfd8
parent7afa270226959cd8976b9750fbed1973a6177afa
xen/pt: unknown PCI config space fields should be read-only

... by default. Add a per-device "permissive" mode similar to pciback's
to allow restoring previous behavior (and hence break security again,
i.e. should be used only for trusted guests).

This is part of 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>)
hw/xen/xen_pt.c
hw/xen/xen_pt.h
hw/xen/xen_pt_config_init.c