public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* extboot usage?
@ 2008-04-03  7:26 Jun Koi
  2008-04-03 13:24 ` Anthony Liguori
  0 siblings, 1 reply; 8+ messages in thread
From: Jun Koi @ 2008-04-03  7:26 UTC (permalink / raw)
  To: KVM

Hi,

Could someone please post some concret examples on how to use extboot?
I looked around, but saw nothing.

Thanks,
Jun

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: extboot usage?
  2008-04-03  7:26 extboot usage? Jun Koi
@ 2008-04-03 13:24 ` Anthony Liguori
  2008-04-04  9:29   ` Jun Koi
  0 siblings, 1 reply; 8+ messages in thread
From: Anthony Liguori @ 2008-04-03 13:24 UTC (permalink / raw)
  To: Jun Koi; +Cc: KVM

Jun Koi wrote:
> Hi,
>
> Could someone please post some concret examples on how to use extboot?
> I looked around, but saw nothing.
>   

Just append boot=on to your -drive parameter.

Regards,

Anthony Liguori

> Thanks,
> Jun
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> kvm-devel mailing list
> kvm-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>   


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: extboot usage?
  2008-04-03 13:24 ` Anthony Liguori
@ 2008-04-04  9:29   ` Jun Koi
  2008-04-04  9:37     ` Laurent Vivier
  0 siblings, 1 reply; 8+ messages in thread
From: Jun Koi @ 2008-04-04  9:29 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: KVM

On 4/3/08, Anthony Liguori <anthony@codemonkey.ws> wrote:
> Jun Koi wrote:
>
> > Hi,
> >
> > Could someone please post some concret examples on how to use extboot?
> > I looked around, but saw nothing.
> >
> >
>
>  Just append boot=on to your -drive parameter.
>

OK, but the question is that when I need to have "boot=on"? Because
without it (or "boot=off"), -drive still works in some cases, right?

Many thanks,
Jun

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: extboot usage?
  2008-04-04  9:29   ` Jun Koi
@ 2008-04-04  9:37     ` Laurent Vivier
  2008-04-04 11:12       ` Jun Koi
  0 siblings, 1 reply; 8+ messages in thread
From: Laurent Vivier @ 2008-04-04  9:37 UTC (permalink / raw)
  To: Jun Koi; +Cc: KVM


Le vendredi 04 avril 2008 à 18:29 +0900, Jun Koi a écrit :
> On 4/3/08, Anthony Liguori <anthony@codemonkey.ws> wrote:
> > Jun Koi wrote:
> >
> > > Hi,
> > >
> > > Could someone please post some concret examples on how to use extboot?
> > > I looked around, but saw nothing.
> > >
> > >
> >
> >  Just append boot=on to your -drive parameter.
> >
> 
> OK, but the question is that when I need to have "boot=on"? Because
> without it (or "boot=off"), -drive still works in some cases, right?

You need extboot when you want to boot from a disk which is not managed
by IDE controller.

Regards,
Laurent
-- 
------------- Laurent.Vivier@bull.net ---------------
"The best way to predict the future is to invent it."
- Alan Kay


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: extboot usage?
  2008-04-04  9:37     ` Laurent Vivier
@ 2008-04-04 11:12       ` Jun Koi
  2008-04-04 13:56         ` Anthony Liguori
  0 siblings, 1 reply; 8+ messages in thread
From: Jun Koi @ 2008-04-04 11:12 UTC (permalink / raw)
  To: Laurent Vivier; +Cc: KVM

On 4/4/08, Laurent Vivier <Laurent.Vivier@bull.net> wrote:
>
>  Le vendredi 04 avril 2008 à 18:29 +0900, Jun Koi a écrit :
>
> > On 4/3/08, Anthony Liguori <anthony@codemonkey.ws> wrote:
>  > > Jun Koi wrote:
>  > >
>  > > > Hi,
>  > > >
>  > > > Could someone please post some concret examples on how to use extboot?
>  > > > I looked around, but saw nothing.
>  > > >
>  > > >
>  > >
>  > >  Just append boot=on to your -drive parameter.
>  > >
>  >
>  > OK, but the question is that when I need to have "boot=on"? Because
>  > without it (or "boot=off"), -drive still works in some cases, right?
>
>
> You need extboot when you want to boot from a disk which is not managed
>  by IDE controller.

I see, thanks.

in extboot.S, I see some dead code, like the macro "callout". Perhaps
it is there for testing. It is better to get rid of it.

Thanks,
Jun

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: extboot usage?
  2008-04-04 11:12       ` Jun Koi
@ 2008-04-04 13:56         ` Anthony Liguori
  2008-04-05 16:41           ` Jun Koi
  0 siblings, 1 reply; 8+ messages in thread
From: Anthony Liguori @ 2008-04-04 13:56 UTC (permalink / raw)
  To: Jun Koi; +Cc: KVM, Laurent Vivier

Jun Koi wrote:
> On 4/4/08, Laurent Vivier <Laurent.Vivier@bull.net> wrote:
>   
>>  Le vendredi 04 avril 2008 à 18:29 +0900, Jun Koi a écrit :
>>
>>     
>>> On 4/3/08, Anthony Liguori <anthony@codemonkey.ws> wrote:
>>>       
>>  > > Jun Koi wrote:
>>  > >
>>  > > > Hi,
>>  > > >
>>  > > > Could someone please post some concret examples on how to use extboot?
>>  > > > I looked around, but saw nothing.
>>  > > >
>>  > > >
>>  > >
>>  > >  Just append boot=on to your -drive parameter.
>>  > >
>>  >
>>  > OK, but the question is that when I need to have "boot=on"? Because
>>  > without it (or "boot=off"), -drive still works in some cases, right?
>>
>>
>> You need extboot when you want to boot from a disk which is not managed
>>  by IDE controller.
>>     
>
> I see, thanks.
>
> in extboot.S, I see some dead code, like the macro "callout". Perhaps
> it is there for testing. It is better to get rid of it.
>   

It's debug code and it's not compiled in unless it's used so there's no 
point in eliminating it.  I personally do not enjoy rewriting 16-bit 
assembly code :-)

Regards,

Anthony Liguori

> Thanks,
> Jun
>   


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: extboot usage?
  2008-04-04 13:56         ` Anthony Liguori
