[Qemu-devel] [Bug 1556044] Re: Redox GUI hangs with 100% CPU on ARM

2019-04-27 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1556044 Title: Redox GUI

[Qemu-devel] [Bug 1520730] Re: 32-bit editors vim/rhide broken keyboard handling in freedos 1.1 and ms-dos 6.22

2019-04-27 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1520730 Title: 32-bit

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

2019-04-27 Thread Chen Zhang via Qemu-devel
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 device ui/cocoa.m | 50

[Qemu-devel] [PATCH RESEND 1/2] ui/cocoa: Fix absolute input device grabbing issue on Mojave

2019-04-27 Thread Chen Zhang via Qemu-devel
This patches fixed boundary check methods for cursor in normal and fullscreen modes with/without Zoom-to-Fit on Mojave. On Mojave, absolute input device, i.e. tablet, had trouble re-grabbing the cursor in re-entry into the virtual screen area. In some cases, the `window` property of NSEvent

[Qemu-devel] [PATCH RESEND 2/2] ui/cocoa: Fix mouse grabbing in fullscreen mode for relative input device

2019-04-27 Thread Chen Zhang via Qemu-devel
In fullscreen mode, the window property of cocoaView may not be the key window, and the current implementation would not grab mouse in fullscreen mode after user ungrabs cursor in fullscreen mode with hot-key, and left clicks the relative input devices to re-grab it. This patch used value of

Re: [Qemu-devel] [PATCH 5/6] tests: Run the iotests during "make check" again

2019-04-27 Thread Eric Blake
On 4/25/19 5:24 AM, Thomas Huth wrote: >> Ok, thanks for the info. Looks like many tests are failing because qemu-io >> suddenly prints its program name in front of the error messages? E.g.: >> >> --- /tmp/qemu-test/src/tests/qemu-iotests/069.out2019-04-24 >> 16:52:31.0 + >> +++

Re: [Qemu-devel] Failing qemu-iotest 005 with raw

2019-04-27 Thread Eric Blake
On 4/26/19 5:53 AM, Kevin Wolf wrote: >> creating large image >> +qemu-img: TEST_DIR/t.IMGFMT: The image size is too large for file >> format 'IMGFMT' >> Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=536870912 >> [...] >> >> Could this be fixed somehow, or should the test rather be

Re: [Qemu-devel] [PULL 0/4] x86 queue, 2019-04-25

2019-04-27 Thread Peter Maydell
On Thu, 25 Apr 2019 at 19:13, Eduardo Habkost wrote: > > The following changes since commit 3284aa128153750f14a61e8a96fd085e6f2999b6: > > Merge remote-tracking branch 'remotes/lersek/tags/edk2-pull-2019-04-22' > into staging (2019-04-24 13:19:41 +0100) > > are available in the Git repository

[Qemu-devel] [PATCHv4 2/2] ui/curses: manipulate cchar_t with standard curses functions

2019-04-27 Thread Samuel Thibault
The chars/attr fields are curses internals, setcchar and getcchar have to be used instead. Signed-off-by: Samuel Thibault Tested-by: Kamil Rytarowski --- ui/curses.c | 43 +-- 1 file changed, 29 insertions(+), 14 deletions(-) diff --git a/ui/curses.c

[Qemu-devel] [PATCHv4 0/2] ui/curses: BSD portability fixes

2019-04-27 Thread Samuel Thibault
BSD needs a few fixes for wide character manipulations. Difference with v1: - Fix unitialized value in error message Difference with v2: - Add cchar_t manipulation fix Difference with v3: - use mbrtowc/wcrtomb instead of mbtowc/wctomb - use MB_LEN_MAX instead of MB_CUR_MAX to avoid using a VLA.

[Qemu-devel] [PATCHv4 1/2] ui/curses: do not assume wchar_t contains unicode

