Merge "Dup the correct fd for qemu pipe." am: 10fdfeb7b8
am: 8bc5e7b6b0

Change-Id: I2829da35f310cc197788c3d1f1a6840559754057