@ 2008-04-05 16:41           ` Jun Koi
  2008-04-05 18:00             ` Anthony Liguori
  0 siblings, 1 reply; 8+ messages in thread
From: Jun Koi @ 2008-04-05 16:41 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: KVM

On 4/4/08, Anthony Liguori <anthony@codemonkey.ws> wrote:
> Jun Koi wrote:
>
> > On 4/4/08, Laurent Vivier <Laurent.Vivier@bull.net> wrote:
> >
> >
> > >  Le vendredi 04 avril 2008 à 18:29 +0900, Jun Koi a écrit :
> > >
> > >
> > >
> > > > On 4/3/08, Anthony Liguori <anthony@codemonkey.ws> wrote:
> > > >
> > > >
> > >  > > Jun Koi wrote:
> > >  > >
> > >  > > > Hi,
> > >  > > >
> > >  > > > Could someone please post some concret examples on how to use
> extboot?
> > >  > > > I looked around, but saw nothing.
> > >  > > >
> > >  > > >
> > >  > >
> > >  > >  Just append boot=on to your -drive parameter.
> > >  > >
> > >  >
> > >  > OK, but the question is that when I need to have "boot=on"? Because
> > >  > without it (or "boot=off"), -drive still works in some cases, right?
> > >
> > >
> > > You need extboot when you want to boot from a disk which is not managed
> > >  by IDE controller.
> > >
> > >
> >
> > I see, thanks.
> >
> > in extboot.S, I see some dead code, like the macro "callout". Perhaps
> > it is there for testing. It is better to get rid of it.
> >
> >
>
>  It's debug code and it's not compiled in unless it's used so there's no
> point in eliminating it.  I personally do not enjoy rewriting 16-bit
> assembly code :-)

I understand your feeling :-)

BTW, in the send_command code we have something like this:

    push %ax
    mov 2(%bx), %ax
    pop %ax

Just doesnt look right to me.

Thanks,
Jun

>
>
>  Regards,
>
>  Anthony Liguori
>
>
> > Thanks,
> > Jun
> >
> >
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: extboot usage?
  2008-04-05 16:41           ` Jun Koi
@ 2008-04-05 18:00             ` Anthony Liguori
  0 siblings, 0 replies; 8+ messages in thread
From: Anthony Liguori @ 2008-04-05 18:00 UTC (permalink / raw)
  To: Jun Koi; +Cc: KVM

Jun Koi wrote:
> On 4/4/08, Anthony Liguori <anthony@codemonkey.ws> wrote:
>   
>> Jun Koi wrote:
>>
>>     
>>> On 4/4/08, Laurent Vivier <Laurent.Vivier@bull.net> wrote:
>>>
>>>
>>>       
>>>>  Le vendredi 04 avril 2008 à 18:29 +0900, Jun Koi a écrit :
>>>>
>>>>
>>>>
>>>>         
>>>>> On 4/3/08, Anthony Liguori <anthony@codemonkey.ws> wrote:
>>>>>
>>>>>
>>>>>           
>>>>  > > Jun Koi wrote:
>>>>  > >
>>>>  > > > Hi,
>>>>  > > >
>>>>  > > > Could someone please post some concret examples on how to use
>>>>         
>> extboot?
>>     
>>>>  > > > I looked around, but saw nothing.
>>>>  > > >
>>>>  > > >
>>>>  > >
>>>>  > >  Just append boot=on to your -drive parameter.
>>>>  > >
>>>>  >
>>>>  > OK, but the question is that when I need to have "boot=on"? Because
>>>>  > without it (or "boot=off"), -drive still works in some cases, right?
>>>>
>>>>
>>>> You need extboot when you want to boot from a disk which is not managed
>>>>  by IDE controller.
>>>>
>>>>
>>>>         
>>> I see, thanks.
>>>
>>> in extboot.S, I see some dead code, like the macro "callout". Perhaps
>>> it is there for testing. It is better to get rid of it.
>>>
>>>
>>>       
>>  It's debug code and it's not compiled in unless it's used so there's no
>> point in eliminating it.  I personally do not enjoy rewriting 16-bit
>> assembly code :-)
>>     
>
> I understand your feeling :-)
>
> BTW, in the send_command code we have something like this:
>
>     push %ax
>     mov 2(%bx), %ax
>     pop %ax
>
> Just doesnt look right to me.
>   

Yeah, that looks like remnants of debug code to me.  Feel free to submit 
a patch to remove it if you'd like.

Regards,

Anthony Liguori

> Thanks,
> Jun
>
>   
>>  Regards,
>>
>>  Anthony Liguori
>>
>>
>>     
>>> Thanks,
>>> Jun
>>>
>>>
>>>       
>>     


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-04-05 18:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-03  7:26 extboot usage? Jun Koi
2008-04-03 13:24 ` Anthony Liguori
2008-04-04  9:29   ` Jun Koi
2008-04-04  9:37     ` Laurent Vivier
2008-04-04 11:12       ` Jun Koi
2008-04-04 13:56         ` Anthony Liguori
2008-04-05 16:41           ` Jun Koi
2008-04-05 18:00             ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox