Re: [Qemu-devel] [PATCH 0/2] decodetree: Support for variable-length ISAs

2019-02-02 Thread Yoshinori Sato
On Fri, 01 Feb 2019 06:08:49 +0900, Richard Henderson wrote: > > I'm not sure how much simplication could be had for "simple" > variable-length ISAs like ARM thumb2 or RISC-V. > > But the recently posted RX port is more complicated than those. > For me, what makes RX more difficult is that there

Re: [Qemu-devel] [PR RFC] RISC-V Patches for 3.2, Part 3

2019-02-02 Thread Palmer Dabbelt
On Wed, 30 Jan 2019 22:39:35 PST (-0800), th...@redhat.com wrote: On 2019-01-30 20:01, Palmer Dabbelt wrote: On Wed, 30 Jan 2019 09:45:33 PST (-0800), ebl...@redhat.com wrote: On 1/30/19 11:35 AM, Palmer Dabbelt wrote: The following changes since commit 5385a5988c8a55bebdc878c05b96648579b5d6e0

Re: [Qemu-devel] [PR RFC] RISC-V Patches for 3.2, Part 3

2019-02-02 Thread Palmer Dabbelt
On Thu, 31 Jan 2019 01:51:52 PST (-0800), Peter Maydell wrote: On Thu, 31 Jan 2019 at 06:39, Thomas Huth wrote: On 2019-01-30 20:01, Palmer Dabbelt wrote: > On Wed, 30 Jan 2019 09:45:33 PST (-0800), ebl...@redhat.com wrote: >> On 1/30/19 11:35 AM, Palmer Dabbelt wrote: >>> The following change

Re: [Qemu-devel] [PULL v2 00/11] check-softfloat, fp-bench and clang compile fixes

2019-02-02 Thread Alex Bennée
I'll add an ignore when I send the next fpu series. Thanks. On Fri, 1 Feb 2019, 18:44 Eric Blake On 1/23/19 5:42 AM, Alex Bennée wrote: > > The following changes since commit > 952bc8b3c2cbba78261923a1e8ca55cda261dee9: > > > > Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2019-01-2

[Qemu-devel] [PULL 03/10] RISC-V: Implement mstatus.TSR/TW/TVM

2019-02-02 Thread Palmer Dabbelt
From: Michael Clark This adds the necessary minimum to support S-mode virtualization for priv ISA >= v1.10 Signed-off-by: Michael Clark Signed-off-by: Alistair Francis Co-authored-by: Matthew Suozzo Co-authored-by: Michael Clark Signed-off-by: Palmer Dabbelt --- target/riscv/csr.c |

[Qemu-devel] [PULL 02/10] RISC-V: Mark mstatus.fs dirty

2019-02-02 Thread Palmer Dabbelt
From: Richard Henderson Modifed from Richard Henderson's patch [1] to integrate with the new control and status register implementation. [1] https://lists.nongnu.org/archive/html/qemu-devel/2018-03/msg07034.html Note: the f* CSRs already mark mstatus.FS dirty using env->mstatus |= mstatus.FS so

[Qemu-devel] [PULL 06/10] RISC-V: Add misa to DisasContext

2019-02-02 Thread Palmer Dabbelt
From: Michael Clark gen methods should access state from DisasContext. Add misa field to the DisasContext struct and remove CPURISCVState argument from all gen methods. Signed-off-by: Michael Clark Reviewed-by: Richard Henderson Signed-off-by: Alistair Francis Signed-off-by: Palmer Dabbelt -

[Qemu-devel] [PULL 08/10] RISC-V: Add misa runtime write support

2019-02-02 Thread Palmer Dabbelt
From: Michael Clark This patch adds support for writing misa. misa is validated based on rules in the ISA specification. 'E' is mutually exclusive with all other extensions. 'D' depends on 'F' so 'D' bit is dropped if 'F' is not present. A conservative approach to consistency is taken by flushing

[Qemu-devel] [PULL 05/10] RISC-V: Add priv_ver to DisasContext

