qemu-s390x
[Top][All Lists]
Advanced

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

Re: [PATCH v1 05/14] s390x/s390-virtio-ccw: move setting the maximum gue


From: Thomas Huth
Subject: Re: [PATCH v1 05/14] s390x/s390-virtio-ccw: move setting the maximum guest size from sclp to machine code
Date: Thu, 12 Sep 2024 10:07:04 +0200
User-agent: Mozilla Thunderbird

On 10/09/2024 19.58, David Hildenbrand wrote:
Nowadays, it feels more natural to have that code located in
s390_memory_init(), where we also have direct access to the machine
object.

While at it, use the actual RAM size, not the maximum RAM size which
cannot currently be reached without support for any memory devices.

Signed-off-by: David Hildenbrand <david@redhat.com>
---
  hw/s390x/s390-virtio-ccw.c | 22 ++++++++++++++++++----
  hw/s390x/sclp.c            | 11 -----------
  2 files changed, 18 insertions(+), 15 deletions(-)

Reviewed-by: Thomas Huth <thuth@redhat.com>




reply via email to

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