If you successfully compiled or uploaded a packet sniffer on virtual machine #1, it will sniff packets for every other virtual machine on that box.
Each virtual machine is bound to their own IP address so you can't listen to other machines on the same box. You however could listen to any broadcasts on the local network, or anything else a bare metal server could do.