[Qemu-devel] [PATCH] Properly use backing file argument to git-img convert

2012-08-21 Thread brad
From: Brad Campbell Converting to an image with an output backing file would write out the contents of the source image whether or not it was already contained in the new backing file. This commit ensures that the source file is checked against the new backing file and output is only

Re: [Qemu-devel] [PATCH v3] semaphore: fix a hangup problem under load on NetBSD hosts.

2013-07-31 Thread Brad
On 03/07/13 5:41 AM, Laszlo Ersek wrote: On 07/03/13 10:58, Izumi Tsutsui wrote: Fix following bugs in "fallback implementation of counting semaphores with mutex+condvar" added in c166cb72f1676855816340666c3b618beef4b976: - waiting threads are not restarted properly if more than one threads

[Qemu-devel] [PATCH 1/3] Add ppc_init_cacheline_sizes() function for OpenBSD.

2011-05-25 Thread Brad
Add ppc_init_cacheline_sizes() function for OpenBSD to fix compilation of PowerPC host support for OpenBSD/powerpc based architectures. Signed-off-by: Brad Smith --- cache-utils.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/cache-utils.c b/cache-utils.c

[Qemu-devel] [PATCH 2/3] Use the correct header in the TCG MIPS code to find cacheflush() on OpenBSD.

2011-05-25 Thread Brad
Use the correct header in the TCG MIPS code to find cacheflush() on OpenBSD to fix compilation of the MIPS host support for OpenBSD/mips64 based architecures. Signed-off-by: Brad Smith --- tcg/mips/tcg-target.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/tcg

[Qemu-devel] [PATCH 3/3] Use predefined compiler symbols to try and detect ARM or HPPA systems.

2011-05-25 Thread Brad
Use predefined compiler symbols to try and detect ARM or HPPA systems to be able to detect some ARM / HPPA based architectures such as with OpenBSD/(armish / zaurus) or OpenBSD/hppa. Signed-off-by: Brad Smith --- configure |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff

Re: [Qemu-devel] [PATCH 1/3] Add ppc_init_cacheline_sizes() function for OpenBSD.

2011-05-26 Thread Brad
- Original message - > On Wed, 25 May 2011, Brad wrote: > > > Add ppc_init_cacheline_sizes() function for OpenBSD to fix compilation > > of PowerPC host support for OpenBSD/powerpc based architectures. > > > > Signed-off-by: Brad Smith > >

Re: [Qemu-devel] [PATCH 1/3] Add ppc_init_cacheline_sizes() function for OpenBSD.

2011-05-26 Thread Brad
On 26/05/11 9:15 AM, malc wrote: On Thu, 26 May 2011, Brad wrote: - Original message - On Wed, 25 May 2011, Brad wrote: Add ppc_init_cacheline_sizes() function for OpenBSD to fix compilation of PowerPC host support for OpenBSD/powerpc based architectures. Signed-off-by: Brad Smith

Re: [Qemu-devel] [PATCH 1/3] Add ppc_init_cacheline_sizes() function for OpenBSD.

2011-05-29 Thread Brad
On 26/05/11 8:20 PM, malc wrote: On Thu, 26 May 2011, Brad wrote: On 26/05/11 9:15 AM, malc wrote: On Thu, 26 May 2011, Brad wrote: - Original message - On Wed, 25 May 2011, Brad wrote: Add ppc_init_cacheline_sizes() function for OpenBSD to fix compilation of PowerPC host support

Re: [Qemu-devel] [PATCH 2/3] Use the correct header in the TCG MIPS code to find cacheflush() on OpenBSD.

2011-05-30 Thread Brad
On 25/05/11 11:06 PM, Brad wrote: Use the correct header in the TCG MIPS code to find cacheflush() on OpenBSD to fix compilation of the MIPS host support for OpenBSD/mips64 based architecures. ping. Signed-off-by: Brad Smith --- tcg/mips/tcg-target.h |4 1 files changed, 4

Re: [Qemu-devel] [PATCH 2/3] Use the correct header in the TCG MIPS code to find cacheflush() on OpenBSD.

2011-05-30 Thread Brad
On 30/05/11 5:16 PM, Andreas Färber wrote: Am 30.05.2011 um 23:01 schrieb Brad: On 25/05/11 11:06 PM, Brad wrote: Use the correct header in the TCG MIPS code to find cacheflush() on OpenBSD to fix compilation of the MIPS host support for OpenBSD/mips64 based architecures. ping. Signed-off

Re: [Qemu-devel] [PATCH 2/3] Use the correct header in the TCG MIPS code to find cacheflush() on OpenBSD.

2011-05-30 Thread Brad
On 30/05/11 5:22 PM, Brad wrote: On 30/05/11 5:16 PM, Andreas Färber wrote: Am 30.05.2011 um 23:01 schrieb Brad: On 25/05/11 11:06 PM, Brad wrote: Use the correct header in the TCG MIPS code to find cacheflush() on OpenBSD to fix compilation of the MIPS host support for OpenBSD/mips64 based

Re: [Qemu-devel] [PATCH 3/3] Use predefined compiler symbols to try and detect ARM or HPPA systems.

