Re: [OE-core] [PATCH] qemu*.conf: Add slirp support for all qemu machines

2016-11-29 Thread Robert Yang
On 11/30/2016 02:24 AM, Randy Witt wrote: "-device virtio-net-device,netdev=net0" and "-netdev user,id=net0,hostfwd=tcp::-:22" Then there is no way for user to override the second part, and we can't call the first part as a "QB_SLIRP_OPT" since it is only part of them, so I won't break

Re: [OE-core] [PATCH] qemu*.conf: Add slirp support for all qemu machines

2016-11-29 Thread Randy Witt
"-device virtio-net-device,netdev=net0" and "-netdev user,id=net0,hostfwd=tcp::-:22" Then there is no way for user to override the second part, and we can't call the first part as a "QB_SLIRP_OPT" since it is only part of them, so I won't break them into 2, and if the user defines QB_SLIRP

Re: [OE-core] [PATCH] qemu*.conf: Add slirp support for all qemu machines

2016-11-28 Thread Robert Yang
On 11/29/2016 04:11 AM, Randy Witt wrote: This patch also moves the "-net user" part out of the config and into runqemu. This is done because the "-net user" portion isn't machine specific, and it contains what ports to forward. [ YOCTO #7887 ] Signed-off-by: Randy Witt --- meta/conf/machin

[OE-core] [PATCH] qemu*.conf: Add slirp support for all qemu machines

2016-11-28 Thread Randy Witt
This patch also moves the "-net user" part out of the config and into runqemu. This is done because the "-net user" portion isn't machine specific, and it contains what ports to forward. [ YOCTO #7887 ] Signed-off-by: Randy Witt --- meta/conf/machine/include/qemuboot-mips.inc | 1 + meta/conf/m