[PATCH v5 11/16] audio/dbus: Fix building with modules on macOS

2022-02-14 Thread Philippe Mathieu-Daudé via
When configuring QEMU with --enable-modules we get on macOS: --- stderr --- Dependency ui-dbus cannot be satisfied ui-dbus depends on pixman and opengl, so add these dependencies to audio-dbus. Fixes: 739362d420 ("audio: add "dbus" audio backend") Reviewed-by: Li Zhang Signed-off-by: Philip

[PATCH v5 01/16] MAINTAINERS: Add Akihiko Odaki to macOS-relateds

2022-02-14 Thread Philippe Mathieu-Daudé via
From: Akihiko Odaki Signed-off-by: Akihiko Odaki Reviewed-by: Christian Schoenebeck Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20220213021215.1974-1-akihiko.od...@gmail.com> Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAIN

[RFC PATCH 7/9] vhost: Add vhost_svq_inject

2022-02-14 Thread Eugenio Pérez
This allows qemu to inject packets to the device without guest's notice. This will be use to inject net CVQ messages to restore status in the destination Signed-off-by: Eugenio Pérez --- hw/virtio/vhost-shadow-virtqueue.h | 2 + hw/virtio/vhost-shadow-virtqueue.c | 142 +++

[RFC PATCH 4/9] vhost: Add SVQElement

2022-02-14 Thread Eugenio Pérez
This allows SVQ to add metadata to the different queue elements Signed-off-by: Eugenio Pérez --- hw/virtio/vhost-shadow-virtqueue.c | 52 ++ 1 file changed, 31 insertions(+), 21 deletions(-) diff --git a/hw/virtio/vhost-shadow-virtqueue.c b/hw/virtio/vhost-shadow-vi

Re: [PATCH v5 3/3] virtiofsd: Add support for FUSE_SYNCFS request without announce_submounts

2022-02-14 Thread Vivek Goyal
On Mon, Feb 14, 2022 at 01:56:08PM -0500, Vivek Goyal wrote: > On Mon, Feb 14, 2022 at 01:27:22PM -0500, Vivek Goyal wrote: > > On Mon, Feb 14, 2022 at 02:58:20PM +0100, Greg Kurz wrote: > > > This adds the missing bits to support FUSE_SYNCFS in the case submounts > > > aren't announced to the clie

[PATCH v5 09/16] block/file-posix: Remove a deprecation warning on macOS 12

2022-02-14 Thread Philippe Mathieu-Daudé via
When building on macOS 12 we get: block/file-posix.c:3335:18: warning: 'IOMasterPort' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] kernResult = IOMasterPort( MACH_PORT_NULL, &masterPort ); ^~~~ IOMainPort Replace

[RFC PATCH 5/9] vhost: Add custom used buffer callback

2022-02-14 Thread Eugenio Pérez
The callback allows SVQ users to know the VirtQueue requests and responses. QEMU can use this to synchronize virtio device model state, allowing to migrate it with minimum changes to the migration code. In the case of networking, this will be used to inspect control virtqueue messages. Signed-off

[PATCH 1/1] vdpa: Make ncs autofree

2022-02-14 Thread Eugenio Pérez
Simplifying memory management. Signed-off-by: Eugenio Pérez --- net/vhost-vdpa.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa.c index 4125d13118..4befba5cc7 100644 --- a/net/vhost-vdpa.c +++ b/net/vhost-vdpa.c @@ -264,7 +264,8 @@ int

[RFC PATCH 0/9] Net Control VQ support in vDPA SVQ

2022-02-14 Thread Eugenio Pérez
Control virtqueue is used by networking device for accepting various commands from the driver. It's a must to support multiqueue and other configurations. Shadow VirtQueue (SVQ) [1] already makes possible migration of virtqueue states, effectively intercepting them so qemu can track what regions o

[PATCH v5 10/16] audio/coreaudio: Remove a deprecation warning on macOS 12

2022-02-14 Thread Philippe Mathieu-Daudé via
When building on macOS 12 we get: audio/coreaudio.c:50:5: error: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Werror,-Wdeprecated-declarations] kAudioObjectPropertyElementMaster ^ kAudioObjectPropertyElemen

