Re: [PATCH v8] audio/pwaudio.c: Add Pipewire audio backend for QEMU

2023-03-19 Thread Volker Rümelin
diff --git a/audio/trace-events b/audio/trace-events index e1ab643add..e0acf9ac56 100644 --- a/audio/trace-events +++ b/audio/trace-events @@ -18,6 +18,13 @@ dbus_audio_register(const char *s, const char *dir) "sender = %s, dir = %s" dbus_audio_put_buffer_out(size_t len) "len = %zu" dbus_a

[PATCH] xen: Fix host pci for stubdom

2023-03-19 Thread Jason Andryuk
PCI passthrough for an HVM with a stubdom is PV PCI passthrough from dom0 to the stubdom, and then QEMU passthrough of the PCI device inside the stubdom. xen-pciback has boolean module param passthrough which controls "how to export PCI topology to guest". If passthrough=1, the frontend shows a P

Re: Audio playback speed issue on sam460ex and pegasos2

2023-03-19 Thread BALATON Zoltan
On Sun, 19 Mar 2023, Volker Rümelin wrote: Am 19.03.23 um 18:49 schrieb BALATON Zoltan: On Sun, 12 Mar 2023, Volker Rümelin wrote: Am 12.03.23 um 15:09 schrieb Rene Engel: Tested with -audiodev coreaudio,id=audio0,out.buffer-count=1 to 12 1 is too slow the rest up to 12 has no effect The sam

Re: Audio playback speed issue on sam460ex and pegasos2

2023-03-19 Thread Volker Rümelin
Am 19.03.23 um 18:49 schrieb BALATON Zoltan: On Sun, 12 Mar 2023, Volker Rümelin wrote: Am 12.03.23 um 15:09 schrieb Rene Engel: Tested with -audiodev coreaudio,id=audio0,out.buffer-count=1 to 12 1 is too slow the rest up to 12 has no effect The sampling frequency of the via-ac97 driver is 48

Re: Using QEMU how to redirect serial /dev/ttyS2 output of guest machine to host machine.

2023-03-19 Thread Cédric Le Goater
Hello Abhishek, On 3/18/23 18:55, Abhishek Singh Dagur wrote: Hi Alex , Cédric, we have tried this *option:-serial *pty* -serial *pty* -serial *pty *-serial *pty *-serial *pty to check the serial output on screen. Here we are providing 2 scenarios without and with the changes suggested by @Céd

Re: Audio playback speed issue on sam460ex and pegasos2

2023-03-19 Thread BALATON Zoltan
On Sun, 12 Mar 2023, Volker Rümelin wrote: Am 12.03.23 um 15:09 schrieb Rene Engel: Tested with -audiodev coreaudio,id=audio0,out.buffer-count=1 to 12 1 is too slow the rest up to 12 has no effect The sampling frequency of the via-ac97 driver is 48000 Hz under AmigaOs4.1 Any other ideas?

Re: [PATCH for 8.0] qemu/osdep: Switch position of "extern" and "G_NORETURN"

2023-03-19 Thread Peter Maydell
On Sat, 18 Mar 2023 at 19:00, Bernhard Beschow wrote: > > Fixes the Windows build under msys2 using GCC 12 which fails with the > following > error: Apparently it also fixes the compilation with Clang 15 (see https://gitlab.com/qemu-project/qemu/-/issues/1541 ). You could use a Resolves: tag s

Re: [PATCH v2 0/2] fix for #285

2023-03-19 Thread Emilio Cota
Ping. Any feedback on these two patches? https://patchew.org/QEMU/20230205163758.416992-1-c...@braap.org/ https://lore.kernel.org/qemu-devel/20230205163758.416992-1-c...@braap.org/ Happy to resend if needed. Thanks, Emilio On Fri, Feb 17, 2023 at 07:44:38 -0500, Emilio Cota wro

Re: [PATCH v2 0/7] plugin: fix clearing of plugin_mem_cbs on TB exit

2023-03-19 Thread Emilio Cota
On Fri, Mar 10, 2023 at 11:52:45 -0800, Richard Henderson wrote: > Changes for v2: (snip) > Richard Henderson (7): > tcg: Clear plugin_mem_cbs on TB exit > tcg: Drop plugin_gen_disable_mem_helpers from tcg_gen_exit_tb > include/qemu/plugin: Remove QEMU_PLUGIN_ASSERT > *: Add missing include

Re: Audio playback speed issue on sam460ex and pegasos2

2023-03-19 Thread Volker Rümelin
Am 12.03.23 um 21:28 schrieb BALATON Zoltan: On Sun, 12 Mar 2023, Volker Rümelin wrote: Am 12.03.23 um 16:34 schrieb BALATON Zoltan: On Sun, 12 Mar 2023, Volker Rümelin wrote: Am 12.03.23 um 14:23 schrieb BALATON Zoltan: On Sun, 12 Mar 2023, Volker Rümelin wrote: Am 11.03.23 um 23:54 schrieb

Re: [PATCH for-8.0] Revert "ui: set cursor position upon listener registration"

2023-03-19 Thread Bernhard Beschow
Am 19. März 2023 11:11:39 UTC schrieb "Marc-André Lureau" : >Hi > >On Sat, Mar 18, 2023 at 9:33 PM Bernhard Beschow wrote: >> >> Commit 6effaa16ac98 ("ui: set cursor position upon listener registration") >> causes the mouse cursor to be placed into the lower left corner when QEMU >> starts. Th

Re: [PATCH for-8.0] Revert "ui: set cursor position upon listener registration"

2023-03-19 Thread Marc-André Lureau
Hi On Sat, Mar 18, 2023 at 9:33 PM Bernhard Beschow wrote: > > Commit 6effaa16ac98 ("ui: set cursor position upon listener registration") > causes the mouse cursor to be placed into the lower left corner when QEMU > starts. This could be reproduced with just by running > `qemu-system-x86_64`. > >

[PATCH] ui: return the default console cursor when con == NULL

2023-03-19 Thread marcandre . lureau
From: Marc-André Lureau VNC code relies on con==NULL to mean the default console. Fixes: https://gitlab.com/qemu-project/qemu/-/issues/1548 Fixes: commit 385ac97f8 ("ui: keep current cursor with QemuConsole") Signed-off-by: Marc-André Lureau --- ui/console.c | 3 +++ 1 file changed, 3 inserti

Re: [RFC PATCH v2 03/11] hw/arm/smmuv3: Refactor stage-1 PTW

2023-03-19 Thread Mostafa Saleh
Hi Eric, On Fri, Mar 17, 2023 at 07:31:06PM +0100, Eric Auger wrote: > > +#define SMMU_LEVELS 4 > > + > > +#define SMMU_STRIDE(gran) ((gran) - SMMU_LEVELS + 1) > > +#define SMMU_BIT_LVL(isz, strd, lvl)((isz) - (strd) * \ > > +