Re: [Qemu-devel] [PATCH v3 3/8] block: Make bdrv_file_open() static

2014-02-18 Thread Benoît Canet
The Saturday 15 Feb 2014 à 04:30:19 (+0100), Max Reitz wrote : > Add the bdrv_open() option BDRV_O_PROTOCOL which results in passing the > call to bdrv_file_open(). Additionally, make bdrv_file_open() static and > therefore bdrv_open() the only way to call it. > > Consequently, all existing calls

Re: [Qemu-devel] [PATCH v3 3/8] block: Make bdrv_file_open() static

2014-02-17 Thread Kevin Wolf
Am 15.02.2014 um 04:30 hat Max Reitz geschrieben: > Add the bdrv_open() option BDRV_O_PROTOCOL which results in passing the > call to bdrv_file_open(). Additionally, make bdrv_file_open() static and > therefore bdrv_open() the only way to call it. > > Consequently, all existing calls to bdrv_file_

[Qemu-devel] [PATCH v3 3/8] block: Make bdrv_file_open() static

2014-02-14 Thread Max Reitz
Add the bdrv_open() option BDRV_O_PROTOCOL which results in passing the call to bdrv_file_open(). Additionally, make bdrv_file_open() static and therefore bdrv_open() the only way to call it. Consequently, all existing calls to bdrv_file_open() have to be adjusted to use bdrv_open() with the BDRV_