[PATCH 0/1] vdpa: Make ncs autofree

2022-02-14 Thread Eugenio Pérez
Trivial patch extracted from [1] series. It helps to simplify the memory management of the function when adding exit paths following the qemu guidelines. Thanks! [1] https://patchwork.kernel.org/project/qemu-devel/patch/20220121202733.404989-30-epere...@redhat.com/ Eugenio Pérez (1): vdpa: Ma

[RFC PATCH 1/9] virtio-net: Expose ctrl virtqueue logic

2022-02-14 Thread Eugenio Pérez
This allows external vhost-net devices to modify the state of the VirtIO device model once vhost-vdpa device has acknowledge the control commands. Signed-off-by: Eugenio Pérez --- include/hw/virtio/virtio-net.h | 3 ++ hw/net/virtio-net.c| 83 -- 2 fi

[PATCH v5 13/16] ui/cocoa: Add Services menu

2022-02-14 Thread Philippe Mathieu-Daudé via
From: Akihiko Odaki Services menu functionality of Cocoa is described at: https://developer.apple.com/design/human-interface-guidelines/macos/extensions/services/ Signed-off-by: Akihiko Odaki Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Message-Id: <20220214091320.517

[RFC PATCH 3/9] virtio: Make virtqueue_alloc_element non-static

2022-02-14 Thread Eugenio Pérez
So SVQ can allocate elements using it Signed-off-by: Eugenio Pérez --- include/hw/virtio/virtio.h | 1 + hw/virtio/virtio.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/hw/virtio/virtio.h b/include/hw/virtio/virtio.h index f095637058..6f4cccfd42 100644 --

[PATCH v5 14/16] ui/cocoa: Do not alert even without block devices

2022-02-14 Thread Philippe Mathieu-Daudé via
From: Akihiko Odaki Signed-off-by: Akihiko Odaki Message-Id: <20220213021418.2155-1-akihiko.od...@gmail.com> Signed-off-by: Philippe Mathieu-Daudé --- ui/cocoa.m | 5 - 1 file changed, 5 deletions(-) diff --git a/ui/cocoa.m b/ui/cocoa.m index becca58cb7..6cadd43309 100644 --- a/ui/cocoa.m

[RFC PATCH 6/9] vdpa: Add map/unmap operation callback to SVQ

2022-02-14 Thread Eugenio Pérez
Signed-off-by: Eugenio Pérez --- hw/virtio/vhost-shadow-virtqueue.h | 13 - hw/virtio/vhost-shadow-virtqueue.c | 12 +++- hw/virtio/vhost-vdpa.c | 20 +++- 3 files changed, 42 insertions(+), 3 deletions(-) diff --git a/hw/virtio/vhost-shadow-virtqu

[PATCH v5 15/16] lcitool: refresh

2022-02-14 Thread Philippe Mathieu-Daudé via
Signed-off-by: Philippe Mathieu-Daudé --- tests/docker/dockerfiles/ubuntu1804.docker | 2 -- tests/docker/dockerfiles/ubuntu2004.docker | 2 -- 2 files changed, 4 deletions(-) diff --git a/tests/docker/dockerfiles/ubuntu1804.docker b/tests/docker/dockerfiles/ubuntu1804.docker index 699f2dfc6a..

[RFC PATCH 8/9] vhost: Add vhost_svq_start_op

2022-02-14 Thread Eugenio Pérez
Signed-off-by: Eugenio Pérez --- hw/virtio/vhost-shadow-virtqueue.h | 4 +++- hw/virtio/vhost-shadow-virtqueue.c | 4 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/hw/virtio/vhost-shadow-virtqueue.h b/hw/virtio/vhost-shadow-virtqueue.h index 767b0a82ba..8f2377bbc4 100644 ---

Re: [PULL 00/34] tcg patch queue

2022-02-14 Thread Peter Maydell
On Fri, 11 Feb 2022 at 01:31, Richard Henderson wrote: > > The following changes since commit 0a301624c2f4ced3331ffd5bce85b4274fe132af: > > Merge remote-tracking branch > 'remotes/pmaydell/tags/pull-target-arm-20220208' into staging (2022-02-08 > 11:40:08 +) > > are available in the Git re

