[PATCH 1/2] qemu: process: Extract host setup of disk device into a helper