[RFC PATCH openbmc v3 8/8] runqemu-internal: Configure tun/tap network for palmetto-bmc

Andrew Jeffery andrew at aj.id.au
Tue May 17 10:32:28 AEST 2016


On Mon, 2016-05-16 at 15:20 -0500, Patrick Williams wrote:
> On Wed, Mar 23, 2016 at 06:33:35PM +1030, Andrew Jeffery wrote:
> > 
> > Signed-off-by: Andrew Jeffery <andrew at aj.id.au>
> > ---
> >  yocto-poky/scripts/runqemu-internal | 5 ++++-
> >  1 file changed, 4 insertions(+), 1 deletion(-)
> > 
> > diff --git a/yocto-poky/scripts/runqemu-internal b/yocto-poky/scripts/runqemu-internal
> > index f461e9f..bdaea01 100755
> > --- a/yocto-poky/scripts/runqemu-internal
> > +++ b/yocto-poky/scripts/runqemu-internal
> > @@ -392,7 +392,10 @@ if [ "$MACHINE" = "palmetto" ]; then
> >      QEMU=qemu-system-arm
> >      MACHINE_SUBTYPE=palmetto-bmc
> >      export QEMU_AUDIO_DRV="none"
> > -    KERNCMDLINE="console=ttyS4"
> > +    if [ "$SLIRP_ENABLED" != "yes" ]; then
> > +        KERNEL_NETWORK_CMD=${KERNEL_NETWORK_CMD}"::eth0"
> > +    fi
> > +    KERNCMDLINE="console=ttyS4 $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY highres=off"
> Lots of stuff that is "palmetto" specific shoved in to the
> runqemu-internal.  I think we need to propose a way to upstream to add
> machine-specific gorp in here from the meta layer.

Yep, as mentioned in another reply I'll close the pull-req and start a
conversation with upstream.

Cheers,

Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20160517/ba6959cd/attachment.sig>


More information about the openbmc mailing list