[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] question about qemu_malloc and friends in xxx-user/mmap.c
From: |
Jean-Christophe Dubois |
Subject: |
[Qemu-devel] question about qemu_malloc and friends in xxx-user/mmap.c |
Date: |
Mon, 8 Jun 2009 18:16:05 +0200 |
User-agent: |
KMail/1.11.2 (Linux/2.6.28-12-generic; KDE/4.2.2; x86_64; ; ) |
Hi everybody,
A little question about qemu_malloc(). There is one implementation that is
heavily debated on the list. This implementation is for the main qemu part.
However there are also alternative implementation in xxx-user/mmap.c files for
example. These alternative implementations are not on par with the main
implementation when it comes to the behavior. In particular it does not
abort() on error for example. Is this perceived as a problem? Should all
qemu_malloc() implementation have the same behavior (whatever is finally agreed
upon on the list)?
On the same kind of topic, these files do not offer some of the desired
function. In particular there are no implementation of qemu_strdup() or
qemu_strndud() and therefore the classical strdup() function is used in some
files. Is this other issue perceived as another problem to solve?
Thanks
JC
- [Qemu-devel] question about qemu_malloc and friends in xxx-user/mmap.c,
Jean-Christophe Dubois <=