[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] hw/core/null-machine: Add the possibility to in
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] hw/core/null-machine: Add the possibility to instantiate a CPU, RAM and kernel |
Date: |
Mon, 16 Jan 2017 19:27:21 +0000 |
On 16 January 2017 at 19:25, Eduardo Habkost <address@hidden> wrote:
> On Mon, Jan 16, 2017 at 10:53:07AM -0800, Alistair Francis wrote:
>> On Sun, Jan 15, 2017 at 11:59 PM, Thomas Huth <address@hidden> wrote:
>> > But I think the users also expect the "-kernel" parameter to be working,
>> > so I think we should add the loader code in null-machine.c anyway.
>>
>> I agree that uses probably expect the '-kernel' option to work as well.
>
> So, is it possible to write a generic load_kernel() function that
> simply reuses the generic-loader code?
No, because users expect -kernel to actually load a Linux kernel
(meaning with the calling conventions etc the kernel requires),
whereas generic-loader is just "load a binary blob and start there".
(-kernel is arch-specific and messy and doesn't behave the same
way on all targets either :-()
thanks
-- PMM
- [Qemu-devel] [PATCH] hw/core/null-machine: Add the possibility to instantiate a CPU, RAM and kernel, Thomas Huth, 2017/01/14
- Re: [Qemu-devel] [PATCH] hw/core/null-machine: Add the possibility to instantiate a CPU, RAM and kernel, Laurent Vivier, 2017/01/14
- Re: [Qemu-devel] [PATCH] hw/core/null-machine: Add the possibility to instantiate a CPU, RAM and kernel, Thomas Huth, 2017/01/16
- Re: [Qemu-devel] [PATCH] hw/core/null-machine: Add the possibility to instantiate a CPU, RAM and kernel, Alistair Francis, 2017/01/16
- Re: [Qemu-devel] [PATCH] hw/core/null-machine: Add the possibility to instantiate a CPU, RAM and kernel, Eduardo Habkost, 2017/01/16
- Re: [Qemu-devel] [PATCH] hw/core/null-machine: Add the possibility to instantiate a CPU, RAM and kernel,
Peter Maydell <=
- Re: [Qemu-devel] [PATCH] hw/core/null-machine: Add the possibility to instantiate a CPU, RAM and kernel, Eduardo Habkost, 2017/01/16
- Re: [Qemu-devel] [PATCH] hw/core/null-machine: Add the possibility to instantiate a CPU, RAM and kernel, Peter Maydell, 2017/01/17
- Re: [Qemu-devel] [PATCH] hw/core/null-machine: Add the possibility to instantiate a CPU, RAM and kernel, Eduardo Habkost, 2017/01/17
- Re: [Qemu-devel] [PATCH] hw/core/null-machine: Add the possibility to instantiate a CPU, RAM and kernel, Thomas Huth, 2017/01/17
Re: [Qemu-devel] [PATCH] hw/core/null-machine: Add the possibility to instantiate a CPU, RAM and kernel, Eduardo Habkost, 2017/01/16