Julien Duponchelle
fd22cd8361
Send command line used to start the VM to client
...
Add a command_line attribute to the VM object with
the command line used to start the VM.
Now /start return the object in order to get
this new attribute. And the HTTP status code
is 200 instead of 204 because 204 disallow body.
Support:
* Qemu
* Dynamips
* IOU
Ref https://github.com/GNS3/gns3-gui/issues/513
2016-02-02 18:25:17 +01:00
Julien Duponchelle
889ea14973
For topologies before 1.4 manage qemu missing
...
If qemu is missing for topologies before 1.4 we try
to search it in the path.
Ref #921
2016-01-28 16:24:24 +01:00
Julien Duponchelle
119a2a3b66
Add test for unicode char in images path
...
Ref #401
2016-01-26 15:32:40 +01:00
Julien Duponchelle
5617ddc4cc
Show a warning when starting ASA8
2016-01-22 19:46:05 +01:00
Julien Duponchelle
8225bad76b
Fix usage of qemu 0.10 on Windows
...
Fix #392
2016-01-14 17:40:58 +01:00
Julien Duponchelle
137cf59e97
Catch exception if we can't change process priority on Windows
...
Fix #380
2016-01-03 21:24:18 +01:00
Vasil Rangelov
a4d9f95c9b
Fixed showing of Qemu hdb_disk_interface - it showed hda_disk_interface instead, which resulted in an odd visual glitch in the GUI.
2016-01-01 02:44:23 +02:00
Julien Duponchelle
61cf91d83c
Fix tests on Windows
...
Fix #377
2015-12-22 13:16:30 +01:00
Julien Duponchelle
f3b71dcdef
Fix ProcessLookupError in Qemu
...
Fix #373
2015-12-07 10:50:34 +01:00
Julien Duponchelle
a6826fe0bf
Remove debug that can crash qemu
...
Fix #365
2015-12-01 19:30:39 +01:00
Julien Duponchelle
63edcc1c34
Fix duplicate of -no-kvm options
...
Fix #356
2015-11-10 16:25:02 +01:00
Julien Duponchelle
1248584841
Cleanup unused and duplicates
2015-11-09 12:14:25 +01:00
Julien Duponchelle
69c38c6414
Use pytest 2.8 so it's work with Python 3.5 without warning
2015-11-02 16:35:12 +01:00
grossmj
ce4727e51a
Support for modifications to a base Qemu VM (not a linked clone).
2015-10-18 19:19:27 -06:00
grossmj
ac75977ae0
Send a warning notification if there is not enough RAM left to start a VM. Implements #329 .
2015-10-12 15:57:37 -06:00
Julien Duponchelle
91c2bd7e98
Asyncio qemu fix and raise error if coroutine not used
2015-10-12 17:06:50 +02:00
Julien Duponchelle
ccd45c2f45
Merge branch 'master' into unstable
2015-10-08 11:30:16 +02:00
grossmj
a6286db7b1
Release UDP ports when closing a Qemu VM. Fixes #323 .
2015-10-07 20:48:36 -06:00
Julien Duponchelle
ec7a9615ac
Fix issue with Qemu networking following merge
2015-10-07 09:01:17 +02:00
Julien Duponchelle
5e3ce48a52
Merge branch 'master' into unstable
2015-10-06 19:19:56 +02:00
grossmj
fc5afa6676
Catch ProcessLookupError in Qemu VM.
2015-10-04 14:20:44 -06:00
grossmj
3f86df5169
Fixes uncalled coroutine.
2015-10-04 07:00:47 -06:00
grossmj
970f22a83e
Use the correct UDP tunnel Qemu syntax for version > 1.1.0 when legacy networking is enabled.
2015-10-04 06:41:39 -06:00
grossmj
b90df5806d
Automatically add the -no-kvm option if -icount is detected to help with the migration of ASA VMs created before version 1.4
2015-09-18 15:40:56 -06:00
Julien Duponchelle
22e4fec2e2
Fix ProcessLookupError on _checkAlive Qemu
...
Fix #308
2015-09-11 14:16:56 +02:00
grossmj
fda33c56de
Catch exception when a process cannot be killed. Fixes #296 .
2015-09-03 16:18:27 -06:00
Julien Duponchelle
b1ef49672e
Qemu user options are at the end. It's allow user to add his own net
...
interfaces
2015-08-27 18:46:02 +02:00
Julien Duponchelle
d853ffe791
Change the way we look for Qemu path
...
Fix #302
2015-08-27 18:27:17 +02:00
Julien Duponchelle
c361d27531
Lock qemu vm during start / stop operations
...
Fix #301
2015-08-27 16:06:11 +02:00
Julien Duponchelle
699647dbda
In the error message explain how to turn off KVM support
2015-08-26 17:17:40 +02:00
Julien Duponchelle
4cc66a3801
Fix when you stop qemu on windows you have an error
...
Fix #625
2015-08-26 17:01:16 +02:00
Julien Duponchelle
fea7a8a9ab
Fix Qemu cannot be used on Windows
...
Fix #291
2015-08-26 13:47:12 +02:00
Julien Duponchelle
34e64fe5d8
Catch UnicodeEncodeError when passing unicode char as qemu options
...
Fix #292
2015-08-24 18:09:01 +02:00
grossmj
eb5f9c48f2
Backport: fixes NAT NIO for Qemu VMs (do not launch any legacy scripts)
2015-08-14 22:16:02 -06:00
grossmj
98112f7fac
Fixes NAT NIO for Qemu VMs (do not launch any legacy scripts)
2015-08-14 22:15:01 -06:00
Julien Duponchelle
0018658f60
Fix ram setting for Qemu
2015-08-07 17:08:22 +02:00
Julien Duponchelle
55f7c79918
Explicit set qemu memory as MB
2015-08-07 17:03:06 +02:00
Julien Duponchelle
323674ba5c
Turn off KVM for non x86 architectures
...
Fix #289
2015-08-07 16:49:45 +02:00
grossmj
5121753232
Support for CPUs setting for Qemu VMs.
2015-08-05 17:17:55 -06:00
Julien Duponchelle
1613999689
Quote command in qemu debug logs so you can copy/paste them
2015-08-04 17:06:42 +02:00
grossmj
0923ed5d85
Support for Qemu disk interfaces, cd/dvd-rom image and boot priority. Fixes #278 .
2015-08-02 23:02:02 -06:00
Jeremy
1419b7c8dc
Fixes replace errors. Fixes #284 .
2015-07-27 15:31:42 -06:00
Julien Duponchelle
5b0c36c0d6
API for creating a qemu disk image
2015-07-27 19:18:36 +02:00
Julien Duponchelle
5d8c90d138
Rename qemu image type to qemu image format
2015-07-27 17:32:27 +02:00
Julien Duponchelle
b94a4e2308
Add code for creating qemu image on server side
...
Ref https://github.com/GNS3/gns3-gui/issues/558
2015-07-27 16:27:14 +02:00
Julien Duponchelle
3f25bfcb27
Fix qemu tests
2015-07-23 10:46:43 +02:00
Jeremy
8e236a7045
Prevent using different hypervisors that leverage hardware virtualization.
...
- Implemented for Qemu when a VMware or VirtualBox VM with hardware virtualization is already running.
- Implemented for VirtualBox only when a Qemu VM with KVM is already running.
2015-07-21 22:58:28 -06:00
Jeremy
f0649b4ac3
Remove default FLASH when no hda disk for Qemu VMs. Fixes #535 .
2015-07-21 16:45:44 -06:00
Jeremy
9235c3a913
Adds -no-kvm to the ASA template and ignore -no-kvm on platforms other than Linux. Should resolve #472 .
2015-07-03 23:35:42 -06:00
Jeremy
442aa31065
Make sure VNC ports are between 5900 and 6000. Fixes #490 .
2015-07-03 16:06:25 -06:00