From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dg2xT-0000J6-AZ for qemu-devel@nongnu.org; Fri, 11 Aug 2017 01:58:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dg2xP-0003fN-Vf for qemu-devel@nongnu.org; Fri, 11 Aug 2017 01:58:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54310) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dg2xP-0003f8-Pc for qemu-devel@nongnu.org; Fri, 11 Aug 2017 01:58:03 -0400 From: Thomas Huth Date: Fri, 11 Aug 2017 07:57:54 +0200 Message-Id: <1502431076-22849-1-git-send-email-thuth@redhat.com> Subject: [Qemu-devel] [PATCH v2 for-2.11 0/2] Improvements for the pxe tester List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Cornelia Huck Cc: Jason Wang , Christian Borntraeger , "Michael S. Tsirkin" , Victor Kaplansky 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(-) -- 1.8.3.1