Re: [Qemu-devel] [RFC v2 7/7] remove QEMUOptionParameter

2012-09-27 Thread Dong Xu Wang
On Thu, Sep 27, 2012 at 8:03 PM, Paolo Bonzini wrote: > Il 27/09/2012 07:14, Dong Xu Wang ha scritto: >> remove QEMUOptionParameter, and use QemuOpts and QemuOptsList. >> >> Signed-off-by: Dong Xu Wang >> --- >> block.c | 88 ++-- >> block.h |5 +- >> block/

Re: [Qemu-devel] [RFC v2 00/12] Virtio-mmio refactoring.

2012-09-27 Thread Ying-Shiuan Pan
Hi, We have applied virtio-mmio into our work for more than half year, although the patch we used is not yet updated to the latest one. We have tested virtio-blk, virtio-net, virtio-console, and virtio-balloon. All of them are working very well. Hope you will enjoy them also :) Best Regards

Re: [Qemu-devel] [Qemu-ppc] Qemu boot device precedence over nvram boot-device setting

2012-09-27 Thread Jordan Justen
On Thu, Sep 27, 2012 at 2:51 AM, Gleb Natapov wrote: > The problem is that it works reasonably well with legacy BIOS > since it is enough to specify device to boot from, but with EFI (OF is > the same I guess) it is not enough to point to a device to boot from, > but you also need to specify a fil

Re: [Qemu-devel] [RFC v2 00/12] Virtio-mmio refactoring.

2012-09-27 Thread Evgeny Voevodin
On 09/27/2012 09:31 PM, KONRAD Frédéric wrote: Hi, We actually want to add virtio models for arm, therefore these patches are really helpful. We will try it, start looking at the issues. Any feedback ? Ok. Feel free. On 17/09/2012 12:00, Evgeny Voevodin wrote: Previous RFC you can find

Re: [Qemu-devel] [PATCH V4 4/5] libqblock test build system

2012-09-27 Thread Wenchao Xia
于 2012-9-27 18:17, Paolo Bonzini 写道: Il 27/09/2012 11:56, Wenchao Xia ha scritto: +$(LIBQBLOCK_TEST_DIR): +@echo "Make libqblock test directory" +mkdir $(LIBQBLOCK_TEST_DIR) You can leave the files in tests/ directly, and avoid this as well. Having a new directory will make clean

Re: [Qemu-devel] [PATCH V4 2/5] libqblock type defines

2012-09-27 Thread Wenchao Xia
于 2012-9-27 18:16, Paolo Bonzini 写道: Il 27/09/2012 11:52, Wenchao Xia ha scritto: Please use QBO_ instead of QB_ throughout. Also write COMPAT instead of CPT, and remove CPT_NONE since 0.10 is the default: __NONE is used to indicate whether this property is set or get, so it is actually h

[Qemu-devel] [PATCH v5 3/3] update nc.link_down in virtio_net_load()

2012-09-27 Thread Amos Kong
nc.link_down could not be migrated, this patch updates link_down in virtio_post_load() to keep it coincident with real link status. Signed-off-by: Amos Kong --- hw/virtio-net.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/hw/virtio-net.c b/hw/virtio-net.c index 64

[Qemu-devel] [PATCH v5 2/3] e1000: update nc.link_down in e1000_post_load()

2012-09-27 Thread Amos Kong
This patch introduced e1000_post_load(), it will be called in the end of migration. nc.link_down could not be migrated, this patch updates link_down in e1000_post_load() to keep it coincident with real link status. Signed-off-by: Amos Kong --- hw/e1000.c | 12 1 files changed, 12

[Qemu-devel] [PATCH v5 1/3] rtl8139: implement 8139cp link status

2012-09-27 Thread Amos Kong
From: Jason Wang Add a link status chang callback and change the link status bit in BMSR & MSR accordingly. Tested in Linux/Windows guests. The link status bit of MediaStatus is infered from BasicModeStatus, they are inverse. nc.link_down could not be migrated, this patch updates link_down in r

[Qemu-devel] [PATCH v5 0/3] net: fix link status

