qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/3] Add symbols for memory listener priority


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 0/3] Add symbols for memory listener priority
Date: Wed, 28 Jun 2023 14:12:02 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.12.0

On 20/6/23 18:50, Isaku Yamahata wrote:
The hard-coded value, 10, is used for memory_listener_register().  Add symbolic
values for priority of struct MemoryLister.  Replace those hard-coded values
with symbols.

The background is KVM guest memory[1] or TDX support.  I'd like to add one more
memory listener whose priority is higher than the KVM memory listener.  And I
don't want to hard-code 10 + 1.

[1] KVM gmem patches
https://github.com/sean-jc/linux/tree/x86/kvm_gmem_solo

Isaku Yamahata (3):
   exec/memory: Add symbolic value for memory listener priority for accel
   exec/memory: Add symbol for memory listener priority for dev backend
   exec/memory: Add symbol for the min value of memory listener priority

Series:
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>

and queued fixing the typos, thanks.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]