[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1794187] Re: improve error message, when using raspi3
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [Bug 1794187] Re: improve error message, when using raspi3 and RAM>4G |
Date: |
Thu, 28 Mar 2019 10:22:26 -0000 |
I've submitted a patch to the list:
http://patchwork.ozlabs.org/patch/1067963/
With it, QEMU will give this error instead:
qemu-system-aarch64: Requested ram size is too large for this machine:
maximum is 1GB
(Note that the maximum is 1GB, not 4GB -- it's just that values between
1 and 4GB happened not to make QEMU crash, though it wouldn't handle
them very usefully before.)
** Changed in: qemu
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1794187
Title:
improve error message, when using raspi3 and RAM>4G
Status in QEMU:
In Progress
Bug description:
Running `qemu-system-aarch64 image-aarch64.iso --machine raspi3 -m 8G`
prints this error message:
```
Unexpected error in visit_type_uintN() at
/builddir/build/BUILD/qemu-3.0.0/qapi/qapi-visit-core.c:164:
qemu-system-aarch64: Parameter 'vcram-base' expects uint32_t
```
The problem is, that you musn't use more than 4 GB RAM for machine
raspi3. As it took me some time to figure that out, I'd be glad, if
you can print better error message, like you do, when using more than
4 CPU cores with machine raspi3:
```
Invalid SMP CPUs 8. The max CPUs supported by machine 'raspi3' is 4
```
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1794187/+subscriptions