[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,

[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 Wed, Dec 01, 2010 at 09:25:40PM -0500, Kevin O'Connor wrote: > On Wed, Dec 01, 2010 at 02:27:40PM +0200, Gleb Natapov wrote: > > On Tue, Nov 30, 2010 at 09:53:32PM -0500, Kevin O'Connor wrote: > > > BTW, what's the plan for handling SCSI adapters? Lets say a user has > > > a scsi card with thre

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

2010-12-01 Thread Kevin O'Connor
On Wed, Dec 01, 2010 at 02:27:40PM +0200, Gleb Natapov wrote: > On Tue, Nov 30, 2010 at 09:53:32PM -0500, Kevin O'Connor wrote: > > BTW, what's the plan for handling SCSI adapters? Lets say a user has > > a scsi card with three drives (lun 1, lun 3, lun 5) that show up as 3 > > bcvs (lun1, lun3, l

[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 o

[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?

[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 "/p...@i0cf8/s.

[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 eas

[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

[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 de

[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 myse

[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 su

[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. FY

[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, 201

[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, 201

[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, 201

[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

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

2010-11-28 Thread Michael S. Tsirkin
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 10:56:10PM +0200, Avi Kivity wrote: > > > > On 11/23/2010 06:12 PM, Ant

[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 h

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

2010-11-28 Thread Michael S. Tsirkin
On Sun, Nov 28, 2010 at 01:22:42PM +, Blue Swirl wrote: > On Sun, Nov 28, 2010 at 1:19 PM, 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 10:56:10PM +0

[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 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 Liguor

[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 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 almos

[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 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, B

[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 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 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 > >>

[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 app

[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 hav

[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 Natapo

[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 fro

[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 objection

[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

[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 u

[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 Seabi

[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 r

[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 yo

[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 tha

[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:

[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 nami

[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

[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 firm

[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 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, las

[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, N

[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 fi