Re: [Qemu-devel] [PATCH 0/9] QOM'ify work for sparc

2016-12-24 Thread 赵小强
ping At 2016-10-23 14:31:26, "xiaoqiang zhao" wrote: >This patch set aims for QOM'ifying code relate with sparc. >It is part of my QOM'ify work of qemu code base. > >xiaoqiang zhao (9): > hw/misc: QOM'ify eccmemctl.c > hw/dma: QOM'ify sparc32_dma.c > hw/dma: QOM'ify sun4m_iommu.c > hw/m

Re: [Qemu-devel] [PATCH 0/2] QOM'ify work for etraxfs

2016-12-24 Thread 赵小强
ping ... At 2016-10-23 15:06:51, "xiaoqiang zhao" wrote: >This is some QOM'ify work relate with etraxfs. >See each commit for details. > >xiaoqiang zhao (2): > hw/timer: QOM'ify etraxfs_timer > hw/net: QOM'ify etraxfs_eth.c > > hw/net/etraxfs_eth.c | 34 +++--- >

[Qemu-devel] [PATCH] target/i386: Fix bad patch application to translate.c

2016-12-24 Thread Doug Evans
In commit c52ab08aee6f7d4717fc6b517174043126bd302f, the patch snippet for the "syscall" insn got applied to "iret". Signed-off-by: Doug Evans --- target/i386/translate.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/target/i386/translate.c b/target/i386/translat

[Qemu-devel] [Bug 1652459] [NEW] kvm rbd driver (and maybe others, i.e. qcow2, qed and so on) does not report DISCARD-ZERO flag

2016-12-24 Thread Коренберг Марк
Public bug reported: # lsblk -D NAME DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO sda 04K 1G 0 ├─sda104K 1G 0 ├─sda2 10244K 1G 0 └─sda504K 1G 0 Last column should be `1` at least for "

[Qemu-devel] [Bug 1523246] Re: Cannot TRIM with VirtIO

2016-12-24 Thread Коренберг Марк
Virtio will never support discard requests. Please use virtio-scsi. So, please rename bug to "Feature request: Refuse to operate if virtio + discard is requested" -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad

Re: [Qemu-devel] [PATCH] [M25P80] Make sure not to overrun the internal data buffer.

2016-12-24 Thread Jean-Christophe DUBOIS
Le 24/12/2016 à 19:04, mar.krzeminski a écrit : W dniu 24.12.2016 o 18:41, Jean-Christophe DUBOIS pisze: Le 24/12/2016 à 18:18, mar.krzeminski a écrit : Hello, W dniu 24.12.2016 o 16:11, Jean-Christophe Dubois pisze: It did happen that the internal data buffer was overrun leading to a Qemu

Re: [Qemu-devel] [PATCH] [M25P80] Make sure not to overrun the internal data buffer.

