libxl: set the backend type to Qdisk for CDROM devices on DM HVM guests
authorRoger Pau Monne <roger.pau@citrix.com>
Fri, 8 Apr 2016 16:13:37 +0000 (18:13 +0200)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 8 Apr 2016 16:58:02 +0000 (17:58 +0100)
commit92a80cd5340b203d1b4aa6a267b893f78fc620e7
tree7457fbfc9c934d95fcde4ad23569f200fccb2e79
parent53c41d3bfb1e4cd4488ce934dbddd7c1645ac23c
libxl: set the backend type to Qdisk for CDROM devices on DM HVM guests

This is needed because the cd-{insert/eject} functions are not prepared to
deal with blkback, which would be used by default if no backend was
specified.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl_create.c
tools/libxl/libxl_internal.h