From 8c465631f6029b174e6d2549e1305b5b4cb8b8de Mon Sep 17 00:00:00 2001 From: Matej Klotton Date: Fri, 17 Feb 2017 13:18:43 +0100 Subject: QemuUtil lib change to work with ubuntu and centos - replace nc to socat for comunicating with qemu QGA - change disk type to use virtio driver - add check to bind only network interface for testpmd Change-Id: I19ab16cbd8fec1ec78263ccfb1309a144e5af845 Signed-off-by: Matej Klotton --- .../tools/disk-image-builder/nested/image-patches/08-virtio-disk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 resources/tools/disk-image-builder/nested/image-patches/08-virtio-disk (limited to 'resources/tools/disk-image-builder/nested/image-patches/08-virtio-disk') diff --git a/resources/tools/disk-image-builder/nested/image-patches/08-virtio-disk b/resources/tools/disk-image-builder/nested/image-patches/08-virtio-disk new file mode 100644 index 0000000000..5ef2782d52 --- /dev/null +++ b/resources/tools/disk-image-builder/nested/image-patches/08-virtio-disk @@ -0,0 +1,8 @@ +#!/bin/sh + +patch boot/grub/menu.lst <<"_EOF" +17c17 +< kernel /boot/bzImage rw root=/dev/sda1 ipv6.disable=1 console=ttyS0,115200n8 isolcpus=1,2,3,4 nohz_full=1,2,3,4 rcu_nocbs=1,2,3,4 intel_pstate=disable +--- +> kernel /boot/bzImage rw root=/dev/vda1 ipv6.disable=1 console=ttyS0,115200n8 isolcpus=1,2,3,4 nohz_full=1,2,3,4 rcu_nocbs=1,2,3,4 intel_pstate=disable noapic +_EOF -- cgit 1.2.3-korg