+++ This bug was initially created as a clone of Bug #723270 +++
Management may want to remove cdrom media and throw it away if the guest OS has ejected it. Please report the tray status of cdrom devices.
This is required to avoid changed behavior (aka regression) due to the resolution of bug 558256.
The tray status information should be included in the guest XML description.
To do this we need QEMU to be able to provide an event notification when the try status changes. Simply having tray status in 'info block' is not satisfactory for this feature, since that would require us (or apps) to frequently poll QEMU
We also need to be able to change tray status on the command line when starting a guest.