Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Switch to using new xendevicemodel_nr_vcpus() API
This is a stable API replacing the need to use the unstable xc_domain_getinfo(). This in turn drops the dependency on libxenctrl. As part of dropping the xenctrl.h include, include xen/memory.h for the resource mapping constants, and swap xc_evtchn_port_or_error_t for xenevtchn_port_or_error_t which is provided by xenevtchn.h. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
- Loading branch information
Showing
2 changed files
with
13 additions
and
32 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
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