added methods for global device creation inside a VM