[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH RFCv3 7/9] s390x: prepare device memory address space
From: |
David Hildenbrand |
Subject: |
Re: [PATCH RFCv3 7/9] s390x: prepare device memory address space |
Date: |
Mon, 27 Jul 2020 11:57:06 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 |
On 27.07.20 11:56, Cornelia Huck wrote:
> On Fri, 24 Jul 2020 16:37:48 +0200
> David Hildenbrand <david@redhat.com> wrote:
>
>> Let's allocate the device memory information and setup the device
>> memory address space. The RAM size returned via SCLP is not modified. Guest
>> OSs which support memory devices (like virtio-mem) are expected to
>> consult diag500(4).
>>
>> Signed-off-by: David Hildenbrand <david@redhat.com>
>> ---
>> hw/s390x/s390-virtio-ccw.c | 37 ++++++++++++++++++++++++++++++
>> hw/s390x/sclp.c | 6 ++++-
>> include/hw/s390x/s390-virtio-ccw.h | 3 +++
>> 3 files changed, 45 insertions(+), 1 deletion(-)
>>
>
> (...)
>
>> @@ -783,8 +817,11 @@ static void
>> ccw_machine_5_0_instance_options(MachineState *machine)
>>
>> static void ccw_machine_5_0_class_options(MachineClass *mc)
>> {
>> + S390CcwMachineClass *s390mc = S390_MACHINE_CLASS(mc);
>> +
>> ccw_machine_5_1_class_options(mc);
>> compat_props_add(mc->compat_props, hw_compat_5_0, hw_compat_5_0_len);
>> + s390mc->memory_devices_allowed = false;
>
> I guess that needs to go one version up. (I plan to send the 5.2
> machines patch in the next days.)
Indeed!
--
Thanks,
David / dhildenb
- [PATCH RFCv3 2/9] s390x/diag: no need to check for PGM_PRIVILEGED in diag308, (continued)
- [PATCH RFCv3 2/9] s390x/diag: no need to check for PGM_PRIVILEGED in diag308, David Hildenbrand, 2020/07/24
- [PATCH RFCv3 1/9] s390x: move setting of maximum ram size to machine init, David Hildenbrand, 2020/07/24
- [PATCH RFCv3 4/9] s390x: prepare for more diag500 hypercalls, David Hildenbrand, 2020/07/24
- [PATCH RFCv3 5/9] s390x: rename s390-virtio-hcall* to s390-hypercall*, David Hildenbrand, 2020/07/24
- [PATCH RFCv3 7/9] s390x: prepare device memory address space, David Hildenbrand, 2020/07/24
- [PATCH RFCv3 6/9] s390x/diag: subcode to query device memory region, David Hildenbrand, 2020/07/24
- Re: [PATCH RFCv3 6/9] s390x/diag: subcode to query device memory region, Cornelia Huck, 2020/07/27
- Re: [PATCH RFCv3 6/9] s390x/diag: subcode to query device memory region, David Hildenbrand, 2020/07/27
- Re: [PATCH RFCv3 6/9] s390x/diag: subcode to query device memory region, Cornelia Huck, 2020/07/27
- Re: [PATCH RFCv3 6/9] s390x/diag: subcode to query device memory region, David Hildenbrand, 2020/07/27
- Re: [PATCH RFCv3 6/9] s390x/diag: subcode to query device memory region, Heiko Carstens, 2020/07/27
- Re: [PATCH RFCv3 6/9] s390x/diag: subcode to query device memory region, David Hildenbrand, 2020/07/27
- Re: [PATCH RFCv3 6/9] s390x/diag: subcode to query device memory region, Cornelia Huck, 2020/07/28
- Re: [PATCH RFCv3 6/9] s390x/diag: subcode to query device memory region, David Hildenbrand, 2020/07/29
- Re: [PATCH RFCv3 6/9] s390x/diag: subcode to query device memory region, Cornelia Huck, 2020/07/29