2012-09-27 Thread Amos Kong
First patch implemeted link status setting of rtl8139, the rest patches updated nc.link_down in post_load() of migration to keep it coincident with real link status. v5: fix bug in bit operating Amos Kong (2): e1000: update nc.link_down in e1000_post_load() update nc.link_down in virtio_net_l

[Qemu-devel] [PATCH 147/147] target-s390: Perform COMPARE AND SWAP inline

2012-09-27 Thread Richard Henderson
Still no proper solution for CONFIG_USER_ONLY, but the system version is significantly better. Signed-off-by: Richard Henderson --- target-s390x/helper.h | 3 - target-s390x/insn-data.def | 12 ++-- target-s390x/mem_helper.c | 53 target-s390x/translate.c | 152 +

[Qemu-devel] [PATCH 146/147] target-s390: Optimize get_address

2012-09-27 Thread Richard Henderson
Don't load the displacement into a register first, add it second so that tcg_gen_addi_i64 can eliminate zeros. Don't mask the displacement first so that we don't turn small negative numbers into large positive numbers. Signed-off-by: Richard Henderson --- target-s390x/translate.c | 44 +

[Qemu-devel] [PATCH 145/147] target-s390: Optimize ADDC/SUBB

2012-09-27 Thread Richard Henderson
Giving the proper mask to disas_jcc allows us to generate an inline comparison generating the carry/borrow with setcond. In the very worst case, when we must use the external helper to compute a value for CC, we generate (cc > 1) instead of (cc >> 1), which is only very slightly slower on common c

[Qemu-devel] [PATCH 144/147] target-s390: Optimize ADDU/SUBU CC testing

2012-09-27 Thread Richard Henderson
We can easily generate some masks for logical add/subtract inline. Signed-off-by: Richard Henderson --- target-s390x/translate.c | 68 1 file changed, 68 insertions(+) diff --git a/target-s390x/translate.c b/target-s390x/translate.c index 11f7f36

[Qemu-devel] [PATCH 143/147] target-s390: Tidy comparisons

2012-09-27 Thread Richard Henderson
After full conversion, we can audit the uses of LTGT cc ops and see that none of the instructions can ever set CC=3. Thus we can extend the table to treat that bit as ignored. This fixes a regression wrt the pre-conversion translation in which NE was used for both m=6 and m=7. Signed-off-by: Rich

[Qemu-devel] [PATCH 142/147] target-s390: Optmize emitting discards

2012-09-27 Thread Richard Henderson
While they aren't expensive, they aren't free to process. When we know that the three cc helper variables are dead, don't kill them. Signed-off-by: Richard Henderson --- target-s390x/translate.c | 30 -- 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/

[Qemu-devel] [PATCH 141/147] target-s390: Optimize XC

2012-09-27 Thread Richard Henderson
Notice XC with same address and convert that to store of zero. Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 2 +- target-s390x/translate.c | 50 +++--- 2 files changed, 48 insertions(+), 4 deletions(-) diff --git a/target-s390x/ins

[Qemu-devel] [PATCH 140/147] target-s390: Fix cpu_clone_regs

2012-09-27 Thread Richard Henderson
R2 is the syscall return register, not R0. Signed-off-by: Richard Henderson --- target-s390x/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-s390x/cpu.h b/target-s390x/cpu.h index a6a6e3f..cfc716a 100644 --- a/target-s390x/cpu.h +++ b/target-s390x/cpu.h @@ -116,7

[Qemu-devel] [PATCH 139/147] target-s390: Implement LOAD/SET FP AND SIGNAL

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/fpu_helper.c | 37 + target-s390x/helper.h | 1 + target-s390x/insn-data.def | 4 target-s390x/translate.c | 6 ++ 4 files changed, 40 insertions(+), 8 deletions(-) diff --git a/target-s390x

[Qemu-devel] [PATCH 138/147] target-s390: Implement SET ROUNDING MODE

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 5 + target-s390x/translate.c | 39 +++ 2 files changed, 44 insertions(+) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index 6e92790..79341a4 100644 --- a/target-s

