Re: [Qemu-devel] [PATCH] kvmvapic: Fix TB invalidation after instruction patching

2012-11-04 Thread Hervé Poussineau
Jan Kiszka a écrit : > From: Jan Kiszka > > Since 0b57e287, cpu_memory_rw_debug already triggers a TB invalidation. > As it doesn't (and cannot) set is_cpu_write_access=1 but "consumes" the > currently executed TB, the tb_invalidate_phys_page_range call from > patch_instruction didn't work anymor

[Qemu-devel] [PATCH v2] kvmvapic: Fix TB invalidation after instruction patching

2012-11-04 Thread Jan Kiszka
From: Jan Kiszka Since 0b57e287, cpu_memory_rw_debug already triggers a TB invalidation. As it doesn't (and cannot) set is_cpu_write_access=1 but "consumes" the currently executed TB, the tb_invalidate_phys_page_range call from patch_instruction didn't work anymore. Fix this by open-coding the r

[Qemu-devel] [PATCH] memory: Reintroduce dirty flag to optimize changes on disabled regions

2012-11-04 Thread Jan Kiszka
From: Jan Kiszka Cirrus is triggering this, e.g. during Win2k boot: Changes only on disabled regions require no topology update when transaction depth drops to 0 again. Signed-off-by: Jan Kiszka --- memory.c | 17 +++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --gi

Re: [Qemu-devel] [PATCH 2/4 v5] vmware_vga: Remove duplicated info from local state

2012-11-04 Thread BALATON Zoltan
On Sun, 4 Nov 2012, Jan Kiszka wrote: I cannot comment on why it was done like this, just that this patch breaks the Linux vmware X driver. Please fix or revert. I'll look into it. If I (or someone else) don't come up with a fix today you can revert. Regards, BALATON Zoltan

[Qemu-devel] XP install cores with SCSI LSI 53C895A disks - follow up

2012-11-04 Thread Gerhard Wiesinger
Hello, Clean XP install cores with SCSI LSI 53C89A disk when copying files. Isn't on the same file, so looks like a timing problem. Reproduceable. Driver used is sym_hi. Details are below. See also: https://lists.gnu.org/archive/html/qemu-devel/2012-03/msg00523.html Looks like problem is f

Re: [Qemu-devel] [PATCH] ui/vnc.c: Fix crash with VNC

2012-11-04 Thread Gerhard Wiesinger
Ping? On 01.11.2012 21:06, Gerhard Wiesinger wrote: Fix crash with VNC under NT 4.0 and VMWare VGA and window which is outside of the visible area. Backtrace: #0 set_bit (addr=, nr=-3) at ./bitops.h:122 #1 vnc_dpy_update (ds=, x=-48, y=145, w=57, h=161) at ui/vnc.c:452 #2 0x7f1ce057e2e

[Qemu-devel] [PATCH] block: Workaround for older versions of MinGW gcc

2012-11-04 Thread Stefan Weil
Versions before gcc-4.6 don't support unnamed fields in initializers (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10676). Offset and OffsetHigh belong to an unnamed struct which is part of an unnamed union. Therefore the original code does not work with older versions of gcc. Signed-off-by: S

Re: [Qemu-devel] [PATCH] Fix out-of-tree and cross compile builds for pixman

