]> xenbits.xensource.com Git - qemu-xen-4.3-testing.git/commit
xen/pt: unknown PCI config space fields should be read-only
authorJan Beulich <jbeulich@suse.com>
Wed, 10 Jun 2015 13:14:25 +0000 (14:14 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 10 Jun 2015 13:14:25 +0000 (14:14 +0100)
commit8fcecdca2dd1e6b4e78114977388ff0ddb85db20
tree0c0e6b72009512ad91ef660565e43d55ecf8211e
parentc2ce1e99e4e16adb1b9abe5f720604a895134a70
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/pass-through.c
hw/pass-through.h