kvm: qemu: wrap assign_device and assign_irq