On Thu, Apr 28, 2016 at 12:22:17PM +0100, Neil Williams wrote:
On 28 April 2016 at 11:43, Leo Yan leo.yan@linaro.org wrote:
I tried to connect KVM from my local laptop, but cannot connect successfully; but I can access KVM from lab.validation.linaro.org. So KVM cannot directly access from LAVA lab's outside.
To connect to a VM running on a local machine - whether that is inside LAVA or not - relies upon the machine having bridged networking configured and having QEMU configured to use -net tap instead of -net user. LAVA device configuration can support -net tap but configuring the bridge in the first place is specific to how you use that laptop. It can be awkward to get it right if the laptop also has to work with one or more VPNs etc. Configuring the bridge on your machine is outside the scope of LAVA itself.
Thanks for this info; Let's simplize this issue :)
On my laptoo, I can try to directly connect KVM without VPN. So how I can set "-net tap"? I searched LAVA's hacking session, it says can specify this by using "context" field. But still don't know where I can add this entry so can get a quick try?
https://validation.linaro.org/static/docs/v2/hacking-session.html?highlight=...
Thanks, Leo Yan