diff options
| author | Daniil Baturin <daniil@baturin.org> | 2015-04-04 16:08:04 +0600 |
|---|---|---|
| committer | Daniil Baturin <daniil@baturin.org> | 2015-04-04 16:08:04 +0600 |
| commit | 577ffc85192f1d445fe42c8f1665b2136c3df575 (patch) | |
| tree | 7f13fd0572bae75a8bf400c5826307aa608aad3d /src/hypervisor_check.ads | |
| parent | c7653cc0c52a7fe30ab95a98a2e750e535c7e1c9 (diff) | |
| download | hvinfo-577ffc85192f1d445fe42c8f1665b2136c3df575.tar.gz hvinfo-577ffc85192f1d445fe42c8f1665b2136c3df575.zip | |
Add a function to check if DMI is available on Linux.
This is useful for Xen PV vs. HVM detection.
Diffstat (limited to 'src/hypervisor_check.ads')
| -rw-r--r-- | src/hypervisor_check.ads | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hypervisor_check.ads b/src/hypervisor_check.ads index ebb16cc..86ca5a2 100644 --- a/src/hypervisor_check.ads +++ b/src/hypervisor_check.ads @@ -18,6 +18,8 @@ package Hypervisor_Check is function Hypervisor_Present return Boolean; + function DMI_Available return Boolean; + function Get_DMI_Vendor_Name return US.Unbounded_String; private |
