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

2013-01-12 Thread Rainer Müller
I had the same problem on Mac OS X 10.8.2 with qemu 1.3.0, but it is now fixed in the current master branch. I can confirm that the commit a795ef8dcb8cbadffc996c41ff38927a97645234 fixes this problem. This commit can also be applied to the 1.3.0 source. -- You received this bug notification becaus

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

2013-01-12 Thread Stefan Weil
Am 12.01.2013 23:12, schrieb q...@buildbot.b1-systems.de: > The Buildbot has detected a new failure on builder default_openbsd_4.9 while > building qemu. > Full details are available at: > http://buildbot.b1-systems.de/qemu/builders/default_openbsd_4.9/builds/495 > > Buildbot URL: http://buildbot

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

2013-01-12 Thread qemu
The Buildbot has detected a new failure on builder default_openbsd_4.9 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_openbsd_4.9/builds/495 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: kraxel_openbsd49 Bu

Re: [Qemu-devel] [SeaBIOS PATCH v2] boot: support strict boot and make it configurable

2013-01-12 Thread Kevin O'Connor
On Wed, Jan 09, 2013 at 01:03:37PM +0800, Amos Kong wrote: > On Tue, Jan 08, 2013 at 11:00:42PM -0500, Kevin O'Connor wrote: > > On Wed, Dec 26, 2012 at 08:55:40AM +0800, Amos Kong wrote: > > > Current seabios will try to boot from selected devices first, > > > if they are all failed, seabios will

Re: [Qemu-devel] [PATCH 08/10] isa: use memory regions instead of portio_list_* functions

2013-01-12 Thread Andreas Färber
Am 04.01.2013 22:29, schrieb Hervé Poussineau: > Signed-off-by: Hervé Poussineau > --- > hw/isa-bus.c | 127 > -- > hw/isa.h |2 +- > 2 files changed, 125 insertions(+), 4 deletions(-) > > diff --git a/hw/isa-bus.c b/hw/isa-bus.c

Re: [Qemu-devel] [PATCH 06/10] acpi-piix4: do not use old_portio-style callbacks

