Skip to content

Allow specifying a bridge for qemu to use

Jeremy Soller requested to merge dlrobertson:add_bridge into master

Created by: dlrobertson

Problem:

There is no make command to deploy a VM using a bridge.

Solution:

Added a conditional in which if bridge is populated and net is not no, the VM will use the qemu bridge helper to use the specified bridge. Note: The qemu bridge helper requires that the bridge be in /etc/qemu/bridge.conf.

Changes introduced by this pull request:

Allow make qemu to take an additional parameter bridge that specifies the bridge interface to use for the netdev. This allows make qemu brige=br0 which would create a VM connected to br0.

Merge request reports