qemu-e2k/include
Thomas Huth 78cd6f7bf6 net: Add a new convenience option "--nic" to configure default/on-board NICs
The legacy "-net" option can be quite confusing for the users since most
people do not expect to get a "vlan" hub between their emulated guest
hardware and the host backend. But so far, we are also not able to get
rid of "-net" completely, since it is the only way to configure on-board
NICs that can not be instantiated via "-device" yet. It's also a little
bit shorter to type "-net nic -net tap" instead of "-device xyz,netdev=n1
-netdev tap,id=n1".

So what we need is a new convenience option that is shorter to type than
the full -device + -netdev stuff, and which can be used to configure the
on-board NICs that can not be handled via -device yet. Thus this patch now
provides such a new option "--nic": It adds an entry in the nd_table to
configure a on-board / default NIC, creates a host backend and connects
the two directly, without a confusing "vlan" hub inbetween.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2018-03-05 10:30:16 +08:00
..
block nbd: BLOCK_STATUS constants 2018-03-01 14:05:24 -06:00
chardev Move include qemu/option.h from qemu-common.h to actual users 2018-02-09 13:52:16 +01:00
crypto Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
disas target/xtensa: implement disassembler 2018-01-09 09:55:39 -08:00
exec include/exec/helper-head.h: support f16 in helper calls 2018-03-01 11:13:59 +00:00
fpu arm/translate-a64: add FP16 FR[ECP/SQRT]S to simd_three_reg_same_fp16 2018-03-01 11:13:59 +00:00
hw hw/arm/iotkit: Model Arm IOT Kit 2018-03-02 11:03:45 +00:00
io io: Fix QIOChannelFile when creating and opening read-write 2018-02-15 16:54:57 +00:00
libdecnumber Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
migration virtio,vhost,pci,pc: features, fixes and cleanups 2018-02-13 16:33:31 +00:00
monitor Include qapi/qmp/qdict.h exactly where needed 2018-02-09 13:52:15 +01:00
net net: Make net_client_init() static 2018-03-05 10:30:15 +08:00
qapi Move include qemu/option.h from qemu-common.h to actual users 2018-02-09 13:52:16 +01:00
qemu fpu/softfloat-types: new header to prevent excessive re-builds 2018-02-21 10:20:19 +00:00
qom Include qapi/qmp/qdict.h exactly where needed 2018-02-09 13:52:15 +01:00
scsi Include qapi/qmp/qdict.h exactly where needed 2018-02-09 13:52:15 +01:00
standard-headers virtio-gpu-3d: add support for second capability set (v4) 2018-02-26 13:41:34 +01:00
sysemu net: Add a new convenience option "--nic" to configure default/on-board NICs 2018-03-05 10:30:16 +08:00
ui console/opengl: split up dpy_gl_cursor ops 2018-02-22 10:35:00 +01:00
elf.h linux-user: MIPS set cpu to r6 CPU if binary is R6 2018-02-25 17:29:45 +01:00
glib-compat.h glib-compat: move G_SOURCE_CONTINUE/REMOVE there 2017-10-10 16:33:55 +02:00
qemu-common.h Move include qemu/option.h from qemu-common.h to actual users 2018-02-09 13:52:16 +01:00
qemu-io.h hmp: Request permissions in qemu-io 2017-02-28 20:47:50 +01:00
trace-tcg.h trace: get rid of generated-events.h/generated-events.c 2016-10-12 09:54:52 +02:00