diff options
author | David Hildenbrand <david@redhat.com> | 2017-08-18 13:43:36 +0200 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2017-08-30 18:23:25 +0200 |
commit | fba5f6feba119c2c2ac3ecc8f7cb630085611c93 (patch) | |
tree | 24c87ba292b313e432b76f9c62c5bb3c967e6854 /hw/s390x/sclp.c | |
parent | 574ee06de9c4fe63c90be90dc9c747fc9382bb2b (diff) |
s390x/kvm: drop KVMState parameter from s390_get_memslot_count()
Not needed at that point.
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170818114353.13455-2-david@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/s390x/sclp.c')
-rw-r--r-- | hw/s390x/sclp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/sclp.c b/hw/s390x/sclp.c index 7ae6a0e37a..ffdf4712a1 100644 --- a/hw/s390x/sclp.c +++ b/hw/s390x/sclp.c @@ -57,7 +57,7 @@ static void read_SCP_info(SCLPDevice *sclp, SCCB *sccb) CPUState *cpu; int cpu_count = 0; int rnsize, rnmax; - int slots = MIN(machine->ram_slots, s390_get_memslot_count(kvm_state)); + int slots = MIN(machine->ram_slots, s390_get_memslot_count()); IplParameterBlock *ipib = s390_ipl_get_iplb(); CPU_FOREACH(cpu) { |