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 Kiszka
---
Tha
On 09/21/11 12:16, Stefan Hajnoczi wrote:
On Wed, Sep 21, 2011 at 10:34 AM, Christoph Egger
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 the build to
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
Fix "warning: array subscript has type 'char' " on NetBSD.
Signed-off-by: Christoph Egger
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;
-
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
diff --git a/bswap.h b/bswap.h
index f41bebe..cc7f84d 100644
--- a/bswap.h
+++ b/bswap.h
@@ -4,6 +4,7 @@
#include "config-h
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 Nygren
Signed-off-by: Christoph Egger
diff --git a/exec.c b/exec.c
index 09928a3..1954a1c 100644
--- a/exec.c
+++ b/exec.c
@@ -520,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 Bouyer
Signed-off-by: Christoph Egger
diff --git a/net/tap-bsd.c b/net/tap-bsd.c
index 2f3efde
Use mmap to allocate executable memory on NetBSD as well.
From: Tobias Nygren
Signed-off-by: Christoph Egger
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 tb_size)
}
}
#elif
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
Signed-off-by: Christoph Egger
diff --git a/target-i386/translate.c b/target-i386/translate.c
index 10bd72a..69a878f 100644
Fix network interface tap backend work on NetBSD.
It uses an ioctl to get the tap name.
From Manuel Bouyer
Signed-off-by: Christoph Egger
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
@@ -28,6 +28,8 @@
#include "qemu-er
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 inc
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
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
+++ b/bloc
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 Bouyer
Signed-off-by: Christoph Egger
A useful
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 Bouyer
Signed-off-by: Christoph Egger
A useful commit message would explain why you're doing that.
How about this:
On NetBSD, t
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
use the correct way to get the size of a disk device or partition
From: Adam Hamsik
Signed-off-by: Christoph Egger
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 +64,13 @@
#include
#endif
+#ifdef
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
if given a block device, use the character device instead.
From: Manuel Bouyer
Signed-off-by: Christoph Egger
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 +143,45 @@ static int64_t raw_getlength
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.
(from bou...@netbsd.org)
From: Adam Hamsik
From: Manuel Bouyer
Signed-off-by: Christoph Egger
--
---to satisfy
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.
(from bou...@netbsd.org)
From: Adam Hamsik
From: Manuel Bouyer
Signed-off-by: Christoph Egger
diff --git a
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 sma
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 i
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
> > > #endif
> > >
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
25 matches
Mail list logo