2019-02-02 Thread Palmer Dabbelt
From: Alistair Francis The gen methods should access state from DisasContext. Add priv_ver field to the DisasContext struct. Signed-off-by: Alistair Francis Reviewed-by: Richard Henderson Signed-off-by: Palmer Dabbelt --- target/riscv/translate.c | 7 +-- 1 file changed, 5 insertions(+),

[Qemu-devel] [PULL 07/10] RISC-V: Add misa.MAFD checks to translate

2019-02-02 Thread Palmer Dabbelt
From: Michael Clark Add misa checks for M, A, F and D extensions and if they are not present generate illegal instructions. This improves emulation accurary for harts with a limited set of extensions. Signed-off-by: Michael Clark Signed-off-by: Alistair Francis Reviewed-by: Richard Henderson

[Qemu-devel] [PULL 10/10] target/riscv: fix counter-enable checks in ctr()

2019-02-02 Thread Palmer Dabbelt
From: Xi Wang Access to a counter in U-mode is permitted only if the corresponding bit is set in both mcounteren and scounteren. The current code ignores mcounteren and checks scounteren only for U-mode access. Signed-off-by: Xi Wang Reviewed-by: Palmer Dabbelt Signed-off-by: Palmer Dabbelt

[Qemu-devel] [PULL] RISC-V Patches for 3.2, Part 3

2019-02-02 Thread Palmer Dabbelt
The following changes since commit 5385a5988c8a55bebdc878c05b96648579b5d6e0: hw/virtio/virtio-balloon: zero-initialize the virtio_balloon_config struct (2019-01-21 17:20:36 +) are available in the Git repository at: git://github.com/palmer-dabbelt/qemu.git tags/riscv-for-master-3.2-part

[Qemu-devel] [PULL 01/10] RISC-V: Split out mstatus_fs from tb_flags

2019-02-02 Thread Palmer Dabbelt
From: Richard Henderson Signed-off-by: Michael Clark Reviewed-by: Michael Clark Signed-off-by: Alistair Francis Signed-off-by: Palmer Dabbelt --- target/riscv/cpu.h | 6 +++--- target/riscv/translate.c | 10 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tar

[Qemu-devel] [PULL 09/10] MAINTAINERS: Remove Michael Clark as a RISC-V Maintainer

2019-02-02 Thread Palmer Dabbelt
Michael is no longer employed by SiFive and does not want to continue maintianing the RISC-V port. Signed-off-by: Palmer Dabbelt --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index af339b86db76..47cb3c14298e 100644 --- a/MAINTAINERS +++ b/MAINTAINER

[Qemu-devel] [PULL 04/10] RISC-V: Use riscv prefix consistently on cpu helpers

2019-02-02 Thread Palmer Dabbelt
From: Michael Clark * Add riscv prefix to raise_exception function * Add riscv prefix to CSR read/write functions * Add riscv prefix to signal handler function * Add riscv prefix to get fflags function * Remove redundant declaration of riscv_cpu_init and rename cpu_riscv_init to riscv_cpu_init

[Qemu-devel] [PATCH] char: allow specifying a GMainContext at opening time

2019-02-02 Thread Paolo Bonzini
This will be needed by vhost-user-test, when each test switches to its own GMainLoop and GMainContext. Otherwise, for a reconnecting socket the initial connection will happen on the default GMainContext, and no one will be listening on it. Signed-off-by: Paolo Bonzini Based-on: <1544684731-18828

[Qemu-devel] [PATCH] char: allow specifying a GMainContext at opening time

2019-02-02 Thread Paolo Bonzini
This will be needed by vhost-user-test, when each test switches to its own GMainLoop and GMainContext. Otherwise, for a reconnecting socket the initial connection will happen on the default GMainContext, and no one will be listening on it. Signed-off-by: Paolo Bonzini Based-on: <1544684731-18828

Re: [Qemu-devel] [Qemu-ppc] qemu_vga.drv missing 256 colors support

2019-02-02 Thread Programmingkid
> On Jan 31, 2019, at 7:49 AM, Howard Spoelstra wrote: > > > > On Thu, Jan 31, 2019 at 12:12 PM Programmingkid > wrote: > After testing a recent commit of QEMU I noticed that 256 color support is > missing in Mac OS 9's color options. A lot of games refuse to run without > being able to s

