Skip to content

Improvements for the pxe tester

Thomas Huth qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 9 repliesIn review
  2. v12 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests/boot-sector: Do not overwrite the x86 buffer on other architecturestests/boot-sector.c+26 -151 reply
2/2tests/pxe: Check virtio-net-ccw on s390xtests/Makefile.include tests/boot-sector.c tests/pxe-test.c+28 -01 reply

Reviews trailers per patch

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

PatchCornelia Huck
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 for-2.11 0/2] Improvements for the pxe tester

The first patch improves the buffer handling in the pxe tester a little bit by allocating a separate buffer on the heap for each architecture. This also gets rid of the huge pre-initialized array in the tester, shrinking the size of the executable by half of a megabyte!
The second patch adds s390x support to the pxe tester. Starting with QEMU 2.10, the guest firmware on s390x can now net-boot via TFTP, too, so we can automatically test this code in the pxe tester.

v2: Adressed Cornelia's review feedback from the first version, e.g.:
- Use g_malloc0() instead of g_malloc()
- Use sizeof with parentheses

Thomas Huth (2):
tests/boot-sector: Do not overwrite the x86 buffer on other
architectures
tests/pxe: Check virtio-net-ccw on s390x

 tests/Makefile.include |  1 +
 tests/boot-sector.c    | 61 +++++++++++++++++++++++++++++++++++++-------------
 tests/pxe-test.c       |  7 ++++++
 3 files changed, 54 insertions(+), 15 deletions(-)
Signature · 1 line
1.8.3.1