Re: [OE-core] [PATCH V2 5/6] runqemu: fixes for slirp, network device and hostfwd

2016-12-11 Thread Robert Yang
On 12/08/2016 01:58 AM, Randy Witt wrote: def setup_slirp(self): """Setup user networking""" if self.fstype == 'nfs': self.setup_nfs() self.kernel_cmdline_script += ' ip=dhcp' -self.set('NETWORK_CMD', self.get('QB_SLIRP_OPT')) +#

Re: [OE-core] [PATCH V2 5/6] runqemu: fixes for slirp, network device and hostfwd

2016-12-07 Thread Randy Witt
def setup_slirp(self): """Setup user networking""" if self.fstype == 'nfs': self.setup_nfs() self.kernel_cmdline_script += ' ip=dhcp' -self.set('NETWORK_CMD', self.get('QB_SLIRP_OPT')) +# Port mapping +hostfwd =

[OE-core] [PATCH V2 5/6] runqemu: fixes for slirp, network device and hostfwd

2016-12-06 Thread Robert Yang
Fixed: - Add QB_NETWORK_DEVICE to set network device, it will be used by both slirp and tap. - Set QB_NETWORK_DEVICE to "-device virtio-net-pci" in qemuboot.bbclass but runqemu will default to "-device e1000" when QB_NETWORK_DEVICE is not set, this is because oe-core's qemu targets support