diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2010-09-02 10:40:12 +0100 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2010-09-02 10:48:15 +0100 |
commit | eafe748ae1aa1fe46357b698f90ed5dc98d03971 (patch) | |
tree | 5274be8a9f83a50a3f122759c34b4bbdfc59b7fb /examples/demo.js | |
parent | 2e0120280a2eee32a7097f1b62d4d729c0ded413 (diff) |
Rename 'OsinfoHypervisor' to 'OsinfoPlatform'
Not all virtualization technologies are hypervisors. Rename the
OsinfoHypervisor object to the more general term OsinfoPlatform.
* data/libosinfo-dummy-data.xml: Rename 'hypervisor' element
to 'platform'
* docs/reference/Libosinfo-docs.xml, docs/reference/Libosinfo-docs.xml
docs/reference/Libosinfo.types: Update docs for new object name
* examples/demo.js, examples/demo.py: Update for object name
* osinfo/osinfo_hypervisor.c, osinfo/osinfo_hypervisor.h,
osinfo/osinfo_hypervisorlist.c, osinfo/osinfo_hypervisorlist.h,
osinfo/osinfo_platform.h, osinfo/osinfo_platformlist.c,
osinfo/osinfo_platformlist.h, osinfo/osinfo_platform.c,
osinfo/osinfo.h, osinfo/osinfo_db.c , osinfo/osinfo_db.h,
osinfo/osinfo_device.c, osinfo/osinfo_devicelink.c,
osinfo/osinfo_devicelink.c, osinfo/osinfo_os.h,
osinfo/osinfo_loader.c, osinfo/libosinfo.syms,
osinfo/Makefile.am: Rename OsinfoHypervisor to OsinfoPlatform
* test/Makefile.am, test/test-os.c, test/test-hypervisor.c,
test/test-platform.c, test/test-db.c: Update for object
name
Diffstat (limited to 'examples/demo.js')
-rwxr-xr-x | examples/demo.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/demo.js b/examples/demo.js index 16c1989..070c880 100755 --- a/examples/demo.js +++ b/examples/demo.js @@ -38,7 +38,7 @@ var drvclass = "network" //var drvclass = "audio" var os = db.get_os(osid) -var hv = db.get_hypervisor(hvid) +var hv = db.get_platform(hvid) var filter = new osinfo.Filter() filter.add_constraint("class", drvclass) |