Skip to content

docs: Improve sample configuration files

Andrea Bolognani qemu-devel 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest2 patches 1 replyIn review
  2. v72 patches 3 repliesSuperseded
  3. v62 patches 3 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v52 patches29 repliesSuperseded
v41 patch1 replySuperseded
v31 patch5 repliesSuperseded
v21 patch9 repliesSuperseded

Changes in v8 from the cover letter

* Paperwork:
- add missing Signed-off-by tags;
- pick up Reviewed-by tags from v7.

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2q35: Improve sample configuration filesdocs/q35-chipset.cfg docs/q35-emulated.cfg docs/q35-virtio-graphical.cfg +1 more+729 -1520 replies
2/2mach-virt: Provide sample configuration filesdocs/mach-virt-graphical.cfg docs/mach-virt-serial.cfg+524 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAndrew JonesLaszlo ErsekMarcel Apfelbaum
1/2R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v8 thread

Cover letter [Qemu-devel] [PATCH v8 0/2] docs: Improve sample configuration files

Changes since [v7]

* Paperwork:
- add missing Signed-off-by tags;
- pick up Reviewed-by tags from v7.

Changes since [v6]

* Address review comments:
- re-introduce optical media support;
- rename PCIe Root Ports from pci.* to pcie.*;
- remove reference to GTK+.

Changes since [v5]

* Address review comments:
- use the native serial console rather than the VirtIO based one, and enable monitor multiplexing so that the user can switch between the two;
- add GIC version configuration;
- improve wording all over the place.

* Improvements:
- add information about Debian/Ubuntu firmware packages.

Changes since [v4]

* Improvements:
- move storage configuration from the command line to the configuration files so that the command line is shorter and we can provide better documentation for the various parts;
- configure the amount of memory for the guest in the file too;
- document the fact that you might want/need to use '-serial stdio' and '-display vnc=...' in some situations;
- fix the value of 'port' for one of the pcie-root-port devices;
- fix some inaccurate comments.

* Arguably the opposite:
- remove the sample command line for running a live OS from the file header. I could be convinced to add it back as a (commented) section about it, if people think it's useful enough.

Changes since [v3]

* Address review comments:
- place VGA at 00:01.0;
- use pcie-root-port instead of ioh3420 in q35-virtio-*.cfg;
- add a comment to let users know that PCI Express devices should not be placed on the legacy PCI bridge.

Changes since [v2]

* Address review comments:
- use -nodefaults in q35-emulated.cfg too;
- add explicit VGA and Ethernet.

* Improvements:
- use virtconsole and virtio-serial instead of isa-serial in q35-virtio-serial.cfg.

* Possibily controversial:
- get rid of q35-virtio-common.cfg and add the PCIe Root Ports back into q35-virtio-*.cfg: while this leads to having some duplicated content, I feel like the sample configurations are much more useful when they can stand entirely on their own, especially now that they start with a detailed hardware listing.

* Cosmetic stuff:
- hardware listing looks like the output of lspci;
- section names match what's used in the hardware listing so it's faster to jump to the section;
- PCI addresses also match the output of lspci;
- PCI Express is used instead of PCIe.

Changes since [v1]

* Address review comments:
- improve the existing configuration file instead of removing it;
- split off the common part for VirtIO guests;
- plug all ioh3420 devices in a single slot;
- use slot 1c for ioh3420 devices;
- remove useless USB keyboard.

* Improve usage description:
- make sure the OS disk actually uses the VirtIO SCSI controller, as intended, rather than the built-in SATA one;
- provide a command line for running live CDs.

* Document more devices:
- the video card is added by default;
- so is the Ethernet adapter, apparently.

[v1] http://lists.nongnu.org/archive/html/qemu-devel/2017-01/msg06342.html
[v2] http://lists.nongnu.org/archive/html/qemu-devel/2017-02/msg00184.html
[v3] http://lists.nongnu.org/archive/html/qemu-devel/2017-02/msg00461.html
[v4] http://lists.nongnu.org/archive/html/qemu-devel/2017-02/msg00672.html
[v5] http://lists.nongnu.org/archive/html/qemu-devel/2017-02/msg01714.html
[v6] http://lists.nongnu.org/archive/html/qemu-devel/2017-02/msg02206.html
[v7] http://lists.nongnu.org/archive/html/qemu-devel/2017-02/msg02311.html

Andrea Bolognani (2):
q35: Improve sample configuration files
mach-virt: Provide sample configuration files

 docs/mach-virt-graphical.cfg  | 281 +++++++++++++++++++++++++++++++++++++++++
 docs/mach-virt-serial.cfg     | 243 +++++++++++++++++++++++++++++++++++
 docs/q35-chipset.cfg          | 152 ----------------------
 docs/q35-emulated.cfg         | 288 ++++++++++++++++++++++++++++++++++++++++++
 docs/q35-virtio-graphical.cfg | 248 ++++++++++++++++++++++++++++++++++++
 docs/q35-virtio-serial.cfg    | 193 ++++++++++++++++++++++++++++
 6 files changed, 1253 insertions(+), 152 deletions(-)
 create mode 100644 docs/mach-virt-graphical.cfg
 create mode 100644 docs/mach-virt-serial.cfg
 delete mode 100644 docs/q35-chipset.cfg
 create mode 100644 docs/q35-emulated.cfg
 create mode 100644 docs/q35-virtio-graphical.cfg
 create mode 100644 docs/q35-virtio-serial.cfg
Signature · 1 line
2.7.4