I think these sub-functions can be put in vm_xml or devices/graphics.