Use O_NONBLOCK when opening command pipe

If qemu_proc.poll() returns None, then QEMU dies, then we open the
command pipe, the open() call will hang waiting for the other side to
pick up.

By using O_NONBLOCK, we can error out if the other side of the pipe is
not there (e.g. QEMU exited between poll() and open).

Bug: 126917782
Change-Id: If239ba084a6478ebdc9b1913c2831790dafd1af1
1 file changed
tree: 8ff2f693b714895928f09cee36e985451573ad6d
  1. project/
  2. .clang-format
  3. LICENSE
  4. PREUPLOAD.cfg