public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Jun Koi <junkoi2004@gmail.com>
Cc: KVM <kvm-devel@lists.sourceforge.net>
Subject: Re: extboot usage?
Date: Sat, 05 Apr 2008 13:00:24 -0500	[thread overview]
Message-ID: <47F7BE38.9090608@codemonkey.ws> (raw)
In-Reply-To: <fdaac4d50804050941y5a423e0fj17e40c9dc9feb2f1@mail.gmail.com>

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

      reply	other threads:[~2008-04-05 18:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47F7BE38.9090608@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=junkoi2004@gmail.com \
    --cc=kvm-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox