[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-12-02 Thread Kevin O'Connor
On Thu, Dec 02, 2010 at 02:30:42PM +0200, Gleb Natapov wrote: On Wed, Dec 01, 2010 at 09:25:40PM -0500, Kevin O'Connor wrote: You're thinking in terms of which device to boot, which does make this difficult. However, it's equally valid to think in terms of which boot method to invoke,

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-12-02 Thread Gleb Natapov
On Thu, Dec 02, 2010 at 09:01:25PM -0500, Kevin O'Connor wrote: On Thu, Dec 02, 2010 at 02:30:42PM +0200, Gleb Natapov wrote: On Wed, Dec 01, 2010 at 09:25:40PM -0500, Kevin O'Connor wrote: You're thinking in terms of which device to boot, which does make this difficult. However, it's

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-12-01 Thread Gleb Natapov
On Mon, Nov 29, 2010 at 08:34:03PM -0500, Kevin O'Connor wrote: On Sun, Nov 28, 2010 at 08:47:34PM +0200, Gleb Natapov wrote: On Sun, Nov 28, 2010 at 12:15:44PM -0500, Kevin O'Connor wrote: It's unclear to me how SeaBIOS is supposed to do that. Suppose we have

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-12-01 Thread Gleb Natapov
On Mon, Nov 29, 2010 at 08:55:09PM -0500, Kevin O'Connor wrote: On Mon, Nov 29, 2010 at 11:50:45AM +0100, Gerd Hoffmann wrote: If scsi card has optionrom with only one bcv then Seabios can determine its boot order from device path, so why not provide user with this option today? It's

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-12-01 Thread Gleb Natapov
On Tue, Nov 30, 2010 at 09:53:32PM -0500, Kevin O'Connor wrote: On Tue, Nov 30, 2010 at 04:01:00PM +0200, Gleb Natapov wrote: On Mon, Nov 29, 2010 at 08:34:03PM -0500, Kevin O'Connor wrote: On Sun, Nov 28, 2010 at 08:47:34PM +0200, Gleb Natapov wrote: If you let go to the idea of exact

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-30 Thread Kevin O'Connor
On Sun, Nov 28, 2010 at 08:47:34PM +0200, Gleb Natapov wrote: On Sun, Nov 28, 2010 at 12:15:44PM -0500, Kevin O'Connor wrote: It's unclear to me how SeaBIOS is supposed to do that. Suppose we have /p...@i0cf8/s...@3/d...@0,0 with boot index 5 in boot devices list and suppose pci device in

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-30 Thread Kevin O'Connor
On Mon, Nov 29, 2010 at 11:50:45AM +0100, Gerd Hoffmann wrote: If scsi card has optionrom with only one bcv then Seabios can determine its boot order from device path, so why not provide user with this option today? It's unclear to me how SeaBIOS is supposed to do that. Try to keep track of

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-30 Thread Kevin O'Connor
On Tue, Nov 30, 2010 at 04:01:00PM +0200, Gleb Natapov wrote: On Mon, Nov 29, 2010 at 08:34:03PM -0500, Kevin O'Connor wrote: On Sun, Nov 28, 2010 at 08:47:34PM +0200, Gleb Natapov wrote: If you let go to the idea of exact matching of string built by qemu in Seabios it will be easy to see

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-29 Thread Gerd Hoffmann
Hi, BTW are you actually aware of any option rom with multiple BCVs and, if yes, how those BCVs differ? Multiple BCVs - yes. A SCSI card will define a BCV for each attached drive. I don't have a scsi card myself, but the support was added by a user who ran into the problem first hand.

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-29 Thread Gerd Hoffmann
Hi, If scsi card has optionrom with only one bcv then Seabios can determine its boot order from device path, so why not provide user with this option today? It's unclear to me how SeaBIOS is supposed to do that. Try to keep track of which bcv/bev belongs to which pci device? It should

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-29 Thread Gleb Natapov
On Mon, Nov 29, 2010 at 11:19:29AM +0100, Gerd Hoffmann wrote: Hi, BTW are you actually aware of any option rom with multiple BCVs and, if yes, how those BCVs differ? Multiple BCVs - yes. A SCSI card will define a BCV for each attached drive. I don't have a scsi card myself, but the

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-28 Thread Avi Kivity
On 11/28/2010 09:54 AM, Gleb Natapov wrote: On Sat, Nov 27, 2010 at 10:56:10PM +0200, Avi Kivity wrote: On 11/23/2010 06:12 PM, Anthony Liguori wrote: On 11/23/2010 09:31 AM, Gleb Natapov wrote: Anthony, Blue No comments on this patch series for almost a week. Can it be applied?

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-28 Thread Gleb Natapov
On Sun, Nov 28, 2010 at 11:38:36AM +0200, Avi Kivity wrote: On 11/28/2010 09:54 AM, Gleb Natapov wrote: On Sat, Nov 27, 2010 at 10:56:10PM +0200, Avi Kivity wrote: On 11/23/2010 06:12 PM, Anthony Liguori wrote: On 11/23/2010 09:31 AM, Gleb Natapov wrote: Anthony, Blue No comments

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-28 Thread Blue Swirl
On Sun, Nov 28, 2010 at 7:54 AM, Gleb Natapov g...@redhat.com wrote: On Sat, Nov 27, 2010 at 10:56:10PM +0200, Avi Kivity wrote: On 11/23/2010 06:12 PM, Anthony Liguori wrote: On 11/23/2010 09:31 AM, Gleb Natapov wrote: Anthony, Blue No comments on this patch series for almost a week. Can

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-28 Thread Gleb Natapov
On Sun, Nov 28, 2010 at 12:39:13PM +, Blue Swirl wrote: On Sun, Nov 28, 2010 at 7:54 AM, Gleb Natapov g...@redhat.com wrote: On Sat, Nov 27, 2010 at 10:56:10PM +0200, Avi Kivity wrote: On 11/23/2010 06:12 PM, Anthony Liguori wrote: On 11/23/2010 09:31 AM, Gleb Natapov wrote: Anthony,

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-28 Thread Michael S. Tsirkin
On Sun, Nov 28, 2010 at 09:54:04AM +0200, Gleb Natapov wrote: On Sat, Nov 27, 2010 at 10:56:10PM +0200, Avi Kivity wrote: On 11/23/2010 06:12 PM, Anthony Liguori wrote: On 11/23/2010 09:31 AM, Gleb Natapov wrote: Anthony, Blue No comments on this patch series for almost a week. Can it

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-28 Thread Gleb Natapov
On Sun, Nov 28, 2010 at 03:13:52PM +0200, Michael S. Tsirkin wrote: On Sun, Nov 28, 2010 at 09:54:04AM +0200, Gleb Natapov wrote: On Sat, Nov 27, 2010 at 10:56:10PM +0200, Avi Kivity wrote: On 11/23/2010 06:12 PM, Anthony Liguori wrote: On 11/23/2010 09:31 AM, Gleb Natapov wrote:

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-28 Thread Blue Swirl
On Sun, Nov 28, 2010 at 1:19 PM, Gleb Natapov g...@redhat.com wrote: On Sun, Nov 28, 2010 at 03:13:52PM +0200, Michael S. Tsirkin wrote: On Sun, Nov 28, 2010 at 09:54:04AM +0200, Gleb Natapov wrote: On Sat, Nov 27, 2010 at 10:56:10PM +0200, Avi Kivity wrote: On 11/23/2010 06:12 PM, Anthony

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-28 Thread Gleb Natapov
On Sun, Nov 28, 2010 at 03:13:52PM +0200, Michael S. Tsirkin wrote: On Sun, Nov 28, 2010 at 09:54:04AM +0200, Gleb Natapov wrote: On Sat, Nov 27, 2010 at 10:56:10PM +0200, Avi Kivity wrote: On 11/23/2010 06:12 PM, Anthony Liguori wrote: On 11/23/2010 09:31 AM, Gleb Natapov wrote:

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-28 Thread Kevin O'Connor
On Sun, Nov 28, 2010 at 09:45:34AM +0200, Gleb Natapov wrote: On Sat, Nov 27, 2010 at 04:07:45PM -0500, Kevin O'Connor wrote: On Sat, Nov 27, 2010 at 09:04:24PM +0200, Gleb Natapov wrote: Suppose we add SCSI support to Seabios and suppose SCSI card Seabios can natively boot from has

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-28 Thread Gleb Natapov
On Sun, Nov 28, 2010 at 12:15:44PM -0500, Kevin O'Connor wrote: On Sun, Nov 28, 2010 at 09:45:34AM +0200, Gleb Natapov wrote: On Sat, Nov 27, 2010 at 04:07:45PM -0500, Kevin O'Connor wrote: On Sat, Nov 27, 2010 at 09:04:24PM +0200, Gleb Natapov wrote: Suppose we add SCSI support to

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-28 Thread Gleb Natapov
On Sun, Nov 28, 2010 at 07:23:20PM +0200, Michael S. Tsirkin wrote: On Sun, Nov 28, 2010 at 03:19:00PM +0200, Gleb Natapov wrote: On Sun, Nov 28, 2010 at 03:13:52PM +0200, Michael S. Tsirkin wrote: On Sun, Nov 28, 2010 at 09:54:04AM +0200, Gleb Natapov wrote: On Sat, Nov 27, 2010 at

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-28 Thread Michael S. Tsirkin
On Sun, Nov 28, 2010 at 08:54:38PM +0200, Gleb Natapov wrote: On Sun, Nov 28, 2010 at 07:23:20PM +0200, Michael S. Tsirkin wrote: On Sun, Nov 28, 2010 at 03:19:00PM +0200, Gleb Natapov wrote: On Sun, Nov 28, 2010 at 03:13:52PM +0200, Michael S. Tsirkin wrote: On Sun, Nov 28, 2010 at

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-28 Thread Gleb Natapov
On Sun, Nov 28, 2010 at 09:09:48PM +0200, Michael S. Tsirkin wrote: On Sun, Nov 28, 2010 at 08:54:38PM +0200, Gleb Natapov wrote: On Sun, Nov 28, 2010 at 07:23:20PM +0200, Michael S. Tsirkin wrote: On Sun, Nov 28, 2010 at 03:19:00PM +0200, Gleb Natapov wrote: On Sun, Nov 28, 2010 at

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-27 Thread Kevin O'Connor
On Wed, Nov 24, 2010 at 12:03:11PM +0200, Gleb Natapov wrote: On Tue, Nov 23, 2010 at 08:19:07PM -0500, Kevin O'Connor wrote: On Tue, Nov 23, 2010 at 05:31:41PM +0200, Gleb Natapov wrote: On Wed, Nov 17, 2010 at 06:43:47PM +0200, Gleb Natapov wrote: I am using open firmware naming scheme

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-27 Thread Gleb Natapov
On Sat, Nov 27, 2010 at 10:41:10AM -0500, Kevin O'Connor wrote: On Wed, Nov 24, 2010 at 12:03:11PM +0200, Gleb Natapov wrote: On Tue, Nov 23, 2010 at 08:19:07PM -0500, Kevin O'Connor wrote: On Tue, Nov 23, 2010 at 05:31:41PM +0200, Gleb Natapov wrote: On Wed, Nov 17, 2010 at 06:43:47PM

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-27 Thread Kevin O'Connor
On Sat, Nov 27, 2010 at 06:22:16PM +0200, Gleb Natapov wrote: On Sat, Nov 27, 2010 at 10:41:10AM -0500, Kevin O'Connor wrote: On Wed, Nov 24, 2010 at 12:03:11PM +0200, Gleb Natapov wrote: BEV should be easy. When you register BEV found on pci card you search for device path to that pci

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-27 Thread Gleb Natapov
On Sat, Nov 27, 2010 at 11:49:39AM -0500, Kevin O'Connor wrote: On Sat, Nov 27, 2010 at 06:22:16PM +0200, Gleb Natapov wrote: On Sat, Nov 27, 2010 at 10:41:10AM -0500, Kevin O'Connor wrote: On Wed, Nov 24, 2010 at 12:03:11PM +0200, Gleb Natapov wrote: BEV should be easy. When you

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-27 Thread Kevin O'Connor
On Sat, Nov 27, 2010 at 07:06:19PM +0200, Gleb Natapov wrote: On Sat, Nov 27, 2010 at 11:49:39AM -0500, Kevin O'Connor wrote: On Sat, Nov 27, 2010 at 06:22:16PM +0200, Gleb Natapov wrote: Yeah. I looked at the Seabios code. The simplest would be to change device path to point to rom

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-27 Thread Gleb Natapov
On Sat, Nov 27, 2010 at 12:47:26PM -0500, Kevin O'Connor wrote: On Sat, Nov 27, 2010 at 07:06:19PM +0200, Gleb Natapov wrote: On Sat, Nov 27, 2010 at 11:49:39AM -0500, Kevin O'Connor wrote: On Sat, Nov 27, 2010 at 06:22:16PM +0200, Gleb Natapov wrote: Yeah. I looked at the Seabios code.

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-27 Thread Kevin O'Connor
On Sat, Nov 27, 2010 at 08:15:42PM +0200, Gleb Natapov wrote: On Sat, Nov 27, 2010 at 12:47:26PM -0500, Kevin O'Connor wrote: I don't think seabios should try to parse the path. Instead, I think seabios should build a name for each device it finds using the same algorithm that qemu uses

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-27 Thread Gleb Natapov
On Sat, Nov 27, 2010 at 01:40:12PM -0500, Kevin O'Connor wrote: On Sat, Nov 27, 2010 at 08:15:42PM +0200, Gleb Natapov wrote: On Sat, Nov 27, 2010 at 12:47:26PM -0500, Kevin O'Connor wrote: I don't think seabios should try to parse the path. Instead, I think seabios should build a name

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-27 Thread Avi Kivity
On 11/23/2010 06:12 PM, Anthony Liguori wrote: On 11/23/2010 09:31 AM, Gleb Natapov wrote: Anthony, Blue No comments on this patch series for almost a week. Can it be applied? Does that mean everyone's happy or have folks not gotten around to review it? IOW, last call if you have

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-27 Thread Kevin O'Connor
Trimming CC list, adding seabios list. On Sat, Nov 27, 2010 at 09:04:24PM +0200, Gleb Natapov wrote: On Sat, Nov 27, 2010 at 01:40:12PM -0500, Kevin O'Connor wrote: On Sat, Nov 27, 2010 at 08:15:42PM +0200, Gleb Natapov wrote: Qemu does not know that Seabios needs optionrom to boot from a

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-27 Thread Gleb Natapov
On Sat, Nov 27, 2010 at 04:07:45PM -0500, Kevin O'Connor wrote: Trimming CC list, adding seabios list. On Sat, Nov 27, 2010 at 09:04:24PM +0200, Gleb Natapov wrote: On Sat, Nov 27, 2010 at 01:40:12PM -0500, Kevin O'Connor wrote: On Sat, Nov 27, 2010 at 08:15:42PM +0200, Gleb Natapov

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-27 Thread Gleb Natapov
On Sat, Nov 27, 2010 at 10:56:10PM +0200, Avi Kivity wrote: On 11/23/2010 06:12 PM, Anthony Liguori wrote: On 11/23/2010 09:31 AM, Gleb Natapov wrote: Anthony, Blue No comments on this patch series for almost a week. Can it be applied? Does that mean everyone's happy or have folks not

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-24 Thread Gleb Natapov
On Tue, Nov 23, 2010 at 08:19:07PM -0500, Kevin O'Connor wrote: Hi Gleb, On Tue, Nov 23, 2010 at 05:31:41PM +0200, Gleb Natapov wrote: Anthony, Blue No comments on this patch series for almost a week. Can it be applied? My apologies - I haven't had time to review. On Wed, Nov 17,

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-23 Thread Gleb Natapov
Anthony, Blue No comments on this patch series for almost a week. Can it be applied? On Wed, Nov 17, 2010 at 06:43:47PM +0200, Gleb Natapov wrote: I am using open firmware naming scheme to specify device path names. In this version: added SCSI bus support. Pass boot order list as file to

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-23 Thread Anthony Liguori
On 11/23/2010 09:31 AM, Gleb Natapov wrote: Anthony, Blue No comments on this patch series for almost a week. Can it be applied? Does that mean everyone's happy or have folks not gotten around to review it? IOW, last call if you have objections :-) Regards, Anthony Liguori On Wed,

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-23 Thread Blue Swirl
On Tue, Nov 23, 2010 at 4:12 PM, Anthony Liguori aligu...@linux.vnet.ibm.com wrote: On 11/23/2010 09:31 AM, Gleb Natapov wrote: Anthony, Blue No comments on this patch series for almost a week. Can it be applied? Does that mean everyone's happy or have folks not gotten around to review

[Qemu-devel] Re: [PATCHv6 00/16] boot order specification

2010-11-23 Thread Kevin O'Connor
Hi Gleb, On Tue, Nov 23, 2010 at 05:31:41PM +0200, Gleb Natapov wrote: Anthony, Blue No comments on this patch series for almost a week. Can it be applied? My apologies - I haven't had time to review. On Wed, Nov 17, 2010 at 06:43:47PM +0200, Gleb Natapov wrote: I am using open firmware