Re: [PATH] Port software to UML.

From: hugang (gang_hu@soul.com.cn)
Date: Sun May 05 2002 - 21:50:25 EST


On Sun, 05 May 2002 19:22:39 -0500
Jeff Dike <jdike@karaya.com> wrote:

> gang_hu@soul.com.cn said:
> > Ther problem in bread.
>
> No, the problem is in not understanding UML.
>
> UML's state is somewhat more complicated than the state of a native kernel.
>
> You also need to recreate
> the host processes
> the ptrace relationships between the tracing thread and the other
> processes
> open file descriptors
> and maybe a few other things that aren't coming to mind
>
> Jeff

Now , I found the Problem. Fix that have two way
--1 after the register disk , We not close it.
--2 at prepare_request , We check the dev->count, it not open , must open it first.

The 1.diff is use the 1 way.
the 2.diff is use the 2 way.

Which is the best?
  

-- 
thanks with regards!
hugang.

*********************************** Beijing Soul Technology Co.,Ltd. Tel:010-68425741/42/43/44 Fax:010-68425745 email:gang_hu@soul.com.cn web:http://www.soul.com.cn ***********************************



- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:25 EST