From: Laurent Vivier <lvivier@redhat.com>
To: Greg Kurz <groug@kaod.org>
Cc: Thomas Huth <thuth@redhat.com>,
"Richard W.M. Jones" <rjones@redhat.com>,
Andrew Jones <drjones@redhat.com>,
qemu-devel@nongnu.org, qemu-ppc@nongnu.org,
David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC] spapr: by-pass SLOF when -kernel is provided
Date: Wed, 6 Jul 2016 10:37:58 +0200 [thread overview]
Message-ID: <608043a3-b312-525a-c62f-d8bdb7998545@redhat.com> (raw)
In-Reply-To: <20160706090312.01461ee9@bahia.lan>
On 06/07/2016 09:03, Greg Kurz wrote:
> On Tue, 5 Jul 2016 20:51:41 +0200
> Laurent Vivier <lvivier@redhat.com> wrote:
>
>> On 05/07/2016 20:44, Greg Kurz wrote:
>>> On Tue, 5 Jul 2016 16:42:37 +0200
>>> Laurent Vivier <lvivier@redhat.com> wrote:
>>>
>>>> As device-tree is now fully built by QEMU, we don't need SLOF
>>>> anymore if the kernel is provided on the command line.
>>>>
>>>> In this case, don't load SLOF and boot directly into the
>>>> kernel.
>>>>
>>>> This saves at least 5 seconds on the boot sequence.
>>>>
>>>
>>> The concept looks great so I gave a try with a fedora24 guest.
>>
>> I did the same test with a rhel7 vmlinuz adn intramfs and it works fine.
>>
>>>
>>> I copied the kernel and initramfs to the host and passed the kernel arguments
>>> taken from grub.
>>>
>>> The kernel starts but the boot sequence stalls at:
>>>
>>> [ OK ] Reached target Basic System.
>>> [ 126.238400] dracut-initqueue[290]: Warning: dracut-initqueue timeout - starting timeout scripts
>>
>> It happens when the initramfs didn't have the disk driver: do you use
>> the same disk controller with the "-kernel" than the one which was used
>> when the initramfs has been created?
>>
>
> Yes. The very same QEMU command line (except -kernel/-initrd/-append) works with
> SLOF and fails without SLOF.
I think it works for me because I use spapr-vscsi and spapr-vlan.
Laurent
next prev parent reply other threads:[~2016-07-06 8:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-05 14:42 [Qemu-devel] [PATCH RFC] spapr: by-pass SLOF when -kernel is provided Laurent Vivier
2016-07-05 17:58 ` [Qemu-devel] [Qemu-ppc] " Cédric Le Goater
2016-07-05 18:44 ` Greg Kurz
2016-07-05 18:51 ` Laurent Vivier
2016-07-06 7:03 ` Greg Kurz
2016-07-06 8:37 ` Laurent Vivier [this message]
2016-07-06 1:35 ` [Qemu-devel] " David Gibson
2016-07-06 3:33 ` Alexey Kardashevskiy
2016-07-06 7:04 ` [Qemu-devel] [Qemu-ppc] " Greg Kurz
2016-07-06 8:02 ` Nikunj A Dadhania
2016-07-06 8:04 ` Alexey Kardashevskiy
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=608043a3-b312-525a-c62f-d8bdb7998545@redhat.com \
--to=lvivier@redhat.com \
--cc=david@gibson.dropbear.id.au \
--cc=drjones@redhat.com \
--cc=groug@kaod.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=rjones@redhat.com \
--cc=thuth@redhat.com \
/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).