2019-04-27 Thread Samuel Thibault
E.g. BSD and Solaris even use locale-specific encoding there. We thus have to go through the native multibyte representation and use mbrtowc/wcrtomb to make a proper conversion. Signed-off-by: Samuel Thibault Tested-by: Kamil Rytarowski --- ui/curses.c | 157

Re: [Qemu-devel] [PATCH] Makefile: Let the 'clean' rule remove qemu-ga.exe on Windows hosts

2019-04-27 Thread Stefan Weil
On 27.04.19 18:13, Philippe Mathieu-Daudé wrote: > 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

Re: [Qemu-devel] [PATCHv3 1/2] ui/curses: Do not assume wchar_t contains unicode

2019-04-27 Thread Kamil Rytarowski
On 27.04.2019 19:57, Samuel Thibault wrote: > Kamil Rytarowski, le sam. 27 avril 2019 19:36:40 +0200, a ecrit: >> On 27.04.2019 18:30, Samuel Thibault wrote: >>> E.g. BSD and Solaris even use locale-specific encoding there. >>> >>> We thus have to go through the native multibyte representation and

Re: [Qemu-devel] [PATCH 0/2] hw/acpi: Improve build modularity (targeting MIPS/PPC)

2019-04-27 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190427165504.29846-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] [PATCHv3 1/2] ui/curses: Do not assume wchar_t contains unicode

2019-04-27 Thread Samuel Thibault
Kamil Rytarowski, le sam. 27 avril 2019 19:36:40 +0200, a ecrit: > On 27.04.2019 18:30, Samuel Thibault wrote: > > E.g. BSD and Solaris even use locale-specific encoding there. > > > > We thus have to go through the native multibyte representation and use > > mbtowc/wctomb to make a proper

Re: [Qemu-devel] [PATCHv3 1/2] ui/curses: Do not assume wchar_t contains unicode

2019-04-27 Thread Kamil Rytarowski
On 27.04.2019 18:30, Samuel Thibault wrote: > E.g. BSD and Solaris even use locale-specific encoding there. > > We thus have to go through the native multibyte representation and use > mbtowc/wctomb to make a proper conversion. > > Signed-off-by: Samuel Thibault Both patches work for me on

Re: [Qemu-devel] [PATCH] configure: Add -Wno-typedef-redefinition to CFLAGS (for Clang)

2019-04-27 Thread Richard Henderson
On 4/27/19 8:45 AM, Thomas Huth wrote: > Without the -Wno-typedef-redefinition option, clang complains if a typedef > gets redefined in gnu99 mode (since this is officially a C11 feature). This > used to also happen with older versions of GCC, but since we've bumped our > minimum GCC version to

Re: [Qemu-devel] [PATCH] hw/i386: The i440fx is not a machine, remove it from the machine list