Re: [Qemu-devel] [PATCH RFC 0/8] i386/kvm/hyper-v: refactor and implement 'hv-stimer-direct' and 'hv-all' enlightenments

2019-02-02 Thread Vitaly Kuznetsov
no-re...@patchew.org writes: > === OUTPUT BEGIN === > 1/8 Checking commit 345a0718e21e (Update linux headers (5.0-rc2)) > WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? > #1646: > new file mode 100644 > > ERROR: code indent should never use tabs > #3980: FILE: scripts/u

[Qemu-devel] [Bug 1814381] [NEW] qemu can't resolve ::1 when no network is available

2019-02-02 Thread Richard Jones
Public bug reported: I'm not sure if this is a qemu thing or a getaddrinfo/glibc thing, or even just something about my laptop. However we have a test failure in nbdkit which only occurs when my laptop is not connected to wifi or other networking. It boils down to:   $ qemu-img info --image-opt

[Qemu-devel] [Bug 1814381] Re: qemu can't resolve ::1 when no network is available

2019-02-02 Thread Richard Jones
ip output when the network is not connected: $ ip a show scope host 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 s

[Qemu-devel] [Bug 1814381] Re: qemu can't resolve ::1 when no network is available

2019-02-02 Thread Richard Jones
ping6 output when the network is not connected: $ ping6 ::1 PING ::1(::1) 56 data bytes 64 bytes from ::1: icmp_seq=1 ttl=64 time=0.082 ms 64 bytes from ::1: icmp_seq=2 ttl=64 time=0.092 ms 64 bytes from ::1: icmp_seq=3 ttl=64 time=0.089 ms ^C --- ::1 ping statistics --- 3 packets transmitted, 3 r

[Qemu-devel] [Bug 1814381] Re: qemu can't resolve ::1 when no network is available

2019-02-02 Thread Richard Jones
The logic in util/qemu-sockets.c is very complicated, containing workarounds for all sorts of broken/obsolete GAI implementations, so it's hard to tell what's going on there. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bug

Re: [Qemu-devel] [PATCH 00/10] Misc fixes to pvrdma device

2019-02-02 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190131130850.6850-1-yuval.sh...@oracle.com/ Hi, This series failed the docker-mingw@fedora build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. === TEST SCRIPT BEGIN =

[Qemu-devel] [PATCH] target-i386: Enhance the stub for kvm_arch_get_supported_cpuid()

2019-02-02 Thread Kamil Rytarowski
This improves the commit: "target-i386: Fix build by providing stub kvm_arch_get_supported_cpuid()" r. 2140cfa51d59177815f5b82e94ac48fb24909aba Clang/LLVM on NetBSD with enabled optimization cannot link correct qemu program because of a missing symbol of kvm_arch_get_supported_cpuid() in kvm-stubs

Re: [Qemu-devel] [PATCH] hax: Support for Linux hosts

2019-02-02 Thread Kamil Rytarowski
On 25.11.2018 18:14, Paolo Bonzini wrote: > On 25/11/18 00:50, Kamil Rytarowski wrote: >> On 22.11.2018 08:24, Kamil Rytarowski wrote: >>> On 16.11.2018 13:52, Paolo Bonzini wrote: On 14/11/18 14:04, Alexandro Sanchez Bach wrote: > Intel HAXM supports now 32-bit and 64-bit Linux hosts. Thi

Re: [Qemu-devel] [PATCH] hw/virtio: Use CONFIG_VIRTIO_PCI switch instead of CONFIG_PCI

2019-02-02 Thread no-reply
Patchew URL: https://patchew.org/QEMU/1548420960--1-git-send-email-th...@redhat.com/ Hi, This series failed the docker-mingw@fedora build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. === TEST SCRIPT BE

Re: [Qemu-devel] [PATCH v2 2/5] ppc: Express dependencies of the 'prep' and '40p' machines with kconfig

