Re: [Qemu-devel] [PATCH V3 3/3] qemu-iotests: add tests for runtime fd passing via SCM rights

2013-09-02 Thread Wenchao Xia
于 2013-9-2 22:51, Stefan Hajnoczi 写道: On Mon, Sep 02, 2013 at 05:18:13PM +0800, Wenchao Xia wrote: @@ -125,5 +125,39 @@ class TestFdSets(iotests.QMPTestCase): 'No file descriptor supplied via SCM_RIGHTS') self.vm.shutdown() +#Add fd at runtime, there are two ways: mo

Re: [Qemu-devel] [libvirt] [PATCH 3/5] qemu: add usb-bot support from disks points of view

2013-09-02 Thread Guannan Ren
On 09/02/2013 08:57 PM, Daniel P. Berrange wrote: On Mon, Sep 02, 2013 at 05:38:42PM +0800, Guannan Ren wrote: usb-bot only supports 16 luns(0~15) and they must be contiguous, (using lun 0 and 2 without 1 doesn't work). In this case qemu doesn't throw an error, we can not find the lun 2 in guest

Re: [Qemu-devel] [Qemu-stable][PATCH] rdma: fix multiple VMs parallel migration

2013-09-02 Thread Frank Yang
Yes, it depends on low-level implementation. During my earlier test, using one CQ to send and receive may cause packet loss with heavy load: the destination thinks it send READY message successfully but the source still waits for it. This situation always happens when the destination polls receive

Re: [Qemu-devel] [Qemu-stable][PATCH] rdma: fix multiple VMs parallel migration

2013-09-02 Thread Lei Li
Hi Frank, I failed to apply this patch. Please make sure to use git-send-email, otherwise it's a little hard to review. :) On 08/30/2013 08:39 PM, Frank Yang wrote: When several VMs migrate with RDMA at the same time, the increased pressure cause packet loss probabilistically and make source an

Re: [Qemu-devel] [Qemu-stable][PATCH] rdma: fix multiple VMs parallel migration

2013-09-02 Thread Lei Li
On 09/03/2013 12:20 PM, Frank Yang wrote: Yes, it depends on low-level implementation. During my earlier test, What do you mean by the 'it depends on low-level implementation'? Do you test it with IB or Ethernet? using one CQ to send and receive may cause packet loss with heavy load: the des

Re: [Qemu-devel] [PULL 00/18] ppc patch queue 2013-09-02

2013-09-02 Thread Aurelien Jarno
On Mon, Sep 02, 2013 at 10:11:15AM +0200, Alexander Graf wrote: > Hi Blue / Aurelien / Anthony, > > This is my current patch queue for ppc. Please pull. > Done, thanks. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net

Re: [Qemu-devel] [PULL 00/29] Three tcg patch sets

2013-09-02 Thread Aurelien Jarno
On Mon, Sep 02, 2013 at 09:28:45AM -0700, Richard Henderson wrote: > > Aurelien has now reviewed three tcg related patch sets. This is a pull > request for all of them, fixing a trivial patch conflict in the process. > Done, thanks. -- Aurelien Jarno GPG: 1024D/F1BCD

[Qemu-devel] [PATCH 2/4] tcg/optimize: fix known-zero bits for right shift ops

2013-09-02 Thread Aurelien Jarno
32-bit versions of sar and shr ops should not propagate known-zero bits from the unused 32 high bits. For sar it could even lead to wrong code being generated. Cc: Richard Henderson Cc: Paolo Bonzini Signed-off-by: Aurelien Jarno --- tcg/optimize.c | 21 + 1 file changed,

[Qemu-devel] [PATCH 0/4] tcg/optimize: fixes and improvements

2013-09-02 Thread Aurelien Jarno
This patchset first fixes known-zero bits optimization so that it is actually used, and does some further optimizations for 32-bit ops and unsigned loads. Aurelien Jarno (4): tcg/optimize: fix know-zero bits optimization tcg/optimize: fix known-zero bits for right shift ops tcg/optimize: imp

[Qemu-devel] [PATCH 3/4] tcg/optimize: improve known-zero bits for 32-bit ops

2013-09-02 Thread Aurelien Jarno
The shl_i32 op might set some bits of the unused 32 high bits of the mask. Fix that by clearing the unused 32 high bits for all 32-bit ops except load/store which operate on tl values. Cc: Richard Henderson Cc: Paolo Bonzini Signed-off-by: Aurelien Jarno --- tcg/optimize.c |6 ++ 1 fil

[Qemu-devel] [PATCH 4/4] tcg/optimize: add known-zero bits compute for load ops

2013-09-02 Thread Aurelien Jarno
Cc: Richard Henderson Cc: Paolo Bonzini Signed-off-by: Aurelien Jarno --- tcg/optimize.c | 13 + 1 file changed, 13 insertions(+) diff --git a/tcg/optimize.c b/tcg/optimize.c index b1f736b..044f456 100644 --- a/tcg/optimize.c +++ b/tcg/optimize.c @@ -787,6 +787,19 @@ static TCGAr

[Qemu-devel] [PATCH 1/4] tcg/optimize: fix know-zero bits optimization

2013-09-02 Thread Aurelien Jarno
Known-zero bits optimization is a great idea that helps to generate more optimized code. However the current implementation is basically useless as the computed mask is not saved. Fix this to make it really working. Cc: Richard Henderson Cc: Paolo Bonzini Signed-off-by: Aurelien Jarno --- tcg

[Qemu-devel] [PATCH] kvm: fix traces to use %x instead of %d

2013-09-02 Thread Alexey Kardashevskiy
KVM request types are normally defined using hex constants but QEMU traces print decimal values instead what is not very convinient. This changes the request type format from %d to %x. Signed-off-by: Alexey Kardashevskiy --- trace-events | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(

<    1   2   3   4