On 16/09/2015 11:54, Houcheng Lin wrote:
> 2015-09-16 17:38 GMT+08:00 Paolo Bonzini <[email protected]>:
>>
>> 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