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

Re: [libvirt] [PATCH] Add AHCI support to qemu driver

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'>
    <type arch='x86_64' machine='pc-0.13'>hvm</type>
    <boot dev='hd'/>
  <clock offset='utc'/>
    <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 type='file' device='disk'>
      <driver name='qemu' type='qed'/>
      <source file='/home/aglitke/vm/sata-test/disk2.qed' />
      <target dev='sdb' bus='sata'/>
    <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'/>
    <interface type="network">
      <source network="default" />
    <graphics type='vnc' port='-1' autoport='yes'/>

Adam Litke <agl us ibm com>
IBM Linux Technology Center

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