2013-01-12 Thread Hervé Poussineau
Andreas Färber a écrit : Am 04.01.2013 22:29, schrieb Hervé Poussineau: static const MemoryRegionOps piix4_pci_ops = { -.old_portio = (MemoryRegionPortio[]) { -{ -.offset = PCI_UP_BASE - PCI_HOTPLUG_ADDR, .len = 4, .size = 4, -.read = pci_up_read, -

Re: [Qemu-devel] 3 new x86 instructions

2013-01-12 Thread Richard Henderson
On 01/12/2013 03:40 AM, Blue Swirl wrote: MULX implies a bunch of other instructions due to CPUID flag grouping. ADCX and ADOX can be implemented separately. None of these and the other instructions in the MULX group look very complex. I've got a patch for (most of?) the bmi[12] insns: git:/

[Qemu-devel] [PATCH 24/27] build: remove coroutine-obj-y

2013-01-12 Thread Paolo Bonzini
Just fold it into block-obj-y. Signed-off-by: Paolo Bonzini --- Makefile.objs | 31 +-- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index aae2696..bc56c61 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -4,34 +4,29 @

[Qemu-devel] [PATCH 04/27] build: support linking with libtool objects/libraries

2013-01-12 Thread Paolo Bonzini
This patch moves the complication of using libtool to the generic rules.mak file. Signed-off-by: Paolo Bonzini --- configure | 8 +++- libcacard/Makefile | 11 +++ rules.mak | 10 -- 3 files changed, 22 insertions(+), 7 deletions(-) diff --git a/configure

[Qemu-devel] [PATCH 01/27] qemu-option: move standard option definitions out of qemu-config.c

2013-01-12 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- block/iscsi.c | 27 ++ blockdev.c | 118 fsdev/Makefile.objs| 1 + fsdev/qemu-fsdev-dummy.c | 7 - fsdev/qemu-fsdev-opts.c| 85 ++ fsdev/qemu-fsdev.c | 8 - hw/qdev-monitor.c | 51 ++

[Qemu-devel] [PATCH 27/27] build: improve quiet output for .stp rules

2013-01-12 Thread Paolo Bonzini
Mention the directory in which the .stp file is being generated. Signed-off-by: Paolo Bonzini --- Makefile.target | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.target b/Makefile.target index d55134c..eb84b1f 100644 --- a/Makefile.target +++ b/Makefile.target @@ -54

[Qemu-devel] [PATCH 23/27] build: move version-obj-y to the generic LINK rule

2013-01-12 Thread Paolo Bonzini
There is no reason for it to be in block-obj-y, in particular. We would like to put it in a library, but nothing would pull it in. So add it to the LINK rule, and use a Makefile dependency to ensure it is built. Signed-off-by: Paolo Bonzini --- Makefile | 3 ++- Makefile.objs | 3 +-- rule

[Qemu-devel] [PATCH 22/27] build: move base QAPI files to libqemuutil.a

2013-01-12 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- Makefile | 2 +- Makefile.objs | 9 ++--- qapi/Makefile.objs | 8 tests/Makefile | 3 +-- 4 files changed, 8 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index ee39b36..8c3b13e 100644 --- a/Makefile +++ b/Makefil

[Qemu-devel] [PATCH 08/27] libcacard: require libtool to build it

2013-01-12 Thread Paolo Bonzini
Do not fail at build time, instead just disable the library if libtool is not present. Signed-off-by: Paolo Bonzini --- Makefile | 2 ++ configure | 3 ++- libcacard/Makefile | 8 rules.mak | 6 +- 4 files changed, 5 insertions(+), 14 deletions(-) diff -

[Qemu-devel] [PATCH 03/27] build: make libtool verbose when making with V=1

2013-01-12 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- libcacard/Makefile | 2 +- rules.mak | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libcacard/Makefile b/libcacard/Makefile index c26aac6..9fa109f 100644 --- a/libcacard/Makefile +++ b/libcacard/Makefile @@ -36,7 +36,7 @@ install-

[Qemu-devel] [PATCH 10/27] libcacard: use per-target variable definitions

2013-01-12 Thread Paolo Bonzini
This lets the libcacard Makefile use more rules.mak magic. Signed-off-by: Paolo Bonzini --- libcacard/Makefile | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libcacard/Makefile b/libcacard/Makefile index ddab5d8..7fc6a06 100644 --- a/libcacard/Makefile +++ b/libcacard

[Qemu-devel] [PATCH 26/27] build: fold trace-obj-y into libqemuutil.a

2013-01-12 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- Makefile| 14 +++--- Makefile.objs | 11 ++- libcacard/Makefile | 3 ++- tests/Makefile | 8 trace/Makefile.objs | 10 +- 5 files changed, 20 insertions(+), 26 deletions(-) diff --git a/Makefile b/Makefil

[Qemu-devel] [PATCH 25/27] build: some simplifications for "trace/Makefile.objs"

2013-01-12 Thread Paolo Bonzini
Signed-off-by: Lluís Vilanova Signed-off-by: Paolo Bonzini --- trace.h => include/trace.h | 0 trace/Makefile.objs| 26 +- 2 files changed, 13 insertions(+), 13 deletions(-) rename trace.h => include/trace.h (100%) diff --git a/trace.h b/include/trace.h similar

[Qemu-devel] [PATCH 11/27] libcacard: add list of exported symbols

2013-01-12 Thread Paolo Bonzini
Do not export internal QEMU symbols. Signed-off-by: Paolo Bonzini --- libcacard/Makefile | 3 +- libcacard/libcacard.syms | 77 2 files changed, 79 insertions(+), 1 deletion(-) create mode 100644 libcacard/libcacard.syms diff --git a/libc

[Qemu-devel] [PATCH 16/27] build: move util-obj-y to libqemuutil.a

2013-01-12 Thread Paolo Bonzini
Use a static library to eliminate repetition in the linking rules. Signed-off-by: Paolo Bonzini --- Makefile| 17 + Makefile.objs | 1 - Makefile.target | 8 tests/Makefile | 17 - 4 files changed, 21 insertions(+), 22 deletions(-) diff --gi

[Qemu-devel] [PATCH 07/27] libcacard: fix missing symbol in libcacard.so

2013-01-12 Thread Paolo Bonzini
From: Alon Levy Before patch: $ make libcacard.la $ nm ./libcacard/.libs/libcacard.so.0.0.0 | grep " U " | \ egrep -v "(g_)|(GLIBC)|(SECMOD)|(PK11)|(CERT)|(NSS)|(PORT)|(PR)" U error_set Signed-off-by: Alon Levy Signed-off-by: Paolo Bonzini --- libcacard/Makefile | 2 +- 1

[Qemu-devel] [PATCH 06/27] build: remove CONFIG_SMARTCARD

2013-01-12 Thread Paolo Bonzini
The passthru smartcard does not have the shared library dependency, build it unconditionally. Signed-off-by: Paolo Bonzini --- configure| 67 hw/Makefile.objs | 2 +- hw/usb/Makefile.objs | 2 +- 3 files changed, 27 insertion

[Qemu-devel] [PATCH 18/27] build: move libqemuutil.a components to util/

2013-01-12 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- Makefile.objs | 12 ++-- libcacard/Makefile| 6 +++--- util/Makefile.objs| 10 ++ acl.c => util/acl.c

[Qemu-devel] [PATCH 21/27] build: move QAPI definitions for QEMU out of qapi-obj-y

2013-01-12 Thread Paolo Bonzini
There is no reason why for example qemu-ga should include all the definitions for the QEMU monitor. However, there are a few that are needed (qapi_free_SocketAddress, qapi_free_InetSocketAddress, ErrorClass_lookup). These should be moved to a separate "core" .json schema that goes into libqemuuti

Re: [Qemu-devel] [PATCH 06/10] acpi-piix4: do not use old_portio-style callbacks

2013-01-12 Thread Andreas Färber
Am 04.01.2013 22:29, schrieb Hervé Poussineau: > static const MemoryRegionOps piix4_pci_ops = { > -.old_portio = (MemoryRegionPortio[]) { > -{ > -.offset = PCI_UP_BASE - PCI_HOTPLUG_ADDR, .len = 4, .size = 4, > -.read = pci_up_read, > -},{ > -

[Qemu-devel] [PATCH 19/27] build: move qobject files to qobject/ and libqemuutil.a

2013-01-12 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- Makefile | 2 +- Makefile.objs | 17 +++-- qobject/Makefile.objs | 3 +++ json-lexer.c => qobject/json-lexer.c | 0 json-parser.c => qobject/json-parser.c

[Qemu-devel] [PATCH 13/27] libcacard: link vscclient to dynamic library

2013-01-12 Thread Paolo Bonzini
There is no reason for vscclient to duplicate the code. rules.mak takes care of invoking libtool to do the link. Signed-off-by: Paolo Bonzini --- libcacard/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libcacard/Makefile b/libcacard/Makefile index 34ef3b4..63d82

[Qemu-devel] [PATCH 20/27] build: consolidate multiple variables into universal-obj-y

2013-01-12 Thread Paolo Bonzini
The directory descent mechanism, and a less-flat tree both helped in making some *-obj-y definitions very short. Many of these often end up in universal-obj-y, and used to be separate only because of libuser (which is now part of history...). Consolidate these variables in a single one. Signed-o

[Qemu-devel] [PATCH 12/27] libcacard: rewrite Makefile in non-recursive style

2013-01-12 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- Makefile | 35 +-- configure | 9 + libcacard/Makefile | 33 + 3 files changed, 19 insertions(+), 58 deletions(-) diff --git a/Makefile b/Makefile index f035a61..039d070 1

[Qemu-devel] [PATCH 17/27] build: move files away from tools-obj-y, common-obj-y, user-obj-y

2013-01-12 Thread Paolo Bonzini
Split them between libqemuutil.a and, for those used by qemu-img/io/nbd, block-obj-y. Static libraries ensure that binaries such as qemu-ga do not include unused modules. Signed-off-by: Paolo Bonzini --- Makefile | 10 +++--- Makefile.objs | 41 +++

[Qemu-devel] [PATCH 15/27] build: rename oslib-obj-y to util-obj-y

2013-01-12 Thread Paolo Bonzini
This prepares the creation of libqemuutil.a in the next patch. Signed-off-by: Paolo Bonzini --- Makefile| 4 ++-- Makefile.objs | 10 +- Makefile.target | 4 ++-- tests/Makefile | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile ind

[Qemu-devel] [PATCH 14/27] libcacard: list oslib-obj-y file explicitly

2013-01-12 Thread Paolo Bonzini
We will grow the list of files in the next patches, but libcacard should remain slim. Signed-off-by: Paolo Bonzini --- libcacard/Makefile | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libcacard/Makefile b/libcacard/Makefile index 63d82f4..7e26082 100644 --- a/libcacard

[Qemu-devel] [PATCH 05/27] build: move dtrace rules to rules.mak

2013-01-12 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- rules.mak | 9 + trace/Makefile.objs | 12 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/rules.mak b/rules.mak index 4673aad..5865e9b 100644 --- a/rules.mak +++ b/rules.mak @@ -23,6 +23,9 @@ QEMU_CFLAGS += -I$(

[Qemu-devel] [PATCH 09/27] libcacard: prepare to use -y trick in the Makefile

2013-01-12 Thread Paolo Bonzini
Rename variables to follow the conventions of the rest of the build systems. Signed-off-by: Paolo Bonzini --- libcacard/Makefile | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/libcacard/Makefile b/libcacard/Makefile index a526eae..ddab5d8 100644 --- a/libcacard/Ma

[Qemu-devel] [PATCH 02/27] stubs: fully replace qemu-tool.c and qemu-user.c

2013-01-12 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- Makefile | 2 +- Makefile.objs | 3 +- exec.c | 2 +- qemu-tool.c| 115 - qemu-user.c| 37 --- stubs/Makefile.objs

[Qemu-devel] [PULL 00/27] More source reorganization and build system TLC

2013-01-12 Thread Paolo Bonzini
The following changes since commit 63fb2590839162afdf14d7c0ee02d460766c0956: Merge branch 'target-arm.next' of git://git.linaro.org/people/pmaydell/qemu-arm (2013-01-12 12:47:07 +) are available in the git repository at: git://github.com/bonzini/qemu.git stub for you to fetch changes u

[Qemu-devel] [Bug 1077838] Re: qemu-nbd -r -c taints device for subsequent usage, even after -d

2013-01-12 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/raring-proposed/qemu -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1077838 Title: qemu-nbd -r -c taints device for subsequent usage, even after -d Status in QEMU: In

[Qemu-devel] [PATCH v9 4/5] Adding packet abstraction for VMWARE network devices

2013-01-12 Thread Dmitry Fleytman
--- hw/vmxnet_rx_pkt.c | 187 ++ hw/vmxnet_rx_pkt.h | 173 hw/vmxnet_tx_pkt.c | 567 + hw/vmxnet_tx_pkt.h | 148 ++ 4 files changed, 1075 insertions(+) create mode 100644 hw/vmxnet_rx_pkt.c create mo

[Qemu-devel] [PATCH v9 1/5] Adding utility function net_checksum_add_cont() that allows checksum calculation of scattered data with odd chunk sizes

2013-01-12 Thread Dmitry Fleytman
Adding utility function net_raw_checksum() that calculates checksum of buffer given Signed-off-by: Dmitry Fleytman Signed-off-by: Yan Vugenfirer --- include/net/checksum.h | 14 +- net/checksum.c | 13 +++-- 2 files changed, 20 insertions(+), 7 deletions(-) diff --g

[Qemu-devel] [PATCH v9 3/5] Adding common definitions for VMWARE devices

2013-01-12 Thread Dmitry Fleytman
Signed-off-by: Dmitry Fleytman Signed-off-by: Yan Vugenfirer --- Makefile.objs | 1 + eth.c | 219 ++ hw/vmware_utils.h | 143 +++ hw/vmxnet_debug.h | 115 ++ include/qemu/eth.h | 338 ++

[Qemu-devel] [PATCH V9 0/5] VMXNET3 paravirtual NIC device implementation

2013-01-12 Thread Dmitry Fleytman
This set of patches implements VMWare VMXNET3 paravirtual NIC device. The device supports of all the device features including offload capabilties, VLANs and etc. The device is tested on different OSes: Fedora 15 Ubuntu 10.4 Centos 6.2 Windows 2008R2 Windows 2008 64bit Windo

[Qemu-devel] [PATCH v9 2/5] Adding utility function net_checksum_add_iov() for iovec checksum calculation

2013-01-12 Thread Dmitry Fleytman
Signed-off-by: Dmitry Fleytman Signed-off-by: Yan Vugenfirer --- include/net/checksum.h | 8 net/checksum.c | 28 2 files changed, 36 insertions(+) diff --git a/include/net/checksum.h b/include/net/checksum.h index 171924c..289c16c 100644 --- a/inc

Re: [Qemu-devel] [PATCH V8 0/5] VMXNET3 paravirtual NIC device implementation

2013-01-12 Thread Dmitry Fleytman
On Mon, Jan 7, 2013 at 4:14 PM, Stefan Hajnoczi wrote: > On Fri, Dec 07, 2012 at 01:15:04PM +0200, Dmitry Fleytman wrote: > > > +struct eth_header { > > > +uint8_t h_dest[ETH_ALEN]; /* destination eth addr */ > > > +uint8_t h_source[ETH_ALEN]; /* source ether addr*/ > > > +uin

Re: [Qemu-devel] [PATCH 06/10] acpi-piix4: do not use old_portio-style callbacks

2013-01-12 Thread Andreas Färber
Am 04.01.2013 22:29, schrieb Hervé Poussineau: > Signed-off-by: Hervé Poussineau > --- > hw/acpi_piix4.c | 91 > --- > 1 file changed, 40 insertions(+), 51 deletions(-) > > diff --git a/hw/acpi_piix4.c b/hw/acpi_piix4.c > index 06a8aca..63b4

Re: [Qemu-devel] [PATCH V8 5/5] Adding VMXNET3 device implementation

2013-01-12 Thread Dmitry Fleytman
On Mon, Jan 7, 2013 at 4:52 PM, Stefan Hajnoczi wrote: > On Fri, Dec 07, 2012 at 01:15:09PM +0200, Dmitry Fleytman wrote: > > +static void vmxnet3_get_ring_from_file(QEMUFile *f, Vmxnet3Ring *r) > > +{ > > +#if HWADDR_BITS == 64 > > +r->pa = qemu_get_be64(f); > > +#else > > +r->pa = qemu_

Re: [Qemu-devel] [PATCH V8 4/5] Adding packet abstraction for VMWARE network devices

2013-01-12 Thread Dmitry Fleytman
On Mon, Jan 7, 2013 at 4:35 PM, Stefan Hajnoczi wrote: > On Fri, Dec 07, 2012 at 01:15:08PM +0200, Dmitry Fleytman wrote: > > +void vmxnet_tx_pkt_uninit(struct VmxnetTxPkt *pkt) > > +{ > > +if (pkt) { > > +if (pkt->vec) { > > +g_free(pkt->vec); > > +} > > + > > +

Re: [Qemu-devel] [PATCH V8 3/5] Adding common definitions for VMWARE devices

2013-01-12 Thread Dmitry Fleytman
Agree. Done. On Fri, Jan 11, 2013 at 5:42 PM, Stefan Hajnoczi wrote: > On Fri, Jan 11, 2013 at 03:35:29PM +0200, Dmitry Fleytman wrote: > > Stefan, > > > > We have vmxnet2 implementation ready for submission as well, > > so this code is not dead :) > > Please add it when it's needed. > > Stefan

Re: [Qemu-devel] [PULL 0/2] target-arm queue

2013-01-12 Thread Blue Swirl
On Fri, Jan 11, 2013 at 3:36 PM, Peter Maydell wrote: > Small patchqueue, just flushing the target-arm queue before softfreeze. > Please pull. Thanks, pulled. > > -- PMM > > The following changes since commit a6308bc2224db238e72c570482717b68246a7ce0: > > Merge remote-tracking branch 'kraxel/bu

Re: [Qemu-devel] [PULL 00/31] ppc patch queue 2013-01-07

2013-01-12 Thread Blue Swirl
On Mon, Jan 7, 2013 at 4:40 PM, Alexander Graf wrote: > > On 07.01.2013, at 17:21, Andreas Färber wrote: > >> Am 07.01.2013 16:38, schrieb Alexander Graf: >>> Hi Blue / Aurelien, >>> >>> This is my current patch queue for ppc. Please pull. >> >> Breaks on x86_64: >> >> CCppc-softmmu/hw/ppc/e

Re: [Qemu-devel] [PULL] target-s390x rewrite

2013-01-12 Thread Blue Swirl
On Sun, Jan 6, 2013 at 7:15 PM, Richard Henderson wrote: > Now that all of the prerequisites are in, I've rebased vs master, > which has included a number of minor changes to include paths etc. Thanks, pulled. > > > r~ > > > The following changes since commit 549db5c32bb025501e2eeb23d2e5cc669061

Re: [Qemu-devel] [PATCH] hw/pc.c: add ULL suffix in ioport80_read and ioportF0_read return value

2013-01-12 Thread Blue Swirl
Thanks, applied. On Fri, Jan 11, 2013 at 4:41 PM, Julien Grall wrote: > The commit c02e1eac887b1b0aee7361b1fcf889e7d47fed9d broke the compilation > for i386. ULL need to be specify for uint64_t value. > > Signed-off-by: Julien Grall > --- > hw/pc.c |4 ++-- > 1 file changed, 2 insertions(+)

Re: [Qemu-devel] [PATCH] tcg-i386: use LEA for 3-operand 64-bit addition

2013-01-12 Thread Blue Swirl
Thanks, applied. On Fri, Jan 11, 2013 at 11:05 PM, Richard Henderson wrote: > From: Paolo Bonzini > > Signed-off-by: Paolo Bonzini > Signed-off-by: Richard Henderson > --- > tcg/i386/tcg-target.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tcg/i386/tcg-target.c b/

Re: [Qemu-devel] [PATCH 2/2] pixman: fix warning

2013-01-12 Thread Blue Swirl
Thanks, applied. On Wed, Jan 9, 2013 at 9:17 AM, Gerd Hoffmann wrote: > Cc: afaer...@suse.de > Cc: ag...@suse.de > Signed-off-by: Gerd Hoffmann > --- > include/ui/qemu-pixman.h |7 +++ > 1 files changed, 7 insertions(+), 0 deletions(-) > > diff --git a/include/ui/qemu-pixman.h b/include

Re: [Qemu-devel] [PATCH 1/2] gcc: rename CONFIG_PRAGMA_DISABLE_UNUSED_BUT_SET to CONFIG_PRAGMA_DIAGNOSTIC_AVAILABLE

2013-01-12 Thread Blue Swirl
Thanks, applied. On Wed, Jan 9, 2013 at 9:17 AM, Gerd Hoffmann wrote: > Signed-off-by: Gerd Hoffmann > --- > configure|6 +++--- > coroutine-ucontext.c |4 ++-- > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/configure b/configure > index 4f050ea..9357035

Re: [Qemu-devel] [PATCHv2] linuxboot optionrom: do not jump into loaded kernel in a big real mode

2013-01-12 Thread Blue Swirl
Thanks, applied. On Sun, Jan 6, 2013 at 1:09 PM, Gleb Natapov wrote: > Big real mode is fully emulated by KVM now, so if control is passed to > the loaded kernel while one of the segment registers is in big real > mode all the real mode part of the Linux start up is emulated. This > slows boot pr

Re: [Qemu-devel] [PATCH v2 0/8] linux-user fixes

2013-01-12 Thread Blue Swirl
Thanks, applied all. On Sat, Jan 5, 2013 at 12:39 AM, Richard Henderson wrote: > Version 1 was way back in October, > > http://lists.gnu.org/archive/html/qemu-devel/2012-10/msg02854.html > > wherein Blue asked me to re-do the unaligned access function part of > the patch. I've now done that, a

Re: [Qemu-devel] [PATCH 05/10] xen_platform: do not use old_portio-style callbacks

2013-01-12 Thread Andreas Färber
Am 04.01.2013 22:29, schrieb Hervé Poussineau: > Signed-off-by: Hervé Poussineau > --- > hw/xen_platform.c | 21 ++--- > 1 file changed, 10 insertions(+), 11 deletions(-) > > diff --git a/hw/xen_platform.c b/hw/xen_platform.c > index e7611bb..02e0146 100644 > --- a/hw/xen_platf

Re: [Qemu-devel] [PATCH 01/10] ppc/newworld: add ISA bus, required by VGA card

2013-01-12 Thread Andreas Färber
Am 04.01.2013 22:29, schrieb Hervé Poussineau: > Signed-off-by: Hervé Poussineau > --- > hw/ppc_newworld.c |1 + > 1 file changed, 1 insertion(+) > > diff --git a/hw/ppc_newworld.c b/hw/ppc_newworld.c > index fabcc08..cd30f42 100644 > --- a/hw/ppc_newworld.c > +++ b/hw/ppc_newworld.c > @@ -2

Re: [Qemu-devel] [PATCH 04/10] sun4u: create VGA card after ISA bus

2013-01-12 Thread Andreas Färber
Am 12.01.2013 12:42, schrieb Blue Swirl: > On Thu, Jan 10, 2013 at 7:30 PM, Hervé Poussineau > wrote: >> Andreas Färber a écrit : >> >>> Am 04.01.2013 22:29, schrieb Hervé Poussineau: Signed-off-by: Hervé Poussineau --- hw/sun4u.c |3 ++- 1 file changed, 2 insertion

Re: [Qemu-devel] 3 new x86 instructions

2013-01-12 Thread Torbjorn Granlund
Blue Swirl writes: MULX implies a bunch of other instructions due to CPUID flag grouping. ADCX and ADOX can be implemented separately. None of these and the other instructions in the MULX group look very complex. I had not realised that qemu disabled instructions when emulating a CPU not

Re: [Qemu-devel] [PATCH v2 5/8] target-mips: use DSP unions for binary DSP operators

2013-01-12 Thread Blue Swirl
On Sat, Jan 12, 2013 at 2:34 PM, Aurelien Jarno wrote: > On Sat, Jan 12, 2013 at 10:39:47AM +, Blue Swirl wrote: >> On Thu, Jan 10, 2013 at 7:08 AM, Aurelien Jarno wrote: >> > On Wed, Jan 09, 2013 at 09:16:29PM +, Blue Swirl wrote: >> >> On Wed, Jan 9, 2013 at 3:27 PM, Aurelien Jarno >>

Re: [Qemu-devel] [PATCH v2 5/8] target-mips: use DSP unions for binary DSP operators

2013-01-12 Thread Aurelien Jarno
On Sat, Jan 12, 2013 at 10:39:47AM +, Blue Swirl wrote: > On Thu, Jan 10, 2013 at 7:08 AM, Aurelien Jarno wrote: > > On Wed, Jan 09, 2013 at 09:16:29PM +, Blue Swirl wrote: > >> On Wed, Jan 9, 2013 at 3:27 PM, Aurelien Jarno > >> wrote: > >> > This allow to reduce the number of macros. >

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

2013-01-12 Thread Aaron
I am currently experiencing this on Mac OS X 10.8 also, custom built yesterday evening from the master branch. I have looked at the diff and it looks like it has been applied in qemu- thread-posix.c file, but no luck. Any pointers? Thanks -- You received this bug notification because you are a

[Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1

2013-01-12 Thread Michael Tokarev
Peter, are you able to run git bisect or something like that, to try to pinpoint either the commit which introduced this issue or which fixed it? I tried to reproduce this issue several times with various devices, but I can't do it reliable, it always more or less works on my machine. If I were a

Re: [Qemu-devel] getting rid of coroutine-gthread?

2013-01-12 Thread Brad Smith
On Sat, Jan 12, 2013 at 12:08:47PM +, Peter Maydell wrote: > On 12 January 2013 09:07, Brad Smith wrote: > > On Fri, Jan 11, 2013 at 07:24:35PM +0100, Andreas F?rber wrote: > >> Am 11.01.2013 19:11, schrieb Paolo Bonzini: > >> > as far as I know OpenBSD and Linux/ARM were the main users of > >

Re: [Qemu-devel] [RFC PATCH] PIIX: reset the VM when the Reset Control Register's RCPU bit gets set

2013-01-12 Thread Blue Swirl
On Fri, Jan 11, 2013 at 12:20 PM, Laszlo Ersek wrote: > On 01/09/13 22:01, Blue Swirl wrote: >> On Tue, Jan 8, 2013 at 9:44 PM, Laszlo Ersek wrote: > >>> static int i440fx_pcihost_initfn(SysBusDevice *dev) >>> { >>> PCIHostState *s = PCI_HOST_BRIDGE(dev); >>> >>> -memory_region_init_io

Re: [Qemu-devel] getting rid of coroutine-gthread?

2013-01-12 Thread Peter Maydell
On 12 January 2013 09:07, Brad Smith wrote: > On Fri, Jan 11, 2013 at 07:24:35PM +0100, Andreas F?rber wrote: >> Am 11.01.2013 19:11, schrieb Paolo Bonzini: >> > as far as I know OpenBSD and Linux/ARM were the main users of >> > coroutine-gthread. Do you think we could dump it and rely on >> > co

[Qemu-devel] [Bug 1098729] Re: qemu-user-static for armhf: segfault in threaded code

2013-01-12 Thread Peter Maydell
Yes, multithreaded guests are liable to crash; where they work they generally work more by luck than design. There is some discussion in LP:668799 of one of the known problems (whose symptoms are usually crashes or hangs). -- You received this bug notification because you are a member of qemu- de

Re: [Qemu-devel] [PATCH] reading files from qcow2-formated image disk for windows system

2013-01-12 Thread Blue Swirl
On Fri, Jan 11, 2013 at 7:27 AM, 马磊 wrote: > > > On Fri, Jan 11, 2013 at 2:28 PM, Wanlong Gao > wrote: >> >> On 01/11/2013 11:39 AM, 马磊 wrote: >> > >> > >> > On Thu, Jan 10, 2013 at 8:20 PM, Daniel P. Berrange > > > wrote: >> > >> > On Wed, Jan 09, 2013 at 09:37:54

Re: [Qemu-devel] [PATCH 57/61] virtio : remove the function pointer.

2013-01-12 Thread Blue Swirl
On Wed, Jan 9, 2013 at 9:44 PM, KONRAD Frédéric wrote: > On 09/01/2013 21:40, Blue Swirl wrote: >> >> On Mon, Jan 7, 2013 at 6:41 PM, wrote: >>> >>> From: KONRAD Frederic >>> >>> This remove the function pointer in VirtIODevice, and use only >>> VirtioDeviceClass function pointer. It should be

Re: [Qemu-devel] [PATCH 04/10] sun4u: create VGA card after ISA bus

2013-01-12 Thread Blue Swirl
On Thu, Jan 10, 2013 at 7:30 PM, Hervé Poussineau wrote: > Andreas Färber a écrit : > >> Am 04.01.2013 22:29, schrieb Hervé Poussineau: >>> >>> Signed-off-by: Hervé Poussineau >>> --- >>> hw/sun4u.c |3 ++- >>> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> >> Doesn't look wrong to me,

Re: [Qemu-devel] 3 new x86 instructions

2013-01-12 Thread Blue Swirl
On Thu, Jan 10, 2013 at 1:46 PM, Torbjorn Granlund wrote: > There are 3 instructions, MULX, ADCX, and ADOX, which would be very > useful to see in qemu. I looked into putting them in myself, but the > startup time for hacking qemu is longer than I can affort in this > period. > > Apparently, MULX

Re: [Qemu-devel] [PATCH 31/32] usbredir: Add support for buffered bulk input (v2)

2013-01-12 Thread Blue Swirl
On Wed, Jan 9, 2013 at 10:04 PM, Hans de Goede wrote: > Hi, > > On 01/09/2013 09:52 PM, Blue Swirl wrote: > > > > >>> diff --git a/hw/usb/quirks-ftdi-ids.h b/hw/usb/quirks-ftdi-ids.h >>> new file mode 100644 >>> index 000..57c12ef >>> --- /dev/null >>> +++ b/hw/usb/quirks-ftdi-ids.h >>> @@ -0

Re: [Qemu-devel] [PATCH 4/7 v2] KVM regsync: Add register bitmap parameter to do_kvm_cpu_synchronize_state

2013-01-12 Thread Blue Swirl
On Thu, Jan 10, 2013 at 3:29 PM, Jason J. Herne wrote: > From: "Jason J. Herne" > > do_kvm_cpu_synchronize_state is called via run_on_cpu, so we can only pass > a single argument. Create SyncStateArgs struct for this purpose and add > register bitmap data member to it. > > Signed-off-by: Jason J

Re: [Qemu-devel] [PATCH] readline: avoid memcpy() of overlapping regions

2013-01-12 Thread Blue Swirl
On Thu, Jan 10, 2013 at 12:43 PM, Stefan Hajnoczi wrote: > On Wed, Jan 09, 2013 at 08:43:51PM +, Blue Swirl wrote: >> On Tue, Jan 8, 2013 at 9:03 AM, Stefan Hajnoczi wrote: >> > On Mon, Jan 07, 2013 at 03:38:39PM -0500, Nickolai Zeldovich wrote: >> >> memcpy() for overlapping regions is undef

Re: [Qemu-devel] [PATCH v2 5/8] target-mips: use DSP unions for binary DSP operators

2013-01-12 Thread Blue Swirl
On Thu, Jan 10, 2013 at 7:08 AM, Aurelien Jarno wrote: > On Wed, Jan 09, 2013 at 09:16:29PM +, Blue Swirl wrote: >> On Wed, Jan 9, 2013 at 3:27 PM, Aurelien Jarno wrote: >> > This allow to reduce the number of macros. >> > >> > Signed-off-by: Aurelien Jarno >> > --- >> > target-mips/dsp_hel

Re: [Qemu-devel] getting rid of coroutine-gthread?

2013-01-12 Thread Brad Smith
On Fri, Jan 11, 2013 at 07:24:35PM +0100, Andreas F?rber wrote: > Am 11.01.2013 19:11, schrieb Paolo Bonzini: > > Brad and Peter, > > > > as far as I know OpenBSD and Linux/ARM were the main users of > > coroutine-gthread. Do you think we could dump it and rely on > > coroutine-sigaltstack only?

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

2013-01-12 Thread Austin Seipp
I was experiencing this bug fairly regularly with QEMU 1.3.0 on OS X 10.8. All my emulations of debian environments couldn't even get past installation, because this bug would hit too early. Brad, it looks like 2 weeks ago you got a patch authored that fixes this fallback code. That's commit a795e

Re: [Qemu-devel] getting rid of coroutine-gthread?

2013-01-12 Thread Brad Smith
On Fri, Jan 11, 2013 at 07:11:36PM +0100, Paolo Bonzini wrote: > Brad and Peter, > > as far as I know OpenBSD and Linux/ARM were the main users of > coroutine-gthread. Do you think we could dump it and rely on > coroutine-sigaltstack only? The differences in signal handling of the > gthread impl

Re: [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1

2013-01-12 Thread Michael Tokarev
Gerd, can you take a (maybe quick) look please? This bug is quite old and, as Peter notes, may be fixed in 1.3 so there's no goo motivation to fix it for older version... I tried to reproduce (to be able to get a trace, or bisect) it several times on my machine but can't, even with devices other