Re: [PATCH v4 4/5] iotests: move bitmap helpers into their own file

2020-09-02 Thread Vladimir Sementsov-Ogievskiy
02.09.2020 21:18, Eric Blake wrote: From: John Snow Signed-off-by: John Snow Message-Id:<20200514034922.24834-5-js...@redhat.com> Signed-off-by: Eric Blake You forget my: Reviewed-by: Vladimir Sementsov-Ogievskiy -- Best regards, Vladimir

Re: [PATCH v4 2/5] blockdev: combine DriveBackupState and BlockdevBackupState

2020-09-02 Thread Vladimir Sementsov-Ogievskiy
02.09.2020 21:18, Eric Blake wrote: From: John Snow They have the same fields -- rename it BlockJobActionState. commit/abort/clean functions are identical after it. I think better to combine them as well here (no changes from v3) -- Best regards, Vladimir

Re: [PATCH v4 0/5] block: add block-dirty-bitmap-populate job

2020-09-02 Thread Vladimir Sementsov-Ogievskiy
02.09.2020 21:18, Eric Blake wrote: This is NOT the final version of this patch series, but I'm posting it to revive conversation on the topic while fixing it to compile on top of meson changes. v3 was: https://lists.gnu.org/archive/html/qemu-devel/2020-06/msg06258.html 001/5:[0025] [FC] 'block

Re: meson: how to determine which directory applies to the c_args during build?

2020-09-02 Thread Bin Meng
Hi Paolo, On Thu, Sep 3, 2020 at 1:28 PM Paolo Bonzini wrote: > > > > Il gio 3 set 2020, 06:43 Bin Meng ha scritto: >> >> It seems to me that when building hw/char directory NEED_CPU_H is not >> defined. However when building hw/riscv and hw/intc NEED_CPU_H is >> defined. I have no clue where to

Re: [PATCH v1 3/6] net/can: Add can_dlc2len and can_len2dlc for CAN FD.

2020-09-02 Thread Vikram Garhwal
On Thu, Sep 03, 2020 at 08:12:42AM +0200, Pavel Pisa wrote: Hey Pavel, Thanks for clarifying this and sharing the relevant links. Regards, Vikram > Hello Vikram, > > On Thursday 03 of September 2020 07:43:34 Vikram Garhwal wrote: > > On Tue, Jul 14, 2020 at 02:20:16PM +0200, p...@cmp.felk.cvut.cz

Re: [RFC 0/3] try to solve the DMA to MMIO issue

2020-09-02 Thread Li Qiang
Jason Wang 于2020年9月3日周四 下午2:16写道: > > > On 2020/9/3 下午12:50, Li Qiang wrote: > > Jason Wang 于2020年9月3日周四 下午12:24写道: > >> > >> On 2020/9/3 下午12:06, Alexander Bulekov wrote: > >>> On 200903 1154, Jason Wang wrote: > On 2020/9/3 上午12:22, Li Qiang wrote: > > The qemu device fuzzer has found

Re: [RFC 0/3] try to solve the DMA to MMIO issue

2020-09-02 Thread Jason Wang
On 2020/9/3 下午12:50, Li Qiang wrote: Jason Wang 于2020年9月3日周四 下午12:24写道: On 2020/9/3 下午12:06, Alexander Bulekov wrote: On 200903 1154, Jason Wang wrote: On 2020/9/3 上午12:22, Li Qiang wrote: The qemu device fuzzer has found several DMA to MMIO issue. These issues is caused by the guest driv

Re: [PATCH v1 3/6] net/can: Add can_dlc2len and can_len2dlc for CAN FD.

2020-09-02 Thread Pavel Pisa
Hello Vikram, On Thursday 03 of September 2020 07:43:34 Vikram Garhwal wrote: > On Tue, Jul 14, 2020 at 02:20:16PM +0200, p...@cmp.felk.cvut.cz wrote: > Hi Pavel, > > > From: Jan Charvat > > > > Signed-off-by: Jan Charvat > > Signed-off-by: Pavel Pisa > > --- > > include/net/can_emu.h | 4 +++

[Bug 1894029] Re: qemu-i386 malloc error

2020-09-02 Thread Tony.LI
** Description changed: Hi!I use qemu-i386-static on 64 bit machines.And memory request succeeded, but the pointer is wrong. This is my test program: #include #include #include #include int main(int argc, char **argv) { - void *pa=0,*pb=0,*pc=0,*pd=0; - p

Re: [PATCH 6/7] hw/display/artist: Fix artist screen resolution

2020-09-02 Thread Helge Deller
New patch #2: From b0f0d24563df504b8221fbc934d25c5a896e0a49 Mon Sep 17 00:00:00 2001 From: Helge Deller Subject: [PATCH] hw/display/artist: Refactor x/y coordination extraction Simplify the code by using new introduced ADDR_TO_Y() and ADDR_TO_X() macros. Those macros extract the x/y-coordinate f

Re: [PATCH 6/7] hw/display/artist: Fix artist screen resolution

2020-09-02 Thread Helge Deller
New patch #3/3: From 476aeb9b832ae172a9d6a28aa9e43300dedd419b Mon Sep 17 00:00:00 2001 Subject: [PATCH] hw/display/artist: Allow screen size up to 2048 lines Adjust the ADDR_TO_Y() macro to extract 11 bits, which allows userspace to address screen sizes up to 2048 lines (instead of 1024 before).

