From f868066daaabf64cb7dc917b03722751491e4c19 Mon Sep 17 00:00:00 2001 From: bohu Date: Wed, 29 Mar 2017 12:19:56 -0700 Subject: Revert "Revert "Qemu: make the qemu_pipe_open back compatible"" This reverts commit 79b30058992ddf678a261a59172a009d6a0db0ed. --- qemu_pipe/include/qemu_pipe.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'qemu_pipe/include') diff --git a/qemu_pipe/include/qemu_pipe.h b/qemu_pipe/include/qemu_pipe.h index 16486c087..098749899 100644 --- a/qemu_pipe/include/qemu_pipe.h +++ b/qemu_pipe/include/qemu_pipe.h @@ -28,8 +28,10 @@ extern "C" { // This file descriptor can be used as a standard pipe/socket descriptor. // // 'pipeName' is the name of the emulator service you want to connect to, -// and must begin with 'pipe:' (e.g. 'pipe:camera' or 'pipe:opengles'). -// +// and should begin with 'pipe:' (e.g. 'pipe:camera' or 'pipe:opengles'). +// For backward compatibility, the 'pipe:' prefix can be omitted, and in +// that case, qemu_pipe_open will add it for you. + // On success, return a valid file descriptor, or -1/errno on failure. E.g.: // // EINVAL -> unknown/unsupported pipeName -- cgit v1.2.3