diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-10-28 06:19:42 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-12-10 12:15:07 -0500 |
commit | 58a70f169e33446a1a666145faaa1602b8a2ad3d (patch) | |
tree | b5ae7cc220c5de35457fe6ec4ee85dc58bb16943 /hw/cris/axis_dev88.c | |
parent | 6e504a989dece8136d58f9f7c42f6e22b1ce49ae (diff) | |
download | qemu-58a70f169e33446a1a666145faaa1602b8a2ad3d.zip qemu-58a70f169e33446a1a666145faaa1602b8a2ad3d.tar.gz qemu-58a70f169e33446a1a666145faaa1602b8a2ad3d.tar.bz2 |
cris: do not use ram_size global
Use the machine properties instead.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/cris/axis_dev88.c')
-rw-r--r-- | hw/cris/axis_dev88.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/cris/axis_dev88.c b/hw/cris/axis_dev88.c index dab7423..b0cb6d8 100644 --- a/hw/cris/axis_dev88.c +++ b/hw/cris/axis_dev88.c @@ -333,6 +333,7 @@ void axisdev88_init(MachineState *machine) if (kernel_filename) { li.image_filename = kernel_filename; li.cmdline = kernel_cmdline; + li.ram_size = machine->ram_size; cris_load_image(cpu, &li); } else if (!qtest_enabled()) { fprintf(stderr, "Kernel image must be specified\n"); |