On Thu, Mar 31, 2011 at 05:46:47PM +0800, Osier Yang wrote:
于 2011年03月31日 15:17, Masanari Iida 写道:
>Somebody sent me a tips.
>Following command do what I wanted to do.
>Thanks.
>
>attach-disk guest01 " " hdc --driver file --type cdrom
>--mode readonly
Also using "update-device" with an xml which doesn't specify
the source file path will work.
BTW, if someone is looking for a short coding idea, it would
be great if we finally added support for two commands specifically
targetting devices with removable media:
'eject-disk' (ejects current media)
'insert-disk' (replaces current media (if any) with new media)
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|