All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: ching <lsching17@gmail.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] boot device order has no effect for virtio-scsi devices
Date: Tue, 04 Sep 2012 05:55:36 -0600	[thread overview]
Message-ID: <5045EC38.5070306@redhat.com> (raw)
In-Reply-To: <5045DDB6.1010009@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1394 bytes --]

On 09/04/2012 04:53 AM, ching wrote:
> On 09/04/2012 02:23 PM, Paolo Bonzini wrote:
>> Il 04/09/2012 02:03, ching ha scritto:
>>> i add boot order and the virtual machine still boot from hard disk instead of cd-rom
>>>
>>> <disk type='file' device='disk'>
>>>       <driver name='qemu' type='raw' cache='unsafe' io='native'/>
>>>       <source file='/Linux.raw_image'/>
>>>       <target dev='sda' bus='scsi'/>
>>>       <boot order='2'/>
>>>       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
>>>     </disk>
>>>     <disk type='file' device='cdrom'>
>>>       <driver name='qemu' type='raw' cache='unsafe' io='native'/>
>>>       <source file='/xubuntu-12.04-desktop-amd64.iso'/>
>>>       <target dev='sdb' bus='scsi'/>
>>>       <readonly/>
>>>       <boot order='1'/>
>>>       <address type='drive' controller='0' bus='0' target='0' unit='1'/>
>>>     </disk>
>>>
>>> here is the captured command line generated by libvirt (uuid and mac address are masked)
>> Ah, ok.  libvirt for now supports only booting from LUN 0.  You can use
>> multiple targets instead of multiple units.
>>
>> Paolo
>>
> 
> it works. thanks a lot.
> hope that libvirt will document it somewhere

Please raise this issue on the libvirt lists, then.

-- 
Eric Blake   eblake@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 617 bytes --]

  reply	other threads:[~2012-09-04 11:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-30 11:31 [Qemu-devel] boot device order has no effect for virtio-scsi devices ching
2012-09-02 22:23 ` ching
2012-09-03  8:24   ` Paolo Bonzini
2012-09-04  0:03     ` ching
2012-09-04  6:23       ` Paolo Bonzini
2012-09-04 10:53         ` ching
2012-09-04 11:55           ` Eric Blake [this message]
2012-09-04 22:13             ` ching
2012-09-05  6:55               ` Paolo Bonzini
2012-09-05 11:34                 ` ching

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5045EC38.5070306@redhat.com \
    --to=eblake@redhat.com \
    --cc=lsching17@gmail.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.