2019-04-27 Thread Philippe Mathieu-Daudé
On 4/27/19 4:49 PM, Thomas Huth wrote: > On 27/04/2019 16.19, Philippe Mathieu-Daudé wrote: >> When building with CONFIG_ISAPC=n and CONFIG_I440FX=y we get: >> >> $ make subdir-x86_64-softmmu >> [...] >> /usr/bin/ld: hw/i386/pc_piix.o: in function `pc_init1': >>

[Qemu-devel] [PATCH 1/2] hw/acpi: Simplify the Makefile logic

2019-04-27 Thread Philippe Mathieu-Daudé
Since we only require to link with acpi-stub.o when CONFIG_ACPI is disabled, we can simplify the Makefile logic. Suggested-by: Paolo Bonzini Signed-off-by: Philippe Mathieu-Daudé --- hw/acpi/Makefile.objs | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git

Re: [Qemu-devel] [PATCH 2/2] hw/acpi: Always build the acpi/core.o file

2019-04-27 Thread Philippe Mathieu-Daudé
On 4/27/19 6:55 PM, Philippe Mathieu-Daudé wrote: > The 'core' ACPI functions are not X86-specific. > Let this file be built unconditionally, this will allow > us to use ACPI on non-X86 architectures. > > Suggested-by: Paolo Bonzini > Signed-off-by: Philippe Mathieu-Daudé > --- >

[Qemu-devel] [PATCH 2/2] hw/acpi: Always build the acpi/core.o file

2019-04-27 Thread Philippe Mathieu-Daudé
The 'core' ACPI functions are not X86-specific. Let this file be built unconditionally, this will allow us to use ACPI on non-X86 architectures. Suggested-by: Paolo Bonzini Signed-off-by: Philippe Mathieu-Daudé --- hw/acpi/Makefile.objs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[Qemu-devel] [PATCH 0/2] hw/acpi: Improve build modularity (targeting MIPS/PPC)

2019-04-27 Thread Philippe Mathieu-Daudé
Hi, This series is not related to the previous one I just send: hw/i386/acpi: Improve build modularity (isapc/q35/...) https://lists.gnu.org/archive/html/qemu-devel/2019-04/msg04678.html While the first only concern X86 (changes within the architecture), this one allow the core ACPI feature to

[Qemu-devel] [PATCH] hw/sparc/leon3: Allow load of uImage firmwares

2019-04-27 Thread Philippe Mathieu-Daudé
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] [PATCHv3 0/2] ui/curses: BSD portability fixes

2019-04-27 Thread Samuel Thibault
BSD needs a few fixes for wide character manipulations. Difference with v1: - Fix unitialized value in error message Difference with v2: - Add cchar_t manipulation fix Samuel Thibault (2): ui/curses: do not assume wchar_t contains unicode ui/curses: manipulate cchar_t with standard curses

Re: [Qemu-devel] [PATCH] hw/sparc/leon3: Allow load of uImage firmwares

2019-04-27 Thread Philippe Mathieu-Daudé
On Sat, Apr 27, 2019 at 6:24 PM Philippe Mathieu-Daudé wrote: > > From: Philippe Mathieu-Daudé Grrr sent from wrong computer.

[Qemu-devel] [PATCHv3 2/2] ui/curses: manipulate cchar_t with standard curses functions

2019-04-27 Thread Samuel Thibault
The chars/attr fields are curses internals, setcchar and getcchar have to be used instead. Signed-off-by: Samuel Thibault --- ui/curses.c | 43 +-- 1 file changed, 29 insertions(+), 14 deletions(-) diff --git a/ui/curses.c b/ui/curses.c index

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

2019-04-27 Thread 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 HelenOS-0.6.0-sparc32-leon3.bin

[Qemu-devel] [PATCHv3 1/2] ui/curses: Do not assume wchar_t contains unicode

2019-04-27 Thread Samuel Thibault
E.g. BSD and Solaris even use locale-specific encoding there. We thus have to go through the native multibyte representation and use mbtowc/wctomb to make a proper conversion. Signed-off-by: Samuel Thibault --- ui/curses.c | 151 1 file

[Qemu-devel] [PATCH] curses: do not assume wchar_t contains unicode

2019-04-27 Thread Samuel Thibault
E.g. BSD and Solaris even use locale-specific encoding there. We thus have to go through the native multibyte representation and use mbtowc/wctomb to make a proper conversion. Signed-off-by: Samuel Thibault --- ui/curses.c | 151 1 file

[Qemu-devel] [PATCH] Makefile: Let the 'clean' rule remove qemu-ga.exe on Windows hosts

2019-04-27 Thread 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 suffix. Fixes: 48ff7a625b36

[Qemu-devel] [PATCH] curses: Do not assume wchar_t contains unicode

2019-04-27 Thread Samuel Thibault
E.g. BSD and Solaris even use locale-specific encoding there. We thus have to go through the native multibyte representation and use mbtowc/wctomb to make a proper conversion. Signed-off-by: Samuel Thibault --- ui/curses.c | 151 1 file

Re: [Qemu-devel] [PATCH] curses: Do not assume wchar_t contains unicode

2019-04-27 Thread Samuel Thibault
Ah, sorry, I missed putting v2 above and the change summary: I fixed an uninitalized value in an error message. Samuel Samuel Thibault, le sam. 27 avril 2019 17:58:07 +0200, a ecrit: > E.g. BSD and Solaris even use locale-specific encoding there. > > We thus have to go through the native

Re: [Qemu-devel] [PATCH] curses: Do not assume wchar_t contains unicode

2019-04-27 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190427153031.5119-1-samuel.thiba...@ens-lyon.org/ Hi, This series failed the asan 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/tpm: Only build tpm_ppi.o if any of TPM_TIS/TPM_CRB is built

2019-04-27 Thread Marc-André Lureau
Hi On Sat, Apr 27, 2019 at 3:19 PM Philippe Mathieu-Daudé wrote: > > The TPM Physical Presence Interface routines are only used > by the CRB/TIS interfaces. Do not compile this file if any > of them is built. > > Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Marc-André Lureau > --- >

[Qemu-devel] [PATCH] configure: Add -Wno-typedef-redefinition to CFLAGS (for Clang)

2019-04-27 Thread Thomas Huth
Without the -Wno-typedef-redefinition option, clang complains if a typedef gets redefined in gnu99 mode (since this is officially a C11 feature). This used to also happen with older versions of GCC, but since we've bumped our minimum GCC version to 4.8, all versions of GCC that we support do not

[Qemu-devel] [PATCH] curses: Do not assume wchar_t contains unicode

2019-04-27 Thread Samuel Thibault
E.g. BSD and Solaris even use locale-specific encoding there. We thus have to go through the native multibyte representation and use mbtowc/wctomb to make a proper conversion. Signed-off-by: Samuel Thibault --- ui/curses.c | 151 1 file

Re: [Qemu-devel] [PATCH 3/3] hw/dma: Do not build the xlnx_dpdma device for the MicroBlaze machines

2019-04-27 Thread Thomas Huth
On 27/04/2019 16.14, Philippe Mathieu-Daudé wrote: > The xlnx_dpdma device is only used by the ZynqMP AArch64 machine > (not the MicroBlaze PMU). Remove it from the ZynqMP generic objects. > (Note, this entry was duplicated for the AArch64). > > Signed-off-by: Philippe Mathieu-Daudé > --- >

Re: [Qemu-devel] [PATCH] hw/i386: The i440fx is not a machine, remove it from the machine list

2019-04-27 Thread Thomas Huth
On 27/04/2019 16.19, Philippe Mathieu-Daudé wrote: > When building with CONFIG_ISAPC=n and CONFIG_I440FX=y we get: > > $ make subdir-x86_64-softmmu > [...] > /usr/bin/ld: hw/i386/pc_piix.o: in function `pc_init1': > /source/qemu/hw/i386/pc_piix.c:261: undefined reference to `isa_ide_init'

