Commit Graph

62 Commits

Author SHA1 Message Date
8636d3e337 Use setter for the qemu_path (allow to pass only the binary name) 2015-05-26 09:48:36 +02:00
fcff2d0813 NIO NAT support for QEMU VMs (user mode back-end is used). 2015-05-06 14:59:01 -06:00
3467b42ab5 Ordered MAC addresses for QEMU based VMs. 2015-05-03 13:18:18 -06:00
f208b472a1 TAP interface support for QEMU VMs. Fixes #153. 2015-04-27 14:38:15 -06:00
271cb527d4 Explicit utf-8 decoding. 2015-04-26 21:19:39 -06:00
80a0e0ebf7 Explicit utf-8 encoding where necessary to avoid Unicode errors on Windows (we require/set an utf-8 locale on other systems). 2015-04-25 11:58:34 -06:00
aa2472fb30 Rewrote image search
This code is more generic and support all cases. Previously
we had bug where the user lost his image path if the image
was not located in image directory.
2015-04-14 18:46:55 +02:00
7d7972afb3 Some spring cleaning. 2015-04-08 11:17:34 -06:00
026fe3df9b Catch error when qemu additional options are invalid
Fix #119
2015-03-31 22:14:08 +02:00
980e63e667 Allocate a random port for Qemu monitor. Fixes issue with pre 1.3 projects. 2015-03-23 22:52:02 -06:00
f451ed144e Prevent error when suspend/resume is not supported in QEMU VM. 2015-03-22 20:40:19 -06:00
153914bf97 Make sure used ports in a project are cleaned up when closing it. 2015-03-21 17:19:12 -06:00
bb7eda63af Support more all QEMU status
Fix #98
2015-03-17 11:02:14 +01:00
cc9b575b77 Bind UDP tunnels to the correct source address. Fixes #96. 2015-03-16 12:45:21 -06:00
4f7b896a6a Fixes tests. 2015-03-11 23:09:01 -06:00
aebcd9f08b Relative path support of IOU, IOS and Qemu images. 2015-03-11 15:04:11 -06:00
1610067eee Support for HDC and HDD disk images in Qemu. 2015-03-10 11:50:30 -06:00
03dfd177f9 Use TCP instead of Telnet to communicate with Qemu monitor. 2015-03-10 00:34:57 -06:00
5910b4b0be Have the server look in the right place for relative image paths. 2015-03-09 21:57:21 -06:00
0d379f428e Makes absolute path checks work on Windows. 2015-03-07 18:16:46 -07:00
1b68a54234 Look for qemu images in ~/GNS3/images 2015-03-07 11:56:51 +01:00
ee578d3c12 Fixes Qemu networking. 2015-03-06 20:08:00 -07:00
d87ebb3ed2 Fixes suspend and resume for Qemu. 2015-03-06 15:16:19 -07:00
6208cb997d Fixes Qemu adapters support. 2015-03-02 19:59:44 -07:00
3472f19519 Use console_host from the PortManager. 2015-03-02 18:19:11 -07:00
c07b8c746e Drop poll from Qemu 2015-02-26 10:18:52 +01:00
54fc873be5 Prevent multiple projects with the same ID to be created. 2015-02-25 16:05:57 -07:00
47f8ac00c0 Remove debug 2015-02-25 16:04:18 +01:00
4ea25739e5 Correctly check if qemu is running
Fixes #71
Related to #70
2015-02-25 15:46:05 +01:00
42c07cee1a Properly release UDP ports when closing a project or deleting a link. 2015-02-23 19:00:34 -07:00
3d3300e83a Rename console methods in port manager to use the generic tcp term in the name.
Fixes bug when a console port is allocated to a Ghost VM instance and not released.
Warnings at exit when TCP/UDP ports are still allocated.
2015-02-23 17:42:55 -07:00
4d1f08c96e Turn off Qemu graphics if no display is available
Fixes #66
2015-02-23 20:21:00 +01:00
210aa6f12a Bit of cleaning. 2015-02-22 19:56:52 -07:00
cecf2f5014 Async qemu monitor reading 2015-02-21 00:15:56 +01:00
47be57dca7 Fix qemu close 2015-02-20 17:31:02 +01:00
48f5c7c8b3 All params for qemu 2015-02-19 20:22:30 +01:00
d0244824bf Get a working Qemu handler. Next step add all parameters 2015-02-19 19:43:45 +01:00
b03b9226ff So we have running code for a qemu module
Now the handlers. The telnet code is not yet async
2015-02-19 16:46:57 +01:00
25bcbfb073 Allocation of console port in base vm 2015-02-19 11:45:43 +01:00
bbee5f90a0 Yet another PEP 8 :) 2015-01-20 16:37:18 +01:00
f5ed9fbcf1 PEP 8 clean thanks to auto pep8 2015-01-20 13:24:00 +01:00
2ef45781ad Checks connection failure to Qemu monitor. 2015-01-11 18:24:13 -07:00
4eedc9c74c Dynamically configure network connections of running QEMU VMs (including new QEMU versions) 2015-01-03 05:04:52 +03:00
ccb4ccd612 Return QEMU monitor responses as Match Objects (more flexibility for future uses) 2014-12-29 01:59:45 +03:00
c775b05d33 Dynamically configure network connections of running QEMU VMs 2014-12-29 01:43:56 +03:00
9cedb1cc99 Add sleep after write to QEMU monitor (to work with new QEMU versions) 2014-12-27 12:44:10 +03:00
1f615430ae Checks for broken symbolic links. 2014-12-24 17:19:42 -07:00
84511d7b39 QEMU VM suspend/resume and reload 2014-12-23 14:42:58 +03:00
3590985c07 Add QEMU monitor port to control running QEMU VMs 2014-12-23 14:42:58 +03:00
7f37f649da Catch OSError exception for subprocess calls. 2014-12-11 12:15:24 -07:00