qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice.bellard@free.fr>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Regression tests - syscall note
Date: Fri, 16 May 2003 15:54:27 +0200	[thread overview]
Message-ID: <3EC4ED93.5000208@free.fr> (raw)
In-Reply-To: 3EC22D10.5050506@free.fr

Hi,

I just updated test-i386 so that it includes vm86, exceptions and 
self-modifying code tests. I hope it will help qemu ports on other CPUs.

About the Sparc and Alpha ports, some changes are needed in syscall.c to 
convert errno codes, signal numbers and various syscall bit fields. The 
corresponding code can be extracted from em86 if needed.

A more generic problem is that qemu currently uses 'errno' to get the 
error code of syscalls. The problem is that it is not thread safe as 
qemu does not rely on the glibc pthread library. My current idea is to 
call directly all the syscalls from qemu and to use the real Linux 
return value instead of errno. Is there a better solution ?

Fabrice.

  reply	other threads:[~2003-05-16 14:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-13  4:13 [Qemu-devel] [PATCH] Updated Sparc support David S. Miller
2003-05-13 12:31 ` [Qemu-devel] " Fabrice Bellard
2003-05-13 19:49   ` David S. Miller
2003-05-14  0:13   ` Rusty Russell
2003-05-14 11:48     ` Fabrice Bellard
2003-05-16 13:54       ` Fabrice Bellard [this message]
2003-05-15 13:03 ` [Qemu-devel] " Johan Rydberg
2003-05-15 20:05   ` David S. Miller
2003-05-15 20:17     ` Johan Rydberg
2003-05-15 20:24       ` David S. Miller

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=3EC4ED93.5000208@free.fr \
    --to=fabrice.bellard@free.fr \
    --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).