Re: [Qemu-devel] nvram and boot order

2012-10-25 Thread David Gibson
On Tue, Oct 16, 2012 at 03:55:17PM -0500, Anthony Liguori wrote: > Benjamin Herrenschmidt writes: > > > On Tue, 2012-10-16 at 14:55 -0500, Anthony Liguori wrote: > >> > >> 4) If -boot is specified, the parameter should alter the contents of > >>NVRAM to change the boot order to what is speci

Re: [Qemu-devel] nvram and boot order

2012-10-24 Thread David Gibson
On Fri, Oct 19, 2012 at 10:40:45AM +0200, Alexander Graf wrote: > > > On 19.10.2012, at 10:24, David Gibson wrote: > > > On Thu, Oct 18, 2012 at 08:32:54AM +0200, Alexander Graf wrote: > >> > >> > >> On 18.10.2012, at 03:18, Benjamin Herrenschmidt > >> wrote: > >> > >>> On Thu, 2012-10-18

Re: [Qemu-devel] nvram and boot order

2012-10-19 Thread Benjamin Herrenschmidt
On Fri, 2012-10-19 at 09:21 -0500, Anthony Liguori wrote: > > That's true to an extent. However, I vehemently disagree that it's > > arbitrary which one gets the new option. Neither -boot nor bootindex= > > alter any persistent data now and they should not suddenly start doing > > so. > > That'

Re: [Qemu-devel] nvram and boot order

2012-10-19 Thread Blue Swirl
On Thu, Oct 18, 2012 at 6:32 AM, Alexander Graf wrote: > > > On 18.10.2012, at 03:18, Benjamin Herrenschmidt > wrote: > >> On Thu, 2012-10-18 at 11:09 +1100, David Gibson wrote: >> > That's horrible; if you use -boot just once it will clobber a > persistent NVRAM's boot order. I see tha

Re: [Qemu-devel] nvram and boot order

2012-10-19 Thread Peter Maydell
On 19 October 2012 15:21, Anthony Liguori wrote: > David Gibson writes: >> That's true to an extent. However, I vehemently disagree that it's >> arbitrary which one gets the new option. Neither -boot nor bootindex= >> alter any persistent data now and they should not suddenly start doing >> so.

Re: [Qemu-devel] nvram and boot order

2012-10-19 Thread Anthony Liguori
David Gibson writes: > On Thu, Oct 18, 2012 at 08:32:54AM +0200, Alexander Graf wrote: >> >> >> On 18.10.2012, at 03:18, Benjamin Herrenschmidt >> wrote: >> >> > On Thu, 2012-10-18 at 11:09 +1100, David Gibson wrote: >> > >> That's horrible; if you use -boot just once it will clobber a

Re: [Qemu-devel] nvram and boot order

2012-10-19 Thread Alexander Graf
On 19.10.2012, at 10:24, David Gibson wrote: > On Thu, Oct 18, 2012 at 08:32:54AM +0200, Alexander Graf wrote: >> >> >> On 18.10.2012, at 03:18, Benjamin Herrenschmidt >> wrote: >> >>> On Thu, 2012-10-18 at 11:09 +1100, David Gibson wrote: >>> >> That's horrible; if you use -boot just

Re: [Qemu-devel] nvram and boot order

2012-10-19 Thread David Gibson
On Thu, Oct 18, 2012 at 08:32:54AM +0200, Alexander Graf wrote: > > > On 18.10.2012, at 03:18, Benjamin Herrenschmidt > wrote: > > > On Thu, 2012-10-18 at 11:09 +1100, David Gibson wrote: > > > That's horrible; if you use -boot just once it will clobber a > persistent NVRAM's boot o

Re: [Qemu-devel] nvram and boot order

2012-10-17 Thread Alexander Graf
On 18.10.2012, at 03:18, Benjamin Herrenschmidt wrote: > On Thu, 2012-10-18 at 11:09 +1100, David Gibson wrote: > That's horrible; if you use -boot just once it will clobber a persistent NVRAM's boot order. I see that a means of changing the default boot order from management

Re: [Qemu-devel] nvram and boot order

