Make virt_type configurable