[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xl: remove stale comment



On Thu, Feb 02, 2017 at 03:56:03PM +0000, Ian Jackson wrote:
> Wei Liu writes ("[PATCH] xl: remove stale comment"):
> > Obvious the DISK_EJECT event is for ejecting removable media.
> 
> The question is...
> 
> >          case LIBXL_EVENT_TYPE_DISK_EJECT:
> > -            /* XXX what is this for? */
> >              libxl_cdrom_insert(ctx, domid, &event->u.disk_eject.disk, 
> > NULL);
> >              break;
> 
> ... why does xl respond to ejection of removeable media by calling
> libxl_cdrom_insert with an empty medium ?

Oh, so maybe early days there is only one type of removable medium --
the cdrom -- but things have changed now?

Anyway, I don't know much about the history, just curious why this
comment is here.

Wei.

> 
> Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.