qemu: implement PCIAssign.prepare

(untested)