Re: [PATCH] sh4: Replace TAB indentations with spaces

2022-03-18 Thread Ahmed Abouzied
Hello, I remember this PR. It was a long time ago. I'll take a look at it and propose a fix. Thanks, Ahmed On Fri, 18 Mar 2022 at 19:25, Thomas Huth wrote: > On 20/06/2021 19.54, Ahmed Abouzied wrote: > > Replaces TABs with spaces, making sure to have a consistent coding style

[PATCH] linux-user/syscall.c: malloc to g_try_malloc

2022-01-04 Thread Ahmed Abouzied
Use g_try_malloc instead of malloc to alocate the target ifconfig. Also replace the corresponding free with g_free. Signed-off-by: Ahmed Abouzied --- Hello, I noticed that there was a `malloc` call in this file. It seems that it was added by the commit 22e4a267 (3 years ago) which was after

Re: [PATCH] tests/acceptance: Allow overwrite smp and memory

2021-08-10 Thread Ahmed Abouzied
ping Just pinging about this little patch. Patchew link here: https://patchew.org/QEMU/2021080257.50946-1-em...@aabouzied.com/. Best regards, Ahmed Abouzied On Tue, Aug 3, 2021 at 12:24 AM Ahmed Abouzied wrote: > Removes the hard-coded values in setUp(). Class inheriting f

[PATCH] tests/acceptance: Allow overwrite smp and memory

2021-08-02 Thread Ahmed Abouzied
Removes the hard-coded values in setUp(). Class inheriting from avocado_qemu.LinuxTest can overwrite the default smp and memory instead. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/453 Signed-off-by: Ahmed Abouzied --- tests/acceptance/avocado_qemu/__init__.py | 6 -- 1 file

[PATCH] ppc: Replace TAB indentations with spaces

2021-06-20 Thread Ahmed Abouzied
Replaces TABs with spaces, making sure to have a consistent coding style of 4 space indentations in the ppc subsystem. Signed-off-by: Ahmed Abouzied Resolves: https://gitlab.com/qemu-project/qemu/-/issues/374 --- hw/core/uboot_image.h | 184 - hw/ppc

[PATCH] net: Replace TAB indentations with spaces

2021-06-14 Thread Ahmed Abouzied
Replaces TABs with spaces, making sure to have a consistent coding style of 4 space indentations in the net subsystem. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/377 Signed-off-by: Ahmed Abouzied --- hw/net/can/ctu_can_fd_frame.h | 180 ++--- hw/net/can/ctu_can_fd_regs.h | 1260

[PATCH 2/2] Remove leading underscores from Xen defines

2021-06-05 Thread Ahmed Abouzied
Identifiers with leading underscores followed by capital letters or underscores are reserved for C standards. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/369 Signed-off-by: Ahmed Abouzied --- include/hw/xen/interface/grant_table.h | 4 ++-- include/hw/xen/interface/io/blkif.h

[PATCH 1/2] Remove leading underscores from QEMU defines

2021-06-05 Thread Ahmed Abouzied
Leading underscores followed by a capital letter or underscore are reserved by the C standard. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/369 Signed-off-by: Ahmed Abouzied --- include/fpu/softfloat-helpers.h | 4 ++-- include/hw/usb/dwc2-regs.h | 4