On 16/09/2015 11:54, Houcheng Lin wrote:
> 2015-09-16 17:38 GMT+08:00 Paolo Bonzini <pbonz...@redhat.com>:
>>
>> 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
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to