Re: [PULL 10/24] iotest 065: explicit compression type

2022-02-14 Thread Thomas Huth
On 01/02/2022 15.42, Hanna Reitz wrote: From: Vladimir Sementsov-Ogievskiy The test checks different options. It of course fails if set IMGOPTS='compression_type=zstd'. So, let's be explicit in what compression type we want and independent of IMGOPTS. Test both existing compression types. Sign

[RFC PATCH 9/9] vdpa: control virtqueue support on shadow virtqueue

2022-02-14 Thread Eugenio Pérez
Introduce the control virtqueue support for vDPA shadow virtqueue. This is needed for advanced networking features like multiqueue. To demonstrate command handling, VIRTIO_NET_F_CTROL_MACADDR is implemented. If vDPA device is started with SVQ support, and MAC changes in the source VM, it will be t

Re: [PATCH 0/6] ui/dbus: Share one listener for a console

2022-02-14 Thread Marc-André Lureau
Hi On Mon, Feb 14, 2022 at 5:15 PM Akihiko Odaki wrote: > On Mon, Feb 14, 2022 at 9:07 PM Marc-André Lureau > wrote: > > > > Hi Akihiko > > > > On Sun, Feb 13, 2022 at 6:44 AM Akihiko Odaki > wrote: > >> > >> ui/dbus required to have multiple DisplayChangeListeners (possibly with > OpenGL) > >

[PATCH 1/3] ui/console: fix crash when using gl context with non-gl listeners

2022-02-14 Thread marcandre . lureau
From: Marc-André Lureau The commit 7cc712e98 ("ui: dispatch GL events to all listener") mechanically replaced the dpy_gl calls with a dispatch loop, using the same pre-conditions. However, it didn't take into account that all listeners do not have to implement the GL callbacks. Add the missing p

[PATCH 0/3] GL console related fixes

2022-02-14 Thread marcandre . lureau
From: Marc-André Lureau Hi, In the thread "[PATCH 0/6] ui/dbus: Share one listener for a console", Akihiko Odaki reported a number of issues with the GL and D-Bus display. His series propose a different design, and reverting some of my previous generic console changes to fix those issues. Howev

[PATCH 2/3] ui/console: fix texture leak when calling surface_gl_create_texture()

2022-02-14 Thread marcandre . lureau
From: Marc-André Lureau Make surface_gl_create_texture() idempotent: if the surface is already bound to a texture, do not create a new one. This fixes texture leaks when there are multiple DBus listeners, for example. Reported-by: Akihiko Odaki Signed-off-by: Marc-André Lureau --- ui/console

[PATCH 3/3] ui: do not create a surface when resizing a GL scanout

2022-02-14 Thread marcandre . lureau
From: Marc-André Lureau qemu_console_resize() will create a blank surface and replace the current scanout with it if called while the current scanout is GL (texture or dmabuf). This is not only very costly, but also can produce glitches on the display/listener side. Instead, compare the current

Re: [PATCH v6 00/11] 9p: Add support for darwin

