On 2013-10-02 19:31, Dunrong Huang wrote:
The content filename point to may be erased by qemu_opts_absorb_qdict()
in raw_open_common() in drv->bdrv_file_open()

So it's better to use bs->filename.

Signed-off-by: Dunrong Huang <[email protected]>
---
  block.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Max Reitz <[email protected]>

Reply via email to