Re: [libvirt] XML for the "boot=on" option

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

 



On Mon, Jan 18, 2010 at 08:37:38AM -0800, Shi Jin wrote:
> Hi, there,
> 
> In order to install windows 2008 using the virtio driver, I had to modify the KVM command to include the boot=on option like:
>  -drive file=<path>/virtioWin08.raw,if=virtio,index=0,boot=on
> 
> However, I haven't been able to find a corresponding libvirt XML element that can enable this "boot=on" option. Is there a way to do this?

If you set 

  <os>
    <boot dev='hd'/>
  </os>

libvirt will automatically set the boot=on parameter for the first harddisk
in the XML

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]