aboutsummaryrefslogtreecommitdiff
path: root/backends/vhost-user.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2024-12-19 15:41:07 +0100
committerDavid Hildenbrand <david@redhat.com>2024-12-21 15:59:59 +0100
commit27221b69a3ea49339a1f82b9622126f3928e0915 (patch)
tree007331160db0ffde936775c1d0c7a121cd415f36 /backends/vhost-user.c
parent3c6fb557d295949bea291c3bf88ee9c83392e78c (diff)
downloadqemu-27221b69a3ea49339a1f82b9622126f3928e0915.zip
qemu-27221b69a3ea49339a1f82b9622126f3928e0915.tar.gz
qemu-27221b69a3ea49339a1f82b9622126f3928e0915.tar.bz2
s390x: introduce s390_get_memory_limit()
Let's add s390_get_memory_limit(), to query what has been successfully set via s390_set_memory_limit(). Allow setting the limit only once. We'll remember the limit in the machine state. Move s390_set_memory_limit() to machine code, merging it into set_memory_limit(), because this really is a machine property. Message-ID: <20241219144115.2820241-7-david@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'backends/vhost-user.c')
0 files changed, 0 insertions, 0 deletions