2019-02-02 Thread Hervé Poussineau
Le 31/01/2019 à 14:53, Thomas Huth a écrit : Select the required devices in hw/ppc/Kconfig instead, so that ppc-softmmu.mak only contains the user-selectable PREP switch. Plug-in devices like NE2000_ISA are pulled in automatically by the Kconfig build system now. Cc: Hervé Poussineau Signed-off

Re: [Qemu-devel] [RFC PATCH] gdbstub: Avoid NULL dereference in gdb_handle_packet()

2019-02-02 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190118112213.11173-1-phi...@redhat.com/ Hi, This series failed the docker-mingw@fedora build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. === TEST SCRIPT BEGIN === #!

Re: [Qemu-devel] [PATCH] hw/arm/nrf51_soc: set object owner in memory_region_init_ram

2019-02-02 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190125155630.17430-1-sourav.jb1...@gmail.com/ Hi, This series failed the docker-mingw@fedora build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. === TEST SCRIPT BEGIN

Re: [Qemu-devel] [PATCH v2 00/20] Acceptance Tests: target architecture support

2019-02-02 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190202005610.24048-1-cr...@redhat.com/ Hi, This series seems to have some coding style problems. See output below for more information: Subject: [Qemu-devel] [PATCH v2 00/20] Acceptance Tests: target architecture support Type: series Message-id: 2019020

Re: [Qemu-devel] [PATCH v2 00/20] Acceptance Tests: target architecture support

2019-02-02 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190202005610.24048-1-cr...@redhat.com/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20190202005610.24048-1-cr...@redhat.com Subject: [Qemu-devel] [PATCH v2 00/20] Acceptance Tes

Re: [Qemu-devel] [PATCH v2 00/20] Acceptance Tests: target architecture support

2019-02-02 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190202005610.24048-1-cr...@redhat.com/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20190202005610.24048-1-cr...@redhat.com Subject: [Qemu-devel] [PATCH v2 00/20] Acceptance Tes

Re: [Qemu-devel] [PATCH v2 00/20] Acceptance Tests: target architecture support

2019-02-02 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190202005610.24048-1-cr...@redhat.com/ Hi, This series seems to have some coding style problems. See output below for more information: Subject: [Qemu-devel] [PATCH v2 00/20] Acceptance Tests: target architecture support Type: series Message-id: 2019020

Re: [Qemu-devel] [PULL 0/8] Usb 20190130 patches

2019-02-02 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190130073426.11525-1-kra...@redhat.com/ Hi, This series failed the docker-mingw@fedora build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. === TEST SCRIPT BEGIN === #!

Re: [Qemu-devel] [PATCH v2 00/20] Acceptance Tests: target architecture support

2019-02-02 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190202005610.24048-1-cr...@redhat.com/ Hi, This series seems to have some coding style problems. See output below for more information: Subject: [Qemu-devel] [PATCH v2 00/20] Acceptance Tests: target architecture support Message-id: 20190202005610.24048

Re: [Qemu-devel] [PATCH 0/1] migration: calculate expected_downtime considering redirtied ram

2019-02-02 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190122150543.16889-1-bal...@linux.vnet.ibm.com/ Hi, This series failed the docker-mingw@fedora build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. === TEST SCRIPT BEG

[Qemu-devel] [Bug 1814418] [NEW] persistent bitmap will be inconsistent when qemu crash,

2019-02-02 Thread Cheng Chen
Public bug reported: Follow these steps to reappear the bug: 1. start qemu 2. add persistent bitmap: '{ "execute": "block-dirty-bitmap-add", "arguments": {"node": "drive-virtio-disk1","name": "bitmap0", "persistent":true }}' 3. kill -9 qemu (simulate Host crash, eg. lose power) 4. restart qemu

[Qemu-devel] [Bug 1814418] Re: persistent bitmap will be inconsistent when qemu crash,

2019-02-02 Thread Cheng Chen
** Description changed: Follow these steps to reappear the bug: 1. start qemu 2. add persistent bitmap: '{ "execute": "block-dirty-bitmap-add", "arguments": {"node": "drive-virtio-disk1","name": "bitmap0", "persistent":true }}' - 3. kill -9 qemu (simulate Host crash, eg. lose power) - 4

