Marek Marczykowski-Górecki
351225a4b3
Fix resuming VMs ( #981 )
...
Fixes qubesos/qubes-issues#981
2015-05-03 20:28:45 +02:00
Marek Marczykowski-Górecki
1faa0ac37e
mainwindow: code style (part 3), no functional change
...
Organize imports.
2015-05-03 19:03:26 +02:00
Marek Marczykowski-Górecki
4a136507e9
mainwindow: code style (part 2), no functional change
...
Rename variables to match PEP8, use is/is not None instead of ==/!=,
initialize instance variables in __init__, fix methods overloads.
2015-05-03 19:03:26 +02:00
Marek Marczykowski-Górecki
a4a022e2c0
mainwindow: code style (part 1), no functional change
...
Wrap long lines, whitespace fixes
2015-05-03 19:03:25 +02:00
Noah Vesely
7395797182
Added SMTPS and ODMR
...
Added SMTPS and On-Demand Mail Relay (used by Fetchmail, xODMR). Both of these are in the Fedora 20 /etc/services.
2015-04-25 13:26:42 -04:00
Marek Marczykowski-Górecki
8a91c90cf8
Fix block attach/detach
2015-04-14 23:11:12 +02:00
Marek Marczykowski-Górecki
dd93b1237f
settings: add "dispvm_netvm" property in advanced tab
2015-04-06 00:59:15 +02:00
Marek Marczykowski-Górecki
4e5f63be24
settings: mark template as read-only when the VM is running
2015-04-05 21:53:09 +02:00
Marek Marczykowski-Górecki
6b7b07acb8
backup: allow backup templates, even when installed by rpm
2015-03-31 05:44:37 +02:00
Marek Marczykowski-Górecki
5e925b23d4
backup+restore: remove an option to attach disk from a VM to dom0
...
This is (intentionally) not possible in R3. The user can choose to
backup directly to the VM, encrypting the backup in dom0 first.
2015-03-31 05:40:53 +02:00
Marek Marczykowski-Górecki
f65dcdbf10
Watch for domain start/stop events and refresh VM connection info
...
QubesVm object caches some domain state (domain ID in libvirt object,
Qubes DB connection socket), which can become out of date in
case of start/stop events. Currently it needs manual trigger to refresh
itself.
2015-03-30 04:59:08 +02:00
Marek Marczykowski-Górecki
10ec6014b0
Update to follow core-admin change: rename write_iptables_xenstore_entry
2015-03-28 22:59:13 +01:00
Marek Marczykowski-Górecki
80b3afdab4
Revert "Add 'Requested MEM' column (aka prefmem) ( #788 )"
...
This reverts commit 227597cf93
.
QubesWatch no longer supports xenstore, so there is no simple way to
get this column updated. This is conscious decision in process of making
R3 Xen-independent.
Conflicts:
qubesmanager/main.py
2015-03-28 22:57:03 +01:00
Wojtek Porczyk
be94c87f61
table: sort dom0 first no matter sort order
...
It seems that when sort is reversed, dom0 gets sorted last. This is expected
and hard to counter. Will remain for now.
2015-03-10 21:05:48 +01:00
Matt McCutchen
aefe0dde43
Show an icon for VMs whose TemplateVM is running.
...
https://groups.google.com/d/topic/qubes-users/woHD9RaHvF8/discussion
2015-02-09 21:15:54 +01:00
Marek Marczykowski-Górecki
0d9bb27229
Update CPU measurement call for the new API
2015-02-09 05:05:03 +01:00
Marek Marczykowski-Górecki
6329c6e07e
Disable meminfo watch - not implemented in R3
2015-02-06 08:26:53 +01:00
Marek Marczykowski-Górecki
3c555c9b53
block: update the code for new block API
2014-12-12 05:13:57 +01:00
Marek Marczykowski-Górecki
97620f76a7
settings: hide "add all" widget from devices tab
...
It is very dangerous - adding all the devices to some VM will make the
system unusable once such VM is started.
2014-11-01 19:57:17 +01:00
Marek Marczykowski-Górecki
c8a8a56c73
settings: prevent changing VM name and label while the VM is running
...
Those changes will take effect after VM restart (at least for VM windows
borders), so to not confuse the user with partly updated colors, simply
block the change while the VM is running. The same applies to VM name.
2014-10-28 04:55:14 +01:00
Victor Lopez
473b822e0c
Linux VM specific: force minimum init mem to allow scaling up memory
...
Check init_mem and max_mem_size in a single function (merging the
previous two) taking into account the minimum init memory that allows
the requested maximum memory.
Explanation:
Linux kernel needs space for memory-related structures created at boot.
If init_mem is just 400MB, then max_mem can't balloon above 4.3GB (at
which poing it yields "add_memory() failed: -17" messages and apps
crash), regardless of the max_mem_size value.
Base of Marek's findings and my tests on a 16GB PC, using several
processes like:
stress -m 1 --vm-bytes 1g --vm-hang 100
result in the following points:
init_mem ==> actual max memory
400 4300
700 7554
800 8635
1024 11051
1200 12954
1300 14038
1500 14045 <== probably capped on my 16GB system
The actual ratio of max_mem_size/init_mem is surprisingly constant at
10.79
If less init memory is set than that ratio allows, then the set
max_mem_size is unreachable and the VM becomes unstable (app crashes)
Based on qubes-devel discussion titled "Qubes Dom0 init memory against
Xen best practices?" at:
https://groups.google.com/d/msg/qubes-devel/VRqkFj1IOtA/UgMgnwfxVSIJ
2014-10-06 04:00:20 +02:00
Marek Marczykowski-Górecki
470e1c0879
backups/restore: always allow an option to manually unmount storage device
2014-09-26 15:01:37 +02:00
Marek Marczykowski-Górecki
1ff9ce8a46
backups/restore: add support for 'verify-only' option
2014-09-17 23:07:32 +02:00
Marek Marczykowski-Górecki
c2ae785c5d
backups/restore: fix handling of unicode messages, improve indentation
2014-09-17 23:06:41 +02:00
Marek Marczykowski-Górecki
1cadc1e943
Merge remote-tracking branch 'woju/master'
2014-09-09 22:01:54 +02:00
Marek Marczykowski-Górecki
c992fc0f48
settings: fix drive path setting ( #897 )
2014-09-09 21:59:54 +02:00
Wojciech Zygmunt Porczyk
24759d2762
settings.py: do not attempt to remove service when none selected
...
Thanks to Andrew B (kyboren at gmail dot com) for bug report.
2014-09-04 21:59:05 +02:00
Wojciech Zygmunt Porczyk
fdaaa780a4
use new padlocks from theme
2014-07-10 16:50:29 +02:00
Wojciech Zygmunt Porczyk
060b16900a
use new icon from qubes-artwork
2014-07-09 18:21:56 +02:00
Marek Marczykowski-Górecki
159eea7ac8
block: fix attaching r/o devices (cdrom for example)
2014-07-08 02:06:35 +02:00
Marek Marczykowski-Górecki
61ef08eb47
settings: cast all QString to str
...
QString does not have "startswith" method.
2014-07-05 14:57:47 +02:00
Marek Marczykowski-Górecki
edb40bbfb6
Notify about dom0 updates ( #824 )
...
Tray notifications from cron job (outside of session) didn't worked well.
2014-06-10 01:15:26 +02:00
Marek Marczykowski-Górecki
ca6cc8e01f
create-vm: Handle the case when no HVM-template exists
2014-06-07 04:40:24 +02:00
Marek Marczykowski-Górecki
aca43a46da
Filter out 'dom0' from selectable netvm list
...
This is workaround until #757 will be done.
2014-06-07 04:07:26 +02:00
Andrew B
ba0cced495
Implemented NetVM selection via drop-down in AppVM creation dialog.
2014-06-07 04:02:45 +02:00
Wojciech Zygmunt Porczyk
e9f1bb3880
*.py: Use full paths when calling subprocess.Popen().
...
Also removed unneeded imports of subprocess.
2014-05-22 15:07:35 +02:00
Wojciech Zygmunt Porczyk
fe954632c0
regexp fixes and validation ( #829 )
2014-05-19 15:41:37 +02:00
Wojciech Zygmunt Porczyk
e834b33d42
Merge remote-tracking branch 'marmarek/master'
2014-05-19 13:54:02 +02:00
Hansi
44fe1cc845
small update to add "autostart" checkbox to the basic settings dialog
2014-05-17 21:43:29 +02:00
Wojciech Zygmunt Porczyk
f882042994
settings.py: launch lspci by full path (/usr/sbin/lspci)
2014-05-16 19:16:16 +02:00
Marek Marczykowski-Górecki
2221dcee36
Do not crash when no notification service present
2014-05-15 23:49:02 +02:00
Marek Marczykowski-Górecki
c2038ec20b
backups: open file selection dialog at the end for unmounting the disk ( #831 )
2014-05-15 03:06:51 +02:00
Marek Marczykowski-Górecki
f096f0050a
updates: call 'yum clean expire-cache' as root ( #843 )
...
In Fedora 20 sudo cannot be called from qrexec call (no tty available),
so run it in separate call as root.
Also add "-P" option to qubes-update-check call: for SysV systems it
should be ignored and service started as normal user (which is just
fine), but on systemd systems, the call would be redirected to
systemctl, which refuse normal user service actions. "-P" flag acquires
root privileges using PolicyKit.
2014-05-12 15:34:24 +02:00
Marek Marczykowski-Górecki
4d54815ce3
Simplify '\n' handling in tray notifies
...
Do not request the caller to encode them properly for current
notification service, but fix the encoding in notify function.
2014-05-12 15:33:18 +02:00
Marek Marczykowski-Górecki
d78e5b7b40
Workaround KDE notification, which ignores '\n' ( #844 )
2014-05-05 02:15:37 +02:00
Marek Marczykowski-Górecki
04c0f4472a
log_dialog: display only last 1MB of log, force it plain text
2014-05-05 02:15:01 +02:00
Marek Marczykowski-Górecki
b4dcf0ceb4
backups: fix get_disk_usage usage
...
It isn't member of QubesVm anymore
2014-05-05 02:14:24 +02:00
Wojciech Zygmunt Porczyk
52f12abd36
qubesmanager/main.py: always display icons in menus
...
This commit is part of #721 fix.
2014-04-30 15:03:09 +02:00
Marek Marczykowski-Górecki
978af55bbb
Minor error message handling fix
2014-04-24 12:58:38 +02:00
Marek Marczykowski-Górecki
59b98f7b51
Add updates section to global settings ( #800 )
2014-04-11 07:07:31 +02:00