GNS3 / gns3-gui

GNS3 Graphical Network Simulator
http://www.gns3.com
GNU General Public License v3.0
2.12k stars 434 forks source link

GNS 2.2.3 - non 'standard' qemu architecture, xtensa, gets 'No such file or directory' when called with custom flash image #2906

Closed antfobe closed 4 years ago

antfobe commented 4 years ago

Hi all, what I am doing is a bit unorthodox, but should work in GNS3, as it works in the bridged network outside of it - I am attempting to run a custom qemu build for the xtensa platform with support to an ESP32 microcontroller. The binary works, and so does the flash image I am trying to run with it. Below is the screenshot of my simulation and the error I am getting when trying to start the custom VM:

Screenshot from 2019-11-25 14-57-51

Maybe this problem isn't so difficult to solve, I just need to know how gns3-server/gui finds specific resources paths, such as imagens or custom qemu flags (e. g. my problem) - I have already tryied moving my flash image: mqtt_tcp.bin to ' ~/GNS3/images/QEMU, but was not successful.

The command I am trying to run is qemu-system-xtensa -machine esp32 -drive file=mqtt_tcp.bin,if=mtd,format=raw -nic user,model=open_eth, which works outside of GNS3 from the directory where mqtt_tcp.bin is located

antfobe commented 4 years ago

Additionally, my VM configuration: image

antfobe commented 4 years ago

Nevermind, I gave the full path and got an error with the network adapter, which the xtensa architecture does not support, will close this issue and maybe open a feature request...