2022-02-14 Thread Will Cohen
Hello all, I'm seeing on the updated release schedule that we're now looking at March 8 for soft feature freeze ( https://wiki.qemu.org/Planning/7.0#Release_Schedule). Is there anything additional that should be prepared for this patch set to hopefully be able to target 7.0? Will On Thu, Feb 10,

Re: [PULL 0/3] Block layer patches

2022-02-14 Thread Peter Maydell
On Fri, 11 Feb 2022 at 17:59, Kevin Wolf wrote: > > The following changes since commit 0a301624c2f4ced3331ffd5bce85b4274fe132af: > > Merge remote-tracking branch > 'remotes/pmaydell/tags/pull-target-arm-20220208' into staging (2022-02-08 > 11:40:08 +) > > are available in the Git repositor

Re: [PATCH 1/1] vdpa: Make ncs autofree

2022-02-14 Thread Philippe Mathieu-Daudé via
On 14/2/22 20:34, Eugenio Pérez wrote: Simplifying memory management. Signed-off-by: Eugenio Pérez --- net/vhost-vdpa.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Reviewed-by: Philippe Mathieu-Daudé

Re: [PATCH 1/3] ui/console: fix crash when using gl context with non-gl listeners

2022-02-14 Thread Philippe Mathieu-Daudé via
On 14/2/22 21:13, marcandre.lur...@redhat.com wrote: From: Marc-André Lureau The commit 7cc712e98 ("ui: dispatch GL events to all listener") mechanically replaced the dpy_gl calls with a dispatch loop, using the same pre-conditions. However, it didn't take into account that all listeners do not

Re: [PATCH v6 09/11] 9p: darwin: Implement compatibility for mknodat

2022-02-14 Thread Philippe Mathieu-Daudé via
On 10/2/22 14:29, Will Cohen wrote: From: Keno Fischer Darwin does not support mknodat. However, to avoid race conditions with later setting the permissions, we must avoid using mknod on the full path instead. We could try to fchdir, but that would cause problems if multiple threads try to call

Re: [PATCH 2/2] target/ppc/kvm: Use KVM_CAP_PPC_AIL_MODE_3 to determine cap-ail-mode-3 support

2022-02-14 Thread Nicholas Piggin
Excerpts from Fabiano Rosas's message of February 14, 2022 11:13 pm: > Nicholas Piggin writes: > >> Use KVM_CAP_PPC_AIL_MODE_3 to determine cap-ail-mode-3 support for KVM >> guests. Keep the fallback heuristic for KVM hosts that pre-date this >> CAP. >> >> This is only proposed the KVM CAP has no

Re: [PATCH] spapr: prevent hdec timer being set up under virtual hypervisor

2022-02-14 Thread Nicholas Piggin
Excerpts from Cédric Le Goater's message of February 15, 2022 4:05 am: > On 2/14/22 14:32, Fabiano Rosas wrote: >> Nicholas Piggin writes: >> >>> The spapr virtual hypervisor does not require the hdecr timer. >> >> Why is that? Is this not needed for an emulated powernv running KVM >> guests? Y

Re: [RFC PATCH 3/3] spapr: implement nested-hv support for the TCG virtual hypervisor

2022-02-14 Thread Nicholas Piggin
Excerpts from Fabiano Rosas's message of February 15, 2022 12:32 am: > Nicholas Piggin writes: > >> This implements the nested-hv hcall API for spapr under TCG. >> It's still a bit rough around the edges, concept seems to work. >> >> Some HV exceptions can be raised now in the TCG spapr machine w

Re: [RFC PATCH 3/3] spapr: implement nested-hv support for the TCG virtual hypervisor

2022-02-14 Thread Nicholas Piggin
Excerpts from Cédric Le Goater's message of February 15, 2022 4:31 am: > On 2/10/22 07:53, Nicholas Piggin wrote: >> +void cpu_ppc_hdecr_init (CPUPPCState *env) >> +{ >> +PowerPCCPU *cpu = env_archcpu(env); >> + >> +assert(env->tb_env->hdecr_timer == NULL); >> + >> +env->tb_env->hdecr_t

[NOTFORMERGE PATCH 0/1] target: Toward heterogeneous machine

2022-02-14 Thread Philippe Mathieu-Daudé via
Hi, following last week KVM call [1], I'm posting my playground machine to slowly work toward heterogeneous QEMU. This is orthogonal to Paolo / Markus / Daniel effort to have a qemu-system-qmp CLI entrypoint [2]. After refactoring a bit the headers to remove target-specific dependencies, we can re

[NOTFORMERGE PATCH 1/1] target: Add system emulation aiming to target any architecture

2022-02-14 Thread Philippe Mathieu-Daudé via
Add the 'any'-architecture target. - Only consider 64-bit targets - Do not use any hardware accelerator (except qtest) - For architecture constants, use: . max of supported targets phys/virt address space . max of supported targets MMU modes . min of supported targets variable page bits Bui

Re: [PATCH 1/2] spapr: Add SPAPR_CAP_AIL_MODE_3 for AIL mode 3 support for H_SET_MODE hcall

2022-02-14 Thread David Gibson
On Mon, Feb 14, 2022 at 09:17:48PM +1000, Nicholas Piggin wrote: > The behaviour of the Address Translation Mode on Interrupt resource is > not consistently supported by all CPU versions or all KVM versions. In > particular KVM HV only supports mode 0 on POWER7 processors and some > early POWER9 pr

Re: [RFC PATCH 3/3] spapr: implement nested-hv support for the TCG virtual hypervisor

2022-02-14 Thread Nicholas Piggin
Excerpts from Nicholas Piggin's message of February 15, 2022 9:28 am: > Excerpts from Cédric Le Goater's message of February 15, 2022 4:31 am: >> On 2/10/22 07:53, Nicholas Piggin wrote: >>> +void spapr_enter_nested(PowerPCCPU *cpu) >>> +{ >>> +SpaprMachineState *spapr = SPAPR_MACHINE(qdev_get_

Re: [PATCH 1/1] vdpa: Make ncs autofree

2022-02-14 Thread Jason Wang
On Tue, Feb 15, 2022 at 3:34 AM Eugenio Pérez wrote: > > Simplifying memory management. > > Signed-off-by: Eugenio Pérez Acked-by: Jason Wang > --- > net/vhost-vdpa.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa.c > index 4125

Re: [PATCH 0/6] ui/dbus: Share one listener for a console

2022-02-14 Thread Akihiko Odaki
On 2022/02/15 4:49, Marc-André Lureau wrote: Hi On Mon, Feb 14, 2022 at 5:15 PM Akihiko Odaki > wrote: On Mon, Feb 14, 2022 at 9:07 PM Marc-André Lureau mailto:marcandre.lur...@gmail.com>> wrote: > > Hi Akihiko > > On Sun, Feb 13,

[PATCH 0/9] ppc: nested KVM HV for spapr virtual hypervisor

2022-02-14 Thread Nicholas Piggin
Here is the rollup of patches in much better shape since the RFC. I include the 2 first ones unchanged from independent submission just to be clear that this series requires them. Thanks Cedric and Fabiano for wading through my poor quality RFC code, very good changes suggested and I hope I got mo

[PATCH 4/9] target/ppc: add vhyp addressing mode helper for radix MMU

2022-02-14 Thread Nicholas Piggin
The radix on vhyp MMU uses a single-level radix table walk, with the partition scope mapping provided by the flat QEMU machine memory. A subsequent change will use the two-level radix walk on vhyp in some situations, so provide a helper which can abstract that logic. Signed-off-by: Nicholas Piggi

[PATCH 1/9] target/ppc: raise HV interrupts for partition table entry problems

2022-02-14 Thread Nicholas Piggin
Invalid or missing partition table entry exceptions should cause HV interrupts. HDSISR is set to bad MMU config, which is consistent with the ISA and experimentally matches what POWER9 generates. Signed-off-by: Nicholas Piggin --- target/ppc/mmu-radix64.c | 4 ++-- 1 file changed, 2 insertions(+

[PATCH 8/9] target/ppc: Introduce a vhyp framework for nested HV support

2022-02-14 Thread Nicholas Piggin
Introduce virtual hypervisor methods that can support a "Nested KVM HV" implementation using the bare metal 2-level radix MMU, and using HV exceptions to return from H_ENTER_NESTED (rather than cause interrupts). HV exceptions can now be raised in the TCG spapr machine when running a nested KVM HV

[PATCH 2/9] spapr: prevent hdec timer being set up under virtual hypervisor

2022-02-14 Thread Nicholas Piggin
The spapr virtual hypervisor does not require the hdecr timer. Remove it. Signed-off-by: Nicholas Piggin --- hw/ppc/ppc.c| 2 +- hw/ppc/spapr_cpu_core.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/ppc/ppc.c b/hw/ppc/ppc.c index ba7fa0f3b5..c6dfc5975f

[PATCH 9/9] spapr: implement nested-hv capability for the virtual hypervisor

2022-02-14 Thread Nicholas Piggin
This implements the Nested KVM HV hcall API for spapr under TCG. The L2 is switched in when the H_ENTER_NESTED hcall is made, and the L1 is switched back in returned from the hcall when a HV exception is sent to the vhyp. Register state is copied in and out according to the nested KVM HV hcall API

[PATCH 3/9] ppc: allow the hdecr timer to be created/destroyed

2022-02-14 Thread Nicholas Piggin
Machines which don't emulate the HDEC facility are able to use the timer for something else. Provide functions to start and stop the hdecr timer. Signed-off-by: Nicholas Piggin --- hw/ppc/ppc.c | 20 include/hw/ppc/ppc.h | 3 +++ 2 files changed, 23 insertions(+) d

[PATCH 5/9] target/ppc: make vhyp get_pate method take lpid and return success

2022-02-14 Thread Nicholas Piggin
In prepartion for implementing a full partition table option for vhyp, update the get_pate method to take an lpid and return a success/fail indicator. The spapr implementation currently just asserts lpid is always 0 and always return success. Signed-off-by: Nicholas Piggin --- hw/ppc/spapr.c

[PATCH 6/9] target/ppc: add helper for books vhyp hypercall handler

2022-02-14 Thread Nicholas Piggin
The virtual hypervisor currently always intercepts and handles hypercalls but with a future change this will not always be the case. Add a helper for the test so the logic is abstracted from the mechanism. Signed-off-by: Nicholas Piggin --- target/ppc/excp_helper.c | 14 +- 1 file c

[PATCH 7/9] target/ppc: Add powerpc_reset_excp_state helper

2022-02-14 Thread Nicholas Piggin
This moves the logic to reset the QEMU exception state into its own function. Signed-off-by: Nicholas Piggin --- target/ppc/excp_helper.c | 41 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/target/ppc/excp_helper.c b/target/ppc/excp_help

[PATCH v2] Check and report for incomplete 'global' option format

2022-02-14 Thread Rohit Kumar
Qemu might crash when provided incomplete '-global' option. For example: qemu-system-x86_64 -global driver=isa-fdc qemu-system-x86_64: ../../devel/qemu/qapi/string-input-visitor.c:394: string_input_visitor_new: Assertion `str' failed. Aborted (core dumped) Resolves:

Re: [PATCH] [RESEND] docs: Add spec of OVMF GUIDed table for SEV guests

2022-02-14 Thread Dov Murik
On 04/01/2022 20:07, Daniel P. Berrangé wrote: > On Mon, Jan 03, 2022 at 11:14:13AM +0200, Dov Murik wrote: >> Add docs/specs/sev-guest-firmware.rst which describes the GUIDed table >> in the end of OVMF's image which is parsed by QEMU, and currently used >> to describe some values for SEV and S

Re: [PATCH v2] docs: Add measurement calculation details to amd-memory-encryption.txt

2022-02-14 Thread Dov Murik
On 04/01/2022 20:00, Daniel P. Berrangé wrote: > On Mon, Dec 20, 2021 at 10:42:24AM +, Dov Murik wrote: >> Add a section explaining how the Guest Owner should calculate the >> expected guest launch measurement for SEV and SEV-ES. >> >> Also update the name and link to the SEV API Spec docume

Re: [PATCH v5 10/16] audio/coreaudio: Remove a deprecation warning on macOS 12

2022-02-14 Thread Akihiko Odaki
On Tue, Feb 15, 2022 at 3:57 AM Philippe Mathieu-Daudé wrote: > > When building on macOS 12 we get: > > audio/coreaudio.c:50:5: error: 'kAudioObjectPropertyElementMaster' is > deprecated: first deprecated in macOS 12.0 [-Werror,-Wdeprecated-declarations] > kAudioObjectPropertyElementMaste

Re: 9 TiB vm memory creation

2022-02-14 Thread Ani Sinha
On Mon, 14 Feb 2022, David Hildenbrand wrote: > On 14.02.22 13:36, Igor Mammedov wrote: > > On Mon, 14 Feb 2022 10:54:22 +0530 (IST) > > Ani Sinha wrote: > > > >> Hi Igor: > >> > >> I failed to spawn a 9 Tib VM. The max I could do was a 2 TiB vm on my > >> system with the following commandline

Re: [PULL 0/5] 9p queue 2022-02-10

2022-02-14 Thread Greg Kurz
On Mon, 14 Feb 2022 17:43:51 +0300 Vitaly Chikunov wrote: > Christian, > > On Mon, Feb 14, 2022 at 12:44:48PM +0100, Christian Schoenebeck wrote: > > On Montag, 14. Februar 2022 11:36:53 CET Greg Kurz wrote: > > > The synth backend should be fixed to honor d_reclen, or > > > at least to allocate

Re: 9 TiB vm memory creation

2022-02-14 Thread Ani Sinha
> > static hwaddr kvm_max_slot_size = ~0; > > > > And only s390x sets > > > > kvm_set_max_memslot_size(KVM_SLOT_MAX_BYTES); > > > > with > > > > #define KVM_SLOT_MAX_BYTES (4UL * TiB) > > > > > So seems in Igor's system its getting limited by kvm not qemu. oops sorry, I read through the thread

Re: 9 TiB vm memory creation

2022-02-14 Thread Ani Sinha
> > > With KVM enabled it bails out with: > > >qemu-system-x86_64: kvm_set_user_memory_region: > > > KVM_SET_USER_MEMORY_REGION failed, slot=1, start=0x1, > > > size=0x8ff4000: Invalid argument > > > > > I have seen this in my system but not always. Maybe I should have dug > dee

Re: [PATCH v5 10/16] audio/coreaudio: Remove a deprecation warning on macOS 12

2022-02-14 Thread Philippe Mathieu-Daudé via
On 15/2/22 07:53, Akihiko Odaki wrote: On Tue, Feb 15, 2022 at 3:57 AM Philippe Mathieu-Daudé wrote: When building on macOS 12 we get: audio/coreaudio.c:50:5: error: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Werror,-Wdeprecated-declarations]

Re: Call for GSoC and Outreachy project ideas for summer 2022

2022-02-14 Thread Jason Wang
On Mon, Feb 14, 2022 at 7:48 PM Stefano Garzarella wrote: > > On Mon, Feb 14, 2022 at 03:11:20PM +0800, Jason Wang wrote: > >On Fri, Jan 28, 2022 at 11:47 PM Stefan Hajnoczi wrote: > >> > >> Dear QEMU, KVM, and rust-vmm communities, > >> QEMU will apply for Google Summer of Code 2022 > >> (https:

Re: [PULL 15/28] tests: Update CentOS 8 container to CentOS Stream 8

2022-02-14 Thread Philippe Mathieu-Daudé via
Hi Thomas, On 9/2/22 15:15, Alex Bennée wrote: From: Thomas Huth Support for CentOS 8 has stopped at the end of 2021, so let's switch to the Stream variant instead. Signed-off-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Message-Id: <20220201101911.

Re: Call for GSoC and Outreachy project ideas for summer 2022

2022-02-14 Thread Jason Wang
On Mon, Feb 14, 2022 at 10:02 PM Stefan Hajnoczi wrote: > > On Mon, 14 Feb 2022 at 07:11, Jason Wang wrote: > > > > On Fri, Jan 28, 2022 at 11:47 PM Stefan Hajnoczi wrote: > > > > > > Dear QEMU, KVM, and rust-vmm communities, > > > QEMU will apply for Google Summer of Code 2022 > > > (https://su

Re: 9 TiB vm memory creation

2022-02-14 Thread David Hildenbrand
On 15.02.22 08:00, Ani Sinha wrote: > > > On Mon, 14 Feb 2022, David Hildenbrand wrote: > >> On 14.02.22 13:36, Igor Mammedov wrote: >>> On Mon, 14 Feb 2022 10:54:22 +0530 (IST) >>> Ani Sinha wrote: >>> Hi Igor: I failed to spawn a 9 Tib VM. The max I could do was a 2 TiB vm on m

<    1   2   3