[Qemu-devel] [PATCH 2/3] hw/i386/acpi: Add object_resolve_type_unambiguous to improve modularity

2019-04-27 Thread Philippe Mathieu-Daudé
When building with CONFIG_Q35=n, we get: LINKx86_64-softmmu/qemu-system-x86_64 /usr/bin/ld: hw/i386/acpi-build.o: in function `acpi_get_misc_info': /source/qemu/hw/i386/acpi-build.c:243: undefined reference to `ich9_lpc_find' collect2: error: ld returned 1 exit status make[1]: ***

[Qemu-devel] [PATCH 3/3] hw/i386/acpi: Assert a pointer is not null BEFORE using it

2019-04-27 Thread Philippe Mathieu-Daudé
Commit 72c194f7e75c added a non-null check on the 'obj' pointer. Later, commit 500b11ea5095 added code which uses the 'obj' pointer _before_ the assertion check. Move the assertion _before_ the pointer use. Signed-off-by: Philippe Mathieu-Daudé --- hw/i386/acpi-build.c | 2 +- 1 file changed, 1

[Qemu-devel] [PATCH 1/3] hw/acpi/piix4: Move TYPE_PIIX4_PM to a public header

2019-04-27 Thread Philippe Mathieu-Daudé
Move the TYPE_PIIX4_PM definition to the corresponding header, so other files can use it. Signed-off-by: Philippe Mathieu-Daudé --- hw/acpi/piix4.c | 2 -- include/hw/acpi/piix4.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/acpi/piix4.c b/hw/acpi/piix4.c

