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?
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.
<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>
--
Adam Litke <agl(a)us.ibm.com>
IBM Linux Technology Center