On 2/13/15 13:43, Peter Maydell wrote: > On 13 February 2015 at 05:44, Chen Gang S <gang.c...@sunrus.com.cn> 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