|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-users
Re: [Xen-users] Adding And Removing CDROM And Floppies from Xen	Virtual 
 
You can use xm block-attach ex :
xm block-attach vm_id phy:/dev/cdrom hdc:cdrom r
to list assigned device on vm use block-list and then use block-detach to
detach it.
Little tip : if you need to change cdrom after it has been assigned to a vm
you need to detach it,
eject cdrom (to relace it), then attach another disk, detach this disk and
re-attach cdrom unless new cdrom will not be recognized on vm.
xenisfun wrote:
> 
> How to add and remove cdrom to xen virtual machine? any api?
> 
> pls help
> 
-- 
View this message in context: 
http://www.nabble.com/Adding-And-Removing-CDROM-And-Floppies-from-Xen-Virtual-Machine-tp22348790p22351406.html
Sent from the Xen - User mailing list archive at Nabble.com.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
 
 |   
 
 | 
    | 
  
  
    |   | 
    |