2012-11-04 Thread Stefan Weil
Am 03.11.2012 21:15, schrieb Blue Swirl: On Sat, Nov 3, 2012 at 7:02 PM, Peter Maydell wrote: On 3 November 2012 19:47, Blue Swirl wrote: --- a/Makefile +++ b/Makefile @@ -122,7 +122,7 @@ subdir-pixman: pixman/Makefile $(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C pixman V="$(V

Re: [Qemu-devel] [PATCH 1/2] qemu-kvm/cpuid: fix a emulation of guest physical address space

2012-11-04 Thread Hao, Xudong
> -Original Message- > From: Jan Kiszka [mailto:jan.kis...@web.de] > Sent: Saturday, November 03, 2012 6:55 PM > To: Hao, Xudong > Cc: qemu-devel@nongnu.org; a...@redhat.com; k...@vger.kernel.org > Subject: Re: [PATCH 1/2] qemu-kvm/cpuid: fix a emulation of guest physical > address space >

Re: [Qemu-devel] [PATCH 1/2] qemu-kvm/cpuid: fix a emulation of guest physical address space

2012-11-04 Thread Jan Kiszka
On 2012-11-04 13:15, Hao, Xudong wrote: >> -Original Message- >> From: Jan Kiszka [mailto:jan.kis...@web.de] >> Sent: Saturday, November 03, 2012 6:55 PM >> To: Hao, Xudong >> Cc: qemu-devel@nongnu.org; a...@redhat.com; k...@vger.kernel.org >> Subject: Re: [PATCH 1/2] qemu-kvm/cpuid: fix a

[Qemu-devel] [PATCH] vmware_vga: Add back some info in local state partially reverting aa32b38c

2012-11-04 Thread BALATON Zoltan
Keep saving display surface parameters at init and using these cached values instead of getting them when needed. Not sure why this is needed (maybe due to the interaction with the vga device) but not doing this broke the Xorg vmware driver at least. Signed-off-by: BALATON Zoltan --- hw/vmware_v

Re: [Qemu-devel] [PATCH 2/4 v5] vmware_vga: Remove duplicated info from local state

2012-11-04 Thread BALATON Zoltan
On Sun, 4 Nov 2012, Jan Kiszka wrote: breaks the Linux vmware X driver. Please fix or revert. Couldn't really figure out what's happening but sent a patch which reverts just these parts which seems to fix it for me. Regards, BALATON Zoltan

Re: [Qemu-devel] [PATCH] tests/tcg: new test for i386 FPREM and FPREM1

2012-11-04 Thread Catalin Patulea
Ping? Original patch still applies on master. On Mon, Oct 29, 2012 at 4:30 AM, Catalin Patulea wrote: > On Mon, Oct 29, 2012 at 4:04 AM, Peter Maydell > wrote: >> I'm not fantastically enthused about bitfields, but since this is a test >> program and not part of QEMU proper I don't think rewrit

Re: [Qemu-devel] [PATCH] Fix off-by-1 error in RAM migration code

2012-11-04 Thread Juan Quintela
David Gibson wrote: > On Fri, Nov 02, 2012 at 11:58:32AM +0100, Juan Quintela wrote: >> David Gibson wrote: >> > On Wed, Oct 31, 2012 at 01:08:16PM +0200, Orit Wasserman wrote: >> >> On 10/31/2012 05:43 AM, David Gibson wrote: >> >> Reviewed-by: Juan Quintela >> >> Good catch, I missunderstoo

Re: [Qemu-devel] [PATCH] memory: Reintroduce dirty flag to optimize changes on disabled regions

2012-11-04 Thread Avi Kivity
On 11/04/2012 10:30 AM, Jan Kiszka wrote: > From: Jan Kiszka > > Cirrus is triggering this, e.g. during Win2k boot: Changes only on > disabled regions require no topology update when transaction depth drops > to 0 again. 817dcc5368988b0 (pci: give each device its own address space) mad this much

[Qemu-devel] qemu git master fails to build

2012-11-04 Thread Gabriel L. Somlo
Paolo, On current git master, if I do: ./configure --prefix=/home/somlo/KVM-OSX/SCRATCH --target-list=x86_64-softmmu make clean make I end up with: CCqemu-timer.o qemu-timer.c: In function `init_timer_alarm': qemu-timer.c:780:5: error: implicit declaration of function `pthread_atfork'

[Qemu-devel] [PATCH] qemu-timer: Fix compilation for POSIX and non-POSIX hosts

2012-11-04 Thread Stefan Weil
This compiler error is fixed by including pthread.h: qemu-timer.c: In function ‘init_timer_alarm’: qemu-timer.c:782: error: implicit declaration of function ‘pthread_atfork’ Another compiler warning is caused by the unused local function reinit_timers on non-POSIX hosts. Include that function onl

[Qemu-devel] [PATCH] target-mips: Fix compiler warnings caused by very large constants

2012-11-04 Thread Stefan Weil
Those constants are larger than 32 bits and need a suffix to avoid warnings from some versions of gcc. Signed-off-by: Stefan Weil --- target-mips/dsp_helper.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target-mips/dsp_helper.c b/target-mips/dsp_helper.c index b591

Re: [Qemu-devel] qemu git master fails to build

2012-11-04 Thread Anthony Liguori
"Gabriel L. Somlo" writes: > Paolo, > > On current git master, if I do: > > ./configure --prefix=/home/somlo/KVM-OSX/SCRATCH --target-list=x86_64-softmmu > make clean > make I just pushed a fix for this. Regards, Anthony Liguori > > > I end up with: > > CCqemu-timer.o > qemu-timer.c: I

[Qemu-devel] [PATCH] qemu-timer: Fix compilation for non-POSIX hosts

2012-11-04 Thread Stefan Weil
A compiler warning is caused by the unused local function reinit_timers on non-POSIX hosts. Include that function only for POSIX hosts. Signed-off-by: Stefan Weil --- qemu-timer.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/qemu-timer.c b/qemu-timer.c index 8d9cf38..0d2bb94 100644 -

Re: [Qemu-devel] 1.1.1 -> 1.1.2 migrate /managedsave issue

2012-11-04 Thread Anthony Liguori
Avi Kivity writes: > On 10/22/2012 09:04 AM, Philipp Hahn wrote: >> Hello Doug, >> >> On Saturday 20 October 2012 00:46:43 Doug Goldstein wrote: >>> I'm using libvirt 0.10.2 and I had qemu-kvm 1.1.1 running all my VMs. >> ... >>> I had upgraded to qemu-kvm 1.1.2 >> ... >>> qemu: warning: error

Re: [Qemu-devel] Testing migration under stress

2012-11-04 Thread David Gibson
On Fri, Nov 02, 2012 at 02:07:45PM +0100, Juan Quintela wrote: > David Gibson wrote: > > Asking for some advice on the list. > > > > I have prorotype savevm and migration support ready for the pseries > > machine. They seem to work under simple circumstances (idle guest). > > To test them more ex

Re: [Qemu-devel] Testing migration under stress

2012-11-04 Thread David Gibson
On Fri, Nov 02, 2012 at 02:12:25PM +0200, Orit Wasserman wrote: > On 11/02/2012 05:10 AM, David Gibson wrote: > > Asking for some advice on the list. > > > > I have prorotype savevm and migration support ready for the pseries > > machine. They seem to work under simple circumstances (idle guest).

Re: [Qemu-devel] [PATCH] Fix off-by-1 error in RAM migration code

2012-11-04 Thread David Gibson
On Sun, Nov 04, 2012 at 08:17:29PM +0100, Juan Quintela wrote: > David Gibson wrote: > > On Fri, Nov 02, 2012 at 11:58:32AM +0100, Juan Quintela wrote: > >> David Gibson wrote: > >> > On Wed, Oct 31, 2012 at 01:08:16PM +0200, Orit Wasserman wrote: > >> >> On 10/31/2012 05:43 AM, David Gibson wrot

Re: [Qemu-devel] [PATCH 1/2] qemu-kvm/cpuid: fix a emulation of guest physical address space

2012-11-04 Thread Hao, Xudong
> -Original Message- > From: Jan Kiszka [mailto:jan.kis...@web.de] > Sent: Sunday, November 04, 2012 8:55 PM > To: Hao, Xudong > Cc: qemu-devel@nongnu.org; a...@redhat.com; k...@vger.kernel.org > Subject: Re: [PATCH 1/2] qemu-kvm/cpuid: fix a emulation of guest physical > address space > >

Re: [Qemu-devel] [PATCH] xhci: Fix some DMA host endian bugs

2012-11-04 Thread David Gibson
On Fri, Nov 02, 2012 at 08:31:23AM +0100, Gerd Hoffmann wrote: > Hi, > > > +static inline void xhci_dma_write_u32s(XHCIState *xhci, dma_addr_t addr, > > + uint32_t *buf, size_t len) > > +{ > > +int i; > > + > > +for (i = 0; i < (len / sizeof(uint32_t

Re: [Qemu-devel] [patch v5 7/8] memory: introduce tls context to record nested dma

2012-11-04 Thread liu ping fan
On Mon, Oct 29, 2012 at 4:51 PM, Paolo Bonzini wrote: > Il 29/10/2012 00:48, Liu Ping Fan ha scritto: >> Signed-off-by: Liu Ping Fan >> --- >> cpus.c|3 ++ >> exec.c| 58 >> + >> qemu-thread.h |8 +++ >> vl.c

Re: [Qemu-devel] [patch v5 7/8] memory: introduce tls context to record nested dma

2012-11-04 Thread liu ping fan
On Fri, Nov 2, 2012 at 6:39 PM, Jan Kiszka wrote: > On 2012-10-29 00:48, Liu Ping Fan wrote: >> Signed-off-by: Liu Ping Fan >> --- >> cpus.c|3 ++ >> exec.c| 58 >> + >> qemu-thread.h |8 +++ >> vl.c

[Qemu-devel] [PATCH v6 0/8] push mmio dispatch out of big lock

2012-11-04 Thread Liu Ping Fan
From: Liu Ping Fan v1: https://lists.gnu.org/archive/html/qemu-devel/2012-07/msg03312.html v2: http://lists.gnu.org/archive/html/qemu-devel/2012-08/msg01275.html v3: http://lists.nongnu.org/archive/html/qemu-devel/2012-09/msg01474.html v4: http://lists.gnu.org/archive/html/qemu-devel/2012-10/m

[Qemu-devel] [PATCH v6 1/8] atomic: introduce atomic operations

2012-11-04 Thread Liu Ping Fan
From: Liu Ping Fan If out of global lock, we will be challenged by SMP in low level, so need atomic ops. This file is a wrapper of GCC atomic builtin. Signed-off-by: Liu Ping Fan --- include/qemu/atomic.h | 63 + 1 files changed, 63 insertions

[Qemu-devel] [PATCH v6 2/8] qom: apply atomic on object's refcount

2012-11-04 Thread Liu Ping Fan
From: Liu Ping Fan Signed-off-by: Liu Ping Fan --- include/qemu/object.h |3 ++- qom/object.c | 11 +-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/qemu/object.h b/include/qemu/object.h index cc75fee..0c02614 100644 --- a/include/qemu/object.h +

[Qemu-devel] [PATCH v6 6/8] memory: make mmio dispatch able to be out of biglock

2012-11-04 Thread Liu Ping Fan
From: Liu Ping Fan Without biglock, we try to protect the mr by increase refcnt. If we can inc refcnt, go backward and resort to biglock. Another point is memory radix-tree can be flushed by another thread, so we should get the copy of terminal mr to survive from such issue. Signed-off-by: Liu

Re: [Qemu-devel] 1.1.1 -> 1.1.2 migrate /managedsave issue

2012-11-04 Thread Doug Goldstein
On Sun, Nov 4, 2012 at 3:51 PM, Anthony Liguori wrote: > Avi Kivity writes: > >> On 10/22/2012 09:04 AM, Philipp Hahn wrote: >>> Hello Doug, >>> >>> On Saturday 20 October 2012 00:46:43 Doug Goldstein wrote: I'm using libvirt 0.10.2 and I had qemu-kvm 1.1.1 running all my VMs. >>> ... I

Re: [Qemu-devel] [Qemu-trivial] [PATCH] block: Workaround for older versions of MinGW gcc

2012-11-04 Thread Stefan Hajnoczi
On Sun, Nov 04, 2012 at 12:09:34PM +0100, Stefan Weil wrote: > Versions before gcc-4.6 don't support unnamed fields in initializers > (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10676). > > Offset and OffsetHigh belong to an unnamed struct which is part of an > unnamed union. Therefore the or

[Qemu-devel] [PATCH v6 8/8] vcpu: push mmio dispatcher out of big lock

2012-11-04 Thread Liu Ping Fan
From: Liu Ping Fan To anti the recursive big lock, introduce separate interfaces to allow address space dispatcher called with/without big lock. Signed-off-by: Liu Ping Fan --- cpu-common.h |3 +++ exec.c | 22 ++ kvm-all.c|6 +- 3 files changed, 26

[Qemu-devel] [PATCH v6 3/8] hotplug: introduce qdev_unplug_complete() to remove device from views

2012-11-04 Thread Liu Ping Fan
From: Liu Ping Fan When device unplug has been ack by guest, we first remove it from memory to prevent incoming access from dispatcher. Then we isolate it from device composition tree Signed-off-by: Liu Ping Fan --- hw/qdev.c | 26 ++ hw/qdev.h |3 ++- 2 files cha

[Qemu-devel] [PATCH v6 7/8] memory: introduce tls context to trace nested mmio request issue

2012-11-04 Thread Liu Ping Fan
From: Liu Ping Fan After breaking down big lock, nested MMIO request which not targeting at RAM can cause deadlock issue. Supposing the scene: dev_a,b with fine-grain locks lockA/B, then ABBA dealock issue can be triggered. We fix this by tracing and rejecting such request. Signed-off-by: Liu Pi

[Qemu-devel] [PATCH v6 5/8] memory: introduce local lock for address space

2012-11-04 Thread Liu Ping Fan
From: Liu Ping Fan For those address spaces which want to be able out of big lock, they will be protected by their own local. Signed-off-by: Liu Ping Fan --- memory.c |1 + memory.h |3 +++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/memory.c b/memory.c index 2f68d67

[Qemu-devel] [PATCH v6 4/8] pci: remove pci device from mem view when unplug

2012-11-04 Thread Liu Ping Fan
From: Liu Ping Fan Signed-off-by: Liu Ping Fan --- hw/acpi_piix4.c |2 +- hw/pci.c| 13 - hw/pci.h|1 + 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/hw/acpi_piix4.c b/hw/acpi_piix4.c index 15275cf..b45a016 100644 --- a/hw/acpi_piix4.c +++

Re: [Qemu-devel] [PATCH 1/2] qemu-kvm/cpuid: fix a emulation of guest physical address space

2012-11-04 Thread Jan Kiszka
On 2012-11-05 03:42, Hao, Xudong wrote: >> -Original Message- >> From: Jan Kiszka [mailto:jan.kis...@web.de] >> Sent: Sunday, November 04, 2012 8:55 PM >> To: Hao, Xudong >> Cc: qemu-devel@nongnu.org; a...@redhat.com; k...@vger.kernel.org >> Subject: Re: [PATCH 1/2] qemu-kvm/cpuid: fix a em

Re: [Qemu-devel] [PATCH] memory: Reintroduce dirty flag to optimize changes on disabled regions

2012-11-04 Thread Jan Kiszka
On 2012-11-04 20:21, Avi Kivity wrote: > On 11/04/2012 10:30 AM, Jan Kiszka wrote: >> From: Jan Kiszka >> >> Cirrus is triggering this, e.g. during Win2k boot: Changes only on >> disabled regions require no topology update when transaction depth drops >> to 0 again. > > 817dcc5368988b0 (pci: give

Re: [Qemu-devel] [PATCH] vmware_vga: Add back some info in local state partially reverting aa32b38c

2012-11-04 Thread Jan Kiszka
On 2012-11-04 18:41, BALATON Zoltan wrote: > Keep saving display surface parameters at init and using these cached > values instead of getting them when needed. Not sure why this is > needed (maybe due to the interaction with the vga device) but not > doing this broke the Xorg vmware driver at leas

Re: [Qemu-devel] [PATCH v6 6/8] memory: make mmio dispatch able to be out of biglock

2012-11-04 Thread Jan Kiszka
On 2012-11-05 06:38, Liu Ping Fan wrote: > From: Liu Ping Fan > > Without biglock, we try to protect the mr by increase refcnt. > If we can inc refcnt, go backward and resort to biglock. s/can/cannot/ - could create confusion. Jan signature.asc Description: OpenPGP digital signature

Re: [Qemu-devel] [PATCH v6 7/8] memory: introduce tls context to trace nested mmio request issue

2012-11-04 Thread Jan Kiszka
On 2012-11-05 06:38, Liu Ping Fan wrote: > From: Liu Ping Fan > > After breaking down big lock, nested MMIO request which not targeting > at RAM can cause deadlock issue. Supposing the scene: dev_a,b with > fine-grain locks lockA/B, then ABBA dealock issue can be triggered. > We fix this by traci

Re: [Qemu-devel] [PATCH v6 0/8] push mmio dispatch out of big lock

2012-11-04 Thread Jan Kiszka
On 2012-11-05 06:38, Liu Ping Fan wrote: > From: Liu Ping Fan > > v1: > https://lists.gnu.org/archive/html/qemu-devel/2012-07/msg03312.html > > v2: > http://lists.gnu.org/archive/html/qemu-devel/2012-08/msg01275.html > > v3: > http://lists.nongnu.org/archive/html/qemu-devel/2012-09/msg01474.htm

Re: [Qemu-devel] [PATCH] target-mips: use ULL for 64 bit constants

2012-11-04 Thread Aurelien Jarno
On Sat, Nov 03, 2012 at 06:48:35PM +, Blue Swirl wrote: > Fix build on a 32 bit host: > CCmips-softmmu/target-mips/dsp_helper.o > /src/qemu/target-mips/dsp_helper.c: In function 'helper_dextr_rs_w': > /src/qemu/target-mips/dsp_helper.c:3556: error: integer constant is too large > for 'lo

Re: [Qemu-devel] [PATCH] target-mips: Fix compiler warnings caused by very large constants

2012-11-04 Thread Aurelien Jarno
On Sun, Nov 04, 2012 at 09:29:35PM +0100, Stefan Weil wrote: > Those constants are larger than 32 bits and need a suffix to avoid > warnings from some versions of gcc. > > Signed-off-by: Stefan Weil > --- > target-mips/dsp_helper.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >

[Qemu-devel] [PATCH v3 for 1.3 0/3] tcg/arm: misc fixes

2012-11-04 Thread Aurelien Jarno
This patch series fixes the TCG arm backend for the MIPS target, as well as for big endian targets when not using the ARMv6+ instructions set. The corresponding patches are candidate for a stable release. -- Changes v2 -> v3: - patch 1: - The new code allow up to 20 bits to be loaded (and not 2

[Qemu-devel] [PATCH v3 for 1.3 1/3] tcg/arm: fix TLB access in qemu-ld/st ops

2012-11-04 Thread Aurelien Jarno
The TCG arm backend considers likely that the offset to the TLB entries does not exceed 12 bits for mem_index = 0. In practice this is not true for at least the MIPS target. The current patch fixes that by loading the bits 23-12 with a separate instruction, and using loads with address writeback,

[Qemu-devel] [PATCH v3 for 1.3 3/3] target-openrisc: remove conflicting definitions from cpu.h

2012-11-04 Thread Aurelien Jarno
On an ARM host, the registers definitions from cpu.h clash with /usr/include/sys/ucontext.h. As there are unused, just remove them. Cc: Jia Liu Cc: qemu-sta...@nongnu.org Reviewed-by: Peter Maydell Signed-off-by: Aurelien Jarno --- target-openrisc/cpu.h | 18 -- 1 file change

[Qemu-devel] [PATCH v3 for 1.3 2/3] tcg/arm: fix cross-endian qemu_st16

2012-11-04 Thread Aurelien Jarno
The bswap16 TCG opcode assumes that the high bytes of the temp equal to 0 before calling it. The ARM backend implementation takes this assumption to slightly optimize the generated code. The same implementation is called for implementing the cross-endian qemu_st16 opcode, where this assumption is

Re: [Qemu-devel] [PATCH v3] correct error message qemu-img reported

2012-11-04 Thread li guang
在 2012-11-02五的 08:16 +0100,Stefan Hajnoczi写道: > On Fri, Nov 2, 2012 at 6:11 AM, liguang wrote: > > diff --git a/qemu-img.c b/qemu-img.c > > index b41e670..d4ea800 100644 > > --- a/qemu-img.c > > +++ b/qemu-img.c > > @@ -337,10 +337,15 @@ static int img_create(int argc, char **argv) > > > > /*

Re: [Qemu-devel] [PATCH 2/2] qemu-kvm/pci-assign: 64 bits bar emulation

2012-11-04 Thread Hao, Xudong
> -Original Message- > From: Blue Swirl [mailto:blauwir...@gmail.com] > Sent: Saturday, November 03, 2012 6:44 PM > To: Hao, Xudong > Cc: qemu-devel@nongnu.org; a...@redhat.com; k...@vger.kernel.org > Subject: Re: [Qemu-devel] [PATCH 2/2] qemu-kvm/pci-assign: 64 bits bar > emulation > > On

[Qemu-devel] [PATCH v4] correct error message qemu-img reported

2012-11-04 Thread liguang
qemu-img will complain when qcow or qcow2 size overflow for 64 bits, report the right message in this condition. Signed-off-by: liguang --- qemu-img.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index b41e670..d9434ad 100644 --- a/qemu-i

Re: [Qemu-devel] [PATCH trace] Avoid all systemtap reserved words

2012-11-04 Thread Stefan Hajnoczi
On Fri, Nov 02, 2012 at 12:00:53PM +, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > Over time various systemtap reserved words have been blacklisted > in the trace backend generator. The list is not complete though, > so there is continued risk of problems in the future. Preempt

Re: [Qemu-devel] [PATCH] trace: allow disabling events in events file

2012-11-04 Thread Stefan Hajnoczi
On Fri, Oct 26, 2012 at 01:46:34PM +0200, Gerd Hoffmann wrote: > Disable trace events prefixed with a '-'. Useful > to enable a group of tracepoints with exceptions, > like this: > > usb_xhci_port_* > -usb_xhci_port_read > > which will enable all xhci port tracepoints except reads. > > Sign

[Qemu-devel] [PATCH] trace: document '-' syntax for disabling events

2012-11-04 Thread Stefan Hajnoczi
Signed-off-by: Stefan Hajnoczi --- docs/tracing.txt | 4 1 file changed, 4 insertions(+) diff --git a/docs/tracing.txt b/docs/tracing.txt index c541133..7901409 100644 --- a/docs/tracing.txt +++ b/docs/tracing.txt @@ -139,6 +139,10 @@ having a common prefix in a batch. For example, virtio-b

Re: [Qemu-devel] [PATCH v2 1/5] compiler: support Darwin weak references

2012-11-04 Thread TeLeMan
On Fri, Nov 2, 2012 at 10:43 PM, Paolo Bonzini wrote: > Weakrefs only tell you if the symbol was defined elsewhere, so you > need a further check at runtime to pick the default definition > when needed. > > This could be automated by the compiler, but it does not do it. > > Signed-off-by: Paolo Bo