On Fri, Nov 15, 2013 at 01:02:10AM +0500, Umar Draz wrote:
Hi
I am working with php-libvirt,
How I can find the primary or bootable disk device of a virtual machine?
This can be determined from the XML config. Either there will be a
<boot dev='cdrom|disk|floppy'> device type listed under <os> in which
case it'll use the first matching devices of that type, or there will
be explicit <boot order="NNN"/> ordering listed under the specific device
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 :|