Re: [PATCH 6/7] hw/display/artist: Fix artist screen resolution

2020-09-02 Thread Helge Deller
New patch #1: From 80ad61c2ba25ca608b7c1c1cf701ae8164219cf6 Mon Sep 17 00:00:00 2001 From: Helge Deller Subject: [PATCH] hw/display/artist: Verify artist screen resolution Artist hardware is limited to 2048 x 2048 pixels. STI ROMs allow at minimum 640 x 480 pixels. Qemu users can adjust the scr

Re: [RFC v8 4/5] intel_iommu: Do not notify regular iotlb to device-iotlb notifiers

2020-09-02 Thread Eugenio Perez Martin
On Tue, Sep 1, 2020 at 11:06 PM Peter Xu wrote: > > On Tue, Sep 01, 2020 at 04:26:07PM +0200, Eugenio Pérez wrote: > > This improves performance in case of netperf with vhost-net: > > * TCP_STREAM: From 1923.6Mbit/s to 2175.13Mbit/s (13%) > > * TCP_RR: From 8464.73 trans/s to 8932.70 trans/s (

Re: [PATCH] stubs: Move qemu_fd_register stub to util/main-loop.c

2020-09-02 Thread Paolo Bonzini
Acked-by: Paolo Bonzini Il gio 3 set 2020, 07:45 Thomas Huth ha scritto: > The linker of MinGW sometimes runs into the following problem: > > libqemuutil.a(util_main-loop.c.obj): In function `qemu_fd_register': > /builds/huth/qemu/build/../util/main-loop.c:331: multiple definition of > `qemu_f

Re: [PATCH 5/6] tests: handling signal on win32 properly

2020-09-02 Thread Thomas Huth
On 02/09/2020 19.04, Paolo Bonzini wrote: > On 02/09/20 19:00, Yonggang Luo wrote: >> SIGABRT should use signal(SIGABRT, sigabrt_handler) to handle on win32 >> >> The error: >> E:/CI-Cor-Ready/xemu/qemu.org/tests/test-replication.c:559:33: error: >> invalid use of undefined type 'struct sigaction'

[Bug 1893758] Re: meson: scary KeyboardInterrupt backtrace displayed

2020-09-02 Thread Paolo Bonzini
That's just how Python works. :-( https://bugs.python.org/issue14229 ** Bug watch added: Python Roundup #14229 http://bugs.python.org/issue14229 ** Changed in: qemu Status: New => Won't Fix -- You received this bug notification because you are a member of qemu- devel-ml, which is sub

Re: [PULL v2 00/15] Cirrus-CI improvements, and other CI-related fixes, m68k

2020-09-02 Thread Gerd Hoffmann
Hi, > Darn. I've added Gerd's patch since it is needed to fix the acceptance > tests in the Gitlab-CI. Could we maybe revert the patch that introduced > the regression instead, as long as no other proper fix is available? The > failing CI is really bugging me. Well, ddcf607fa3d6 fixes another n

[PATCH] stubs: Move qemu_fd_register stub to util/main-loop.c

2020-09-02 Thread Thomas Huth
The linker of MinGW sometimes runs into the following problem: libqemuutil.a(util_main-loop.c.obj): In function `qemu_fd_register': /builds/huth/qemu/build/../util/main-loop.c:331: multiple definition of `qemu_fd_register' libqemuutil.a(stubs_fd-register.c.obj):/builds/huth/qemu/stubs/fd-register

Re: [PATCH v1 3/6] net/can: Add can_dlc2len and can_len2dlc for CAN FD.

2020-09-02 Thread Vikram Garhwal
On Tue, Jul 14, 2020 at 02:20:16PM +0200, p...@cmp.felk.cvut.cz wrote: Hi Pavel, > From: Jan Charvat > > Signed-off-by: Jan Charvat > Signed-off-by: Pavel Pisa > --- > include/net/can_emu.h | 4 > net/can/can_core.c| 36 > 2 files changed, 40 inser

Re: [PATCH v1 1/6] net/can: Initial host SocketCan support for CAN FD.

2020-09-02 Thread Vikram Garhwal
On Wed, Sep 02, 2020 at 09:51:44AM +0200, Pavel Pisa wrote: Hi Pavel, > Hello Vikram, > > thanks much for the patches review. > > On Tuesday 01 of September 2020 22:01:26 Vikram Garhwal wrote: > > Hi Jan, > > A couple of comments on this patch. > > > > On Tue, Jul 14, 2020 at 02:20:14PM +0200, p...

Re: [PATCH] usb-host: workaround libusb bug

2020-09-02 Thread Gerd Hoffmann
On Wed, Sep 02, 2020 at 03:31:46PM +0100, Alex Bennée wrote: > > Gerd Hoffmann writes: > > >> > +#include > > > >> > +int rc = ioctl(hostfd, USBDEVFS_GET_SPEED, NULL); > >> > >> This (further) breaks a bunch of the Travis jobs - I assume because libusb > >> doesn't > >> always have th

RE: [PATCH v1 1/6] net/can: Initial host SocketCan support for CAN FD.

2020-09-02 Thread Vikram Garhwal
Hi Pavel, Forgot to add this in last reply: Francisco Iglesias(in cc) was also involved a lot in net/can QEMU devices and willing to help in the review if needed. Regards Vikram > -Original Message- > From: Vikram Garhwal > Sent: Wednesday, September 2, 2020 10:20 PM > To: Pavel Pisa

Re: meson: how to determine which directory applies to the c_args during build?

2020-09-02 Thread Paolo Bonzini
Il gio 3 set 2020, 06:43 Bin Meng ha scritto: > It seems to me that when building hw/char directory NEED_CPU_H is not > defined. However when building hw/riscv and hw/intc NEED_CPU_H is > defined. I have no clue where to control c_args to build sub-directories. > Any suggestions? Hi! The commo

[Bug 1894029] Re: qemu-i386 malloc error

2020-09-02 Thread Michael Tokarev
Please stop asking questions using a bug tracking system, this is rude. No it is not a bug, it appears you can't do simple arithmetics, -- the pointer is increased by 16 bytes not 2. ** Changed in: qemu Status: New => Invalid -- You received this bug notification because you are a member

Re: [RFC 3/3] virtio-gpu: make the IO handler reentrant

2020-09-02 Thread Michael Tokarev
02.09.2020 19:22, Li Qiang wrote: .. > @@ -809,6 +809,10 @@ void virtio_gpu_process_cmdq(VirtIOGPU *g) > { > struct virtio_gpu_ctrl_command *cmd; > > +if (atomic_read(&g->in_io)) { > +return; > +} > +atomic_set(&g->in_io, 1); Can't we race in these two instructions? Bot

Re: [PULL v2 00/15] Cirrus-CI improvements, and other CI-related fixes, m68k

2020-09-02 Thread Thomas Huth
On 02/09/2020 22.19, Peter Maydell wrote: > On Wed, 2 Sep 2020 at 16:49, Thomas Huth wrote: >> >> Hi Peter, >> >> the following changes since commit 887adde81d1f1f3897f1688d37ec6851b4fdad86: >> >> Merge remote-tracking branch 'remotes/bonzini-gitlab/tags/for-upstream' >> into staging (2020-09-

Re: [RFC 0/3] try to solve the DMA to MMIO issue

2020-09-02 Thread Li Qiang
Jason Wang 于2020年9月3日周四 下午12:24写道: > > > On 2020/9/3 下午12:06, Alexander Bulekov wrote: > > On 200903 1154, Jason Wang wrote: > >> On 2020/9/3 上午12:22, Li Qiang wrote: > >>> The qemu device fuzzer has found several DMA to MMIO issue. > >>> These issues is caused by the guest driver programs the DMA

meson: how to determine which directory applies to the c_args during build?

2020-09-02 Thread Bin Meng
Hi, I want to move a RISC-V model from hw/riscv directory to hw/uart directory. The C file includes "target/riscv/cpu.h", but it fails to compile: include/exec/cpu-defs.h:23:2: error: #error cpu.h included from common code #error cpu.h included from common code ^ In file included from include/

Re: [RFC 0/3] try to solve the DMA to MMIO issue

2020-09-02 Thread Jason Wang
On 2020/9/3 下午12:06, Alexander Bulekov wrote: On 200903 1154, Jason Wang wrote: On 2020/9/3 上午12:22, Li Qiang wrote: The qemu device fuzzer has found several DMA to MMIO issue. These issues is caused by the guest driver programs the DMA address, then in the device MMIO handler it trigger the

[Bug 1894029] [NEW] qemu-i386 malloc error

2020-09-02 Thread Tony.LI
Public bug reported: Hi!I use qemu-i386-static on 64 bit machines.And memory request succeeded, but the pointer is wrong. This is my test program: #include #include #include #include int main(int argc, char **argv) { void *pa=0,*pb=0,*pc=0,*pd=0; pa = malloc(sizeof(uint32_t)

Re: [RFC 0/3] try to solve the DMA to MMIO issue

2020-09-02 Thread Alexander Bulekov
On 200903 1154, Jason Wang wrote: > > On 2020/9/3 上午12:22, Li Qiang wrote: > > The qemu device fuzzer has found several DMA to MMIO issue. > > These issues is caused by the guest driver programs the DMA > > address, then in the device MMIO handler it trigger the DMA > > and as the DMA address is M

Re: [PATCH 1/2] net: forbid the reentrant RX

2020-09-02 Thread Alexander Bulekov
On 200903 1156, Jason Wang wrote: > > On 2020/9/2 下午11:56, Alexander Bulekov wrote: > > On 200728 1200, Jason Wang wrote: > > > On 2020/7/22 下午4:57, Jason Wang wrote: > > > > The memory API allows DMA into NIC's MMIO area. This means the NIC's > > > > RX routine must be reentrant. Instead of audit

Re: [PATCH 1/2] net: forbid the reentrant RX

2020-09-02 Thread Jason Wang
On 2020/9/2 下午11:56, Alexander Bulekov wrote: On 200728 1200, Jason Wang wrote: On 2020/7/22 下午4:57, Jason Wang wrote: The memory API allows DMA into NIC's MMIO area. This means the NIC's RX routine must be reentrant. Instead of auditing all the NIC, we can simply detect the reentrancy and re

Re: [RFC 0/3] try to solve the DMA to MMIO issue

2020-09-02 Thread Jason Wang
On 2020/9/3 上午12:22, Li Qiang wrote: The qemu device fuzzer has found several DMA to MMIO issue. These issues is caused by the guest driver programs the DMA address, then in the device MMIO handler it trigger the DMA and as the DMA address is MMIO it will trigger another dispatch and reenter th

Re: [PULL v2 00/76] target/microblaze improvements

2020-09-02 Thread Richard Henderson
On 9/2/20 4:11 PM, Richard Henderson wrote: > On 9/2/20 12:09 PM, Thomas Huth wrote: >> On 01/09/2020 17.20, Richard Henderson wrote: >>> Version 2. Serves me right for not testing 32-bit host >>> when I knew there was a patch that mattered. >> >> Hi Richard, >> >> I'm afraid, but I think this PR

Re: [PATCH v2 0/7] pseries NUMA distance rework

2020-09-02 Thread David Gibson
On Tue, Sep 01, 2020 at 09:56:38AM -0300, Daniel Henrique Barboza wrote: > Hi, > > Following the reviews of the first version [1], specially this > reply from David [2], I decided to take a step back and refactor > all the code in hw/ppc/spapr* that operates with ibm,associativity, > ibm,associati

Re: [PATCH v2 6/7] spapr_numa: move NVLink2 associativity handling to spapr_numa.c

2020-09-02 Thread David Gibson
On Tue, Sep 01, 2020 at 09:56:44AM -0300, Daniel Henrique Barboza wrote: > This patch adds a new spapr_numa_write_assoc_nvlink2() helper > to handle the ibm,associativity for NVLink2 GPUs. > > Signed-off-by: Daniel Henrique Barboza Reviewed-by: David Gibson It might be nice to "precompute" the

Re: [PATCH v2 3/7] spapr: introduce SpaprMachineClass::numa_assoc_array

2020-09-02 Thread David Gibson
On Tue, Sep 01, 2020 at 09:56:41AM -0300, Daniel Henrique Barboza wrote: > The next step to centralize all NUMA/associativity handling in > the spapr machine is to create a 'one stop place' for all > things ibm,associativity. > > This patch introduces numa_assoc_array, a 2 dimensional array > that

Re: [PATCH v2 7/7] spapr_hcall: h_home_node_associativity now reads numa_assoc_array

2020-09-02 Thread David Gibson
On Tue, Sep 01, 2020 at 09:56:45AM -0300, Daniel Henrique Barboza wrote: > home_node_associativity reply now uses the associativity > values for tcpu->node_id provided by numa_assoc_array. > > This will avoid further changes in this code when numa_assoc_array > changes values, but it won't be enou

Re: [PATCH v2 0/7] pseries NUMA distance rework

2020-09-02 Thread David Gibson
On Thu, Sep 03, 2020 at 11:35:39AM +1000, David Gibson wrote: > On Tue, Sep 01, 2020 at 09:56:38AM -0300, Daniel Henrique Barboza wrote: > > Hi, > > > > Following the reviews of the first version [1], specially this > > reply from David [2], I decided to take a step back and refactor > > all the c

Re: [PATCH v2 5/7] spapr, spapr_numa: move lookup-arrays handling to spapr_numa.c

2020-09-02 Thread David Gibson
On Tue, Sep 01, 2020 at 09:56:43AM -0300, Daniel Henrique Barboza wrote: > In a similar fashion as the previous patch, let's move the > handling of ibm,associativity-lookup-arrays from spapr.c to > spapr_numa.c. A spapr_numa_write_assoc_lookup_arrays() helper was > created, and spapr_dt_dynamic_rec

Re: [PATCH V2 for-5.2] hw/null-machine: Add the kvm_type() hook for MIPS

2020-09-02 Thread Huacai Chen
Hi, Philippe, On Wed, Sep 2, 2020 at 9:55 PM Philippe Mathieu-Daudé wrote: > > Hi Huacai, > > On 8/24/20 10:11 AM, Huacai Chen wrote: > > MIPS has two types of KVM: TE & VZ, and TE is the default type. Now, > > libvirt uses a null-machine to detect the kvm capability. In the MIPS > > case, it wil

Re: [RFC v8 5/5] memory: Skip bad range assertion if notifier is DEVIOTLB type

2020-09-02 Thread David Gibson
On Wed, Sep 02, 2020 at 04:24:50PM +0200, Auger Eric wrote: > Hi Eugenio, > > On 9/1/20 4:26 PM, Eugenio Pérez wrote: > > Signed-off-by: Eugenio Pérez > Please could you explain in the commit message why you need to remove > the assert()? I know you described the assert() in the cover letter but

RE: [PATCH 40/63] filter-rewriter: Rename FILTER_COLO_REWRITER to FILTER_REWRITER

2020-09-02 Thread Zhang, Chen
> -Original Message- > From: Eduardo Habkost > Sent: Thursday, September 3, 2020 6:43 AM > To: qemu-devel@nongnu.org > Cc: berra...@redhat.com; Zhang, Chen ; Li Zhijian > ; Jason Wang > Subject: [PATCH 40/63] filter-rewriter: Rename FILTER_COLO_REWRITER to > FILTER_REWRITER > > Make t

[PULL 8/9] linux-user: Add support for btrfs ioctls used to manage quota

2020-09-02 Thread Laurent Vivier
From: Filip Bozuta This patch implements functionality for following ioctls: BTRFS_IOC_QUOTA_CTL - Enabling/Disabling quota support Enable or disable quota support for a btrfs filesystem. Quota support is enabled or disabled using the ioctls third argument which represents a pointer

[PULL 7/9] linux-user: Add support for two btrfs ioctls used for subvolume

2020-09-02 Thread Laurent Vivier
From: Filip Bozuta This patch implements functionality for following ioctl: BTRFS_IOC_DEFAULT_SUBVOL - Setting a default subvolume Set a default subvolume for a btrfs filesystem. The third ioctl's argument is a '__u64' (unsigned long long) which represents the id of a subvolume that

[PULL 6/9] linux-user: Add support for a group of btrfs inode ioctls

2020-09-02 Thread Laurent Vivier
From: Filip Bozuta This patch implements functionality of following ioctls: BTRFS_IOC_INO_LOOKUP - Reading tree root id and path Read tree root id and path for a given file or directory. The name and tree root id are returned in an ioctl's third argument that represents a pointer to

Re: [PATCH v2 3/3] nbd: disable signals and forking on Windows builds

2020-09-02 Thread Eric Blake
On 9/2/20 5:07 PM, 罗勇刚(Yonggang Luo) wrote: On Tue, Aug 25, 2020 at 6:40 PM Daniel P. Berrangé wrote: Disabling these parts are sufficient to get the qemu-nbd program compiling in a Windows build. Signed-off-by: Daniel P. Berrangé --- meson.build | 7 ++- qemu-nbd.c | 5 + 2 fil

[PULL 2/9] linux-user: Add support for a group of btrfs ioctls used for subvolumes

2020-09-02 Thread Laurent Vivier
From: Filip Bozuta This patch implements functionality of following ioctls: BTRFS_IOC_SUBVOL_CREATE - Creating a btrfs subvolume Create a btrfs subvolume. The subvolume is created using the ioctl's third argument which represents a pointer to a following structure type: struct

[PULL 3/9] linux-user: Add support for a group of btrfs ioctls used for snapshots

2020-09-02 Thread Laurent Vivier
From: Filip Bozuta This patch implements functionality for following ioctls: BTRFS_IOC_SNAP_CREATE - Creating a subvolume snapshot Create a snapshot of a btrfs subvolume. The snapshot is created using the ioctl's third argument that is a pointer to a 'struct btrfs_ioctl_vol_args' (w

[PULL 9/9] linux-user: Add support for btrfs ioctls used to scrub a filesystem

2020-09-02 Thread Laurent Vivier
From: Filip Bozuta This patch implements functionality for following ioctls: BTRFS_IOC_SCRUB - Starting a btrfs filesystem scrub Start a btrfs filesystem scrub. The third ioctls argument is a pointer to a following type: struct btrfs_ioctl_scrub_args { __u64 devid;

[PULL 4/9] linux-user: Add support for btrfs ioctls used to manipulate with devices

2020-09-02 Thread Laurent Vivier
From: Filip Bozuta This patch implements functionality for following ioctls: BTRFS_IOC_SCAN_DEV - Scanning device for a btrfs filesystem Scan a device for a btrfs filesystem. The device that is to be scanned is passed in the ioctl's third argument which represents a pointer to a 'st

[PULL 1/9] linux-user: fix implicit conversion from enumeration type error

2020-09-02 Thread Laurent Vivier
MK_ARRAY(type,size) is used to fill the field_types buffer, and if the "size" parameter is an enum type, clang [-Werror,-Wenum-conversion] reports an error when it is assigned to field_types which is also an enum, argtypes. To avoid that, convert "size" to "int" in MK_ARRAY(). "int" is the type us

[PULL 5/9] linux-user: Add support for btrfs ioctls used to get/set features

2020-09-02 Thread Laurent Vivier
From: Filip Bozuta This patch implements functionality for following ioctls: BTRFS_IOC_GET_FEATURES - Getting feature flags Read feature flags for a btrfs filesystem. The feature flags are returned inside the ioctl's third argument which represents a pointer to a following structure

[PULL 0/9] Linux user for 5.2 patches

2020-09-02 Thread Laurent Vivier
The following changes since commit 887adde81d1f1f3897f1688d37ec6851b4fdad86: Merge remote-tracking branch 'remotes/bonzini-gitlab/tags/for-upstream' int= o staging (2020-09-01 22:50:23 +0100) are available in the Git repository at: git://github.com/vivier/qemu.git tags/linux-user-for-5.2-pul

[PATCH 63/63] tests: Rename STATIC_TYPE to STATIC_PROPS

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Paolo Bonzini Cc: "Daniel P. Berrangé" Cc: Eduardo Habkost Cc: qemu-devel@nongnu.org --- tests/test-qdev-global-props.c | 8 1 file changed, 4 insertions(+), 4 deletions(-)

Re: [PULL v2 00/76] target/microblaze improvements

2020-09-02 Thread Richard Henderson
On 9/2/20 12:09 PM, Thomas Huth wrote: > On 01/09/2020 17.20, Richard Henderson wrote: >> Version 2. Serves me right for not testing 32-bit host >> when I knew there was a patch that mattered. > > Hi Richard, > > I'm afraid, but I think this PR broke the > tests/acceptance/replay_kernel.py:Repl

[PATCH 57/63] xen: Rename XENBACKEND_DEVICE to XENBACKEND

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Stefano Stabellini Cc: Anthony Perard Cc: Paul Durrant Cc: xen-de...@lists.xenproject.org Cc: qemu-devel@nongnu.org --- include/hw/xen/xen-legacy-backend.h | 2 +- 1 file changed, 1 i

[REPORT] Nightly Performance Tests - Wednesday, September 2, 2020

2020-09-02 Thread Ahmed Karaman
Host CPU : Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz Host Memory : 15.49 GB Start Time (UTC) : 2020-09-02 22:30:02 End Time (UTC) : 2020-09-02 23:02:38 Execution Time : 0:32:36.315663 Status : SUCCESS Note: Changes denoted by '-' are less than 0.01%. -

[PATCH 55/63] vfio: Rename PCI_VFIO to VFIO_PCI

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Alex Williamson Cc: qemu-devel@nongnu.org --- hw/vfio/pci.h | 2 +- hw/vfio/pci.c | 22 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/hw/vfio/

[PATCH 62/63] tests: Rename DYNAMIC_TYPE to DYNAMIC_PROPS

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Paolo Bonzini Cc: "Daniel P. Berrangé" Cc: Eduardo Habkost Cc: qemu-devel@nongnu.org --- tests/test-qdev-global-props.c | 8 1 file changed, 4 insertions(+), 4 deletions(-)

[PATCH 54/63] usb: Rename USB_STORAGE_DEV to USB_STORAGE

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Gerd Hoffmann Cc: qemu-devel@nongnu.org --- hw/usb/dev-storage.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hw/usb/dev-storage.c b/hw/usb/dev-stora

[PATCH 56/63] vmxnet3: Rename VMXNET3_DEVICE* to VMXNET3*

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Dmitry Fleytman Cc: Jason Wang Cc: qemu-devel@nongnu.org --- hw/net/vmxnet3.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/net/vmxnet3.c b/hw/net/vmxnet

[PATCH 53/63] usb: Rename USB_SERIAL_DEV to USB_SERIAL

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Gerd Hoffmann Cc: Samuel Thibault Cc: qemu-devel@nongnu.org --- hw/usb/dev-serial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/usb/dev-serial.c b/hw/usb

[PATCH 61/63] tests: Rename TYPE_DUMMY to TYPE_DUMMY_OBJECT

2020-09-02 Thread Eduardo Habkost
This will make the type name constant consistent with the name of the type checking macro. Signed-off-by: Eduardo Habkost --- Cc: Paolo Bonzini Cc: "Daniel P. Berrangé" Cc: Eduardo Habkost Cc: qemu-devel@nongnu.org --- tests/check-qom-proplist.c | 30 +++--- tests/test

[PATCH 51/63] tpm_spapr: Rename VIO_SPAPR_VTPM to TPM_SPAPR

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Stefan Berger Cc: qemu-devel@nongnu.org --- hw/tpm/tpm_spapr.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/hw/tpm/tpm_spapr.c b/hw/tpm/tpm_spapr.c

[PATCH 48/63] sabre: Rename SABRE_DEVICE to SABRE

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Mark Cave-Ayland Cc: Artyom Tarasenko Cc: qemu-devel@nongnu.org --- include/hw/pci-host/sabre.h | 2 +- hw/pci-host/sabre.c | 8 hw/sparc64/sun4u.c | 2 +- 3

[PATCH 60/63] tcg: Rename TCG_STATE to TCG_ACCEL

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Richard Henderson Cc: Paolo Bonzini Cc: qemu-devel@nongnu.org --- accel/tcg/tcg-all.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/accel/tcg/tcg-a

[PATCH 52/63] usb: Rename USB_REDIRECT to USB_REDIR

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Gerd Hoffmann Cc: qemu-devel@nongnu.org --- hw/usb/redirect.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/hw/usb/redirect.c b/hw/usb/red

[PATCH 42/63] lasi_i82596: Rename SYSBUS_I82596 to LASI_82596

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Richard Henderson Cc: Jason Wang Cc: qemu-devel@nongnu.org --- include/hw/net/lasi_82596.h | 2 +- hw/net/lasi_i82596.c| 8 2 files changed, 5 insertions(+), 5 deletio

[PATCH 58/63] hvf: Rename HVF_STATE to HVF_ACCEL

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Cameron Esfahani Cc: Roman Bolshakov Cc: qemu-devel@nongnu.org --- include/sysemu/hvf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sysemu/hvf.h b/inclu

[PATCH 49/63] stm32f205: Rename STM32F2XXTIMER to STM32F2XX_TIMER

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Alistair Francis Cc: Peter Maydell Cc: qemu-...@nongnu.org Cc: qemu-devel@nongnu.org --- include/hw/timer/stm32f2xx_timer.h | 2 +- hw/timer/stm32f2xx_timer.c | 6 +++--- 2 fil

[PATCH 59/63] kvm: Rename KVM_STATE to KVM_ACCEL

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Paolo Bonzini Cc: Peter Maydell Cc: Marcelo Tosatti Cc: Richard Henderson Cc: Eduardo Habkost Cc: Huacai Chen Cc: Aleksandar Markovic Cc: Aurelien Jarno Cc: Jiaxun Yang Cc: Aleks

[PATCH 38/63] ccid-card-passthru: Rename PASSTHRU_CCID_CARD to CCID_PASSTHRU

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Gerd Hoffmann Cc: qemu-devel@nongnu.org --- hw/usb/ccid-card-passthru.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/usb/ccid-card-passthru.c b/hw/usb/

[PATCH 47/63] rs6000_mc: Rename RS6000MC_DEVICE to RS6000MC

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: "Hervé Poussineau" Cc: David Gibson Cc: qemu-...@nongnu.org Cc: qemu-devel@nongnu.org --- hw/ppc/rs6000_mc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/

[PATCH 50/63] tpm_crb: Rename CRB to TPM_CRB

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Stefan Berger Cc: qemu-devel@nongnu.org --- hw/tpm/tpm_crb.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/hw/tpm/tpm_crb.c b/hw/tpm/tpm_crb.c index

[PATCH 37/63] ccid-card-emulated: Rename EMULATED_CCID_CARD to EMULATED_CCID

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Gerd Hoffmann Cc: qemu-devel@nongnu.org --- hw/usb/ccid-card-emulated.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hw/usb/ccid-card-emulated.c b/hw/u

[PATCH 46/63] renesas: Rename RTMR to RENESAS_TMR

2020-09-02 Thread Eduardo Habkost
This will make the type name constant consistent with the name of the type checking macro. Signed-off-by: Eduardo Habkost --- Cc: Yoshinori Sato Cc: Magnus Damm Cc: qemu-devel@nongnu.org --- include/hw/timer/renesas_tmr.h | 6 +++--- hw/rx/rx62n.c | 2 +- hw/timer/renesas_tmr.

[PATCH 44/63] renesas: Rename RCMT to RENESAS_CMT

2020-09-02 Thread Eduardo Habkost
This will make the type name constant consistent with the name of the type checking macro. Signed-off-by: Eduardo Habkost --- Cc: Yoshinori Sato Cc: Magnus Damm Cc: qemu-devel@nongnu.org --- include/hw/timer/renesas_cmt.h | 2 +- hw/timer/renesas_cmt.c | 4 ++-- 2 files changed, 3 inse

[PATCH 43/63] pvpanic: Rename ISA_PVPANIC_DEVICE to PVPANIC

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: qemu-devel@nongnu.org --- hw/misc/pvpanic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/misc/pvpanic.c b/hw/misc/pvpanic.c index 598d5471a4..871be27c19 1

[PATCH 45/63] renesas: Rename RSCI to RENESAS_SCI

2020-09-02 Thread Eduardo Habkost
This will make the type name constant consistent with the name of the type checking macro. Signed-off-by: Eduardo Habkost --- Cc: Yoshinori Sato Cc: Magnus Damm Cc: "Marc-André Lureau" Cc: Paolo Bonzini Cc: qemu-devel@nongnu.org --- include/hw/char/renesas_sci.h | 2 +- hw/char/renesas_sci.

[PATCH 36/63] can: Rename PCM3680i_PCI_DEV to PCM3680_PCI

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Jason Wang Cc: qemu-devel@nongnu.org --- hw/net/can/can_pcm3680_pci.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hw/net/can/can_pcm3680_pci.c b/hw/ne

[PATCH 39/63] esp: Rename ESP_STATE to ESP

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Mark Cave-Ayland Cc: Laurent Vivier Cc: "Hervé Poussineau" Cc: Aleksandar Rikalo Cc: Aleksandar Markovic Cc: Aurelien Jarno Cc: Jiaxun Yang Cc: Paolo Bonzini Cc: Fam Zheng Cc: Ar

[PATCH 31/63] virtio-console: Rename TYPE_VIRTIO_CONSOLE_SERIAL_PORT to TYPE_VIRTIO_CONSOLE

2020-09-02 Thread Eduardo Habkost
This will make the type name constant consistent with the name of the type checking macro. Signed-off-by: Eduardo Habkost --- Cc: Laurent Vivier Cc: Amit Shah Cc: "Michael S. Tsirkin" Cc: "Marc-André Lureau" Cc: Paolo Bonzini Cc: qemu-devel@nongnu.org --- hw/char/virtio-console.c | 8 --

[PATCH 41/63] lance: Rename SYSBUS_PCNET to LANCE

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Jason Wang Cc: Mark Cave-Ayland Cc: Artyom Tarasenko Cc: qemu-devel@nongnu.org --- include/hw/net/lance.h | 2 +- hw/net/lance.c | 6 +++--- hw/sparc/sun4m.c | 2 +- 3 f

[PATCH 35/63] can: Rename MIOe3680_PCI_DEV to MIOE3680_PCI

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Jason Wang Cc: qemu-devel@nongnu.org --- hw/net/can/can_mioe3680_pci.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hw/net/can/can_mioe3680_pci.c b/hw/

[PATCH 32/63] ahci: Rename ICH_AHCI to ICH9_AHCI

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: John Snow Cc: qemu-bl...@nongnu.org Cc: qemu-devel@nongnu.org --- include/hw/ide/ahci.h | 2 +- hw/ide/ahci.c | 4 ++-- hw/ide/ich.c | 8 3 files changed, 7 in

[PATCH 29/63] versatile: Rename TYPE_VERSATILE_PCI_HOST to TYPE_PCI_VPB_HOST

2020-09-02 Thread Eduardo Habkost
This will make the type name constant consistent with the name of the type checking macro. Signed-off-by: Eduardo Habkost --- Cc: Peter Maydell Cc: qemu-...@nongnu.org Cc: qemu-devel@nongnu.org --- hw/pci-host/versatile.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 40/63] filter-rewriter: Rename FILTER_COLO_REWRITER to FILTER_REWRITER

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Zhang Chen Cc: Li Zhijian Cc: Jason Wang Cc: qemu-devel@nongnu.org --- net/filter-rewriter.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/net

[PATCH 34/63] can: Rename KVASER_PCI_DEV to KVASER_PCI

2020-09-02 Thread Eduardo Habkost
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost --- Cc: Jason Wang Cc: qemu-devel@nongnu.org --- hw/net/can/can_kvaser_pci.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hw/net/can/can_kvaser_pci.c b/hw/net/

[PATCH 33/63] net/can: Rename TYPE_CAN_CPI constants

2020-09-02 Thread Eduardo Habkost
Rename macros to names that are unique in the source tree, to reduce confusion and make automated conversion of the code easier. Signed-off-by: Eduardo Habkost --- Cc: Jason Wang Cc: qemu-devel@nongnu.org --- hw/net/can/can_kvaser_pci.c | 6 +++--- hw/net/can/can_mioe3680_pci.c | 6 +++--- hw

[PATCH 26/63] sun4m: Rename TYPE_SUN4M_MEMORY to TYPE_SUN4M_RAM

2020-09-02 Thread Eduardo Habkost
This will make the type name constant consistent with the name of the type checking macro. Signed-off-by: Eduardo Habkost --- Cc: Mark Cave-Ayland Cc: Artyom Tarasenko Cc: qemu-devel@nongnu.org --- hw/sparc/sun4m.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/sp

[PATCH 27/63] sun4u: Rename TYPE_SUN4U_MEMORY to TYPE_SUN4U_RAM

2020-09-02 Thread Eduardo Habkost
This will make the type name constant consistent with the name of the type checking macro. Signed-off-by: Eduardo Habkost --- Cc: Mark Cave-Ayland Cc: Artyom Tarasenko Cc: qemu-devel@nongnu.org --- hw/sparc64/sun4u.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/h

[PATCH 30/63] versatile: Rename TYPE_VERSATILE_PCI to TYPE_PCI_VPB

2020-09-02 Thread Eduardo Habkost
This will make the type name constant consistent with the name of the type checking macro. Signed-off-by: Eduardo Habkost --- Cc: Peter Maydell Cc: qemu-...@nongnu.org Cc: qemu-devel@nongnu.org --- hw/pci-host/versatile.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 28/63] tusb6010: Rename TYPE_TUSB6010 to TYPE_TUSB

2020-09-02 Thread Eduardo Habkost
This will make the type name constant consistent with the name of the type checking macro. Signed-off-by: Eduardo Habkost --- Cc: Gerd Hoffmann Cc: qemu-devel@nongnu.org --- hw/usb/tusb6010.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/usb/tusb6010.c b/hw/usb/tu

[PATCH 25/63] scsi: Rename TYPE_DC390_DEVICE to TYPE_DC390

2020-09-02 Thread Eduardo Habkost
This will make the type name constant consistent with the name of the type checking macro. Signed-off-by: Eduardo Habkost --- Cc: Paolo Bonzini Cc: Fam Zheng Cc: qemu-devel@nongnu.org --- hw/scsi/esp-pci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/scsi/esp-pc

[PATCH 23/63] ramfb: Rename TYPE_RAMFB_DEVICE to TYPE_RAMFB

2020-09-02 Thread Eduardo Habkost
This will make the type name constant consistent with the name of the type checking macro. Signed-off-by: Eduardo Habkost --- Cc: Peter Maydell Cc: Gerd Hoffmann Cc: Paolo Bonzini Cc: Richard Henderson Cc: Eduardo Habkost Cc: "Michael S. Tsirkin" Cc: Marcel Apfelbaum Cc: qemu-...@nongnu.or

[PATCH 24/63] scsi: Rename TYPE_AM53C974_DEVICE to TYPE_PCI_ESP

2020-09-02 Thread Eduardo Habkost
This will make the type name constant consistent with the name of the type checking macro. Signed-off-by: Eduardo Habkost --- Cc: Paolo Bonzini Cc: Fam Zheng Cc: qemu-devel@nongnu.org --- hw/scsi/esp-pci.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/scsi/esp-

[PATCH 18/63] mips: Rename TYPE_MIPS_BOSTON to TYPE_BOSTON

2020-09-02 Thread Eduardo Habkost
This will make the type name constant consistent with the name of the type checking macro. Signed-off-by: Eduardo Habkost --- Cc: Paul Burton Cc: Aleksandar Rikalo Cc: Aleksandar Markovic Cc: Aurelien Jarno Cc: Jiaxun Yang Cc: qemu-devel@nongnu.org --- hw/mips/boston.c | 8 1 file

[PATCH 22/63] pxb: Rename TYPE_PXB_PCIE_DEVICE to TYPE_PXB_PCIE_DEV

2020-09-02 Thread Eduardo Habkost
This will make the type name constant consistent with the name of the type checking macro. Signed-off-by: Eduardo Habkost --- Cc: "Michael S. Tsirkin" Cc: Marcel Apfelbaum Cc: qemu-devel@nongnu.org --- hw/pci-bridge/pci_expander_bridge.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

  1   2   3   4   5   6   >