On 01/23/12 20:16, Stefan Weil wrote:
Am 23.01.2012 19:38, schrieb Jan Kiszka:
Forking an expr process for every byte of the input data slows down the
checksum calculation massively. Fix this while still remaining portable
by implementing the algorithm in awk.
Signed-off-by: Jan
On 09/21/11 12:16, Stefan Hajnoczi wrote:
On Wed, Sep 21, 2011 at 10:34 AM, Christoph Egger
christoph.eg...@amd.com wrote:
When NAS (http://nas.sf.net) is installed then there
is an existing audio/audio.h. Then when compiling
qemu, #include audio/audio.h takes the one from NAS
and causes
Fix warning: array subscript has type 'char' on NetBSD.
Signed-off-by: Christoph Egger christoph.eg...@amd.com
diff --git a/cmd.c b/cmd.c
index ecca167..f77897e 100644
--- a/cmd.c
+++ b/cmd.c
@@ -389,7 +389,7 @@ cvtnum(
if (sp[1] != '\0')
return -1LL;
- c
When NAS (http://nas.sf.net) is installed then there
is an existing audio/audio.h. Then when compiling
qemu, #include audio/audio.h takes the one from NAS
and causes the build to fail.
So rename audio/audio.h to audio/qaudio.h and adjust
all users.
Signed-off-by: Christoph Egger christoph.eg
qemu build fails when CONFIG_MACHINE_BSWAP_H is defined
because float32, float64, etc. are not defined.
This makes qemu build.
Signed-off-by: Christoph Egger christoph.eg...@amd.com
diff --git a/bswap.h b/bswap.h
index f41bebe..cc7f84d 100644
--- a/bswap.h
+++ b/bswap.h
@@ -4,6 +4,7
On 07/23/11 18:17, Anthony Liguori wrote:
On 06/17/2011 03:56 AM, Christoph Egger wrote:
Fix network interface tap backend work on NetBSD.
It uses an ioctl to get the tap name.
From Manuel Bouyerbou...@netbsd.org
Signed-off-by: Christoph Eggerchristoph.eg...@amd.com
diff --git a/net/tap
On 07/23/11 18:17, Anthony Liguori wrote:
On 06/17/2011 05:11 AM, Christoph Egger wrote:
Use mmap to allocate executable memory on NetBSD as well.
From: Tobias Nygrent...@netbsd.org
Signed-off-by: Christoph Eggerchristoph.eg...@amd.com
diff --git a/exec.c b/exec.c
index 09928a3..1954a1c
Fix network interface tap backend work on NetBSD.
It uses an ioctl to get the tap name.
From Manuel Bouyer bou...@netbsd.org
Signed-off-by: Christoph Egger christoph.eg...@amd.com
diff --git a/net/tap-bsd.c b/net/tap-bsd.c
index 2f3efde..577aafe 100644
--- a/net/tap-bsd.c
+++ b/net/tap-bsd.c
Correct emulation of i386 cmpxchg instruction in the case where the
comparison outcome is unequal and the memory write causes a page
fault.
From: Andreas Gustafsson g...@netbsd.org
Signed-off-by: Christoph Egger christoph.eg...@amd.com
diff --git a/target-i386/translate.c b/target-i386
Use mmap to allocate executable memory on NetBSD as well.
From: Tobias Nygren t...@netbsd.org
Signed-off-by: Christoph Egger christoph.eg...@amd.com
diff --git a/exec.c b/exec.c
index 09928a3..1954a1c 100644
--- a/exec.c
+++ b/exec.c
@@ -520,7 +520,8 @@ static void code_gen_alloc(unsigned long
Hi,
qemu build system includes third party headers before
qemu headers which is wrong. It should be the other
way around.
When 'nas' (Network Audio System,
http://www.pdl.cmu.edu/NASD/Downloads/NASDcode.html)
is installed then there is an external audio/audio.h.
Due to the wrong header
On 05/25/11 12:43, Kevin Wolf wrote:
Am 24.05.2011 11:30, schrieb Christoph Egger:
On NetBSD a userland process is better with the character device
interface. In addition, a block device can't be opened twice; if a Xen
backend opens it, qemu can't and vice-versa.
If you provide a Signed-off
On 05/23/11 16:11, Kevin Wolf wrote:
Am 23.05.2011 14:34, schrieb Christoph Egger:
if given a block device, use the character device instead.
From: Manuel Bouyerbou...@netbsd.org
Signed-off-by: Christoph Eggerchristoph.eg...@amd.com
A useful commit message would explain why you're doing
On 05/24/11 11:10, Kevin Wolf wrote:
Am 24.05.2011 10:36, schrieb Christoph Egger:
On 05/23/11 16:11, Kevin Wolf wrote:
Am 23.05.2011 14:34, schrieb Christoph Egger:
if given a block device, use the character device instead.
From: Manuel Bouyerbou...@netbsd.org
Signed-off-by: Christoph
On NetBSD a userland process is better with the character device
interface. In addition, a block device can't be opened twice; if a Xen
backend opens it, qemu can't and vice-versa.
diff --git a/block/raw-posix.c b/block/raw-posix.c
index 6b72470..64dceb1 100644
--- a/block/raw-posix.c
+++
-by: Christoph Egger christoph.eg...@amd.com
diff --git a/block/raw-posix.c b/block/raw-posix.c
index 6b72470..7cf6461 100644
--- a/block/raw-posix.c
+++ b/block/raw-posix.c
@@ -64,6 +64,13 @@
#include sys/dkio.h
#endif
+#ifdef __NetBSD__
+#include sys/ioctl.h
+#include sys/disklabel.h
+#include sys
-by: Christoph Egger christoph.eg...@amd.com
--
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
diff
if given a block device, use the character device instead.
From: Manuel Bouyer bou...@netbsd.org
Signed-off-by: Christoph Egger christoph.eg...@amd.com
diff --git a/block/raw-posix.c b/block/raw-posix.c
index 6b72470..d05f373 100644
--- a/block/raw-posix.c
+++ b/block/raw-posix.c
@@ -136,11
On 05/23/11 13:06, Christoph Hellwig wrote:
On Mon, May 23, 2011 at 12:34:39PM +0200, Christoph Egger wrote:
This does 2 things:
- use the correct way to get the size of a disk device or partition
(from h...@netbsd.org)
- if given a block device, use the character device instead
use the correct way to get the size of a disk device or partition
From: Adam Hamsik h...@netbsd.org
Signed-off-by: Christoph Egger christoph.eg...@amd.com
diff --git a/block/raw-posix.c b/block/raw-posix.c
index 6b72470..d05f373 100644
--- a/block/raw-posix.c
+++ b/block/raw-posix.c
@@ -64,6
On 05/23/11 15:42, Christoph Hellwig wrote:
+if (lstat(filename,sb) 0) {
+fprintf(stderr, %s: stat failed: %s\n, filename,
strerror(errno));
+return -errno;
+}
+
+if (S_ISBLK(sb.st_mode))
+filename = raw_get_rawdevice(filename);
Please move the lstat and
On Sunday 09 May 2010 21:11:17 Alexander Graf wrote:
Sebastian Herbszt wrote:
The ICH6 AHCI implementation submitted by Chong is an all-in-one
attempt (ahci.c).
It includes all needed parts of the ICH6, AHCI, SATA and ATA
specification.
The code in hw/ide/* on the other hand is split
On Sunday 09 May 2010 18:01:50 Sebastian Herbszt wrote:
The ICH6 AHCI implementation submitted by Chong is an all-in-one attempt
(ahci.c). It includes all needed parts of the ICH6, AHCI, SATA and ATA
specification. The code in hw/ide/* on the other hand is split (or could be
split) into
On Wednesday 09 December 2009 13:33:36 Arnd Bergmann wrote:
On Wednesday 09 December 2009, Michael S. Tsirkin wrote:
On Tue, Dec 08, 2009 at 06:41:44PM +0100, Arnd Bergmann wrote:
--- a/net/tap-bsd.c
+++ b/net/tap-bsd.c
@@ -40,7 +40,8 @@
#include util.h
#endif
-int
On Friday 23 October 2009 13:03:54 Alexander Graf wrote:
On 23.10.2009, at 12:50, Boyapati, Anitha wrote:
Hello,
We have a proposal to add support for AVR32 target emulation in
Qemu. So far, we are able to build qemu from sources on windows
using Mingw.
I would suggest you try and do
25 matches
Mail list logo