2016-12-24 Thread mar.krzeminski
W dniu 24.12.2016 o 18:41, Jean-Christophe DUBOIS pisze: Le 24/12/2016 à 18:18, mar.krzeminski a écrit : Hello, W dniu 24.12.2016 o 16:11, Jean-Christophe Dubois pisze: It did happen that the internal data buffer was overrun leading to a Qemu crash (in particular while emulating the i.MX6 s

Re: [Qemu-devel] [PATCH] [M25P80] Make sure not to overrun the internal data buffer.

2016-12-24 Thread Jean-Christophe DUBOIS
Le 24/12/2016 à 18:18, mar.krzeminski a écrit : Hello, W dniu 24.12.2016 o 16:11, Jean-Christophe Dubois pisze: It did happen that the internal data buffer was overrun leading to a Qemu crash (in particular while emulating the i.MX6 sabrelite board). This patch makes sure the data array would

Re: [Qemu-devel] [PATCH] [M25P80] Make sure not to overrun the internal data buffer.

2016-12-24 Thread mar.krzeminski
Hello, W dniu 24.12.2016 o 16:11, Jean-Christophe Dubois pisze: It did happen that the internal data buffer was overrun leading to a Qemu crash (in particular while emulating the i.MX6 sabrelite board). This patch makes sure the data array would not be overrun and allow the sabrelite emulation

[Qemu-devel] [PATCH] [M25P80] Make sure not to overrun the internal data buffer.

2016-12-24 Thread Jean-Christophe Dubois
It did happen that the internal data buffer was overrun leading to a Qemu crash (in particular while emulating the i.MX6 sabrelite board). This patch makes sure the data array would not be overrun and allow the sabrelite emulation to run without crash. Signed-off-by: Jean-Christophe Dubois ---

[Qemu-devel] [PULL 10/12] target-m68k: Inline shifts

2016-12-24 Thread Laurent Vivier
From: Richard Henderson Also manage word and byte operands and fix the computation of overflow in the case of M68000 arithmetic shifts. Signed-off-by: Laurent Vivier Signed-off-by: Richard Henderson Message-Id: <1478699171-10637-4-git-send-email-...@twiddle.net> --- target/m68k/helper.c|

[Qemu-devel] [PULL 02/12] target-m68k: Split gen_lea and gen_ea

2016-12-24 Thread Laurent Vivier
From: Richard Henderson Provide gen_lea_mode and gen_ea_mode, where the mode can be specified manually, rather than taken from the instruction. Signed-off-by: Richard Henderson Message-Id: <1478206203-4606-3-git-send-email-...@twiddle.net> --- target/m68k/translate.c | 112

[Qemu-devel] [PULL 08/12] target-m68k: Implement 680x0 movem

2016-12-24 Thread Laurent Vivier
680x0 movem can load/store words and long words and can use more addressing modes. Coldfire can only use long words with (Ax) and (d16,Ax) addressing modes. Signed-off-by: Laurent Vivier Signed-off-by: Richard Henderson Message-Id: <1478699171-10637-2-git-send-email-...@twiddle.net> --- target

[Qemu-devel] [PULL 07/12] target-m68k: add cas/cas2 ops

2016-12-24 Thread Laurent Vivier
Implement CAS using cmpxchg. Implement CAS2 using helper and either cmpxchg when the 32bit addresses are consecutive, or with parallel_cpus+cpu_loop_exit_atomic() otherwise. Suggested-by: Richard Henderson Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson --- target/m68k/helper.h

[Qemu-devel] [PULL 09/12] target-m68k: Do not cpu_abort on undefined insns

2016-12-24 Thread Laurent Vivier
From: Richard Henderson Report this properly via exception and, importantly, allow the disassembler the chance to tell us what insn is not handled. Reviewed-by: Laurent Vivier Signed-off-by: Richard Henderson Message-Id: <1478699171-10637-3-git-send-email-...@twiddle.net> Signed-off-by: Lauren

[Qemu-devel] [PULL 12/12] target-m68k: free TCG variables that are not

2016-12-24 Thread Laurent Vivier
This is a cleanup patch. It adds call to tcg_temp_free() when it is missing. Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson --- target/m68k/translate.c | 41 - 1 file changed, 32 insertions(+), 9 deletions(-) diff --git a/target/m68k/transl

[Qemu-devel] [PULL 05/12] target-m68k: add 680x0 divu/divs variants

2016-12-24 Thread Laurent Vivier
Update helper to set the throwing location in case of div-by-0. Cleanup divX.w and add quad word variants of divX.l. Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson [laurent: modified to clear Z on overflow, as found with risu] --- linux-user/main.c | 7 ++ target/m68k/cpu.

[Qemu-devel] [PULL 01/12] target-m68k: Delay autoinc writeback

2016-12-24 Thread Laurent Vivier
From: Richard Henderson Signed-off-by: Richard Henderson Message-Id: <1478206203-4606-2-git-send-email-...@twiddle.net> --- target/m68k/translate.c | 84 + 1 file changed, 64 insertions(+), 20 deletions(-) diff --git a/target/m68k/translate.c b/t

[Qemu-devel] [PULL 11/12] target-m68k: add rol/ror/roxl/roxr instructions

2016-12-24 Thread Laurent Vivier
Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson --- target/m68k/translate.c | 391 1 file changed, 391 insertions(+) diff --git a/target/m68k/translate.c b/target/m68k/translate.c index 76c77ee..bb5a299 100644 --- a/target/m68k/trans

[Qemu-devel] [PULL 04/12] target-m68k: add 64bit mull

2016-12-24 Thread Laurent Vivier
Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson --- target/m68k/translate.c | 62 +++-- 1 file changed, 50 insertions(+), 12 deletions(-) diff --git a/target/m68k/translate.c b/target/m68k/translate.c index 97edb7b..6678b57 100644 --- a/t

[Qemu-devel] [PULL 06/12] target-m68k: add abcd/sbcd/nbcd

2016-12-24 Thread Laurent Vivier
Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson --- target/m68k/translate.c | 220 1 file changed, 220 insertions(+) diff --git a/target/m68k/translate.c b/target/m68k/translate.c index 737009e..1567647 100644 --- a/target/m68k/trans

[Qemu-devel] [PULL 03/12] target-m68k: add cmpm

2016-12-24 Thread Laurent Vivier
Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson Message-Id: <1477604609-2206-2-git-send-email-laur...@vivier.eu> Signed-off-by: Richard Henderson Message-Id: <1478206203-4606-4-git-send-email-...@twiddle.net> --- target/m68k/translate.c | 16 1 file changed, 16 ins

[Qemu-devel] [PULL 00/12] M68k for 2.9 patches

2016-12-24 Thread Laurent Vivier
The following changes since commit a470b33259bf82ef2336bfcd5d07640562d3f63b: Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (2016-12-22 19:23:51 +) are available in the git repository at: git://github.com/vivier/qemu-m68k.git tags/m68k-for-2.9-pull-request

Re: [Qemu-devel] QEMU Advent Calendar - Final day

2016-12-24 Thread Laurent Vivier
Le 24/12/2016 à 10:01, Thomas Huth a écrit : > Hi all, > > the last door of the QEMU advent calendar 2016 can now be opened > (http://www.qemu-advent-calendar.org/2016/index.html#day-24), so we'd > now like to say thank you to everybody who has contributed to or > followed the advent calendar! It

[Qemu-devel] QEMU Advent Calendar - Final day

2016-12-24 Thread Thomas Huth
Hi all, the last door of the QEMU advent calendar 2016 can now be opened (http://www.qemu-advent-calendar.org/2016/index.html#day-24), so we'd now like to say thank you to everybody who has contributed to or followed the advent calendar! It was fun to come up with all these disk images and we hop

[Qemu-devel] [Bug 1652333] Re: TCG mode fails to boot Linux kernel with qemu 2.6.0 and libvirt 2.0.0

2016-12-24 Thread Thomas Huth
Well, there are some clear indications in your log what might be wrong: warning: TCG doesn't support requested feature: CPUID.01H:EDX.vme [bit 1] warning: TCG doesn't support requested feature: CPUID.01H:ECX.x2apic [bit 21] warning: TCG doesn't support requested feature: CPUID.01H:ECX.tsc-deadline