How do you get the process id of a window started with qvm-run?

I have another workaround at the moment. I use wmctrl -s instead of xdotool to switch to desired workspace, then launch the program. I discussed it here: