Re: [Qemu-devel] [PATCH] null-machine: Add support for the "-kernel" parameter

2017-02-27 Thread Eduardo Habkost
On Mon, Feb 27, 2017 at 07:10:23PM +0100, Thomas Huth wrote: > On 27.02.2017 19:00, Peter Maydell wrote: > > On 27 February 2017 at 17:57, Thomas Huth wrote: > >> And I still think it does not really make sense to introduce a > >> per-architecture hook here - let me cite my reply to Peter's mail a

Re: [Qemu-devel] [PATCH] null-machine: Add support for the "-kernel" parameter

2017-02-27 Thread Thomas Huth
On 27.02.2017 19:00, Peter Maydell wrote: > On 27 February 2017 at 17:57, Thomas Huth wrote: >> And I still think it does not really make sense to introduce a >> per-architecture hook here - let me cite my reply to Peter's mail a >> couple of mails later in that e-mail thread: >> >> 'The -kernel p

Re: [Qemu-devel] [PATCH] null-machine: Add support for the "-kernel" parameter

2017-02-27 Thread Peter Maydell
On 27 February 2017 at 17:57, Thomas Huth wrote: > And I still think it does not really make sense to introduce a > per-architecture hook here - let me cite my reply to Peter's mail a > couple of mails later in that e-mail thread: > > 'The -kernel parameter is not just only dependent on the target

Re: [Qemu-devel] [PATCH] null-machine: Add support for the "-kernel" parameter

2017-02-27 Thread Thomas Huth
On 27.02.2017 15:00, Eduardo Habkost wrote: > On Mon, Feb 27, 2017 at 12:43:23PM +0100, Thomas Huth wrote: >> On 25.01.2017 09:40, Thomas Huth wrote: >>> We can have basic support for the "-kernel" parameter quite easily >>> by using the generic loader device. This should be enough for most >>> boa

Re: [Qemu-devel] [PATCH] null-machine: Add support for the "-kernel" parameter

2017-02-27 Thread Peter Maydell
On 27 February 2017 at 17:49, Thomas Huth wrote: > On 27.02.2017 14:16, Marcel Apfelbaum wrote: >> Why do we need the "-kernel" parameter for the null-machine? I mean - >> what are the use cases? > > Since it is now possible to instantiate a CPU and memory with the > null-machine, you can use it a

Re: [Qemu-devel] [PATCH] null-machine: Add support for the "-kernel" parameter

2017-02-27 Thread Thomas Huth
On 27.02.2017 14:16, Marcel Apfelbaum wrote: > On 02/27/2017 01:43 PM, Thomas Huth wrote: >> On 25.01.2017 09:40, Thomas Huth wrote: >>> We can have basic support for the "-kernel" parameter quite easily >>> by using the generic loader device. This should be enough for most >>> boards which do not

Re: [Qemu-devel] [PATCH] null-machine: Add support for the "-kernel" parameter

2017-02-27 Thread Eduardo Habkost
On Mon, Feb 27, 2017 at 12:43:23PM +0100, Thomas Huth wrote: > On 25.01.2017 09:40, Thomas Huth wrote: > > We can have basic support for the "-kernel" parameter quite easily > > by using the generic loader device. This should be enough for most > > boards which do not need special machine-specific

Re: [Qemu-devel] [PATCH] null-machine: Add support for the "-kernel" parameter

2017-02-27 Thread Marcel Apfelbaum
On 02/27/2017 01:43 PM, Thomas Huth wrote: On 25.01.2017 09:40, Thomas Huth wrote: We can have basic support for the "-kernel" parameter quite easily by using the generic loader device. This should be enough for most boards which do not need special machine-specific magic for loading a kernel (a

Re: [Qemu-devel] [PATCH] null-machine: Add support for the "-kernel" parameter

2017-02-27 Thread Thomas Huth
On 25.01.2017 09:40, Thomas Huth wrote: > We can have basic support for the "-kernel" parameter quite easily > by using the generic loader device. This should be enough for most > boards which do not need special machine-specific magic for loading > a kernel (and for those that need special magic,

Re: [Qemu-devel] [PATCH] null-machine: Add support for the "-kernel" parameter

2017-01-25 Thread Thomas Huth
On 25.01.2017 15:42, Laurent Vivier wrote: > Le 25/01/2017 à 09:40, Thomas Huth a écrit : >> We can have basic support for the "-kernel" parameter quite easily >> by using the generic loader device. This should be enough for most >> boards which do not need special machine-specific magic for loadin

Re: [Qemu-devel] [PATCH] null-machine: Add support for the "-kernel" parameter

2017-01-25 Thread Laurent Vivier
Le 25/01/2017 à 09:40, Thomas Huth a écrit : > We can have basic support for the "-kernel" parameter quite easily > by using the generic loader device. This should be enough for most > boards which do not need special machine-specific magic for loading > a kernel (and for those that need special ma