vpci: honor read-only devices
authorRoger Pau Monné <roger.pau@citrix.com>
Tue, 17 Sep 2019 14:13:39 +0000 (16:13 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 17 Sep 2019 14:13:39 +0000 (16:13 +0200)
commit79f9ba78380fb3f4bf509e5c726c6cdd76e00c4f
treeffdaa2559dbf773bbdd92c63e541297d8f67c79a
parentc0902a9a143a2aa7551941879fa58705da473ae6
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>
tools/tests/vpci/emul.h
xen/drivers/vpci/vpci.c