]> xenbits.xensource.com Git - qemu-upstream-4.3-testing.git/commit
xen/pt: unknown PCI config space fields should be read-only
authorJan Beulich <jbeulich@suse.com>
Tue, 2 Jun 2015 16:08:08 +0000 (16:08 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 2 Jun 2015 16:08:08 +0000 (16:08 +0000)
commit447b1c5f24bb942f1b821e6a0e56e743dcffae84
tree6c3263c3fc8ebf485cff7854967ad6d2bad25fcb
parent09d734f627e4f27e74ed4d16c90cd70d5c3ddfcf
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_pt.c
hw/xen_pt.h
hw/xen_pt_config_init.c