]> xenbits.xensource.com Git - qemu-upstream-unstable.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, 9 Jun 2015 10:29:13 +0000 (10:29 +0000)
commite15907a474fe03ca13fca067b7046b77122484cb
treee3c27a8b30159051c00006d1efced1a530612fce
parent2caff9b5dfbfb7abdf420a52f177efc42675147d
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