WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Adding And Removing CDROM And Floppies from Xen Virtual

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Adding And Removing CDROM And Floppies from Xen Virtual Machine
From: Guillaume Robin <robingu@xxxxxxxxxxxxxxx>
Date: Thu, 5 Mar 2009 05:16:58 -0800 (PST)
Delivery-date: Thu, 05 Mar 2009 05:17:36 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <22348790.post@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <22348790.post@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>