2011-06-15 Thread Brad
On 25/05/11 11:06 PM, Brad wrote: Use predefined compiler symbols to try and detect ARM or HPPA systems to be able to detect some ARM / HPPA based architectures such as with OpenBSD/(armish / zaurus) or OpenBSD/hppa. Signed-off-by: Brad Smith ping. --- configure |8 +++- 1 files

Re: [Qemu-devel] QEMU 0.15.0-rc0, stable-0.15, and QEMU 1.0

2011-07-26 Thread Brad
618e6a1346d4aaa492 Author: Brad Smith Date: Wed May 25 22:02:36 2011 -0400 Use predefined compiler symbols to try and detect ARM or HPPA systems to be able to detect some ARM / HPPA based architectures such as with OpenBSD/(armish / zaurus) or OpenBSD/hppa. -- This message has bee

[Qemu-devel] [PATCH] Fix configure display for non-Linux OS's and the KVM / vhost-net features to show "no"

2011-07-26 Thread Brad
Fix configure display for non-Linux OS's and the KVM / vhost-net features to show "no" output instead of nothing at the end of the line. Signed-off-by: Brad Smith --- configure |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configur

[Qemu-devel] [PATCH] Fix forcing multicast msgs to loopback on OpenBSD.

2011-07-29 Thread Brad
:10003: Device 'socket' could not be initialized Signed-off-by: Brad Smith --- net/socket.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/net/socket.c b/net/socket.c index 11fe5f3..4c27097 100644 --- a/net/socket.c +++ b/net/socket.c @@ -154

[Qemu-devel] [PATCH] Add support for finding libpng via pkg-config

