libxl: Fix cd-insert with qemu-xen.
authorAnthony PERARD <anthony.perard@citrix.com>
Tue, 9 Oct 2012 10:08:21 +0000 (11:08 +0100)
committerAnthony PERARD <anthony.perard@citrix.com>
Tue, 9 Oct 2012 10:08:21 +0000 (11:08 +0100)
commitc4b92d46aa7d32c4d07143b1d1e10d8c1f785362
treedd918732ed851ee01e2a80e328ca0d88bb7b4159
parent57b80eb6196c475277e706d46a09088a9ba4e86d
libxl: Fix cd-insert with qemu-xen.

If qemu-xen is used as a device model, the command to insert, change or eject a
cdrom will go through QMP. XenStore is still updated even if QEMU will not read
from it.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl.c