Adam Litke wrote:
On Mon, Oct 03, 2011 at 10:46:18PM -0600, Jim Fehlig wrote:
> Adam Litke wrote:
>
>> Hi Jim. I was testing this and found that I could not boot from the sata disks
>> I defined. When I switch them back to ide, they can be booted just fine.
>> Perhaps something is missing from the boot order logic?
>>
>>
> Hmm, I didn't notice this in my testing. sda in the below config
> contained /boot. Can you provide the domain config?
>
Hi Adam,
I've been traveling, sorry for the delay...
With the following config, I end up booting from the cdrom. If I
take away the
cdrom definition completely, I am unable to boot at all.
I can boot fine with your config, either from sda (<boot dev='hd' />) or
cdrom (<boot dev='cdrom' />).
Have you verified your seabios supports booting from ahci as Bruce
mentioned?
Thanks,
Jim
<domain type='kvm'>
<name>blockPull-test</name>
<memory>262144</memory>
<currentMemory>262144</currentMemory>
<vcpu>1</vcpu>
<os>
<type arch='x86_64' machine='pc-0.13'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/home/aglitke/src/qemu/x86_64-softmmu/qemu-system-x86_64</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qed'/>
<source file='/home/aglitke/vm/sata-test/disk1.qed' />
<target dev='sda' bus='sata'/>
</disk>
<disk type='file' device='disk'>
<driver name='qemu' type='qed'/>
<source file='/home/aglitke/vm/sata-test/disk2.qed' />
<target dev='sdb' bus='sata'/>
</disk>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<source file='/home/aglitke/vm/images/natty-alternate-amd64.iso' />
<target dev='hda' bus='ide'/>
</disk>
<interface type="network">
<source network="default" />
</interface>
<graphics type='vnc' port='-1' autoport='yes'/>
</devices>
</domain>