forked from xen-troops/xen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libxl: stop using aodev->device_config in libxl__device_pci_add()...
... to hold a pointer to the device. There is already a 'pci' field in 'pci_add_state' so simply use that from the start. This also allows the 'pci' (#3) argument to be dropped from do_pci_add(). NOTE: This patch also changes the type of the 'pci_domid' field in 'pci_add_state' from 'int' to 'libxl_domid' which is more appropriate given what the field is used for. Signed-off-by: Paul Durrant <[email protected]> Reviewed-by: Oleksandr Andrushchenko <[email protected]> Acked-by: Wei Liu <[email protected]>
- Loading branch information
Paul Durrant
authored and
Oleksandr Andrushchenko
committed
Dec 9, 2020
1 parent
bdd3b13
commit 86ea86b
Showing
1 changed file
with
7 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters