xen-org/xen-api — pull request #794 by djs55 (2012-07-31 08:21:31+00:00)
Title: CA-87324: fix PV cdrom "insert" and "eject"

PV guests don't actually support "insert" and "eject" for CDs so we've always faked this using "plug" and "unplug". This simulation code was buggy and the fix is simpler if the code moves from xenopsd to xapi (where it always used to be).

So far I've tested this by:
1. manually insert/ejecting a tools iso from a Debian guest, combined with VM powercycle ops
2. quicktest
3. (in progress) insert/ejecting CDs from windows