Re: [Qemu-devel] [RFC 00/17] multi-phase reset mechanism

2019-05-03 Thread Peter Maydell
On Mon, 29 Apr 2019 at 10:41, Peter Maydell wrote: > > On Mon, 29 Apr 2019 at 10:36, Damien Hedde wrote: > > > > Hi All, > > > > Any comment about this ? > > Sorry we haven't got to this yet. This is on my to-review list, > but so are 23 other series, and I've been on holiday for the > past week

Re: [Qemu-devel] [PATCH v4] hw/virtio/virtio-mmio: Convert DPRINTF to trace and log

2019-05-03 Thread Philippe Mathieu-Daudé
On 5/3/19 5:44 PM, Boxuan Li wrote: > Use traces for debug message and qemu_log_mask for errors. > > Signed-off-by: Boxuan Li Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Thanks for all your iterations! > --- > v1:

Re: [Qemu-devel] [PATCH v3 1/4] QEMU_PACKED: Remove gcc_struct attribute in Windows non x86 targets

2019-05-03 Thread Marc-André Lureau
Hi Le ven. 3 mai 2019 à 17:23, Peter Maydell a écrit : > On Fri, 3 May 2019 at 06:07, Thomas Huth wrote: > > > > On 03/05/2019 02.36, Cao Jiaxi wrote: > > > gcc_struct is for x86 only, and it generates an warning on ARM64 > Clang/MinGW targets. > > > > > > Signed-off-by: Cao Jiaxi > > > --- >

Re: [Qemu-devel] [PATCH RFC v8 04/12] target/rx: RX disassembler

2019-05-03 Thread Alex Bennée
Yoshinori Sato writes: > Signed-off-by: Yoshinori Sato > --- > include/disas/dis-asm.h |5 + > target/rx/disas.c | 1481 > +++ > 2 files changed, 1486 insertions(+) > create mode 100644 target/rx/disas.c > > diff --git

Re: [Qemu-devel] [PATCH RFC v8 06/12] hw/intc: RX62N interrupt controller (ICUa)

2019-05-03 Thread Alex Bennée
Yoshinori Sato writes: > This implementation supported only ICUa. > Hardware manual. > https://www.renesas.com/us/en/doc/products/mpumcu/doc/rx_family/r01uh0033ej0140_rx62n.pdf > > Signed-off-by: Yoshinori Sato > --- > include/hw/intc/rx_icu.h | 49 +++ > hw/intc/rx_icu.c | 373

Re: [Qemu-devel] [PATCH] VirtIO-RNG: Update default entropy source to `/dev/urandom`

2019-05-03 Thread Daniel P . Berrangé
On Fri, May 03, 2019 at 05:46:13PM +0200, Kashyap Chamarthy wrote: > When QEMU exposes a VirtIO-RNG device to the guest, that device needs a > source of entropy, and that source needs to be "non-blocking", like > `/dev/urandom`. However, currently QEMU defaults to the problematic > `/dev/random`,

[Qemu-devel] [PATCH] VirtIO-RNG: Update default entropy source to `/dev/urandom`

