qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Vladimir N. Oleynik" <dzo@simtreas.ru>
To: hetz@witch.dyndns.org
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: AIO ide patch
Date: Mon, 31 May 2004 10:39:26 +0400	[thread overview]
Message-ID: <40BAD31E.7050807@simtreas.ru> (raw)
In-Reply-To: <200405301730.06075.hetz@witch.dyndns.org>

Hetz,

>>I want see Fabrice a reaction. I don`t know of safe my idea.
>>I tested 3-th variant with AIO for ATAPI. My tests is works.
>>
>>
>>ftp://ftp.simtreas.ru/pub/my/qemu/qemu_aio.patch3.gz

> Well, safe  - it's not :(

May be. Qemu have comment for demontsrate this ;-)

/* XXX: tb_flush is currently not thread safe */
....
     if (cpu_single_env)
         env = cpu_single_env; /* XXX: find a correct solution for multithread */

And many other...

Current cpu_single_env=global_env and cpu_loop() have save context by localy,
not to env. io_port make irq from signle_env, mail_loop() make timer irq from
global_env, network fd_read make irq from mail_loop() with single_env...
I confused this. The current design may be ready not thread safe, but have
working progress for this.

> It seems that with your patch, Windows XP upon booting complains about wrong 
> HAL, and doesn't boot. Windows 98 complains about corrupt hard drive and 
> doesn't boot either.

Heh. My WinXP installation with AIO_patch4v is ok.
4v have async call all set_irq with usage sched_yield().

--w
vodz

  reply	other threads:[~2004-05-31  6:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-25 16:32 [Qemu-devel] AIO ide patch Vladimir N. Oleynik
2004-05-26 11:03 ` [Qemu-devel] " Vladimir N. Oleynik
2004-05-26 14:39   ` Hetz Ben Hamo
2004-05-26 14:09     ` Vladimir N. Oleynik
2004-05-30 14:30       ` Hetz Ben Hamo
2004-05-31  6:39         ` Vladimir N. Oleynik [this message]
2004-05-26 20:03   ` Fabrice Bellard
2004-07-19  7:59 ` [Qemu-devel] noSDL "GUI" for Qemu Vladimir N. Oleynik
2004-07-20  0:16   ` Jim C. Brown
2004-07-20 11:52   ` Richard Zidlicky
2004-07-24  3:21     ` Darrin Ritter
2004-07-20 12:32   ` [Qemu-devel] patches in dad-answers.com Vladimir N. Oleynik
2004-07-20 14:16     ` Brad Watson
2004-09-16 11:57 ` [Qemu-devel] No usermode hack Vladimir N. Oleynik
  -- strict thread matches above, loose matches on Subject: below --
2004-05-28 16:10 [Qemu-devel] Re: AIO ide patch Vladimir N. Oleynik

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=40BAD31E.7050807@simtreas.ru \
    --to=dzo@simtreas.ru \
    --cc=hetz@witch.dyndns.org \
    --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).