Public bug reported:

[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 is any default machine defined:

$ 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.

** Affects: qemu (Ubuntu)
     Importance: Wishlist
     Assignee: Dan Streetman (ddstreet)
         Status: In Progress

** Affects: qemu (Ubuntu Bionic)
     Importance: Wishlist
     Assignee: Dan Streetman (ddstreet)
         Status: In Progress

** Affects: qemu (Ubuntu Disco)
     Importance: Wishlist
     Assignee: Dan Streetman (ddstreet)
         Status: In Progress

** Affects: qemu (Ubuntu Eoan)
     Importance: Wishlist
     Assignee: Dan Streetman (ddstreet)
         Status: In Progress

** Also affects: qemu (Ubuntu Eoan)
   Importance: Undecided
       Status: New

** Also affects: qemu (Ubuntu Disco)
   Importance: Undecided
       Status: New

** Also affects: qemu (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Changed in: qemu (Ubuntu Disco)
     Assignee: (unassigned) => Dan Streetman (ddstreet)

** Changed in: qemu (Ubuntu Eoan)
     Assignee: (unassigned) => Dan Streetman (ddstreet)

** Changed in: qemu (Ubuntu Bionic)
     Assignee: (unassigned) => Dan Streetman (ddstreet)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1844357

Title:
  arm has no default machine type

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1844357/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to