1. A computer-implemented method comprising: identifying at least one application program interface for passing information between a virtual machine executed on a device, and a service provider of the device; and using the identified at least one application program interface to asynchronously pass information from the virtual machine to the service provider.