]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vbox: Fix version extraction on Windows for newer VirtualBox versions
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 4 Jun 2011 08:50:36 +0000 (10:50 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 4 Jun 2011 08:50:36 +0000 (10:50 +0200)
commiteb2664cbe6e8d7fd940954edbd1f0a5120922dd5
tree029ba267ab54cd9f21cfeea9c372132a9265d75e
parent33d90bafe73f57663b04a1292f6fbde1feccf1e3
vbox: Fix version extraction on Windows for newer VirtualBox versions

VirtualBox 4.0.8 changed the registry key layout. Before the version
number was in a Version key. Now the Version key contains %VER% and
the actual version number is in VersionExt now.

Move value lookup code into its own function: vboxLookupRegistryValue.
src/vbox/vbox_MSCOMGlue.c