[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC] linux-user (mostly syscall.c)
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] [RFC] linux-user (mostly syscall.c) |
Date: |
Sun, 4 Nov 2007 01:51:08 +0000 |
User-agent: |
KMail/1.9.7 |
> If you take a close look, you'll find more variations between Linux ABIs
> for different CPUs than between all BSD implementations: common syscalls
> of all BSD flavors do the same thing (and have the same ABI whatever the
> CPU...). You'll also find very few variations between the syscalls
> common to BSD & Linux because most of those directly map POSIX defined
> functions.
> Then, following the given argument, we never should try to share any
> code between linux-user for different targets, as the Linux ABI and
> behavior is different for different CPUs...
I'd guess that the ones that are all the same are the ones that don't take any
real effort to implement in the first place.
If you can combine the implementations I'd also expect to be able to do cross
emulation. e.g. run *BSD applications on a Linux host. This definitely works
for simple cases, even in the extreme case of a windows host - as you say
many syscalls map directly onto POSIX functions so there is only ever one
implementation. Whether it works well enough for real applications or whole
distributions of software I'm not so sure. If you can't do cross emulation
I'm sceptical about how much they can be combined.
Paul
- [Qemu-devel] [RFC] linux-user (mostly syscall.c), Thayne Harbaugh, 2007/11/02
- Re: [Qemu-devel] [RFC] linux-user (mostly syscall.c), Thiemo Seufer, 2007/11/02
- Re: [Qemu-devel] [RFC] linux-user (mostly syscall.c), J. Mayer, 2007/11/03
- Re: [Qemu-devel] [RFC] linux-user (mostly syscall.c), Thayne Harbaugh, 2007/11/03
- Re: [Qemu-devel] [RFC] linux-user (mostly syscall.c), Fabrice Bellard, 2007/11/03
- Re: [Qemu-devel] [RFC] linux-user (mostly syscall.c), Thayne Harbaugh, 2007/11/03
- Re: [Qemu-devel] [RFC] linux-user (mostly syscall.c), J. Mayer, 2007/11/03
- Re: [Qemu-devel] [RFC] linux-user (mostly syscall.c),
Paul Brook <=
- Re: [Qemu-devel] [RFC] linux-user (mostly syscall.c), J. Mayer, 2007/11/04
Re: [Qemu-devel] [RFC] linux-user (mostly syscall.c), TJ, 2007/11/03