From: ching <lsching17@gmail.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] boot device order has no effect for virtio-scsi devices
Date: Tue, 04 Sep 2012 18:53:42 +0800 [thread overview]
Message-ID: <5045DDB6.1010009@gmail.com> (raw)
In-Reply-To: <50459E71.7090106@redhat.com>
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
next prev parent reply other threads:[~2012-09-04 10:53 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 [this message]
2012-09-04 11:55 ` Eric Blake
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=5045DDB6.1010009@gmail.com \
--to=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).