]> git.proxmox.com Git - mirror_qemu.git/commit - hw/xen/xen_pt.h
xen/pt: unknown PCI config space fields should be read-only
authorJan Beulich <jbeulich@suse.com>
Tue, 2 Jun 2015 15:07:01 +0000 (15:07 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 2 Jun 2015 15:07:01 +0000 (15:07 +0000)
commitc25bbf1545a53ac051f9e51d4140e397660c10ae
tree432c6332cb6fc1f64ebbf1210218cdfc060bc63f
parenta88a3f887181605f4487a22bdfb7d87ffafde5d9
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