diff options
author | David Hildenbrand | 2017-08-18 13:43:36 +0200 |
---|---|---|
committer | Cornelia Huck | 2017-08-30 18:23:25 +0200 |
commit | fba5f6feba119c2c2ac3ecc8f7cb630085611c93 (patch) | |
tree | 24c87ba292b313e432b76f9c62c5bb3c967e6854 /hw | |
parent | s390x/s390-skeys: Mark the storage key devices with user_creatable = false (diff) | |
download | qemu-fba5f6feba119c2c2ac3ecc8f7cb630085611c93.tar.gz qemu-fba5f6feba119c2c2ac3ecc8f7cb630085611c93.tar.xz qemu-fba5f6feba119c2c2ac3ecc8f7cb630085611c93.zip |
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')
-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) { |