2019-05-03 Thread Kashyap Chamarthy
When QEMU exposes a VirtIO-RNG device to the guest, that device needs a source of entropy, and that source needs to be "non-blocking", like `/dev/urandom`. However, currently QEMU defaults to the problematic `/dev/random`, which is "blocking" (as in, it waits until sufficient entropy is

[Qemu-devel] [PATCH] VirtIO-RNG: Update default entropy source to `/dev/urandom`

2019-05-03 Thread Kashyap Chamarthy
When QEMU exposes a VirtIO-RNG device to the guest, that device needs a source of entropy, and that source needs to be "non-blocking", like `/dev/urandom`. However, currently QEMU defaults to the problematic `/dev/random`, which is "blocking" (as in, it waits until sufficient entropy is

Re: [Qemu-devel] [PATCH RFC v8 03/12] target/rx: CPU definition

2019-05-03 Thread Alex Bennée
Yoshinori Sato writes: > Signed-off-by: Yoshinori Sato > +{ > +*pc = env->pc; > +*cs_base = 0; > +*flags = FIELD_DP32(*flags, PSW, PM, env->psw_pm); You can't reference flags here, the caller expect you to be setting it's value. Otherwise the compiler will rightfully complain

[Qemu-devel] [PATCH v4] hw/virtio/virtio-mmio: Convert DPRINTF to trace and log

2019-05-03 Thread Boxuan Li
Use traces for debug message and qemu_log_mask for errors. Signed-off-by: Boxuan Li --- v1: https://patchew.org/QEMU/20190428110258.86681-1-libox...@connect.hku.hk/ v2: https://patchew.org/QEMU/20190501081039.58938-1-libox...@connect.hku.hk/ v3:

Re: [Qemu-devel] [PATCH v2] target/arm: Stop using variable length array in dc_zva

2019-05-03 Thread Richard Henderson
On 5/3/19 5:04 AM, Peter Maydell wrote: > Currently the dc_zva helper function uses a variable length > array. In fact we know (as the comment above remarks) that > the length of this array is bounded because the architecture > limits the block size and QEMU limits the target page size. > Use a

Re: [Qemu-devel] [PATCH RFC v8 09/12] hw/rx: RX Target hardware definition

2019-05-03 Thread Alex Bennée
Yoshinori Sato writes: > rx62n - RX62N cpu. > rxqemu - QEMU virtual target. > > Signed-off-by: Yoshinori Sato > --- > include/hw/rx/rx.h| 7 ++ > include/hw/rx/rx62n.h | 54 > hw/rx/rx62n.c | 226 > ++ >

Re: [Qemu-devel] [PATCH RFC v8 12/12] hw/registerfields.h: Add 8bit and 16bit register macros.

2019-05-03 Thread Alex Bennée
Yoshinori Sato writes: > Some RX peripheral using 8bit and 16bit registers. > Added 8bit and 16bit APIs. Doesn't this mean the build breaks at some point? Features used by other patches should be introduced first so the build remains bisectable. > > Signed-off-by: Yoshinori Sato > --- >

Re: [Qemu-devel] [Qemu-arm] [PATCH v6 00/30] Kconfig dependencies for ARM machines

2019-05-03 Thread Peter Maydell
On Fri, 3 May 2019 at 16:15, Thomas Huth wrote: > > On 30/04/2019 09.13, Thomas Huth wrote: > > This series reworks the default-configs/arm-softmmu.mak and > > default-configs/aarch64-softmmu.mak files to use the new Kconfig-style > > dependencies instead. > > > > Some of the patches are slightly

Re: [Qemu-devel] [PATCH v3 1/4] QEMU_PACKED: Remove gcc_struct attribute in Windows non x86 targets

2019-05-03 Thread Peter Maydell
On Fri, 3 May 2019 at 06:07, Thomas Huth wrote: > > On 03/05/2019 02.36, Cao Jiaxi wrote: > > gcc_struct is for x86 only, and it generates an warning on ARM64 > > Clang/MinGW targets. > > > > Signed-off-by: Cao Jiaxi > > --- > > contrib/libvhost-user/libvhost-user.h | 2 +- > >

Re: [Qemu-devel] [PATCH RFC v8 08/12] hw/char: RX62N serical communication interface (SCI)

2019-05-03 Thread Alex Bennée
Yoshinori Sato writes: nit: typo in subject (serical->serial) > This module supported only non FIFO type. > Hardware manual. > https://www.renesas.com/us/en/doc/products/mpumcu/doc/rx_family/r01uh0033ej0140_rx62n.pdf > > Signed-off-by: Yoshinori Sato > --- > include/hw/char/renesas_sci.h |

Re: [Qemu-devel] [PATCH RFC v8 07/12] hw/timer: RX62N internal timer modules

2019-05-03 Thread Alex Bennée
Yoshinori Sato writes: > renesas_tmr: 8bit timer modules. > renesas_cmt: 16bit compare match timer modules. > This part use many renesas's CPU. > Hardware manual. > https://www.renesas.com/us/en/doc/products/mpumcu/doc/rx_family/r01uh0033ej0140_rx62n.pdf > > Signed-off-by: Yoshinori Sato >

Re: [Qemu-devel] [PATCH v6 00/30] Kconfig dependencies for ARM machines

2019-05-03 Thread Thomas Huth
On 30/04/2019 09.13, Thomas Huth wrote: > This series reworks the default-configs/arm-softmmu.mak and > default-configs/aarch64-softmmu.mak files to use the new Kconfig-style > dependencies instead. > > Some of the patches are slightly based on the work by Ákos Kovács: > >

Re: [Qemu-devel] [PULL 0/2] slirp: move slirp as git submodule project

2019-05-03 Thread Peter Maydell
On Fri, 3 May 2019 at 16:05, Philippe Mathieu-Daudé wrote: > FYI I was running MinGW tests with "make docker-test-mingw@fedora > SHOW_ENV=1 J=8 NETWORK=1" and ran "git pull" to refresh my local repo, > and got: > > $ make docker-test-mingw@fedora SHOW_ENV=1 J=8 NETWORK=1 > make[1]: Entering

Re: [Qemu-devel] [PATCH v4 3/8] hw/acpi: Add ACPI Generic Event Device Support

2019-05-03 Thread Igor Mammedov
On Fri, 3 May 2019 12:45:52 + Shameerali Kolothum Thodi wrote: > Hi Igor, > > > -Original Message- > > From: Igor Mammedov [mailto:imamm...@redhat.com] > > Sent: 02 May 2019 17:13 > > To: Shameerali Kolothum Thodi > > Cc: qemu-devel@nongnu.org; qemu-...@nongnu.org; > >

Re: [Qemu-devel] [PATCH v2] arm: aspeed: Set SDRAM size

2019-05-03 Thread Philippe Mathieu-Daudé
On 5/3/19 4:29 AM, Joel Stanley wrote: > We currently use Qemu's default of 128MB. As we know how much ram each > machine ships with, make it easier on users by setting a default. > > It can still be overridden with -m on the command line. > > Signed-off-by: Joel Stanley > Reviewed-by: Andrew

Re: [Qemu-devel] [PULL 0/2] slirp: move slirp as git submodule project

2019-05-03 Thread Philippe Mathieu-Daudé
On 5/3/19 2:54 PM, Peter Maydell wrote: > On Thu, 2 May 2019 at 23:30, Samuel Thibault > wrote: >> >> The following changes since commit 8482ff2eb3bb95020eb2f370a9b3ea26511e41df: >> >> Merge remote-tracking branch 'remotes/jnsnow/tags/bitmaps-pull-request' >> into staging (2019-05-02 12:04:51

Re: [Qemu-devel] [PULL 00/19] Python queue, 2019-05-02

2019-05-03 Thread Peter Maydell
On Fri, 3 May 2019 at 01:41, Eduardo Habkost wrote: > > The following changes since commit 8482ff2eb3bb95020eb2f370a9b3ea26511e41df: > > Merge remote-tracking branch 'remotes/jnsnow/tags/bitmaps-pull-request' > into staging (2019-05-02 12:04:51 +0100) > > are available in the Git repository

Re: [Qemu-devel] [RFC PATCH] tests/qemu-iotests: re-format output to for make check-block

2019-05-03 Thread Thomas Huth
On 03/05/2019 16.39, Alex Bennée wrote: > This attempts to clean-up the output to better match the output of the > rest of the QEMU check system. This includes: > > - formatting as " TESTiotest: nnn" > - calculating time diff at the end > - only dumping config on failure > >

Re: [Qemu-devel] [PATCH RFC v8 06/12] hw/intc: RX62N interrupt controller (ICUa)

2019-05-03 Thread Alex Bennée
Yoshinori Sato writes: > This implementation supported only ICUa. > Hardware manual. > https://www.renesas.com/us/en/doc/products/mpumcu/doc/rx_family/r01uh0033ej0140_rx62n.pdf > > Signed-off-by: Yoshinori Sato Without going into detail matching up to documented behaviour to the code the

[Qemu-devel] [RFC PATCH] tests/qemu-iotests: re-format output to for make check-block

2019-05-03 Thread Alex Bennée
This attempts to clean-up the output to better match the output of the rest of the QEMU check system. This includes: - formatting as " TESTiotest: nnn" - calculating time diff at the end - only dumping config on failure Signed-off-by: Alex Bennée --- tests/qemu-iotests/check | 71

Re: [Qemu-devel] [PATCH v2] vmdk: Set vmdk parent backing_format to vmdk

2019-05-03 Thread Max Reitz
On 03.05.19 13:34, Thomas Huth wrote: > Hi Sam, > > On 02/05/2019 15.08, Sam Eiderman wrote: >> Commit b69864e ("vmdk: Support version=3 in VMDK descriptor files") >> fixed the probe function to correctly guess vmdk descriptors with >> version=3. >> >> This solves the issue where vmdk snapshot

Re: [Qemu-devel] [RFC PATCH v1 08/10] KVM: X86: Introduce KVM_HC_PAGE_ENC_STATUS hypercall

2019-05-03 Thread Singh, Brijesh
On 4/26/19 4:39 PM, Lendacky, Thomas wrote: > On 4/24/19 11:10 AM, Singh, Brijesh wrote: >> The hypercall can be used by the SEV guest to notify the page encryption > > This hyercall is used by the SEV guest to notify a change in the page... > >> status to the hypervisor. The hypercall should

Re: [Qemu-devel] [PULL 0/2] tests/uefi-test-tools: report the SMBIOS entry point structures

2019-05-03 Thread Peter Maydell
On Fri, 3 May 2019 at 10:33, Laszlo Ersek wrote: > > No changes relative to the original posting at > <20190425104326.12835-1-lersek@redhat.com">http://mid.mail-archive.com/20190425104326.12835-1-lersek@redhat.com>, > except for picking up the review/testing tags (also noted separately on > each

Re: [Qemu-devel] [RFC 0/3] target/m68k: convert to transaction_failed hook

2019-05-03 Thread Peter Maydell
On Wed, 12 Dec 2018 at 20:43, Laurent Vivier wrote: > > On 10/12/2018 17:56, Peter Maydell wrote: > > This patchset converts the m68k target from the deprecated > > unassigned_access hook to the new transaction_failed hook. > > It's RFC for a couple of reasons: > > * it's untested, since I don't

Re: [Qemu-devel] [PATCH v4 8/8] hw/arm/boot: Expose the PC-DIMM nodes in the DT

2019-05-03 Thread Laszlo Ersek
Hi Shameer, On 05/03/19 15:35, Shameerali Kolothum Thodi wrote: > > >> -Original Message- >> From: Linuxarm [mailto:linuxarm-boun...@huawei.com] On Behalf Of >> Shameerali Kolothum Thodi >> Sent: 10 April 2019 09:49 >> To: Laszlo Ersek ; qemu-devel@nongnu.org; >> qemu-...@nongnu.org;

Re: [Qemu-devel] [PATCH v5 07/10] qcow2: qcow2_co_preadv: improve locking

2019-05-03 Thread Max Reitz
On 30.04.19 11:44, Vladimir Sementsov-Ogievskiy wrote: > 30.04.2019 11:38, Vladimir Sementsov-Ogievskiy wrote: >> 29.04.2019 19:37, Max Reitz wrote: >>> On 02.04.19 17:37, Vladimir Sementsov-Ogievskiy wrote: Background: decryption will be done in threads, to take benefit of it, we should

Re: [Qemu-devel] [PATCH v3 0/4] Initial Windows on ARM (AArch64 64-Bit) host support

2019-05-03 Thread Peter Maydell
On Fri, 3 May 2019 at 11:20, Philippe Mathieu-Daudé wrote: > > On 5/3/19 2:22 AM, Cao Jiaxi wrote: > > Initial Windows on ARM (AArch64 64-Bit) host support > > > > This series of patches is for initial support of Windows 10 on ARM as a > > QEMU host. > > Currently only TCG intepreter is working

Re: [Qemu-devel] [PATCH v5 01/10] tests/perf: Test qemu-img convert from raw to encrypted qcow2

2019-05-03 Thread Max Reitz
On 30.04.19 10:53, Vladimir Sementsov-Ogievskiy wrote: > 29.04.2019 1:55, Max Reitz wrote: >> On 02.04.19 17:37, Vladimir Sementsov-Ogievskiy wrote: >>> Signed-off-by: Vladimir Sementsov-Ogievskiy >>> --- >>> tests/perf/block/qcow2/convert-to-encrypted | 48 + >>> 1 file

Re: [Qemu-devel] [PULL 0/7] Usb 20190503 v2 patches

2019-05-03 Thread Peter Maydell
ository at: > > git://git.kraxel.org/qemu tags/usb-20190503-v2-pull-request > > for you to fetch changes up to ccb799313a5926a6aa49018bbc67fe6165fad7f3: > > hw/usb: avoid format truncation warning when formatting

Re: [Qemu-devel] [PATCH v1 5/5] hw/arm: Add the Netduino Plus 2

2019-05-03 Thread Peter Maydell
On Thu, 2 May 2019 at 06:41, Alistair Francis wrote: > > Signed-off-by: Alistair Francis > --- > MAINTAINERS | 6 +++ > default-configs/arm-softmmu.mak | 1 + > hw/arm/Kconfig | 3 ++ > hw/arm/Makefile.objs| 1 + > hw/arm/netduinoplus2.c

Re: [Qemu-devel] [PATCH v1 4/5] hw/arm: Add the STM32F4xx SoC

2019-05-03 Thread Peter Maydell
On Thu, 2 May 2019 at 06:41, Alistair Francis wrote: > > Signed-off-by: Alistair Francis > --- > MAINTAINERS | 8 + > default-configs/arm-softmmu.mak | 1 + > hw/arm/Kconfig | 3 + > hw/arm/Makefile.objs| 1 + > hw/arm/stm32f405_soc.c

Re: [Qemu-devel] [PATCH v1 2/5] hw/misc: Add the STM32F4xx EXTI device

2019-05-03 Thread Peter Maydell
On Thu, 2 May 2019 at 06:41, Alistair Francis wrote: > > Signed-off-by: Alistair Francis > --- Reviewed-by: Peter Maydell thanks -- PMM

Re: [Qemu-devel] [PATCH v3 1/2] hw: timer: Add ASPEED RTC device

2019-05-03 Thread Peter Maydell
On Tue, 30 Apr 2019 at 05:40, Joel Stanley wrote: > > The RTC is modeled to provide time and date functionality. It is > initialised at zero to match the hardware. > > There is no modelling of the alarm functionality, which includes the IRQ > line. As there is no guest code to exercise this

Re: [Qemu-devel] [PATCH v2] arm: aspeed: Set SDRAM size

2019-05-03 Thread Peter Maydell
On Fri, 3 May 2019 at 03:30, Joel Stanley wrote: > > We currently use Qemu's default of 128MB. As we know how much ram each > machine ships with, make it easier on users by setting a default. > > It can still be overridden with -m on the command line. > > Signed-off-by: Joel Stanley >

Re: [Qemu-devel] [PATCH v4 8/8] hw/arm/boot: Expose the PC-DIMM nodes in the DT

2019-05-03 Thread Shameerali Kolothum Thodi
> -Original Message- > From: Linuxarm [mailto:linuxarm-boun...@huawei.com] On Behalf Of > Shameerali Kolothum Thodi > Sent: 10 April 2019 09:49 > To: Laszlo Ersek ; qemu-devel@nongnu.org; > qemu-...@nongnu.org; eric.au...@redhat.com; imamm...@redhat.com > Cc: peter.mayd...@linaro.org;

Re: [Qemu-devel] [PATCH v1 1/5] hw/misc: Add the STM32F4xx Sysconfig device

2019-05-03 Thread Peter Maydell
On Thu, 2 May 2019 at 06:40, Alistair Francis wrote: > > Signed-off-by: Alistair Francis > +static void stm32f4xx_syscfg_set_irq(void *opaque, int irq, int level) > +{ > +STM32F4xxSyscfgState *s = opaque; > +int icrreg = irq / 4; > +int startbit = (irq & 3) * 4; > +uint8_t

Re: [Qemu-devel] [PATCH v2 5/6] util: simplify unix_listen()

2019-05-03 Thread Daniel P . Berrangé
On Fri, May 03, 2019 at 03:00:33PM +0200, Marc-André Lureau wrote: > The only caller of unix_listen() left is qga/channel-posix.c. > > There is no need to deal with legacy coma-trailing options ",...". > > Signed-off-by: Marc-André Lureau > --- > util/qemu-sockets.c | 18 ++ >

Re: [Qemu-devel] [PATCH v3 0/2] arm: aspeed: Add RTC Model

2019-05-03 Thread Peter Maydell
On Tue, 30 Apr 2019 at 05:40, Joel Stanley wrote: > > v3: Add some commit messages, resend as v2 didn't send properly > v2: Minor fixes, added vmstate and reset, and rebased on Cédric's series > > Based-on: 20190411161013.4514-4-...@kaod.org > [PATCH 3/3] aspeed: use sysbus_init_child_obj() to

Re: [Qemu-devel] [PATCH v3 2/2] hw/arm/aspeed: Add RTC to SoC

2019-05-03 Thread Peter Maydell
On Tue, 30 Apr 2019 at 05:41, Joel Stanley wrote: > > All systems have an RTC. > > The IRQ is hooked up but the model does not use it at this stage. There > is no guest code that uses it, so this limitation is acceptable. > > Signed-off-by: Joel Stanley Reviewed-by: Peter Maydell thanks --

Re: [Qemu-devel] [PATCH] target/arm: Implement NSACR gating of floating point

2019-05-03 Thread Peter Maydell
On Sat, 13 Apr 2019 at 08:07, Richard Henderson wrote: > > On 4/11/19 5:39 AM, Peter Maydell wrote: > > +static uint64_t cptr_el2_read(CPUARMState *env, const ARMCPRegInfo *ri) > > +{ > > +/* > > + * For A-profile AArch32 EL3, if NSACR.CP10 > > + * is 0 then HCPTR.{TCP11,TCP10} ignore

[Qemu-devel] [PATCH v2 5/6] util: simplify unix_listen()

2019-05-03 Thread Marc-André Lureau
The only caller of unix_listen() left is qga/channel-posix.c. There is no need to deal with legacy coma-trailing options ",...". Signed-off-by: Marc-André Lureau --- util/qemu-sockets.c | 18 ++ 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/util/qemu-sockets.c

[Qemu-devel] [PATCH v2 6/6] contrib: add vhost-user-input

2019-05-03 Thread Marc-André Lureau
Add a vhost-user input backend example, based on virtio-input-host device. It takes an evdev path as argument, and can be associated with a vhost-user-input device via a UNIX socket: $ vhost-user-input -p /dev/input/eventX -s /tmp/vui.sock $ qemu ... -chardev socket,id=vuic,path=/tmp/vui.sock

[Qemu-devel] [PATCH v2 4/6] Add vhost-user-input-pci

2019-05-03 Thread Marc-André Lureau
Add a new virtio-input device, which connects to a vhost-user backend. Instead of reading configuration directly from an input device / evdev (like virtio-input-host), it reads it over vhost-user protocol with {SET,GET}_CONFIG messages. The vhost-user-backend handles the queues & events setup.

[Qemu-devel] [PATCH v2 0/6] Add vhost-user-input

2019-05-03 Thread Marc-André Lureau
Hi, This is the vhost-user-input part of "[PATCH v6 00/11] vhost-user for input & GPU". v2: - build fixes v1: (changes since original v6 series) - add "libvhost-user: fix -Waddress-of-packed-member" & "util: simplify unix_listen()" - use unix_listen() - build vhost-user-input by default (when

[Qemu-devel] [PATCH v2 1/6] libvhost-user: fix -Waddress-of-packed-member

2019-05-03 Thread Marc-André Lureau
/home/elmarco/src/qemu/contrib/libvhost-user/libvhost-user.c: In function ‘vu_set_mem_table_exec_postcopy’: /home/elmarco/src/qemu/contrib/libvhost-user/libvhost-user.c:546:31: warning: taking address of packed member of ‘struct VhostUserMsg’ may result in an unaligned pointer value

[Qemu-devel] [PATCH v2 3/6] Add vhost-user-backend

2019-05-03 Thread Marc-André Lureau
Create a vhost-user-backend object that holds a connection to a vhost-user backend (or "slave" process) and can be referenced from virtio devices that support it. See later patches for input & gpu usage. Note: a previous iteration of this object made it user-creatable, and allowed managed

[Qemu-devel] [PATCH v2 2/6] libvhost-user: add PROTOCOL_F_CONFIG if {set, get}_config

2019-05-03 Thread Marc-André Lureau
Add the config protocol feature bit if the set_config & get_config callbacks are implemented. Signed-off-by: Marc-André Lureau --- contrib/libvhost-user/libvhost-user.c | 4 1 file changed, 4 insertions(+) diff --git a/contrib/libvhost-user/libvhost-user.c

Re: [Qemu-devel] [PATCH v2] gitmodules: use qemu.org git mirrors

2019-05-03 Thread Peter Maydell
On Thu, 2 May 2019 at 11:11, Peter Maydell wrote: > > On Wed, 1 May 2019 at 17:20, Stefan Hajnoczi wrote: > > > > On Thu, Apr 25, 2019 at 03:54:20PM +0100, Stefan Hajnoczi wrote: > > > qemu.org hosts git repository mirrors of all submodules. Update > > > .gitmodules to use the mirrors and not

Re: [Qemu-devel] [PULL 0/2] slirp: move slirp as git submodule project

2019-05-03 Thread Peter Maydell
On Thu, 2 May 2019 at 23:30, Samuel Thibault wrote: > > The following changes since commit 8482ff2eb3bb95020eb2f370a9b3ea26511e41df: > > Merge remote-tracking branch 'remotes/jnsnow/tags/bitmaps-pull-request' > into staging (2019-05-02 12:04:51 +0100) > > are available in the Git repository

Re: [Qemu-devel] [PATCH RESEND 0/2] ui/cocoa: Fix absolute and relative input issues on Mojave

2019-05-03 Thread Peter Maydell
On Sun, 28 Apr 2019 at 04:30, Chen Zhang wrote: > > The following patches fixed absolute and relative input device issues on > macOS Mojave. > > Chen Zhang (2): > ui/cocoa: Fix absolute input device grabbing issue on Mojave > ui/cocoa: Fix mouse grabbing in fullscreen mode for relative input

Re: [Qemu-devel] [PATCH v4 3/8] hw/acpi: Add ACPI Generic Event Device Support

2019-05-03 Thread Shameerali Kolothum Thodi
Hi Igor, > -Original Message- > From: Igor Mammedov [mailto:imamm...@redhat.com] > Sent: 02 May 2019 17:13 > To: Shameerali Kolothum Thodi > Cc: qemu-devel@nongnu.org; qemu-...@nongnu.org; > eric.au...@redhat.com; peter.mayd...@linaro.org; > shannon.zha...@gmail.com;

Re: [Qemu-devel] [PATCH v4 4/8] hw/arm/virt: Add memory hotplug framework

2019-05-03 Thread Shameerali Kolothum Thodi
> -Original Message- > From: Igor Mammedov [mailto:imamm...@redhat.com] > Sent: 02 May 2019 17:19 > To: Shameerali Kolothum Thodi > Cc: qemu-devel@nongnu.org; qemu-...@nongnu.org; > eric.au...@redhat.com; peter.mayd...@linaro.org; > shannon.zha...@gmail.com; sa...@linux.intel.com; >

Re: [Qemu-devel] [PATCH v3 02/40] s390x/tcg: Implement VECTOR ADD COMPUTE CARRY

2019-05-03 Thread David Hildenbrand
On 03.05.19 05:45, Richard Henderson wrote: > On 5/2/19 7:09 AM, David Hildenbrand wrote: >> 128-bit handling courtesy of Richard H. >> >> Signed-off-by: David Hildenbrand >> --- >> target/s390x/insn-data.def | 2 + >> target/s390x/translate_vx.inc.c | 94 +

[Qemu-devel] [PATCH v2] linux-user: elf: Map empty PT_LOAD segments

2019-05-03 Thread Giuseppe Musacchio
Some PT_LOAD segments may be completely zeroed out and their p_filesize is zero, in that case the loader should just allocate a page that's at least p_memsz bytes large (plus eventual alignment padding). Calling zero_bss does this job for us, all we have to do is make sure we don't try to mmap a

Re: [Qemu-devel] [PATCH for-4.0?] arm: Allow system registers for KVM guests to be changed by QEMU code

2019-05-03 Thread Peter Maydell
On Mon, 25 Mar 2019 at 10:25, Peter Maydell wrote: > > On Mon, 18 Mar 2019 at 15:59, Alex Bennée wrote: > > > > > > Peter Maydell writes: [...] > > > Support this by making kvm_arch_put_registers() synchronize > > > CPU state back into the list. We sync only those registers > > > where the

Re: [Qemu-devel] [PATCH] block/rbd: implement .bdrv_get_allocated_file_size callback

2019-05-03 Thread Stefano Garzarella
On Fri, May 03, 2019 at 07:55:01AM -0400, Jason Dillaman wrote: > On Fri, May 3, 2019 at 7:02 AM Stefano Garzarella wrote: > > > > This patch allows 'qemu-img info' to show the 'disk size' for > > rbd images. We use the rbd_diff_iterate2() API to calculate the > > allocated size for the image. >

Re: [Qemu-devel] Request for comment - dynamic VNC keyboard mapping

2019-05-03 Thread Daniel P . Berrangé
On Fri, May 03, 2019 at 01:47:15PM +0200, Mario wrote: > Hi all, > > I have a question related to the VNC server keyboard settings. Currently > the user of qemu has to decide before VM startup which language is used > for VNC keyboard mapping. If no keyboard is configured, the en-us keyboard >

[Qemu-devel] [PATCH v2] target/arm: Stop using variable length array in dc_zva

2019-05-03 Thread Peter Maydell
Currently the dc_zva helper function uses a variable length array. In fact we know (as the comment above remarks) that the length of this array is bounded because the architecture limits the block size and QEMU limits the target page size. Use a fixed array size and assert that we don't run off

Re: [Qemu-devel] [PATCH] block/rbd: implement .bdrv_get_allocated_file_size callback

2019-05-03 Thread Jason Dillaman
On Fri, May 3, 2019 at 7:02 AM Stefano Garzarella wrote: > > This patch allows 'qemu-img info' to show the 'disk size' for > rbd images. We use the rbd_diff_iterate2() API to calculate the > allocated size for the image. > > Signed-off-by: Stefano Garzarella > --- > block/rbd.c | 33

Re: [Qemu-devel] [PATCH] linux-user: elf: Map empty PT_LOAD sections

2019-05-03 Thread Peter Maydell
On Thu, 18 Apr 2019 at 17:46, Giuseppe Musacchio wrote: > > Some PT_LOAD sections may be completely zeroed out and their p_filesize > is zero, in that case the loader should just allocate a page that's at > least p_memsz bytes large (plus eventual alignment padding). Thanks for this patch --

[Qemu-devel] Request for comment - dynamic VNC keyboard mapping

2019-05-03 Thread Mario
Hi all, I have a question related to the VNC server keyboard settings. Currently the user of qemu has to decide before VM startup which language is used for VNC keyboard mapping. If no keyboard is configured, the en-us keyboard will be loaded for keysym to scancode conversion. A later

Re: [Qemu-devel] [PATCH v2] vmdk: Set vmdk parent backing_format to vmdk

2019-05-03 Thread Thomas Huth
Hi Sam, On 02/05/2019 15.08, Sam Eiderman wrote: > Commit b69864e ("vmdk: Support version=3 in VMDK descriptor files") > fixed the probe function to correctly guess vmdk descriptors with > version=3. > > This solves the issue where vmdk snapshot with parent vmdk descriptor > containing

[Qemu-devel] [PULL v2 09/12] net: Print output of "-net nic, model=help" to stdout instead of stderr

2019-05-03 Thread Laurent Vivier
From: Thomas Huth We are printing all other help output to stdout already (e.g. "-help", "-cpu help" and "-machine help" output). So the "-net nic,model=help" output should go to stdout instead of stderr, too. And while we're at it, also print the NICs line by line, like we do it e.g. with the

[Qemu-devel] [PULL v2 10/12] Makefile: Let the 'clean' rule remove qemu-ga.exe on Windows hosts

2019-05-03 Thread Laurent Vivier
From: Philippe Mathieu-Daudé Commit 48ff7a625b36 added the QEMU Guest Agent tool with the optional ".exe" suffix for Windows hosts, but forgot to use this suffix in the 'clean' rule. Calling this rule let a dangling executable in the build directory. Correct this by using the proper optional

Re: [Qemu-devel] [Qemu-trivial] [PATCH v3] hw/char/escc: Lower irq when transmit buffer is filled

2019-05-03 Thread Mark Cave-Ayland
On 03/05/2019 08:21, Laurent Vivier wrote: >>> Mark, Artyom, are you OK with this patch? >> >> I started testing this with my OpenBIOS test images at the start of the >> week, but >> unfortunately got distracted by real life :) >> >> I've now finished and confirmed there are no regressions in my

[Qemu-devel] [PULL v2 05/12] qom: use object_new_with_type in object_new_with_propv

2019-05-03 Thread Laurent Vivier
From: Wei Yang Function object_new_with_propv already get the Type of the object, so we could leverage object_new_with_type here. Signed-off-by: Wei Yang Reviewed-by: Marc-André Lureau Reviewed-by: Stefano Garzarella Message-Id: <20190311083234.20841-1-richardw.y...@linux.intel.com>

[Qemu-devel] [PULL v2 05/12] qom: use object_new_with_type in object_new_with_propv

2019-05-03 Thread Laurent Vivier
From: Wei Yang Function object_new_with_propv already get the Type of the object, so we could leverage object_new_with_type here. Signed-off-by: Wei Yang Reviewed-by: Marc-André Lureau Reviewed-by: Stefano Garzarella Message-Id: <20190311083234.20841-1-richardw.y...@linux.intel.com>

[Qemu-devel] [PULL v2 12/12] sockets: avoid string truncation warnings when copying UNIX path

2019-05-03 Thread Laurent Vivier
From: Daniel P. Berrangé In file included from /usr/include/string.h:494, from include/qemu/osdep.h:101, from util/qemu-sockets.c:18: In function ‘strncpy’, inlined from ‘unix_connect_saddr.isra.0’ at util/qemu-sockets.c:925:5:

[Qemu-devel] [PULL v2 11/12] hw/sparc/leon3: Allow load of uImage firmwares

2019-05-03 Thread Laurent Vivier
From: Philippe Mathieu-Daudé Currently the Leon3 machine doesn't allow to load legacy u-boot images: $ qemu-system-sparc -M leon3_generic -d in_asm \ -kernel HelenOS-0.6.0-sparc32-leon3.bin qemu-system-sparc: could not load kernel 'HelenOS-0.6.0-sparc32-leon3.bin' $ file

[Qemu-devel] [PULL v2 04/12] doc: fix the configuration path

2019-05-03 Thread Laurent Vivier
From: Marc-André Lureau Use a CONFDIR variable to show the configured sysconf path in the generated documentations (html, man pages etc). Related to: https://bugzilla.redhat.com/show_bug.cgi?id=1644985 Signed-off-by: Marc-André Lureau Reviewed-by: Philippe Mathieu-Daudé Message-Id:

[Qemu-devel] [PULL v2 02/12] CODING_STYLE: specify the indent rule for multiline code

2019-05-03 Thread Laurent Vivier
From: Wei Yang We didn't specify the indent rule for multiline code here, which may mislead users. And in current code, the code use various styles. Add this rule in CODING_STYLE to make sure this is clear to every one. Signed-off-by: Wei Yang Suggested-by: Igor Mammedov Reviewed-by: Igor

[Qemu-devel] [PULL v2 01/12] hw/net/pcnet: Use qemu_log_mask(GUEST_ERROR) instead of printf

2019-05-03 Thread Laurent Vivier
From: Philippe Mathieu-Daudé Avoid to clutter stdout until explicitly requested (with -d guest_errors): $ qemu-system-mips -M malta -m 512 -kernel vmlinux-3.2.0-4-4kc-malta Bad SWSTYLE=0x04 Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Message-Id:

Re: [Qemu-devel] [PULL v2 00/12] Trivial branch patches

2019-05-03 Thread Laurent Vivier
On 03/05/2019 13:19, Laurent Vivier wrote: > The following changes since commit 8482ff2eb3bb95020eb2f370a9b3ea26511e41df: > > Merge remote-tracking branch 'remotes/jnsnow/tags/bitmaps-pull-request' > into staging (2019-05-02 12:04:51 +0100) > > are available in the Git repository at: > >

[Qemu-devel] [PULL v2 00/12] Trivial branch patches

2019-05-03 Thread Laurent Vivier
The following changes since commit 8482ff2eb3bb95020eb2f370a9b3ea26511e41df: Merge remote-tracking branch 'remotes/jnsnow/tags/bitmaps-pull-request' into staging (2019-05-02 12:04:51 +0100) are available in the Git repository at: git://github.com/vivier/qemu.git

[Qemu-devel] [PULL v2 08/12] Header cleanups

2019-05-03 Thread Laurent Vivier
From: Aruna Jayasena Removed unwanted includes from cpu-common.h This task was under https://wiki.qemu.org/Contribute/BiteSizedTasks Signed-off-by: Aruna Jayasena Reviewed-by: Peter Maydell Reviewed-by: Thomas Huth Message-Id: <20190409155635.10276-1-aruna...@cse.mrt.ac.lk> [lv: fix conflict

[Qemu-devel] [PULL v2 03/12] CODING_STYLE: indent example code as all others

2019-05-03 Thread Laurent Vivier
From: Wei Yang All the example code are indented with four spaces except this one. Fix this by adding four spaces here. Signed-off-by: Wei Yang Reviewed-by: Eric Blake Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Igor Mammedov Reviewed-by: Stefano Garzarella Message-Id:

[Qemu-devel] [PULL v2 03/12] CODING_STYLE: indent example code as all others

2019-05-03 Thread Laurent Vivier
From: Wei Yang All the example code are indented with four spaces except this one. Fix this by adding four spaces here. Signed-off-by: Wei Yang Reviewed-by: Eric Blake Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Igor Mammedov Reviewed-by: Stefano Garzarella Message-Id:

Re: [Qemu-devel] [PULL v2 00/12] Trivial branch patches

2019-05-03 Thread Laurent Vivier
On 03/05/2019 13:18, Laurent Vivier wrote: > The following changes since commit 8482ff2eb3bb95020eb2f370a9b3ea26511e41df: > > Merge remote-tracking branch 'remotes/jnsnow/tags/bitmaps-pull-request' > into staging (2019-05-02 12:04:51 +0100) > > are available in the Git repository at: > >

[Qemu-devel] [PULL v2 07/12] Update configure

2019-05-03 Thread Laurent Vivier
From: Stefan Weil The last *.aml file was removed in commit 13b1881aacc7e5018773bd545bbaf8d5476699ee. Signed-off-by: Stefan Weil Reviewed-by: Igor Mammedov Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20190409053320.14612-1...@weilnetz.de> Signed-off-by: Laurent Vivier --- configure |

[Qemu-devel] [PULL v2 02/12] CODING_STYLE: specify the indent rule for multiline code

2019-05-03 Thread Laurent Vivier
From: Wei Yang We didn't specify the indent rule for multiline code here, which may mislead users. And in current code, the code use various styles. Add this rule in CODING_STYLE to make sure this is clear to every one. Signed-off-by: Wei Yang Suggested-by: Igor Mammedov Reviewed-by: Igor

[Qemu-devel] [PULL v2 05/12] qom: use object_new_with_type in object_new_with_propv

2019-05-03 Thread Laurent Vivier
From: Wei Yang Function object_new_with_propv already get the Type of the object, so we could leverage object_new_with_type here. Signed-off-by: Wei Yang Reviewed-by: Marc-André Lureau Reviewed-by: Stefano Garzarella Message-Id: <20190311083234.20841-1-richardw.y...@linux.intel.com>

[Qemu-devel] [PULL v2 04/12] doc: fix the configuration path

2019-05-03 Thread Laurent Vivier
From: Marc-André Lureau Use a CONFDIR variable to show the configured sysconf path in the generated documentations (html, man pages etc). Related to: https://bugzilla.redhat.com/show_bug.cgi?id=1644985 Signed-off-by: Marc-André Lureau Reviewed-by: Philippe Mathieu-Daudé Message-Id:

[Qemu-devel] [PULL v2 06/12] configure: fix pam test warning

2019-05-03 Thread Laurent Vivier
From: "Dr. David Alan Gilbert" The pam test generates a warning on Fedora 29 with -O3 compilation because the headers declare that the pam_conversation pointer to pam_start must be non-NULL. Change it to use the same 0 initialised structure as we actually use in qauthz. Signed-off-by: Dr.

[Qemu-devel] [PULL v2 01/12] hw/net/pcnet: Use qemu_log_mask(GUEST_ERROR) instead of printf

2019-05-03 Thread Laurent Vivier
From: Philippe Mathieu-Daudé Avoid to clutter stdout until explicitly requested (with -d guest_errors): $ qemu-system-mips -M malta -m 512 -kernel vmlinux-3.2.0-4-4kc-malta Bad SWSTYLE=0x04 Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Message-Id:

[Qemu-devel] [PULL v2 06/12] configure: fix pam test warning

2019-05-03 Thread Laurent Vivier
From: "Dr. David Alan Gilbert" The pam test generates a warning on Fedora 29 with -O3 compilation because the headers declare that the pam_conversation pointer to pam_start must be non-NULL. Change it to use the same 0 initialised structure as we actually use in qauthz. Signed-off-by: Dr.

[Qemu-devel] [PULL v2 06/12] configure: fix pam test warning

2019-05-03 Thread Laurent Vivier
From: "Dr. David Alan Gilbert" The pam test generates a warning on Fedora 29 with -O3 compilation because the headers declare that the pam_conversation pointer to pam_start must be non-NULL. Change it to use the same 0 initialised structure as we actually use in qauthz. Signed-off-by: Dr.

[Qemu-devel] [PULL v2 07/12] Update configure

2019-05-03 Thread Laurent Vivier
From: Stefan Weil The last *.aml file was removed in commit 13b1881aacc7e5018773bd545bbaf8d5476699ee. Signed-off-by: Stefan Weil Reviewed-by: Igor Mammedov Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20190409053320.14612-1...@weilnetz.de> Signed-off-by: Laurent Vivier --- configure |

[Qemu-devel] [PULL v2 04/12] doc: fix the configuration path

2019-05-03 Thread Laurent Vivier
From: Marc-André Lureau Use a CONFDIR variable to show the configured sysconf path in the generated documentations (html, man pages etc). Related to: https://bugzilla.redhat.com/show_bug.cgi?id=1644985 Signed-off-by: Marc-André Lureau Reviewed-by: Philippe Mathieu-Daudé Message-Id:

[Qemu-devel] [PULL v2 07/12] Update configure

2019-05-03 Thread Laurent Vivier
From: Stefan Weil The last *.aml file was removed in commit 13b1881aacc7e5018773bd545bbaf8d5476699ee. Signed-off-by: Stefan Weil Reviewed-by: Igor Mammedov Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20190409053320.14612-1...@weilnetz.de> Signed-off-by: Laurent Vivier --- configure |

[Qemu-devel] [PULL v2 01/12] hw/net/pcnet: Use qemu_log_mask(GUEST_ERROR) instead of printf

2019-05-03 Thread Laurent Vivier
From: Philippe Mathieu-Daudé Avoid to clutter stdout until explicitly requested (with -d guest_errors): $ qemu-system-mips -M malta -m 512 -kernel vmlinux-3.2.0-4-4kc-malta Bad SWSTYLE=0x04 Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Message-Id:

[Qemu-devel] [PULL v2 00/12] Trivial branch patches

2019-05-03 Thread Laurent Vivier
The following changes since commit 8482ff2eb3bb95020eb2f370a9b3ea26511e41df: Merge remote-tracking branch 'remotes/jnsnow/tags/bitmaps-pull-request' into staging (2019-05-02 12:04:51 +0100) are available in the Git repository at: git://github.com/vivier/qemu.git

[Qemu-devel] [PULL v2 03/12] CODING_STYLE: indent example code as all others

2019-05-03 Thread Laurent Vivier
From: Wei Yang All the example code are indented with four spaces except this one. Fix this by adding four spaces here. Signed-off-by: Wei Yang Reviewed-by: Eric Blake Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Igor Mammedov Reviewed-by: Stefano Garzarella Message-Id:

[Qemu-devel] [PULL v2 02/12] CODING_STYLE: specify the indent rule for multiline code

2019-05-03 Thread Laurent Vivier
From: Wei Yang We didn't specify the indent rule for multiline code here, which may mislead users. And in current code, the code use various styles. Add this rule in CODING_STYLE to make sure this is clear to every one. Signed-off-by: Wei Yang Suggested-by: Igor Mammedov Reviewed-by: Igor

[Qemu-devel] [PULL v2 00/12] Trivial branch patches

2019-05-03 Thread Laurent Vivier
The following changes since commit 8482ff2eb3bb95020eb2f370a9b3ea26511e41df: Merge remote-tracking branch 'remotes/jnsnow/tags/bitmaps-pull-request' into staging (2019-05-02 12:04:51 +0100) are available in the Git repository at: git://github.com/vivier/qemu.git

<    1   2   3   >