I agree to the low regression potential of this as anyone using a
cmdline that would be affected today gets an immediate failure by a
missing type. So I'm fine to consider adding this along some other SRU.

But I'd only do so if upstream qemu-arm can agree on it, thanks for
sending it there already.

** Description changed:

  [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:
+ 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.

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