2012-10-17 Thread Benjamin Herrenschmidt
On Thu, 2012-10-18 at 11:09 +1100, David Gibson wrote: > > > That's horrible; if you use -boot just once it will clobber a > > > persistent NVRAM's boot order. I see that a means of changing the > > > default boot order from management tools is desirable, but that > > > shouldn't be the normal be

Re: [Qemu-devel] nvram and boot order

2012-10-17 Thread David Gibson
On Wed, Oct 17, 2012 at 01:17:28PM -0500, Anthony Liguori wrote: > David Gibson writes: > > > On Tue, Oct 16, 2012 at 02:55:21PM -0500, Anthony Liguori wrote: > >> > >> We discussed nvram and it's interaction with boot order in today's KVM > >> call. Here's the outcome. This list is completely

Re: [Qemu-devel] nvram and boot order

2012-10-17 Thread Anthony Liguori
David Gibson writes: > On Tue, Oct 16, 2012 at 02:55:21PM -0500, Anthony Liguori wrote: >> >> We discussed nvram and it's interaction with boot order in today's KVM >> call. Here's the outcome. This list is completely incremental so it's >> fine to start with 1-4, for instance, as long as we e

Re: [Qemu-devel] nvram and boot order

2012-10-17 Thread Gleb Natapov
On Wed, Oct 17, 2012 at 07:07:53AM +1100, Benjamin Herrenschmidt wrote: > On Tue, 2012-10-16 at 14:55 -0500, Anthony Liguori wrote: > > > > 4) If -boot is specified, the parameter should alter the contents of > >NVRAM to change the boot order to what is specified by -boot. > > > > 5) If ,boot

Re: [Qemu-devel] nvram and boot order

2012-10-16 Thread David Gibson
On Tue, Oct 16, 2012 at 06:12:22PM -0500, Anthony Liguori wrote: > Peter Maydell writes: > > > On 16 October 2012 20:55, Anthony Liguori wrote: > >> > >> We discussed nvram and it's interaction with boot order in today's KVM > >> call. Here's the outcome. This list is completely incremental so

Re: [Qemu-devel] nvram and boot order

2012-10-16 Thread David Gibson
On Tue, Oct 16, 2012 at 02:55:21PM -0500, Anthony Liguori wrote: > > We discussed nvram and it's interaction with boot order in today's KVM > call. Here's the outcome. This list is completely incremental so it's > fine to start with 1-4, for instance, as long as we eventually get > to 6. Sorry

Re: [Qemu-devel] nvram and boot order

2012-10-16 Thread Anthony Liguori
Peter Maydell writes: > On 16 October 2012 20:55, Anthony Liguori wrote: >> >> We discussed nvram and it's interaction with boot order in today's KVM >> call. Here's the outcome. This list is completely incremental so it's >> fine to start with 1-4, for instance, as long as we eventually get t

Re: [Qemu-devel] nvram and boot order

2012-10-16 Thread Anthony Liguori
Benjamin Herrenschmidt writes: > On Tue, 2012-10-16 at 14:55 -0500, Anthony Liguori wrote: >> >> 4) If -boot is specified, the parameter should alter the contents of >>NVRAM to change the boot order to what is specified by -boot. >> >> 5) If ,bootorder is specified, it should take predence

Re: [Qemu-devel] nvram and boot order

2012-10-16 Thread Peter Maydell
On 16 October 2012 20:55, Anthony Liguori wrote: > > We discussed nvram and it's interaction with boot order in today's KVM > call. Here's the outcome. This list is completely incremental so it's > fine to start with 1-4, for instance, as long as we eventually get to 6. > > Today, on x86, we imp

Re: [Qemu-devel] nvram and boot order

2012-10-16 Thread Benjamin Herrenschmidt
On Tue, 2012-10-16 at 14:55 -0500, Anthony Liguori wrote: > > 4) If -boot is specified, the parameter should alter the contents of >NVRAM to change the boot order to what is specified by -boot. > > 5) If ,bootorder is specified, it should take predence over -boot. > > 6) ,bootorder= should a