2011-07-29 Thread Brad
Add support for finding libpng via pkg-config. Signed-off-by: Brad Smith --- configure |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 4012d15..25aa75f 100755 --- a/configure +++ b/configure @@ -1519,11 +1519,17 @@ int main(void

Re: [Qemu-devel] [PATCH] Fix forcing multicast msgs to loopback on OpenBSD.

2011-07-30 Thread Brad
On Fri, Jul 29, 2011 at 07:15:11PM -0400, Brad wrote: > Fix forcing multicast msgs to loopback on OpenBSD. > > e.g. > $ sudo qemu -m 128 -no-fd-bootchk \ > -hda virtual.img -boot n -nographic \ > -net nic,vlan=0,model=rtl8139,macaddr=52:54:00:12:34:03 \ >

[Qemu-devel] OpenBSD/macppc and sparc64 failing to boot with similar error.

2011-07-31 Thread Brad
I know sparc64 had little chance of actually working but I thought I'd take it for a spin with 0.15.0-rc1 and see how it fared in addition to macppc which has a good chance of working nowdays with modern QEMU. Lets see what QEMU and related bugs are left.. I noticed the bootblocks for each respect

Re: [Qemu-devel] OpenBSD/macppc and sparc64 failing to boot with similar error.

2011-08-02 Thread Brad
On 01/08/11 5:35 PM, Blue Swirl wrote: On Mon, Aug 1, 2011 at 12:33 AM, Brad wrote: I know sparc64 had little chance of actually working but I thought I'd take it for a spin with 0.15.0-rc1 and see how it fared in addition to macppc which has a good chance of working nowdays with modern

Re: [Qemu-devel] [PATCH] Fix forcing multicast msgs to loopback on OpenBSD.

2011-08-04 Thread Brad
- Original message - > On Fri, Jul 29, 2011 at 07:15:11PM -0400, Brad wrote: > > Fix forcing multicast msgs to loopback on OpenBSD. > > > > e.g. > > $ sudo qemu -m 128 -no-fd-bootchk \ > > -hda virtual.img -boot n -nographic \ > > -net nic,vlan=0,

[Qemu-devel] [PATCH] Check for presence of compiler -pthread flag

2011-08-07 Thread Brad
Check for presence of compiler -pthread flag. OpenBSD / FreeBSD and some other OS's require the use of cc -pthread to link threaded programs so have QEMU's configure script check for the presence of the flag and use it if so. Signed-off-by: Brad Smith --- configure |2 +- 1 fil

[Qemu-devel] [STABLE] Fix forcing multicast msgs to loopback on OpenBSD.

2011-08-07 Thread Brad
Could this please be pulled back to the 0.15 branch? commit b49b710aae35add54321e4ba1b338cf6db25c2a2 Author: Brad Smith Date: Sat Jul 30 19:08:51 2011 -0400 Fix forcing multicast msgs to loopback on OpenBSD. On 07/08/11 7:10 AM, Blue Swirl wrote: Thanks, applied. On Sat, Jul 30

Re: [Qemu-devel] [PATCH] Check for presence of compiler -pthread flag

2011-08-11 Thread Brad
On Sun, Aug 07, 2011 at 08:02:11PM -0400, Brad wrote: > Check for presence of compiler -pthread flag. > > OpenBSD / FreeBSD and some other OS's require the use of > cc -pthread to link threaded programs so have QEMU's > configure script check for the presence of th

[Qemu-devel] [PATCH] libcacard: use INSTALL_DATA for data

2011-08-13 Thread Brad
libcacard: use INSTALL_DATA for data Signed-off-by: Brad Smith --- libcacard/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libcacard/Makefile b/libcacard/Makefile index 5cd7594..fe9747a 100644 --- a/libcacard/Makefile +++ b/libcacard/Makefile @@ -54,7 +54,7

[Qemu-devel] [PATCH] Improvements to libtool support.

2011-08-13 Thread Brad
Improvements to the libtool support in QEMU. Replace hard coded libtool in the infrastructure with $(LIBTOOL) and allow overriding the libtool binary used via the configure script. Signed-off-by: Brad Smith --- Makefile.objs |2 +- configure |5 ++--- libcacard/Makefile

Re: [Qemu-devel] [PATCH] qemu-thread: add TLS wrappers

2011-08-16 Thread Brad
On 16/08/11 2:51 PM, Paolo Bonzini wrote: Win32 emulated TLS is slow and is not available on all versions of GCC. Actually, Win32 does have support for decent TLS, only GCC does not map __thread to it. The good news is, it's perfectly possible to declare TLS variables with simple C code! This p

Re: [Qemu-devel] [PATCH] qemu-thread: add TLS wrappers

2011-08-17 Thread Brad
- Original message - > On Wed, Aug 17, 2011 at 5:28 PM, Paolo Bonzini > wrote: > > On 08/17/2011 10:26 AM, Stefan Hajnoczi wrote: > > > > > > > > > > > >  Do you know which Windows gcc versions support __thread and > > > > > > > if it would be reasonable to require those versions? > > > >

Re: [Qemu-devel] [PATCH] qemu-thread: add TLS wrappers

2011-08-17 Thread Brad
- Original message - > On 08/17/2011 10:28 AM, Blue Swirl wrote: > > GCC may support it but it can't use it on a platform if the other > > parts are missing (libc etc.). > > With a new-enough gcc, we provide the support in libgcc. I doubt gcc 4.2.1 fits the bill. -- This message has bee

Re: [Qemu-devel] [PATCH] Improvements to libtool support.

2011-08-20 Thread Brad
On 13/08/11 8:30 PM, Brad wrote: Improvements to the libtool support in QEMU. Replace hard coded libtool in the infrastructure with $(LIBTOOL) and allow overriding the libtool binary used via the configure script. Signed-off-by: Brad Smith Alon? --- Makefile.objs |2

Re: [Qemu-devel] [PATCH] libcacard: use INSTALL_DATA for data

2011-08-22 Thread Brad
On Sat, Aug 13, 2011 at 05:23:57PM -0400, Brad wrote: > libcacard: use INSTALL_DATA for data > > Signed-off-by: Brad Smith > > --- > libcacard/Makefile |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/libcacard/Makefile b/libcaca

[Qemu-devel] [PATCH] Fix build on OpenBSD with BSD userland emu and smartcard NSS enabled

2011-08-22 Thread Brad
ned-off-by: Brad Smith --- Makefile.target|4 +++- libcacard/Makefile |4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile.target b/Makefile.target index e280bf6..07af4d4 100644 --- a/Makefile.target +++ b/Makefile.target @@ -387,9 +387,11 @@ obj-y += $

Re: [Qemu-devel] Guest agent does not build on OpenBSD

2011-07-22 Thread Brad
On 22/07/11 2:28 PM, Blue Swirl wrote: I get these errors on OpenBSD: CCqga/guest-agent-commands.o /src/qemu/qga/guest-agent-commands.c:14:20: warning: mntent.h: No such file or directory /src/qemu/qga/guest-agent-commands.c:17:22: warning: linux/fs.h: No such file or directory In file inc

Re: [Qemu-devel] [PATCH] Let users select their pythons

2011-07-22 Thread Brad
On 22/07/11 5:10 PM, Blue Swirl wrote: Add configure check for python, exit if not found. Add switches for specifying the path to python, use the path in Makefile. Signed-off-by: Blue Swirl Thanks. This does the trick. -- This message has been scanned for viruses and dangerous content by Mail

[Qemu-devel] [PATCH] Fix install(1) usage to be compatible with OpenBSD's install(1).

2011-08-28 Thread Brad
Fix install(1) usage to be compatible with OpenBSD's install(1). When creating a directory via the -d flag the -p flag cannot be used at the same time. Also in the context of installing QEMU it doesn't make sense to use the -p flag anyway so use the [default] -c flag instead. Signed-of

[Qemu-devel] [PATCH] Allow overriding the location of Samba's smbd.

2011-08-28 Thread Brad
Allow overriding the location of Samba's smbd. Pretty much every OS I look at has some means of changing this path (patching) so lets just make it easier for OS developers creating packages and/or end users to override the location. Signed-off-by: Brad Smith --- Makefile.objs |

Re: [Qemu-devel] [PATCH] Allow overriding the location of Samba's smbd.

2011-08-30 Thread Brad
e location. Signed-off-by: Brad Smith --- configure |9 + net.h |5 - net/slirp.c |2 +- qemu-options.hx |6 +++--- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/configure b/configure index ad60ea0..c669d4e 100755 --- a/configure +++ b

[Qemu-devel] [PATCH] Allow overriding the location of Samba's smbd.

2011-09-02 Thread Brad
Allow overriding the location of Samba's smbd. Pretty much every OS I look at has some means of changing this path (patching) so lets just make it easier for OS developers creating packages and/or end users to override the location. Signed-off-by: Brad Smith --- configure |

[Qemu-devel] [PATCH] Only build with -g CFLAGS/LDFLAGS if using --enable-debug and add --optflags.

2011-09-06 Thread Brad
Only build with -g CFLAGS/LDFLAGS if using --enable-debug. Add --optflags to allow overriding the default optimization level added to CFLAGS. This is a first draft of coming up with a patch I could potentially push upstream based on much cruder local patches to do something similar. I'm trying to

Re: [Qemu-devel] [PATCH] Only build with -g CFLAGS/LDFLAGS if using --enable-debug and add --optflags.

2011-09-06 Thread Brad
- Original message - > On 09/06/11 10:02, Brad wrote: > > Only build with -g CFLAGS/LDFLAGS if using --enable-debug. > > Add --optflags to allow overriding the default optimization > > level added to CFLAGS. > > > > This is a first draft of coming up

[Qemu-devel] [PATCH] Add options to disable build with debug symbols and override optimization flags.

2011-09-06 Thread Brad
Add --disable-debug-symbols to disable building with debug symbols and --optflags to override the optimization flags passed to the compiler. --- configure | 18 +++--- 1 files changed, 15 insertions(+), 3 deletions(-) diff --git a/configure b/configure index c3044c7..c7948b6 100755

[Qemu-devel] configure: Detect predefined compiler symbols for ARM and HPPA

2011-09-07 Thread Brad
configure: Detect predefined compiler symbols for ARM and HPPA To be able to detect some ARM / HPPA based architectures such as with OpenBSD/(armish / zaurus) or OpenBSD/hppa. Signed-off-by: Brad Smith --- configure |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git

Re: [Qemu-devel] configure: Detect predefined compiler symbols for ARM and HPPA

2011-09-19 Thread Brad
On 07/09/11 9:24 PM, Brad wrote: configure: Detect predefined compiler symbols for ARM and HPPA To be able to detect some ARM / HPPA based architectures such as with OpenBSD/(armish / zaurus) or OpenBSD/hppa. Signed-off-by: Brad Smith ping. -- This message has been scanned for viruses and

[Qemu-devel] Tree broken by nbd: support feature negotiation commit.

2011-09-21 Thread Brad
The following commit.. nbd: support feature negotiation nbd supports writing flags in bytes 24...27 of the header, and uses that for the read-only flag. Add support for it in qemu-nbd. breaks the tree on what looks like anything but Linux. Besides the obvious issue.. nbd.c:443: error: confli

Re: [Qemu-devel] Tree broken by nbd: support feature negotiation commit.

2011-09-21 Thread Brad
On 21/09/11 3:32 AM, Paolo Bonzini wrote: On 09/21/2011 09:27 AM, Brad wrote: Besides the obvious issue.. nbd.c:443: error: conflicting types for 'nbd_init' nbd.h:71: error: previous declaration of 'nbd_init' was here Oops, thanks for pointing it out to me. The changi

Re: [Qemu-devel] buildbot failure in qemu on default_openbsd_4.9

2011-09-21 Thread Brad
bot Gerd, Brad, does one of your buildbots have some resources left to build the block branch on OpenBSD (and for Gerd, possibly mingw) as well? Kevin My build bot could build anything the project feels would benefit from regular builds on OpenBSD. -- This message has been scanned for v

Re: [Qemu-devel] Tree broken by nbd: support feature negotiation commit.

2011-09-21 Thread Brad
On 21/09/11 5:21 AM, Paolo Bonzini wrote: On 09/21/2011 09:43 AM, Brad wrote: It is not portable code, and (unlike the rest of qemu-nbd and the block/nbd.c protocol) not meant to be portable. Are BLKROSET (defined in linux/fs.h) and the whole set of NBD ioctls available under OpenBSD? Ok

[Qemu-devel] [PATCH] configure: Detect predefined compiler symbols for ARM and HPPA

2011-09-26 Thread Brad
configure: Detect predefined compiler symbols for ARM and HPPA To be able to detect some ARM / HPPA based architectures such as with OpenBSD/(armish / zaurus) or OpenBSD/hppa. Signed-off-by: Brad Smith --- configure |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git

Re: [Qemu-devel] [PATCH] configure: Detect predefined compiler symbols for ARM and HPPA

2011-10-02 Thread Brad
On 26/09/11 2:57 PM, Brad wrote: configure: Detect predefined compiler symbols for ARM and HPPA To be able to detect some ARM / HPPA based architectures such as with OpenBSD/(armish / zaurus) or OpenBSD/hppa. Signed-off-by: Brad Smith ping. --- configure |8 +++- 1 files changed

Re: [Qemu-devel] [PATCH] configure: Detect predefined compiler symbols for ARM and HPPA

2011-10-02 Thread Brad
On 02/10/11 5:28 PM, Brad wrote: On 26/09/11 2:57 PM, Brad wrote: configure: Detect predefined compiler symbols for ARM and HPPA To be able to detect some ARM / HPPA based architectures such as with OpenBSD/(armish / zaurus) or OpenBSD/hppa. Signed-off-by: Brad Smith ping. nm. looking now

Re: [Qemu-devel] qemu-0.15.1 stable call for patches

2011-10-12 Thread Brad
On 26/09/11 9:16 AM, Justin M. Forbes wrote: With the current patch queue I would like to start getting qemu-0.15.1 stable into shape. With this in mind, the plan is to tag the release on Monday Oct 3rd. If you have patches pending for stable, now would be the time to send them. Please CC jmfor

Re: [Qemu-devel] [PATCH v2 1.0] configure: tighten pie toolchain support test for tls variables

2011-11-22 Thread Brad
On 22/11/11 7:35 AM, Avi Kivity wrote: Some toolchains don't support pie properly when tls variables are in use. Disallow pie when such toolchains are detected. Signed-off-by: Avi Kivity --- v2: give tls_var a type; avoids invisible warning This breaks the PIE check on OpenBSD since there is

Re: [Qemu-devel] [PATCH v3 1.0] configure: tighten pie toolchain support test for tls variables

2011-11-23 Thread Brad
On 23/11/11 4:24 AM, Avi Kivity wrote: Some toolchains don't support pie properly when tls variables are in use. Disallow pie when such toolchains are detected. Signed-off-by: Avi Kivity Thanks. Works as expected now. -- This message has been scanned for viruses and dangerous content by Mail

[Qemu-devel] [PATCH] configure: Enable build by default PIE / read-only relocation sections on OpenBSD amd64/i386.

2011-11-28 Thread Brad
Enable build by default PIE / read-only relocation sections for the QEMU binaries on OpenBSD amd64/i386. Signed-off-by: Brad Smith --- configure |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index ac4840d..b113f60 100755 --- a/configure +++ b

Re: [Qemu-devel] [PATCH] configure: Enable build by default PIE / read-only relocation sections on OpenBSD amd64/i386.

2011-11-28 Thread Brad
On 28/11/11 9:28 PM, Anthony Liguori wrote: On 11/28/2011 06:53 PM, Brad wrote: Enable build by default PIE / read-only relocation sections for the QEMU binaries on OpenBSD amd64/i386. Signed-off-by: Brad Smith Can you mention what targets you tested and what toolchain you used on OpenBSD

Re: [Qemu-devel] [ANNOUNCE] QEMU 1.0 release

2011-12-05 Thread Brad
- Original message - > On 12/05/2011 09:06 AM, Alex Jia wrote: > > Hi Anthony, > > It seems the following link is unavailable now: > > http://wiki.qemu.org/download/qemu-1.0.tar.gz > > The VM is crashing pretty often.  We're working on a migration plan that > will  resolve this problem. 

Re: [Qemu-devel] [PATCH] configure: Enable build by default PIE / read-only relocation sections on OpenBSD amd64/i386.

2011-12-09 Thread Brad
On 28/11/11 11:15 PM, Brad wrote: On 28/11/11 9:28 PM, Anthony Liguori wrote: On 11/28/2011 06:53 PM, Brad wrote: Enable build by default PIE / read-only relocation sections for the QEMU binaries on OpenBSD amd64/i386. Signed-off-by: Brad Smith Can you mention what targets you tested and

[Qemu-devel] Patches for OpenBSD support.

2010-12-19 Thread Brad
Here are a few patches for OpenBSD support. >From 0477858c78d7e377bf6db8a498f7745a937c799d Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sun, 19 Dec 2010 15:17:42 -0500 Subject: [PATCH 1/3] Add support for OpenBSD to QEMU's tap driver. --- net/tap-bsd.c |8 ++-- 1 files ch

[Qemu-devel] [PATCH 1/3] Add support for OpenBSD to QEMU's tap driver.

2010-12-20 Thread Brad
Signed-off-by: Brad Smith --- net/tap-bsd.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/net/tap-bsd.c b/net/tap-bsd.c index efccfe0..2f3efde 100644 --- a/net/tap-bsd.c +++ b/net/tap-bsd.c @@ -43,8 +43,8 @@ int tap_open(char *ifname, int ifname_size, int

[Qemu-devel] [PATCH 2/3] Add OpenBSD to ifdef list since it has CLOCK_MONOTONIC.

2010-12-20 Thread Brad
Signed-off-by: Brad Smith --- qemu-timer-common.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/qemu-timer-common.c b/qemu-timer-common.c index fff4399..755e300 100644 --- a/qemu-timer-common.c +++ b/qemu-timer-common.c @@ -50,7 +50,8 @@ static void __attribute__

[Qemu-devel] [PATCH 3/3] Use mmap() within code_gen_alloc() for OpenBSD.

2010-12-20 Thread Brad
Signed-off-by: Brad Smith --- exec.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/exec.c b/exec.c index 42a35e0..e513d16 100644 --- a/exec.c +++ b/exec.c @@ -517,7 +517,8 @@ static void code_gen_alloc(unsigned long tb_size) exit(1

Re: [Qemu-devel] [PATCH 3/3] Use mmap() within code_gen_alloc() for OpenBSD.

2010-12-21 Thread Brad
- Original message - > Am 21.12.2010 um 03:25 schrieb Brad: > > > Signed-off-by: Brad Smith > > > > --- > > exec.c |      3 ++- > > 1 files changed, 2 insertions(+), 1 deletions(-) > > > > diff --git a/exec.c b/exec.c > > index 42a

[Qemu-devel] i386 target bug with cmpxchg instruction handling

2010-12-25 Thread Brad
The following diff fixes a bug with the i386 targets cmpxhg instruction handling. I'm making an attempt to submit this upstream since OpenBSD currently has this in our port but it was originally from NetBSD's pkgsrc tree with QEMU. http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=42158 htt

Re: [Qemu-devel] i386 target bug with cmpxchg instruction handling

2010-12-25 Thread Brad
On Saturday 25 December 2010 16:42:14 malc wrote: > On Sat, 25 Dec 2010, Brad wrote: > > The following diff fixes a bug with the i386 targets cmpxhg instruction > > handling. I'm making an attempt to submit this upstream since OpenBSD > > currently has this in our port

[Qemu-devel] [Bug 1037606] Missing required logs.

2012-08-16 Thread Brad Figg
This bug is missing log files that will aid in diagnosing the problem. >From a terminal window please run: apport-collect 1037606 and then change the status of the bug to 'Confirmed'. If, due to the nature of the issue you have encountered, you are unable to run this command, please add a commen

[Qemu-devel] [Bug 1037606] Missing required logs.

2012-08-16 Thread Brad Figg
This bug is missing log files that will aid in diagnosing the problem. >From a terminal window please run: apport-collect 1037606 and then change the status of the bug to 'Confirmed'. If, due to the nature of the issue you have encountered, you are unable to run this command, please add a commen

[Qemu-devel] [PATCH] configure: some fixes for OpenBSD

2012-08-24 Thread Brad Smith
OpenBSD's uname works as expected with the -s flag so remove the special handling when determining the target OS. Use arch -s to retrieve the hardware architecture as uname -m will return the meta architecture instead of the hardware architecture (.e.g. macppc vs powerpc). Signed-off-by:

Re: [Qemu-devel] [PATCH] configure: some fixes for OpenBSD

2012-08-24 Thread Brad Smith
On Fri, Aug 24, 2012 at 10:55:10AM +0100, Peter Maydell wrote: > On 24 August 2012 10:47, Brad Smith wrote: > > OpenBSD's uname works as expected with the -s flag so remove the special > > handling when determining the target OS. Use arch -s to retrieve the > > hardwar

Re: [Qemu-devel] [PATCH] configure: some fixes for OpenBSD

2012-08-24 Thread Brad Smith
On Fri, Aug 24, 2012 at 01:56:31PM +0200, Paolo Bonzini wrote: > Il 24/08/2012 11:55, Peter Maydell ha scritto: > >> > OpenBSD's uname works as expected with the -s flag so remove the special > >> > handling when determining the target OS. Use arch -s to retrieve the > >> > hardware architecture as

Re: [Qemu-devel] [PATCH] configure: some fixes for OpenBSD

2012-08-24 Thread Brad Smith
On Fri, Aug 24, 2012 at 02:02:57PM +0200, Paolo Bonzini wrote: > Il 24/08/2012 14:00, Brad Smith ha scritto: > >>>>> > >> > OpenBSD's uname works as expected with the -s flag so remove the > >>>>> > >> > special > >&g

Re: [Qemu-devel] Help - `flush_icache_range' MacPPC

2012-02-07 Thread Brad Smith
On 07/02/12 5:12 PM, malc wrote: On Tue, 7 Feb 2012, Alexander Graf wrote: On 07.02.2012, at 22:12, malc wrote: On Tue, 7 Feb 2012, Alexander Graf wrote: On 07.02.2012, at 13:52, Maurizio Caloro wrote: Hello Together Here i drive with me MiniMac G4 1.4Ghz and i try to run Qemu 1.0. i wa

[Qemu-devel] [PATCH] configure: Remove OpenBSD workaround for curses probe

2012-02-10 Thread Brad Smith
Remove the OpenBSD workaround for the curses probe. This has not been necessary for 5 releases now. Signed-off-by: Brad Smith diff --git a/configure b/configure index 763db24..c9729f8 100755 --- a/configure +++ b/configure @@ -1900,9 +1900,6 @@ if test "$curses" != "no" ;

[Qemu-devel] [Bug 712416] Missing required logs.

2012-06-19 Thread Brad Figg
This bug is missing log files that will aid in diagnosing the problem. >From a terminal window please run: apport-collect 712416 and then change the status of the bug to 'Confirmed'. If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment

Re: [Qemu-devel] [PULL for-1.3 0/3] seabios update

2012-12-05 Thread Brad Campbell
ng my production boxes from qemu-kvm to qemu vanilla. Regards, Brad

Re: [Qemu-devel] [PULL for-1.3 0/3] seabios update

2012-12-05 Thread Brad Campbell
On 05/12/12 20:47, Gerd Hoffmann wrote: On 12/05/12 11:49, Brad Campbell wrote: On 30/11/12 23:29, Gerd Hoffmann wrote: Hi, This pull updates seabios to current master. The seabios q35 patches didn't land upstream yet so they miss the boat unfortunaly. As this update brin

[Qemu-devel] [Bug 1087114] [NEW] assertion "QLIST_EMPTY(&bs->tracked_requests)" failed

2012-12-05 Thread Brad Smith
Public bug reported: QEMU 1.3.0 on OpenBSD now crashes with an error as shown below and the command line params do not seem to matter. assertion "QLIST_EMPTY(&bs->tracked_requests)" failed: file "block.c", line 1220, function "bdrv_drain_all" #1 0x030d1bce24aa in abort () at /usr/src/lib/li

[Qemu-devel] [Bug 1087114] Re: assertion "QLIST_EMPTY(&bs->tracked_requests)" failed

2012-12-12 Thread Brad Smith
qemu-system-x86_64 -cdrom [image] -boot -d -hda virtual.img is the command line I was using. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1087114 Title: assertion "QLIST_EMPTY(&bs->tracked_reques

[Qemu-devel] [Bug 1087114] Re: assertion "QLIST_EMPTY(&bs->tracked_requests)" failed

2012-12-13 Thread Brad Smith
I'm just finishing the bisection and think I have the commit that caused this but I'm now just testing commits +-1 from that commit to make sure and if it is will try reverting just that commit against HEAD as well. Using the sigaltstack coroutine backend did not make any difference. I actually am

Re: [Qemu-devel] new pc-bios/bios.bin breaks freebsd booting

2012-12-13 Thread Brad Smith
On Wed, Dec 12, 2012 at 06:47:58PM +0100, Paolo Bonzini wrote: > Il 12/12/2012 17:04, Luigi Rizzo ha scritto: > > I am not sure if it has been reported already but this commit > > > > http://git.qemu.org/?p=qemu.git;a=commitdiff;h=d7a51dbbaa70677846453f8c961590913052dd86 > > > > (replacing pc-bio

[Qemu-devel] [Bug 1087114] Re: assertion "QLIST_EMPTY(&bs->tracked_requests)" failed

2012-12-13 Thread Brad Smith
So what is causing this is this commit... c166cb72f1676855816340666c3b618beef4b976 semaphore: implement fallback counting semaphores with mutex+condvar OpenBSD and Darwin do not have sem_timedwait. Implement a fallback for them. If I remove that, since OpenBSD 5.2/-current has sem_timedwait, th

Re: [Qemu-devel] new pc-bios/bios.bin breaks freebsd booting

2012-12-13 Thread Brad Smith
On Thu, Dec 13, 2012 at 05:25:50AM -0500, Brad Smith wrote: > On Wed, Dec 12, 2012 at 06:47:58PM +0100, Paolo Bonzini wrote: > > Il 12/12/2012 17:04, Luigi Rizzo ha scritto: > > > I am not sure if it has been reported already but this commit > > > > > &g

[Qemu-devel] [Bug 1093691] [NEW] QEMU build fails on OpenBSD/mips64

2012-12-25 Thread Brad Smith
Public bug reported: Building QEMU 1.2.1 on OpenBSD/mips64 fails as follows although I believe QEMU was also broken with 1.1.x as well.. cc -I/usr/obj/ports/qemu-1.2.1/qemu-1.2.1/slirp -I. -I/usr/obj/ports/qemu-1.2.1/qemu-1.2.1 -I/usr/obj/ports/qemu-1.2.1/qemu-1.2.1/fpu -I/usr/obj/ports/qemu-1

Re: [Qemu-devel] [Bug 1093691] [NEW] QEMU build fails on OpenBSD/mips64

2012-12-26 Thread Brad Smith
On Wed, Dec 26, 2012 at 09:55:38AM -0800, Richard Henderson wrote: > On 12/25/2012 01:12 PM, Brad Smith wrote: > > Public bug reported: > > > > Building QEMU 1.2.1 on OpenBSD/mips64 fails as follows although I > > believe QEMU was also broken with 1.1.x as well.. >

Re: [Qemu-devel] [Bug 1087114] [NEW] assertion "QLIST_EMPTY(&bs->tracked_requests)" failed

2012-12-26 Thread Brad Smith
On Thu, Dec 13, 2012 at 04:26:50PM +0800, Zhi Yong Wu wrote: > On Thu, Dec 6, 2012 at 12:02 PM, Brad Smith <1087...@bugs.launchpad.net> > wrote: > > Public bug reported: > > > > QEMU 1.3.0 on OpenBSD now crashes with an error as shown below and the > > comma

[Qemu-devel] [Bug 1087114] Re: assertion "QLIST_EMPTY(&bs->tracked_requests)" failed

2012-12-26 Thread Brad Smith
Paolo, As you wrote the fallback code which is used when sem_timedwait() is missing could you please take a look at this when you have some time? I can test any patches you might come up with. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed t

[Qemu-devel] [PATCH] Fix semaphores fallback code

2012-12-27 Thread Brad Smith
As reported in bug 1087114 the semaphores fallback code is broken which results in QEMU crashing and making QEMU unusable. This patch is from Paolo. This needs to be back ported to the 1.3 stable tree as well. Signed-off-by: Paolo Bonzini Signed-off-by: Brad Smith diff --git a/util/qemu

[Qemu-devel] [PATCH] Disable semaphores fallback code for OpenBSD

2012-12-27 Thread Brad Smith
Disable the semaphores fallback code for OpenBSD as modern OpenBSD releases now have sem_timedwait(). Signed-off-by: Brad Smith diff --git a/include/qemu/thread-posix.h b/include/qemu/thread-posix.h index 380bae2..0f30dcc 100644 --- a/include/qemu/thread-posix.h +++ b/include/qemu/thread

Re: [Qemu-devel] [PATCH] Fix semaphores fallback code

2012-12-28 Thread Brad Smith
On Fri, Dec 28, 2012 at 08:13:37PM +, Blue Swirl wrote: > On Fri, Dec 28, 2012 at 6:00 AM, Brad Smith wrote: > > As reported in bug 1087114 the semaphores fallback code is broken which > > results in QEMU crashing and making QEMU unusable. > > > > This patch is fro

[Qemu-devel] [Bug 1110531] Re: regression booting pxa kernels

2013-02-02 Thread Brad Smith
Thank you Peter for the quick response to this bug report. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1110531 Title: regression booting pxa kernels Status in QEMU: New Bug description: Som

[Qemu-devel] [RESEND] [PATCH] Properly use backing file argument to git-img convert

2012-09-03 Thread Brad Campbell
extends data already in the supplied backing file. Signed-off-by: Brad Campbell --- qemu-img.c | 74 ++- 1 files changed, 57 insertions(+), 17 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index c8a70ff..3fb6cbf 100644 --- a/qemu

Re: [Qemu-devel] [RESEND] [PATCH] Properly use backing file argument to qemu-img convert

2012-09-03 Thread Brad Campbell
On 03/09/12 22:23, Andreas Färber wrote: Am 03.09.2012 09:46, schrieb Brad Campbell: Converting to an image with an output backing file would write out the contents of the source image whether or not it was already contained in the new backing file. This commit ensures that the source

[Qemu-devel] [Bug 1087114] Re: assertion "QLIST_EMPTY(&bs->tracked_requests)" failed

2013-03-18 Thread Brad Smith
So this is still an issue with 1.4.x and/or master? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1087114 Title: assertion "QLIST_EMPTY(&bs->tracked_requests)" failed Status in QEMU: New Bug de

[Qemu-devel] [PATCH] vmxnet3: Eliminate __packed redefined warning

2013-08-23 Thread Brad Smith
ocation of the previous definition Signed-off-by: Brad Smith diff --git a/hw/net/vmxnet3.h b/hw/net/vmxnet3.h index 4eae7c7..f987d71 100644 --- a/hw/net/vmxnet3.h +++ b/hw/net/vmxnet3.h @@ -34,7 +34,6 @@ #define __le16 uint16_t #define __le32 uint32_t #define __le64 uint64_t -#defin

[Qemu-devel] [Bug 1285708] Missing required logs.

2014-06-16 Thread Brad Figg
This bug is missing log files that will aid in diagnosing the problem. >From a terminal window please run: apport-collect 1285708 and then change the status of the bug to 'Confirmed'. If, due to the nature of the issue you have encountered, you are unable to run this command, please add a commen

[Qemu-devel] [Bug 1308341] Missing required logs.

2014-06-18 Thread Brad Figg
This bug is missing log files that will aid in diagnosing the problem. >From a terminal window please run: apport-collect 1308341 and then change the status of the bug to 'Confirmed'. If, due to the nature of the issue you have encountered, you are unable to run this command, please add a commen

[Qemu-devel] [Bug 1353947] Missing required logs.

2014-08-11 Thread Brad Figg
This bug is missing log files that will aid in diagnosing the problem. >From a terminal window please run: apport-collect 1353947 and then change the status of the bug to 'Confirmed'. If, due to the nature of the issue you have encountered, you are unable to run this command, please add a commen

[Qemu-devel] [PATCH] tap: Use numbered tap/tun devices on all *BSD OS's

2013-08-03 Thread Brad Smith
The following patch simplifies the *BSD tap/tun code and makes use of numbered tap/tun interfaces on all *BSD OS's. NetBSD has a patch in their pkgsrc tree to make use of this feature and DragonFly also supports this as well. Signed-off-by: Brad Smith diff --git a/net/tap-bsd.c b/net/tap-

[Qemu-devel] [Bug 1087114] Re: assertion "QLIST_EMPTY(&bs->tracked_requests)" failed

2013-08-05 Thread Brad Smith
Austin, Aaron and Reiner... Would you guys be able to test master on OS X and report back if this issue has been fully resolved or not? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1087114 Title:

Re: [Qemu-devel] [PATCH for-1.6] qemu-timer: fix get_clock() gettimeofday() fallback #ifdef

2013-08-06 Thread Brad Smith
On 06/08/13 7:48 AM, Stefan Hajnoczi wrote: If CLOCK_MONOTONIC is not defined by system headers we use gettimeofday(2). Apparently this is not used very often since no one noticed the #ifdef was actually broken and left the function definition unterminated. Can you show what this supposedly fi

Re: [Qemu-devel] [PATCH] tap: Use numbered tap/tun devices on all *BSD OS's

2013-08-07 Thread Brad Smith
On 05/08/13 7:57 AM, Stefan Hajnoczi wrote: On Sat, Aug 03, 2013 at 10:20:41PM -0400, Brad Smith wrote: The following patch simplifies the *BSD tap/tun code and makes use of numbered tap/tun interfaces on all *BSD OS's. NetBSD has a patch in their pkgsrc tree to make use of this featur

[Qemu-devel] QEMU build broken

2014-05-08 Thread Brad Smith
The following commit broke the build of QEMU.. linux-user: remove configure option for setting uname release http://git.qemu.org/?p=qemu.git;a=commit;h=e586822a58b6609edb5ea929e8a4aa394d32389f http://buildbot.b1-systems.de/qemu/builders/default_openbsd_current/builds/752/steps/compile/logs/stdi

  1   2   3   4   5   6   7   >