[PATCH 01/11] virmdev: prepare type and attributes for dual state