Re: [Qemu-devel] [PATCH 0/3] hw/i386/acpi: Improve build modularity (isapc/q35/...)

2019-04-27 Thread Philippe Mathieu-Daudé
On 4/27/19 4:40 PM, Philippe Mathieu-Daudé wrote: > This series allow to build the ISAPC/Q35 machines independently. Oops I guess I forgot: Based-on: 20190427141905.20393-1-phi...@redhat.com (i440fx is not a machine) https://lists.gnu.org/archive/html/qemu-devel/2019-04/msg04673.html > >

Re: [Qemu-devel] [PATCH 2/3] hw/intc: Only build the xlnx-iomod-intc device for the MicroBlaze PMU

2019-04-27 Thread Thomas Huth
On 27/04/2019 16.14, Philippe Mathieu-Daudé wrote: > The Xilinx I/O Module Interrupt Controller is only used by the > MicroBlaze PMU, not by the AArch64 machine. > Move it from the generic ZynqMP object list to the PMU specific. > > Signed-off-by: Philippe Mathieu-Daudé > --- >

[Qemu-devel] [PATCH 0/3] hw/i386/acpi: Improve build modularity (isapc/q35/...)

2019-04-27 Thread Philippe Mathieu-Daudé
This series allow to build the ISAPC/Q35 machines independently. Regards, Phil. Philippe Mathieu-Daudé (3): hw/acpi/piix4: Move TYPE_PIIX4_PM to a public header hw/i386/acpi: Add object_resolve_type_unambiguous to improve modularity hw/i386/acpi: Assert a pointer is not null BEFORE

[Qemu-devel] [PATCH] hw/i386: The i440fx is not a machine, remove it from the machine list

2019-04-27 Thread Philippe Mathieu-Daudé
When building with CONFIG_ISAPC=n and CONFIG_I440FX=y we get: $ make subdir-x86_64-softmmu [...] /usr/bin/ld: hw/i386/pc_piix.o: in function `pc_init1': /source/qemu/hw/i386/pc_piix.c:261: undefined reference to `isa_ide_init' /usr/bin/ld: /source/qemu/hw/i386/pc_piix.c:261: undefined

[Qemu-devel] [PATCH 2/3] hw/intc: Only build the xlnx-iomod-intc device for the MicroBlaze PMU

2019-04-27 Thread Philippe Mathieu-Daudé
The Xilinx I/O Module Interrupt Controller is only used by the MicroBlaze PMU, not by the AArch64 machine. Move it from the generic ZynqMP object list to the PMU specific. Signed-off-by: Philippe Mathieu-Daudé --- hw/intc/Makefile.objs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[Qemu-devel] [PATCH 1/3] hw/Kconfig: Move the generic XLNX_ZYNQMP to the root hw/Kconfig

2019-04-27 Thread Philippe Mathieu-Daudé
The XLNX_ZYNQMP config is used in multiple subdirectories (timer, intc). Move it to the root hw/Kconfig. Signed-off-by: Philippe Mathieu-Daudé --- hw/Kconfig | 3 +++ hw/timer/Kconfig | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/Kconfig b/hw/Kconfig index

[Qemu-devel] [PATCH 0/3] hw/microblaze: Kconfig cleanup

2019-04-27 Thread Philippe Mathieu-Daudé
Hi Edgar, Peter, Few fixes while cleaning Kconfig, trying to optimize builds. Regards, Phil. Philippe Mathieu-Daudé (3): hw/Kconfig: Move the generic XLNX_ZYNQMP to the root hw/Kconfig hw/intc: Only build the xlnx-iomod-intc device for the MicroBlaze PMU hw/dma: Do not build the

