Merge "Try using goldfish_pipe as the device name"
This commit is contained in:
@@ -66,6 +66,8 @@ qemu_pipe_open(const char* pipeName)
|
|||||||
snprintf(buff, sizeof buff, "pipe:%s", pipeName);
|
snprintf(buff, sizeof buff, "pipe:%s", pipeName);
|
||||||
|
|
||||||
fd = open("/dev/qemu_pipe", O_RDWR);
|
fd = open("/dev/qemu_pipe", O_RDWR);
|
||||||
|
if (fd < 0 && errno == ENOENT)
|
||||||
|
fd = open("/dev/goldfish_pipe", O_RDWR);
|
||||||
if (fd < 0) {
|
if (fd < 0) {
|
||||||
D("%s: Could not open /dev/qemu_pipe: %s", __FUNCTION__, strerror(errno));
|
D("%s: Could not open /dev/qemu_pipe: %s", __FUNCTION__, strerror(errno));
|
||||||
//errno = ENOSYS;
|
//errno = ENOSYS;
|
||||||
|
|||||||
Reference in New Issue
Block a user