pmbootstrap/pmb
Minecrell 240e10816d
pmb.qemu: use consistent hardware for all architectures (!1886)
To ensure consistent behavior for QEMU on all architectures,
it is helpful to try to use the same hardware elements where possible.

A few examples of current inconsistent behavior:
  - x86_64 uses a SCSI disk, while aarch64 uses virtio-blk
  - x86_64 uses e1000 network, while aarch64 uses virtio-net-device
  - x86_64 uses PS/2 mouse, while aarch64 uses usb-mouse
  - only x86_64 prints serial output to console

At least the virtio components are usually independent of the selected
architecture, so we can use them for both architectures.

This commit makes most of the hardware configuration shared:
  - Redirect serial output to stdio
  - virtio-blk for the disk image
  - virtio-gpu-pci (this was already implicit for both architectures)
  - virtio-net-pci for the network interface
  - virtio-mouse-pci/virtio-keyboard-pci as input devices
  - intel-hda for audio

We also set -nodefaults to avoid setting up unneeded devices
especially for x86_64.
2020-03-14 08:05:32 +01:00
..
aportgen pmb: replace deviceinfo_date with deviceinfo_year, add to wizard (!1888) 2020-03-14 00:33:22 +01:00
build pmb.build._package: fix erroneous if condition (!1889) 2020-03-08 19:22:12 +01:00
chroot pmb.config.workdir: save/check chroot init date (!1878) 2020-02-24 18:18:38 +01:00
config pmb.qemu: remove QEMU mesa driver setup question (!1886) 2020-03-14 08:05:32 +01:00
data pmb/data/keys/pmos-5a03a13a.rsa.pub: remove (!1835) 2019-11-21 23:52:25 +01:00
export Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
flasher Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
helpers pmb/helpers/pmaports: fix finding subpackages (!1890) 2020-03-09 18:49:59 +01:00
install pmb.qemu: remove QEMU mesa driver setup question (!1886) 2020-03-14 08:05:32 +01:00
parse pmb.qemu: use current device instead of requiring --arch (!1886) 2020-03-14 08:05:32 +01:00
qemu pmb.qemu: use consistent hardware for all architectures (!1886) 2020-03-14 08:05:32 +01:00
__init__.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00