[Qemu-devel] [PATCH 3/3] hw/dma: Do not build the xlnx_dpdma device for the MicroBlaze machines

2019-04-27 Thread Philippe Mathieu-Daudé
The xlnx_dpdma device is only used by the ZynqMP AArch64 machine (not the MicroBlaze PMU). Remove it from the ZynqMP generic objects. (Note, this entry was duplicated for the AArch64). Signed-off-by: Philippe Mathieu-Daudé --- hw/dma/Makefile.objs | 1 - 1 file changed, 1 deletion(-) diff

[Qemu-devel] [PATCH] qom/object: Display more helpful message when an object type is missing

2019-04-27 Thread Philippe Mathieu-Daudé
When writing a new board, adding device which uses other devices (container) or simply refactoring, one can discover the hard way his machine misses some devices. In the case of containers, the error is not obvious: $ qemu-system-microblaze -M xlnx-zynqmp-pmu **

[Qemu-devel] [PATCH] hw/dma: Compile the bcm2835_dma device as common object

2019-04-27 Thread Philippe Mathieu-Daudé
This device is used by both ARM (BCM2836, for raspi2) and AArch64 (BCM2837, for raspi3) targets, and is not CPU-specific. Move it to common object, so we build it once for all targets. Signed-off-by: Philippe Mathieu-Daudé --- hw/dma/Makefile.objs | 2 +- 1 file changed, 1 insertion(+), 1

[Qemu-devel] [PATCH] hw/tpm: Only build tpm_ppi.o if any of TPM_TIS/TPM_CRB is built

2019-04-27 Thread Philippe Mathieu-Daudé
The TPM Physical Presence Interface routines are only used by the CRB/TIS interfaces. Do not compile this file if any of them is built. Signed-off-by: Philippe Mathieu-Daudé --- Marc-André: You might want to add yourself as reviewer/maintainer of TPM ;) --- hw/tpm/Makefile.objs | 4 ++-- 1

Re: [Qemu-devel] [PATCH 1/2] target/alpha: Clean up alpha_cpu_dump_state

2019-04-27 Thread Philippe Mathieu-Daudé
On 4/27/19 2:51 AM, Richard Henderson wrote: > Drop the "RI" and "FIR" prefixes; use only the normal linux names. > Add the FPCR to the dump. > > Signed-off-by: Richard Henderson > --- > target/alpha/helper.c | 19 ++- > 1 file changed, 10 insertions(+), 9 deletions(-) > > diff

Re: [Qemu-devel] [Qemu-block] [PATCH] block/rbd: add preallocation support

2019-04-27 Thread Jason Dillaman
On Sat, Apr 27, 2019 at 7:37 AM Stefano Garzarella wrote: > > This patch adds the support of preallocation (off/full) for the RBD > block driver. > If available, we use rbd_writesame() to quickly fill the image when > full preallocation is required. > > Signed-off-by: Stefano Garzarella > --- >

[Qemu-devel] [PATCH] block/rbd: add preallocation support

2019-04-27 Thread Stefano Garzarella
This patch adds the support of preallocation (off/full) for the RBD block driver. If available, we use rbd_writesame() to quickly fill the image when full preallocation is required. Signed-off-by: Stefano Garzarella --- block/rbd.c | 149 ++-

Re: [Qemu-devel] [PATCH v2 1/3] q35: set split kernel irqchip as default

2019-04-27 Thread Paolo Bonzini
On 27/04/19 07:29, Paolo Bonzini wrote: > >>> In my testing it looks like KVM advertises supporting the KVM_IRQFD >>> resample feature, but vfio never gets the unmask notification, so the >>> device remains with DisINTx set and no further interrupts are >>> generated. Do we expect KVM's IRQFD