Re: [Qemu-devel] Question about open() in qemu

2016-11-30 Thread Alexey Kardashevskiy
On 30/11/16 21:11, morgenlette madeBy wrote: > Hello > > I am studnet studying QEMU. > > I have a question open in QEMU. > > In function handle_aiocb_rw_linear() in block/raw-posix.c, > > i tried to open my device driver(mydev). > > this driver was confirmed safe operation by test program. >

[Qemu-devel] Question about open() in qemu

2016-11-30 Thread morgenlette madeBy
Hello I am studnet studying QEMU. I have a question open in QEMU. In function handle_aiocb_rw_linear() in block/raw-posix.c, i tried to open my device driver(mydev). this driver was confirmed safe operation by test program. But in qemu, this driver was not opened returning -1. errno is 1. 1

Re: [Qemu-devel] Question about open() in qemu

2016-11-30 Thread Fam Zheng
On Wed, 11/30 19:11, morgenlette madeBy wrote: > Hello > > I am studnet studying QEMU. > > I have a question open in QEMU. > > In function handle_aiocb_rw_linear() in block/raw-posix.c, > > i tried to open my device driver(mydev). > > this driver was confirmed safe operation by test program.