Merge "Try using goldfish_pipe as the device name"

This commit is contained in:
David Turner 2014-02-14 16:34:25 +00:00 committed by Gerrit Code Review
commit f77bd7d005

View file

@ -66,6 +66,8 @@ qemu_pipe_open(const char* pipeName)
snprintf(buff, sizeof buff, "pipe:%s", pipeName);
fd = open("/dev/qemu_pipe", O_RDWR);
if (fd < 0 && errno == ENOENT)
fd = open("/dev/goldfish_pipe", O_RDWR);
if (fd < 0) {
D("%s: Could not open /dev/qemu_pipe: %s", __FUNCTION__, strerror(errno));
//errno = ENOSYS;