[libvirt] Anyway to configure multiple boot devices?

Daniel P. Berrange berrange at redhat.com
Wed Jun 3 09:34:43 UTC 2009


On Wed, Jun 03, 2009 at 01:13:46AM -0400, Matty wrote:
> I am running a number of KVM guests on a physical machine, and want to
> configure the hosts to boot from the network if the internal disk
> isn't bootable. After reading through a number of documents, I came
> across the following bug report:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=472236
> 
> According to that document (and the libvirt Domain XML format document),
> I should be able to configure two boot device statements by adding two
> boot tags to the domain configuration:
> 
>  <os>
>    <type arch='x86_64' machine='pc'>hvm</type>
>    <boot dev='hd'/>
>    <boot dev='network'/>
>  </os>
> 
> When I attempt to start a guest with this configuration (I added the
> new line using virsh's edit command), I receive the following error:
> 
> virsh # start kvmnode2
> libvir: QEMU error : internal error Failure while reading monitor
> startup output: Input/output error
> error: Failed to start domain kvmnode2

Pretty sure that's  a KVM bug with it overflowing the available option
ROM space. The XML syntax you have is correct for libvirt POV and works
for me.

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 :|




More information about the libvir-list mailing list