[libvirt] how to change the boot order of a qemu-kvm guest os

On Thu, Aug 27, 2009 at 10:24:18PM +0530, Gopalakrishnan Subramanian wrote:
Hi I am using libvirt and virt-manager to manage and run 2 Fedora 10 guest operating systems for the sake of installing a Oracle RAC environment . As part of the process after using the both gues for some work i felt the nedd to add an additional virtual scsi disk to one of the hosts. Trying to start the guest os after adding this scsi virtual disk to the host fails (see image) . The guest BIOS screen and all comes up fine but it now seems to be trying to boot from the newly added disk . Fiddling around with the order of the disks as listed in the xml has not helped either .
Yeah this is a bug in libvirt - its stupidly reordering disks itself. I've got a patch that will be in the next libvirt release http://www.redhat.com/archives/libvir-list/2009-August/msg00340.html There's no real workaround before that other than make sure you only use the same type of disk - eg always SCSI, or always VirtIO, but never a mix of both. 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 :|

Thanks . What exactly is the option about storage pools in virt-manager for the local host qemu. is this by any chance a method to create common storage which i may use for a clustered File System . I hope I am not asking the wrong set of questions with respect to the context of this mailing list . Thanks and Regards Gopalakrishnan Daniel P. Berrange wrote:
On Thu, Aug 27, 2009 at 10:24:18PM +0530, Gopalakrishnan Subramanian wrote:
Hi I am using libvirt and virt-manager to manage and run 2 Fedora 10 guest operating systems for the sake of installing a Oracle RAC environment . As part of the process after using the both gues for some work i felt the nedd to add an additional virtual scsi disk to one of the hosts. Trying to start the guest os after adding this scsi virtual disk to the host fails (see image) . The guest BIOS screen and all comes up fine but it now seems to be trying to boot from the newly added disk . Fiddling around with the order of the disks as listed in the xml has not helped either .
Yeah this is a bug in libvirt - its stupidly reordering disks itself. I've got a patch that will be in the next libvirt release
http://www.redhat.com/archives/libvir-list/2009-August/msg00340.html
There's no real workaround before that other than make sure you only use the same type of disk - eg always SCSI, or always VirtIO, but never a mix of both.
Daniel
participants (2)
-
Daniel P. Berrange
-
Gopalakrishnan Subramanian