|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 2/5] pciback: new per-device permissive flag
The permissive flag was added to the PCI Backend to disable the PCI
Backend's "read-only by default" stance to allow devices in driver
domains to write to registers within a device's configuration space.
This flag was global for all devices controlled by the PCI Backend in
all domains. This patch removes the global flag and instead adds a
per-device flag. Permissive mode for a particular device can be enabled
by writing the device's slot number to a sysfs attribute
(/sys/bus/pci/drivers/pciback/permissive). That sysfs node can also be
read to list all devices for which permissive mode is enabled. However,
once enabled, this patch provides no interface to turn permissive mode
off for a device. Please unbind the device from the backend and re-bind
it if you need that capability for now.
Signed-off-by: Ryan Wilson <hap9@xxxxxxxxxxxxxx>
permissive_sysfs.patch
Description: Text Data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH 2/5] pciback: new per-device permissive flag,
Ryan <=
|
|
|
|
|