diff mbox series

[2/3] configs/qemu_ppc64_e5500: Enable dhcp on network interface

Message ID 20211112160413.2736382-2-clg@kaod.org
State Accepted
Headers show
Series [1/3] configs/qemu: Add a ppc64le-powernv configuration | expand

Commit Message

Cédric Le Goater Nov. 12, 2021, 4:04 p.m. UTC
Add a virtio-net-pci device with a user mode host network backend

Signed-off-by: Cédric Le Goater <clg@kaod.org>
---
 board/qemu/ppc64-e5500/readme.txt  | 2 +-
 configs/qemu_ppc64_e5500_defconfig | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

Comments

Thomas Petazzoni Dec. 28, 2021, 9:15 p.m. UTC | #1
On Fri, 12 Nov 2021 17:04:12 +0100
Cédric Le Goater <clg@kaod.org> wrote:

> Add a virtio-net-pci device with a user mode host network backend
> 
> Signed-off-by: Cédric Le Goater <clg@kaod.org>
> ---
>  board/qemu/ppc64-e5500/readme.txt  | 2 +-
>  configs/qemu_ppc64_e5500_defconfig | 3 ++-
>  2 files changed, 3 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas
diff mbox series

Patch

diff --git a/board/qemu/ppc64-e5500/readme.txt b/board/qemu/ppc64-e5500/readme.txt
index 61d51f7f4dd0..7c8c80af4458 100644
--- a/board/qemu/ppc64-e5500/readme.txt
+++ b/board/qemu/ppc64-e5500/readme.txt
@@ -1,5 +1,5 @@ 
 Run the emulation with:
 
- qemu-system-ppc64 -M ppce500 -cpu e5500 -m 256 -kernel output/images/uImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append "console=ttyS0 rootwait root=/dev/vda" -serial mon:stdio -nographic # qemu_ppc64_e5500_defconfig
+ qemu-system-ppc64 -M ppce500 -cpu e5500 -m 256 -kernel output/images/uImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -net nic,model=virtio-net-pci -net user -append "console=ttyS0 rootwait root=/dev/vda" -serial mon:stdio -nographic # qemu_ppc64_e5500_defconfig
 
 The login prompt will appear in the terminal that started Qemu.
diff --git a/configs/qemu_ppc64_e5500_defconfig b/configs/qemu_ppc64_e5500_defconfig
index 286d79a26b6d..09aac502522b 100644
--- a/configs/qemu_ppc64_e5500_defconfig
+++ b/configs/qemu_ppc64_e5500_defconfig
@@ -2,7 +2,8 @@ 
 BR2_powerpc64=y
 BR2_powerpc_e5500=y
 
-# Serial port config
+# System
+BR2_SYSTEM_DHCP="eth0"
 BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
 
 # Image