« Previous | Next » 

Revision c0777fe1

IDc0777fe18b08c3a6de0c53325d6b9b75ebb9de9a

Added by Fam Zheng almost 11 years ago

xen_disk: simplify blk_disconnect with refcnt

We call bdrv_attach_dev when initializing whether or not bs is created
locally, so call bdrv_detach_dev and let the refcnt handle the
lifecycle.

Signed-off-by: Fam Zheng <>
Signed-off-by: Stefan Hajnoczi <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences