qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH] os-android: Add support to android platform


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC PATCH] os-android: Add support to android platform, built by ndk-r10
Date: Wed, 16 Sep 2015 12:28:57 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0


On 16/09/2015 11:54, Houcheng Lin wrote:
> 2015-09-16 17:38 GMT+08:00 Paolo Bonzini <address@hidden>:
>>
>> Actually it's even simpler.  shm_open is basically just
>>
>>         char *s;
>>         int fd;
>>
>>         asprintf(&s, "/dev/shm/%s", name);
>>         fd = open(s, name | O_CLOEXEC, mode);
>>         free(s);
>>         return fd;
>>
>> plus some error checking.  Do Android systems have /dev/shm?
>>
>> Paolo
> 
> It's simple, thanks.
> The android have no /dev/shm. Though we can mknod it but need root prividlege 
> to
> do it.

Oh well.  Then I think it's okay to disable ivshmem on Android.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]