Julien Duponchelle
cf1b7ebe1f
Raise error if qemu can not create backing image
2016-04-27 15:12:15 +02:00
Julien Duponchelle
1d08d4a5fa
Merge branch 'master' into 1.5
2016-04-26 11:49:24 +02:00
Julien Duponchelle
75196b8a55
Fix incrementation of qemu mac address
...
Fix #501
2016-04-25 16:36:20 +02:00
Julien Duponchelle
57394dfebf
Rebase the qcow2 when starting the VM if needed
...
Ref #466
2016-04-05 12:41:26 +02:00
Julien Duponchelle
7422b31b2c
Refactor code for avoid duplicate in disk management for Qemu
2016-04-05 12:35:07 +02:00
Julien Duponchelle
06b9e46cd2
Create Qcow2 class for reading Qcow2 and rebase it
...
Ref #466
2016-04-05 12:20:37 +02:00
Julien Duponchelle
9d28f4c0c3
Refactor aux port allocation
...
This move the allocation of aux port to the base vm.
Also now the free of console port during the close is in the
base VM.
An aux port is allocated to the docker container but not used
for the moment.
Ref https://github.com/GNS3/gns3-gui/issues/1039
2016-02-29 10:44:08 +01:00
Julien Duponchelle
373113545f
Code cleanup
2016-02-05 10:07:13 +01:00
Jeremy Grossmann
3e4423f663
Merge pull request #418 from GNS3/no_spice
...
Do not list qemu binary with -spice in the name
2016-02-03 13:45:03 -08:00
Julien Duponchelle
537122daba
Do not list qemu binary with -spice in the name
...
It's create confusion and you can enable spice with the -spice
options.
Fix https://github.com/GNS3/gns3-gui/issues/981
2016-02-03 16:40:39 +01:00
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
ee2104ba35
Check for /dev/kvm instead of kvm-ok
...
Fix #411
2016-01-26 13:58:29 +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
d184b65800
Improve PR #386
...
* Add more test
* Check to kvmi-ok is asynchronous
2016-01-04 16:30:06 +01:00
Julien Duponchelle
fba049767a
Merge branch 'addCapabilities' of https://github.com/boenrobot/gns3-server into boenrobot-addCapabilities
2016-01-04 12:09:44 +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
d00efbfb0f
Adds a handler for getting the Qemu related capabilities of the server. Currently includes just a check for KVM architectures.
2016-01-03 19:38:16 +02: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