Skip to content

Commit de4795b

Browse files
benjamreispsafont
authored andcommitted
Adapt to PR comments:
- Remove mention to xapi.conf option to enable the feature - Clarify PGPU methods and field deprecation Signed-off-by: Benjamin Reis <[email protected]>
1 parent 1b96072 commit de4795b

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

features/futures/pci-passthrough.md

+2-11
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,12 @@ New methods for PCI object:
3535
A function rather than a field makes the data always accurate and even accounts for
3636
changes made by users outside XAPI, directly through `/opt/xensource/libexec/xen-cmdline`
3737

38-
If wanted:
39-
The first two methods would only be callable if the `enable-pci-passthrough` setting is set
40-
to a yes/true value in XAPI's configuration files. Default: no.
41-
42-
With these generic methods available, comes the question of the existing methods and fields
43-
on the PGPU object:
38+
With these generic methods available, the following field and methods will be *deprecated*:
4439
- `PGPU.enable_dom0_access`
4540
- `PGPU.disable_dom0_access`
4641
- `PGPU.dom0_access` (DB field)
4742

48-
They can all be deprecated, or retained. If retained, the contents of `PGPU.dom0_access`
49-
needs to be refreshed whenever `PCI.enable_dom0_access` or `PCI.disable_dom0_access` is
50-
called on the related PCI object. Another option is deprecating just `PGPU.dom0_access`
51-
and replacing it with a `PGPU.get_dom0_access_status` method based on the implementation
52-
of `PCI.get_dom0_access_status`.
43+
They would still be usable and up to date with the same info as for the PCI methods.
5344

5445
Test cases
5546
----------

0 commit comments

Comments
 (0)