vpci: honor read-only devices
authorRoger Pau Monné <roger.pau@citrix.com>
Fri, 25 Oct 2019 09:56:07 +0000 (11:56 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 25 Oct 2019 09:56:07 +0000 (11:56 +0200)
commita43eb8a1dce479b4574d255cc0e954be15052449
tree2849ce4f45f86e69a34013c50f36f5de1f9126d6
parent3342ee9318cd38ba006255b687ab7a145399ea92
vpci: honor read-only devices

Don't allow the hardware domain write access the PCI config space of
devices marked as read-only.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
master commit: 79f9ba78380fb3f4bf509e5c726c6cdd76e00c4f
master date: 2019-09-17 16:13:39 +0200
tools/tests/vpci/emul.h
xen/drivers/vpci/vpci.c