Re: [Qemu-devel] Question about block driver

2015-04-30 Thread Stefan Hajnoczi
On Thu, Apr 30, 2015 at 11:52:01AM +0200, Kevin Wolf wrote: > Am 30.04.2015 um 11:43 hat Wen Congyang geschrieben: > > On 04/30/2015 05:33 PM, Kevin Wolf wrote: > > > [Cc: qemu-block] > > > > > > Am 30.04.2015 um 11:11 hat Wen Congyang geschrieben: > > >> Some drivers use bdrv_open, while the othe

Re: [Qemu-devel] Question about block driver

2015-04-30 Thread Kevin Wolf
Am 30.04.2015 um 11:43 hat Wen Congyang geschrieben: > On 04/30/2015 05:33 PM, Kevin Wolf wrote: > > [Cc: qemu-block] > > > > Am 30.04.2015 um 11:11 hat Wen Congyang geschrieben: > >> Some drivers use bdrv_open, while the other dirvers use bdrv_file_open(). > >> What is the difference between bdrv

Re: [Qemu-devel] Question about block driver

2015-04-30 Thread Wen Congyang
On 04/30/2015 05:33 PM, Kevin Wolf wrote: > [Cc: qemu-block] > > Am 30.04.2015 um 11:11 hat Wen Congyang geschrieben: >> Some drivers use bdrv_open, while the other dirvers use bdrv_file_open(). >> What is the difference between bdrv_open() and bdrv_file_open()? > > bdrv_file_open() is used by pr

Re: [Qemu-devel] Question about block driver

2015-04-30 Thread Kevin Wolf
[Cc: qemu-block] Am 30.04.2015 um 11:11 hat Wen Congyang geschrieben: > Some drivers use bdrv_open, while the other dirvers use bdrv_file_open(). > What is the difference between bdrv_open() and bdrv_file_open()? bdrv_file_open() is used by protocol drivers that don't need any other driver to wor

[Qemu-devel] Question about block driver

2015-04-30 Thread Wen Congyang
Hi, all Some drivers use bdrv_open, while the other dirvers use bdrv_file_open(). What is the difference between bdrv_open() and bdrv_file_open()? Thanks Wen Congyang