arm has no default machine type
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu (Ubuntu) |
Won't Fix
|
Wishlist
|
Dan Streetman | ||
Bionic |
Won't Fix
|
Wishlist
|
Dan Streetman | ||
Disco |
Won't Fix
|
Wishlist
|
Dan Streetman | ||
Eoan |
Won't Fix
|
Wishlist
|
Dan Streetman |
Bug Description
[impact]
The qemu-system-* binaries for most archs have a default machine type, meaning no --machine needs to be specified. This is extremely useful for situations running qemu on multiple archs in a common way, for example what systemd's self-testing does.
On arm archs, there is no default, so --machine must be specified. It would be better (i.e. qemu users would not need to include arch-specific qemu parameters) if there was a default machine for arm.
[test case]
install qemu-system-arm, and try to run qemu without any --machine specified.
Also, this command will show if there isn't any default machine defined (unless fixed):
$ qemu-system-aarch64 -M ? | grep default
[regression potential]
since no default is currently defined, all users of qemu-system-aarch64 or qemu-system-arm must currently define a machine type. This change would (should) not have any effect on them, since it only sets a default machine type for use when -M is not specified.
[other info]
I'm preparing a patch to send upstream and will add the link once sent.
Changed in qemu (Ubuntu Eoan): | |
importance: | Undecided → Low |
Changed in qemu (Ubuntu Disco): | |
importance: | Undecided → Wishlist |
Changed in qemu (Ubuntu Bionic): | |
importance: | Undecided → Wishlist |
Changed in qemu (Ubuntu Eoan): | |
importance: | Low → Wishlist |
status: | New → In Progress |
Changed in qemu (Ubuntu Disco): | |
status: | New → In Progress |
Changed in qemu (Ubuntu Bionic): | |
status: | New → In Progress |
I've targeted this to b/d/e, but it's not a bug fix, so no guarantee. It should be really simple though, and IMHO quite useful, so maybe cpaelzer can let it ride along with some other qemu sru.
Depends on getting it upstream first, of course.