qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] tile: Can load elf64 tilegx binary successfully


From: Chen Gang S
Subject: Re: [Qemu-devel] [PATCH] tile: Can load elf64 tilegx binary successfully for linux-user.
Date: Fri, 13 Feb 2015 14:34:53 +0800
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 2/13/15 13:43, Peter Maydell wrote:
> On 13 February 2015 at 05:44, Chen Gang S <address@hidden> wrote:
>> Which issue of correctness will occur? I can not enum it.
> 
> If the Linux kernel does not implement these syscalls then
> QEMU must not either. Attempting them should fail, same as
> if you attempted them with the real kernel.
> 
>>  - linux-user already bypasses target linux kernel, and libc for tilegx
>>    can not generate these calls (not defined for libc, either).
> 
> Just because libc doesn't try to do these things doesn't mean
> QEMU should do the wrong thing for them.
> 
>>  - For any informal using, linux-user can still operate NR_open and
>>    others, it is harmless.
> 
> But it is still wrong.
> 

OK, I shall send patch v3 for it, after all related patches are reviewed.

Thanks.
-- 
Chen Gang

Open, share, and attitude like air, water, and life which God blessed



reply via email to

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