mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 15:15:25 +00:00
54a77c6df3
Similar to the chardev bit, ARM boards depend on the old style '-net nic' for actually instantiating net devices. But we can't block out -netdev altogether since it's needed for upcoming virtio support. And add tests for working ARM XML with console, disk, and networking.
9 lines
528 B
Plaintext
9 lines
528 B
Plaintext
LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu-system-arm -S -M vexpress-a9 -m 1024 -smp 1 -nographic \
|
|
-nodefconfig -nodefaults -monitor unix:/tmp/test-monitor,server,nowait \
|
|
-boot c -kernel /arm.kernel -initrd /arm.initrd -append \
|
|
'console=ttyAMA0,115200n8 rw root=/dev/mmcblk0p3 rootwait physmap.enabled=0' \
|
|
-dtb /arm.dtb -usb -drive file=/arm.raw,if=sd,index=0 \
|
|
-net nic,macaddr=52:54:00:09:a4:37,vlan=0,model=lan9118,name=net0 \
|
|
-net user,vlan=0,name=hostnet0 -serial pty
|