[Qemu-devel] [PATCH 137/147] target-s390: Use uint64_to_float128

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/fpu_helper.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/target-s390x/fpu_helper.c b/target-s390x/fpu_helper.c index 2983360..899421e 100644 --- a/target-s390x/fpu_helper.c +++ b/target-s390x/fpu_helper.c @@ -419,8 +419,7

[Qemu-devel] [PATCH 136/147] softfloat: Implement uint64_to_float128

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- fpu/softfloat.c | 6 ++ fpu/softfloat.h | 1 + 2 files changed, 7 insertions(+) diff --git a/fpu/softfloat.c b/fpu/softfloat.c index 45f105a..8df3a32 100644 --- a/fpu/softfloat.c +++ b/fpu/softfloat.c @@ -1337,6 +1337,12 @@ float128 int64_to_float128( int

[Qemu-devel] [PATCH 135/147] softfloat: Fix uint64_to_float64

2012-09-27 Thread Richard Henderson
The interface to normalizeRoundAndPackFloat64 requires that the high bit be clear. Perform one shift-right-and-jam if needed. Signed-off-by: Richard Henderson --- fpu/softfloat.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/fpu/softfloat.c b/fpu/softfloat.c index

[Qemu-devel] [PATCH 134/147] target-s390: Implement LCDFR

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 1 + 1 file changed, 1 insertion(+) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index b023911..6e92790 100644 --- a/target-s390x/insn-data.def +++ b/target-s390x/insn-data.def @@ -356,6 +356,7 @@ C(0x

[Qemu-devel] [PATCH 133/147] target-s390: Check insn operand specifications

2012-09-27 Thread Richard Henderson
Removes all the fixmes for even register numbers, etc. Signed-off-by: Richard Henderson --- target-s390x/translate.c | 195 ++- 1 file changed, 159 insertions(+), 36 deletions(-) diff --git a/target-s390x/translate.c b/target-s390x/translate.c index d

[Qemu-devel] [PATCH 132/147] target-s390: Implement CPSDR

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 3 +++ target-s390x/translate.c | 16 2 files changed, 19 insertions(+) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index 49e4a44..b023911 100644 --- a/target-s390x/insn-data.def +++ b/

[Qemu-devel] [PATCH 131/147] target-s390: Implement POPCNT

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/helper.h | 1 + target-s390x/insn-data.def | 3 +++ target-s390x/int_helper.c | 12 target-s390x/translate.c | 6 ++ 4 files changed, 22 insertions(+) diff --git a/target-s390x/helper.h b/target-s390x/helper.h index fb

[Qemu-devel] [PATCH 130/147] target-s390: Implement CONVERT FROM LOGICAL

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/fpu_helper.c | 31 +++ target-s390x/helper.h | 3 +++ target-s390x/insn-data.def | 7 +++ target-s390x/translate.c | 25 + 4 files changed, 66 insertions(+) diff --git a/target-s39

[Qemu-devel] [PATCH 129/147] target-s390: Implement CONVERT TO LOGICAL

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/fpu_helper.c | 66 ++ target-s390x/helper.h | 6 + target-s390x/insn-data.def | 7 + target-s390x/translate.c | 54 + 4 files changed, 133 insertions

[Qemu-devel] [PATCH 128/147] target-s390: Implement STORE ON CONDITION

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 3 +++ target-s390x/translate.c | 29 + 2 files changed, 32 insertions(+) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index 91ee055..00b95b6 100644 --- a/target-s390x/insn-da

[Qemu-devel] [PATCH 127/147] target-s390: Implement LOAD ON CONDITION

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 5 + target-s390x/translate.c | 30 ++ 2 files changed, 35 insertions(+) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index b739d70..91ee055 100644 --- a/target-s390x/insn

[Qemu-devel] [PATCH 126/147] target-s390: Implement COMPARE AND TRAP

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 11 +++ target-s390x/translate.c | 29 + 2 files changed, 40 insertions(+) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index 5c19aef..b739d70 100644 --- a/target-s390x

[Qemu-devel] [PATCH 125/147] target-s390: Implement COMPARE RELATIVE LONG

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 4 1 file changed, 4 insertions(+) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index eb88c55..5c19aef 100644 --- a/target-s390x/insn-data.def +++ b/target-s390x/insn-data.def @@ -120,6 +120,10 @@ /*

[Qemu-devel] [PATCH 124/147] target-s390: Implement PREFETCH

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 5 + 1 file changed, 5 insertions(+) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index 9582f0c..eb88c55 100644 --- a/target-s390x/insn-data.def +++ b/target-s390x/insn-data.def @@ -500,6 +500,11 @@

[Qemu-devel] [PATCH 123/147] target-s390: Implement R[NOX]SBG

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 4 target-s390x/translate.c | 53 ++ 2 files changed, 57 insertions(+) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index 8bcfb2b..9582f0c 100644 --- a/ta

[Qemu-devel] [PATCH 122/147] target-s390: Implement LDGR, LGDR

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 4 1 file changed, 4 insertions(+) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index c80a386..8bcfb2b 100644 --- a/target-s390x/insn-data.def +++ b/target-s390x/insn-data.def @@ -364,6 +364,10 @@ /*

[Qemu-devel] [PATCH 121/147] target-s390: Implement RISBG

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 5 +++ target-s390x/translate.c | 83 ++ 2 files changed, 88 insertions(+) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index 4478d1c..c80a386 100644 --- a/tar

[Qemu-devel] [PATCH 120/147] target-s390: Implement COMPARE AND BRANCH

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 19 +++ target-s390x/translate.c | 28 2 files changed, 47 insertions(+) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index 8b89ce6..4478d1c 100644 --- a/targe

[Qemu-devel] [PATCH 119/147] target-s390: Tidy s->op_cc handling

2012-09-27 Thread Richard Henderson
There's no need to force computation of the true cc_op when taking an exception or single stepping. In either case we'll enter the next TB with s->cc_op = DYNAMIC and recompute anyway. Just make sure that s->cc_op is stored back to env->cc_op as needed. Delete some dead functions, avoid allocati

[Qemu-devel] [PATCH 118/147] target-s390: Implement BRANCH ON INDEX

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 10 + target-s390x/translate.c | 52 ++ 2 files changed, 62 insertions(+) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index cd773d0..8b89ce6 100644 ---

[Qemu-devel] [PATCH 117/147] target-s390: Delete dead code from old translator

2012-09-27 Thread Richard Henderson
The use of inline restricts detection of static functions that are no longer used. Limit the use of inline to those functions that are conditionally used based on CONFIG_USER_ONLY. Signed-off-by: Richard Henderson --- target-s390x/translate.c | 318 --

[Qemu-devel] [PATCH 116/147] target-s390: Convert SERVC

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/helper.h | 2 +- target-s390x/insn-data.def | 2 ++ target-s390x/misc_helper.c | 6 ++ target-s390x/translate.c | 29 + 4 files changed, 14 insertions(+), 25 deletions(-) diff --git a/target-s390x/helper.

[Qemu-devel] [PATCH 115/147] target-s390: Convert LPSWE

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 2 ++ target-s390x/translate.c | 37 ++--- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index ba070f1..b0cf908 100644 --

[Qemu-devel] [PATCH 114/147] target-s390: Convert STFL

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 2 ++ target-s390x/translate.c | 23 ++- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index 5de3256..ba070f1 100644 --- a/target-s390

[Qemu-devel] [PATCH 113/147] target-s390: Convert STSI

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/helper.h | 2 +- target-s390x/insn-data.def | 2 ++ target-s390x/misc_helper.c | 4 ++-- target-s390x/translate.c | 24 ++-- 4 files changed, 15 insertions(+), 17 deletions(-) diff --git a/target-s390x/helper.h b/tar

[Qemu-devel] [PATCH 112/147] target-s390: Convert SACF

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 2 ++ target-s390x/translate.c | 21 - 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index 75729fe..a389f15 100644 --- a/target-s390x

[Qemu-devel] [PATCH 111/147] target-s390: Convert STCKE

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/helper.h | 1 - target-s390x/insn-data.def | 2 ++ target-s390x/misc_helper.c | 14 -- target-s390x/translate.c | 31 ++- 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/target-s390

[Qemu-devel] [PATCH 110/147] target-s390: Convert CSP

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/helper.h | 2 +- target-s390x/insn-data.def | 2 ++ target-s390x/mem_helper.c | 6 +++--- target-s390x/translate.c | 24 4 files changed, 18 insertions(+), 16 deletions(-) diff --git a/target-s390x/helper.h b/t

[Qemu-devel] [PATCH 109/147] target-s390: Convert STURA

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/helper.h | 2 +- target-s390x/insn-data.def | 2 ++ target-s390x/mem_helper.c | 4 ++-- target-s390x/translate.c | 20 4 files changed, 13 insertions(+), 15 deletions(-) diff --git a/target-s390x/helper.h b/target-

[Qemu-devel] [PATCH 108/147] target-s390: Convert subchannel instructions

2012-09-27 Thread Richard Henderson
While we're at it, list all of the chapter 14 subchannel insns. Which is easy since all merely need indicate non-operation. Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 14 ++ target-s390x/translate.c | 18 -- 2 files changed, 22 insertions(+),

[Qemu-devel] [PATCH 107/147] target-s390: Convert RRBE

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/helper.h | 2 +- target-s390x/insn-data.def | 2 ++ target-s390x/mem_helper.c | 2 +- target-s390x/translate.c | 22 ++ 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/target-s390x/helper.h b/target-

[Qemu-devel] [PATCH 106/147] target-s390: Convert SSKE

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/helper.h | 2 +- target-s390x/insn-data.def | 2 ++ target-s390x/mem_helper.c | 2 +- target-s390x/translate.c | 18 +++--- 4 files changed, 11 insertions(+), 13 deletions(-) diff --git a/target-s390x/helper.h b/target-s390

[Qemu-devel] [PATCH 105/147] target-s390: Convert ISKE

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 2 ++ target-s390x/translate.c | 19 +++ 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index c8368cf..87daec1 100644 --- a/target-s390x/in

[Qemu-devel] [PATCH 104/147] target-s390: Convert IPTE

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 2 ++ target-s390x/translate.c | 20 +--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index f68e586..c8368cf 100644 --- a/target-s390x/

[Qemu-devel] [PATCH 103/147] target-s390: Convert STAP

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 2 ++ target-s390x/translate.c | 24 ++-- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index 87a77a2..f68e586 100644 --- a/target-s3

[Qemu-devel] [PATCH 102/147] target-s390: Convert SPX, STPX

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 4 target-s390x/misc_helper.c | 6 ++ target-s390x/translate.c | 35 +++ 3 files changed, 21 insertions(+), 24 deletions(-) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-d

[Qemu-devel] [PATCH] Add option to mlock guest and qemu memory

2012-09-27 Thread Satoru Moriya
This is a first time for me to post a patch to qemu-devel. If there is something missing/wrong, please let me know. We have some plans to migrate old enterprise systems which require low latency (msec order) to kvm virtualized environment. Usually, we uses mlock to preallocate and pin down process

[Qemu-devel] [PATCH 101/147] target-s390: Convert PTLB

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 2 ++ target-s390x/translate.c | 14 +- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index f95ba11..e9b9dc1 100644 --- a/target-s390x/insn-da

[Qemu-devel] [PATCH 100/147] target-s390: Convert SPKA

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 2 ++ target-s390x/translate.c | 20 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index a45454c..f95ba11 100644 --- a/target-s390x/

[Qemu-devel] [PATCH 099/147] target-s390: Convert SPT, STPT

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/helper.h | 2 +- target-s390x/insn-data.def | 4 target-s390x/misc_helper.c | 8 +++- target-s390x/translate.c | 32 ++-- 4 files changed, 22 insertions(+), 24 deletions(-) diff --git a/target-s390x/

[Qemu-devel] [PATCH 098/147] target-s390: Convert SCKC, STCKC

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/helper.h | 2 +- target-s390x/insn-data.def | 4 target-s390x/misc_helper.c | 8 +++- target-s390x/translate.c | 32 ++-- 4 files changed, 22 insertions(+), 24 deletions(-) diff --git a/target-s390x/

[Qemu-devel] [PATCH 097/147] target-s390: Convert STCK

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/helper.h | 2 +- target-s390x/insn-data.def | 3 +++ target-s390x/misc_helper.c | 6 ++ target-s390x/translate.c | 17 - 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/target-s390x/helper.h b/target-

[Qemu-devel] [PATCH 096/147] target-s390: Convert SCK

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/helper.h | 1 - target-s390x/insn-data.def | 3 +++ target-s390x/misc_helper.c | 8 target-s390x/translate.c | 10 -- 4 files changed, 3 insertions(+), 19 deletions(-) diff --git a/target-s390x/helper.h b/target-s390x/h

[Qemu-devel] [PATCH 095/147] target-s390: Convert STIDP

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/helper.h | 1 - target-s390x/insn-data.def | 2 ++ target-s390x/misc_helper.c | 6 -- target-s390x/translate.c | 16 +++- 4 files changed, 9 insertions(+), 16 deletions(-) diff --git a/target-s390x/helper.h b/target-s390

[Qemu-devel] [PATCH 094/147] target-s390: Convert SRST

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/helper.h | 2 +- target-s390x/insn-data.def | 3 +++ target-s390x/mem_helper.c | 39 ++- target-s390x/translate.c | 31 ++- 4 files changed, 44 insertions(+), 31 deletions(-

[Qemu-devel] [PATCH 093/147] target-s390: Convert CLST, MVST

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/helper.h | 4 +- target-s390x/insn-data.def | 4 ++ target-s390x/mem_helper.c | 119 ++--- target-s390x/translate.c | 42 4 files changed, 83 insertions(+), 86 deletions(-) dif

[Qemu-devel] [PATCH 092/147] target-s390: Convert MVPG

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 2 ++ target-s390x/mem_helper.c | 7 ++- target-s390x/translate.c | 20 3 files changed, 12 insertions(+), 17 deletions(-) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index c4

[Qemu-devel] [PATCH 091/147] target-s390: Convert EAR, SAR

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 4 target-s390x/translate.c | 25 ++--- 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index 74f1032..c4ce7e2 100644 --- a/target

[Qemu-devel] [PATCH 090/147] target-s390: Convert CKSM

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/helper.h | 2 +- target-s390x/insn-data.def | 3 +++ target-s390x/mem_helper.c | 43 +-- target-s390x/translate.c | 31 ++- 4 files changed, 51 insertions(+), 28 deletio

[Qemu-devel] [PATCH 089/147] target-s390: Convert IPM

2012-09-27 Thread Richard Henderson
Note that the previous placement of the PM field was incorrect. Signed-off-by: Richard Henderson --- target-s390x/cc_helper.c | 12 target-s390x/helper.h | 1 - target-s390x/insn-data.def | 2 ++ target-s390x/translate.c | 25 +++-- 4 files changed, 21

[Qemu-devel] [PATCH 088/147] target-s390: Convert LFPC, SFPC

2012-09-27 Thread Richard Henderson
Note that we were failing to set the rounding mode in fpu_status. Signed-off-by: Richard Henderson --- target-s390x/fpu_helper.c | 17 target-s390x/helper.h | 1 + target-s390x/insn-data.def | 6 + target-s390x/translate.c | 64 +

Re: [Qemu-devel] QEMU (no kvm) Win7 (64bit) boot error [PATCH 1/1]

2012-09-27 Thread Clemens Kolbitsch
Brendan, I was also getting the same BSOD error codes. I was very busy with other stuff recently, so I pretty much didn't get any further than what I said in my last mail. But I'm more than happy helping out if you need anything debugging this. Just let me know -Clemens On Thu, Sep 27, 2012 at 4

[Qemu-devel] [PATCH 087/147] target-s390: Convert FLOGR

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/cc_helper.c | 8 ++ target-s390x/cpu.h | 2 ++ target-s390x/helper.h | 2 +- target-s390x/insn-data.def | 3 +++ target-s390x/int_helper.c | 22 +++- target-s390x/translate.c | 66 +

[Qemu-devel] [PATCH 086/147] target-s390: Convert CONVERT FROM FIXED

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/fpu_helper.c | 81 +- target-s390x/helper.h | 9 ++ target-s390x/insn-data.def | 7 target-s390x/translate.c | 73 +++-- 4 files changed, 66 inserti

[Qemu-devel] [PATCH 085/147] target-s390: Convert CONVERT TO FIXED

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/fpu_helper.c | 98 +++ target-s390x/helper.h | 12 ++--- target-s390x/insn-data.def | 7 +++ target-s390x/translate.c | 125 + 4 files changed, 124 insertions(

[Qemu-devel] [PATCH 084/147] target-s390: Convert LOAD ZERO

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/fpu_helper.c | 22 -- target-s390x/helper.h | 3 --- target-s390x/insn-data.def | 4 target-s390x/translate.c | 29 ++--- 4 files changed, 18 insertions(+), 40 deletions(-) diff --git a/t

[Qemu-devel] [PATCH 083/147] target-s390: Convert FP SQUARE ROOT

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/fpu_helper.c | 24 +--- target-s390x/helper.h | 4 +++- target-s390x/insn-data.def | 7 +++ target-s390x/translate.c | 22 +++--- 4 files changed, 50 insertions(+), 7 deletions(-) diff --git a/tar

[Qemu-devel] [PATCH 082/147] target-s390: Convert FP LOAD COMPLIMENT, NEGATIVE, POSITIVE

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/fpu_helper.c | 65 target-s390x/helper.h | 6 target-s390x/insn-data.def | 9 + target-s390x/translate.c | 83 +++--- 4 files changed, 66 insertions(+)

[Qemu-devel] [PATCH 081/147] target-s390: Convert TEST DATA CLASS

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/fpu_helper.c | 28 +++- target-s390x/helper.h | 6 ++--- target-s390x/insn-data.def | 5 target-s390x/translate.c | 66 -- 4 files changed, 40 insertions(+), 65 deletions(-

[Qemu-devel] [PATCH 080/147] target-s390: Convert MULTIPLY AND ADD, SUBTRACT

2012-09-27 Thread Richard Henderson
Use the new float*_muladd interface to softfloat. Signed-off-by: Richard Henderson --- target-s390x/fpu_helper.c | 57 +++-- target-s390x/helper.h | 8 +++--- target-s390x/insn-data.def | 11 target-s390x/translate.c | 63

[Qemu-devel] [PATCH 079/147] target-s390: Convert FP MULTIPLY

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/fpu_helper.c | 87 +- target-s390x/helper.h | 10 +++--- target-s390x/insn-data.def | 9 + target-s390x/translate.c | 56 + 4 files changed, 86 insertions(+), 76

[Qemu-devel] [PATCH 078/147] target-s390: Convert FP DIVIDE

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/fpu_helper.c | 68 ++ target-s390x/helper.h | 8 ++ target-s390x/insn-data.def | 5 target-s390x/translate.c | 41 +--- 4 files changed, 47 insertions(+), 75 de

[Qemu-devel] [PATCH 077/147] target-s390: Convert FP SUBTRACT

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/fpu_helper.c | 74 +- target-s390x/helper.h | 8 ++--- target-s390x/insn-data.def | 5 target-s390x/translate.c | 51 4 files changed, 47 insertions(+), 91

[Qemu-devel] [PATCH 076/147] target-s390: Convert FP ADD, COMPARE, LOAD TEST/ROUND/LENGTHENED

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/cc_helper.c | 9 +- target-s390x/cpu.h | 10 +- target-s390x/fpu_helper.c | 298 + target-s390x/helper.h | 31 ++--- target-s390x/insn-data.def | 25 target-s390x/translate.c

[Qemu-devel] [PATCH 075/147] target-s390: Convert LLGT

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 3 +++ target-s390x/translate.c | 50 ++ 2 files changed, 9 insertions(+), 44 deletions(-) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index fa3ee00..8914d34

[Qemu-devel] [PATCH 074/147] target-s390: Convert STORE REVERSED

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 4 target-s390x/translate.c | 34 -- 2 files changed, 28 insertions(+), 10 deletions(-) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index 1ee0d42..fa3ee00 100644 ---

[Qemu-devel] [PATCH 073/147] target-s390: Convert LOAD REVERSED

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 6 target-s390x/translate.c | 77 ++ 2 files changed, 36 insertions(+), 47 deletions(-) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index a8dffcd..1ee0d4

[Qemu-devel] [PATCH 072/147] target-s390: Convert LOAD CONTROL, part 2

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 2 ++ target-s390x/translate.c | 76 ++ 2 files changed, 25 insertions(+), 53 deletions(-) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index 8bfc6f9..a8dffcd

[Qemu-devel] [PATCH 071/147] target-s390: Convert TPROT

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 2 ++ target-s390x/translate.c | 47 ++ 2 files changed, 12 insertions(+), 37 deletions(-) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index 6c2f455..8bfc6f9

[Qemu-devel] [PATCH 070/147] target-s390: Convert STCM

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/helper.h | 2 -- target-s390x/insn-data.def | 4 +++ target-s390x/mem_helper.c | 37 --- target-s390x/translate.c | 73 +++--- 4 files changed, 53 insertions(+), 63 deletions(-)

[Qemu-devel] [PATCH v2 000/147] target-s390 reorg

2012-09-27 Thread Richard Henderson
Tons of changes since v1. I believe I incorproated all of the feedback that I received. The patch set is relative to the "TCGCond" patch set that I sent out earlier this week. Both trees are available at git://repo.or.cz/qemu/rth.git tcg-cond git://repo.or.cz/qemu/rth.git s390-reorg This p

[Qemu-devel] [PATCH 069/147] target-s390: Convert CLM

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 4 target-s390x/translate.c | 32 +++- 2 files changed, 23 insertions(+), 13 deletions(-) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index 4714095..15ded97 100644 --- a

[Qemu-devel] [PATCH 068/147] target-s390: Convert COMPARE AND SWAP

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/helper.h | 4 +-- target-s390x/insn-data.def | 9 ++ target-s390x/mem_helper.c | 33 +--- target-s390x/translate.c | 78 -- 4 files changed, 66 insertions(+), 58 deletions(-

Re: [Qemu-devel] linux aio and cache mode

2012-09-27 Thread ching
On 09/26/2012 03:51 PM, Kevin Wolf wrote: > Am 26.09.2012 01:22, schrieb ching: >> On 09/25/2012 09:33 PM, Kevin Wolf wrote: >>> Am 25.09.2012 00:40, schrieb ching: On 09/24/2012 08:30 PM, Kevin Wolf wrote: > Am 24.09.2012 13:32, schrieb ching: >> Hi all, >> >> My host is qemu-

[Qemu-devel] [PATCH 067/147] target-s390: Convert LCTL, STCTL

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 4 target-s390x/translate.c | 54 +- 2 files changed, 28 insertions(+), 30 deletions(-) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index 819c3f5..6fff22

[Qemu-devel] [PATCH 022/147] target-s390: Convert AND, OR, XOR

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 27 + target-s390x/translate.c | 134 ++--- 2 files changed, 56 insertions(+), 105 deletions(-) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index 94cd220.

[Qemu-devel] [PATCH 066/147] target-s390: Convert EFPC, STFPC

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 6 ++ target-s390x/translate.c | 38 +- 2 files changed, 19 insertions(+), 25 deletions(-) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index 899c6a5..819c3f5 1006

[Qemu-devel] [PATCH 029/147] target-s390: Convert LOAD COMPLIMENT, POSITIVE, NEGATIVE

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 12 target-s390x/translate.c | 142 +++-- 2 files changed, 60 insertions(+), 94 deletions(-) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index 89bc635..95072

[Qemu-devel] [PATCH 065/147] target-s390: Convert SIGP

2012-09-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-s390x/insn-data.def | 2 ++ target-s390x/translate.c | 28 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def index a83ce95..899c6a5 100644 --- a/targe

[Qemu-devel] [PATCH 001/147] s390x: fix -initrd in virtio machine

2012-09-27 Thread Richard Henderson
From: Alexander Graf When using -initrd in the virtio machine, we need to indicate the initrd start and size inside the kernel image. These parameters need to be stored in native endianness. Signed-off-by: Alexander Graf Acked-by: Christian Borntraeger Acked-by: Richard Henderson --- hw/s390

  1   2   3   4   5   >