From: Jonathan Phenix <jonathan.phenix@videotron.ca>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] SMP Question
Date: Sun, 17 Dec 2006 12:03:32 -0500 [thread overview]
Message-ID: <45857864.7060302@videotron.ca> (raw)
In-Reply-To: <b2dbb5d10612170737x4f7d2f6ei5a852ad87c8eae79@mail.gmail.com>
maple Chou wrote:
> Dear All,
> I just doing my floppy toy-os project(include little bootloader). And
> test with qemu.
> The Floppy Image is here http://file.maple.tw/mapleos/floppy.img
>
> My problem is when I turn on the SMP option. (qemu -fda floppy.img -smp 2)
> The system will hang on bootsector (i just watch qemu monitor hang on
> 0x7eca)
>
> And some problem with Grub+floppy image.
> Grub+HD image boot successful, but can't capture the keyboard.
>
> What's problem!?? i only run SMP case successful with linux kernel.
For your project, qemu should be considered a _tool_. Like all tools,
you must know it's usefulness (it's easier to debug your OS on an
emulator) but you must be very well aware that all emulators are
accurate only up to a certain point of the actual system emulated. This
is not to mention that qemu is not yet complete (latest official release
is 0.8.2), there are known bugs and unimplemented features that could
always be the source of the problem. Finally, even if qemu is able to
boot many common SMP enabled OSes, it's not a guarantee that everything
is perfect related to SMP in qemu.
If you believe that your code is correct and this is a bug in qemu,
which is always possible, try with different PC emulators to see if
there is a difference. The best thing to do is to actually test on a
real SMP system, real hardware have a final say on what should work and
what doesn't.
Finally, developing an OS is not a small task, perhaps you should focus
on single processor systems first which are a lot easier to design and
debug for and then focus on SMP systems later on.
Regards,
- Jonathan
>
> Best Regards
>
> ~maple
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
prev parent reply other threads:[~2006-12-17 17:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-17 15:37 [Qemu-devel] SMP Question maple Chou
2006-12-17 17:03 ` Jonathan Phenix [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=45857864.7060302@videotron.ca \
--to=jonathan.phenix@videotron.ca \
--cc=qemu-devel@nongnu.org \
/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;
as well as URLs for NNTP newsgroup(s).