Re: [Qemu-devel] [RFC PATCH] block: local qiov helper

2019-02-02 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190125164601.130556-1-vsement...@virtuozzo.com/ Hi, This series failed the docker-mingw@fedora build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. === TEST SCRIPT BEG

[Qemu-devel] [Bug 1814418] Re: persistent bitmap will be inconsistent when qemu crash,

2019-02-02 Thread Cheng Chen
** Description changed: Follow these steps to reappear the bug: 1. start qemu 2. add persistent bitmap: '{ "execute": "block-dirty-bitmap-add", "arguments": {"node": "drive-virtio-disk1","name": "bitmap0", "persistent":true }}' 3. stop qemu (Friendly shutdown) 4. re-start qemu 5.

[Qemu-devel] [Bug 1814420] [NEW] drive-backup with iscsi, it will failed "Could not create image: Invalid argument"

2019-02-02 Thread Cheng Chen
Public bug reported: I use iscsi protocol to drive-backup: ---iscsi target--- yum -y install targetcli python-rtslib systemctl start target systemctl enable target targetcli /iscsi create iqn.2019-01.com.iaas targetcli /iscsi/iqn.2019-01.com.iaas/tpg1 set attribute authentication=0 demo_mode_wri

Re: [Qemu-devel] [PATCH 07/10] monitor: Expose pvrdma device statistics counters

2019-02-02 Thread Yuval Shaia
On Fri, Feb 01, 2019 at 08:33:44AM +0100, Markus Armbruster wrote: > Eric Blake writes: > > > On 1/31/19 2:08 PM, Yuval Shaia wrote: > >> On Thu, Jan 31, 2019 at 07:17:16AM -0600, Eric Blake wrote: > >>> On 1/31/19 7:08 AM, Yuval Shaia wrote: > Signed-off-by: Yuval Shaia > --- >

Re: [Qemu-devel] [PATCH 07/10] monitor: Expose pvrdma device statistics counters

2019-02-02 Thread Yuval Shaia
On Fri, Feb 01, 2019 at 11:42:57AM +, Dr. David Alan Gilbert wrote: > * Markus Armbruster (arm...@redhat.com) wrote: > > Eric Blake writes: > > > > > On 1/31/19 2:08 PM, Yuval Shaia wrote: > > >> On Thu, Jan 31, 2019 at 07:17:16AM -0600, Eric Blake wrote: > > >>> On 1/31/19 7:08 AM, Yuval Sha

Re: [Qemu-devel] [PATCH v11 for-4.0 06/11] qemu_thread: supplement error handling for emulated_realize

2019-02-02 Thread Fei Li
在 2019/2/1 下午9:04, Markus Armbruster 写道: Fei Li writes: From: Fei Li Utilize the existed errp to propagate the error and do the corresponding cleanup to replace the temporary &error_abort. Cc: Markus Armbruster Cc: Gerd Hoffmann Signed-off-by: Fei Li --- hw/usb/ccid-card-emulated.c |

Re: [Qemu-devel] [PATCH 01/10] hw/rdma: Switch to generic error reporting way

2019-02-02 Thread Yuval Shaia
On Fri, Feb 01, 2019 at 12:36:20PM +, Dr. David Alan Gilbert wrote: > * Yuval Shaia (yuval.sh...@oracle.com) wrote: > > Utilize error_report for all pr_err calls and some pr_dbg that are > > considered as errors. > > For the remaining pr_dbg calls, the important ones were replaced by > > trace

Re: [Qemu-devel] [PATCH v11 for-4.0 09/11] qemu_thread: supplement error handling for migration

2019-02-02 Thread Fei Li
在 2019/2/1 下午11:34, Markus Armbruster 写道: Dave, I tried to review the error paths, in particular resource cleanup, but there's a lot going on, and I'm not feeling confident. Please have a close look. Fei Li writes: From: Fei Li Update qemu_thread_create()'s callers by - setting an error