improve error message, when using raspi3 and RAM>4G
Bug #1794187 reported by
sedrubal
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Running `qemu-system-
```
Unexpected error in visit_type_uintN() at /builddir/
qemu-system-
```
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
```
tags: | added: arm |
Changed in qemu: | |
status: | New → Confirmed |
To post a comment you must log in.
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.)