Initializes a mapping table for virtual device.