Marek Marczykowski-Górecki
d5be1b32fa
version 2.1.53
2014-05-18 21:12:34 +02:00
Marek Marczykowski-Górecki
44f38fe076
Declare file encoding for all python files, fill missing copyright headers
...
Without that, python do not accept UTF-8 even in comments.
2014-05-18 21:03:27 +02:00
Marek Marczykowski-Górecki
ad3b45b2fb
Merge remote-tracking branch 'woju/master'
2014-05-16 20:14:05 +02:00
Wojciech Zygmunt Porczyk
04df26ab70
qvm-firewall: use socket.getservby(name|port)
...
instead of parsing /etc/services
(#829 )
2014-05-16 18:55:30 +02:00
Wojciech Zygmunt Porczyk
45318ecb43
regexp fixes and validation ( #829 )
2014-05-16 18:35:59 +02:00
Marek Marczykowski-Górecki
2abe0649d4
dispvm: show "DisposableVM creation failed" msg using tray notification ( #821 )
2014-05-15 18:35:01 +02:00
Marek Marczykowski-Górecki
2bde8d906b
dispvm: do not fail when notification service unavailable
2014-05-15 18:34:57 +02:00
Marek Marczykowski-Górecki
39496bf65a
backups: use more restrictive pattern for directory canonicalization ( #840 )
...
The --xform option affects all the names - including symlink targets. So
make the pattern as precise as possible to not break symlinks in dom0
home backup. Still not ideal, but at least limit damage to relative
symlinks pointing at <username> directory (which hopefully user will
not create). Previous version broke all relative symlinks...
2014-05-13 03:18:08 +02:00
Marek Marczykowski-Górecki
6566d4f57c
core: allow clone_attrs() to not fail on errors
...
... and continue setting other properties. Currently not used, but can
be considered for backup-restore (to restore as much properties as
possible).
2014-05-12 19:47:48 +02:00
Marek Marczykowski-Górecki
86bae8d276
core: verify kernel property when its modified
...
Do not assume that frontend have verified that setting.
2014-05-12 19:45:30 +02:00
Marek Marczykowski-Górecki
09348e86e5
version 2.1.52
2014-05-11 15:51:39 +02:00
Marek Marczykowski-Górecki
6efec32c3b
rpm: drop dependency on kernel-qubes-dom0
...
Since dom0 support is in mainline kernel we no longer strictly require
our patched kernel. So drop the dependency. Note that installer will
still install the right kernel.
2014-05-11 15:42:04 +02:00
Marek Marczykowski-Górecki
e5feb3169a
core: cleanup remains of failed domain startup ( #825 )
2014-05-10 21:23:04 +02:00
Marek Marczykowski-Górecki
067876afb6
doc: typo fix
2014-05-10 20:37:41 +02:00
Hakisho Nukama
0d47157f3b
qubes-hcl-report: more output added - wikis source format.
2014-05-09 17:14:17 +02:00
Marek Marczykowski-Górecki
6ef280b132
qubes.VMShell.policy: extend comment
2014-05-07 15:34:59 +02:00
Marek Marczykowski-Górecki
8fca6e64f0
Merge remote-tracking branch 'joanna/master'
2014-05-07 15:29:55 +02:00
Wojciech Zygmunt Porczyk
8ef5f4c665
QubesTemplateVm: fire post-rename hooks
2014-05-07 14:15:15 +02:00
Joanna Rutkowska
e882ba15f7
qubes.VMShell.policy: use 'deny' rule by default when target is a regular AppVM
2014-05-07 13:50:37 +02:00
Marek Marczykowski-Górecki
4c2aa8885c
Merge branch 'master' of http://git.woju.eu/qubes/core-admin
2014-05-07 03:18:33 +02:00
Wojciech Zygmunt Porczyk
a63a8069b1
QubesVm: setter hook passes old value
...
This is part of #827 bug.
2014-05-05 22:23:43 +02:00
Marek Marczykowski-Górecki
fc3b21c840
version 2.1.51
2014-05-05 21:31:19 +02:00
Wojciech Zygmunt Porczyk
72f74b6b76
QubesVm: add attribute setter hook mechanism
...
This is part of #827 bug.
2014-05-05 16:40:44 +02:00
Marek Marczykowski-Górecki
b8b2733114
core: fix un-setting global VMs (default netvm, clockvm etc)
2014-05-05 05:24:04 +02:00
Marek Marczykowski-Górecki
3914835ceb
backups: add option to disable encryption
...
While the encryption is enabled by default in reasonable cases, allow the
user to disable it if he/she want to.
2014-05-05 05:22:57 +02:00
Marek Marczykowski-Górecki
dfb6b384cb
core: fix typo in firewall.xml root element
2014-05-05 05:22:25 +02:00
Wojciech Zygmunt Porczyk
624ab67e86
qubesutils.py: don't fail on broken symlinks
2014-05-02 17:03:50 +02:00
Wojciech Zygmunt Porczyk
1840420331
qubesutils.py: fix get_disk_usage hidden exception
2014-04-30 15:43:35 +02:00
Marek Marczykowski-Górecki
14f3094036
core: fix resize of root.img for HVM template ( #837 )
2014-04-29 02:13:16 +02:00
Marek Marczykowski-Górecki
8ac5981fdd
Merge remote-tracking branch 'woju/bug-822'
2014-04-28 14:31:29 +02:00
Wojciech Zygmunt Porczyk
8c26f19103
core-modules: remove duplicate get_disk_usage
2014-04-28 13:33:18 +02:00
Wojciech Zygmunt Porczyk
4b15838009
qubesutils.py: remove imported but unused classes
...
This is needed to remove circular dependency with modules.
This commit is part of #822 fix.
2014-04-28 12:19:52 +02:00
Marek Marczykowski-Górecki
dbb1cb3e61
version 2.1.50
2014-04-25 23:11:10 +02:00
Wojciech Zygmunt Porczyk
ee059df63e
qubesutils.py: get_disk_usage
...
get_disk_usage is moved from code-modules and backup.py and rewritten not to
call external du
This commit is part of #822 fix.
2014-04-24 21:50:12 +02:00
Marek Marczykowski-Górecki
cac866ed1b
core: not not fail network reconnect on HVM without qrexec installed
2014-04-24 12:57:41 +02:00
Marek Marczykowski-Górecki
3d14fe38e1
Convenient link for qmemman
...
Both site-packages* links are to ease import directly from repo - just
append them to PYTHONPATH. This can ease use of code analysis tools.
2014-04-23 12:53:41 +02:00
Marek Marczykowski-Górecki
c6bf9faa65
version 2.1.49
2014-04-23 04:18:09 +02:00
Marek Marczykowski-Górecki
047cbb3443
core: fix tempate HVM creation
2014-04-23 04:17:40 +02:00
Marek Marczykowski-Górecki
3d21998dca
version 2.1.48
2014-04-18 03:13:21 +02:00
Marek Marczykowski-Górecki
f324f4eef8
core: verify template compatibility when adding new VM
...
It is done in Qubes Manager, but do it at lower level - especially for
qvm-create tool.
2014-04-18 01:35:12 +02:00
Marek Marczykowski-Górecki
113fe3391d
core: fix vm.is_outdated() for template-based HVM
...
HVM template can't be started while any its VM is running, so VM is
never outdated.
2014-04-18 01:34:09 +02:00
Marek Marczykowski-Górecki
ca1be8683c
core: Fix creation of template-based HVM
2014-04-18 01:23:39 +02:00
Marek Marczykowski-Górecki
8e94099e12
version 2.1.47
2014-04-16 17:06:16 +02:00
Marek Marczykowski-Górecki
1ac3f81848
core: increase default netvm memory to 300MB ( #818 )
2014-04-16 16:44:42 +02:00
Marek Marczykowski-Górecki
ef09f2ed2a
Disable PAT in linux VMs
...
Apparently kernel patch "x86/cpa: Use pte_attrs instead of pte_flags on
CPA/set_p.._wb/wc operations" (in out repo) doesn't fully solve the
problem and sometimes qubes-gui agent crashes with message like
"qubes-gui:664 map pfn expected mapping type write-back for [mem
0x00093000-0x00093fff], got uncached-minus".
Because PAT we really need only in dom0 (lack of it dramatically
decrease performance of some graphics drivers), we can simply disable it
in VM - as it is currently done in upstream kernel.
2014-04-16 16:44:42 +02:00
Marek Marczykowski-Górecki
8694e4ffbb
rpm: specify qubes-core-dom0-linux version
...
qrexec-client cmdline options have changed.
2014-04-16 16:44:42 +02:00
Marek Marczykowski-Górecki
9ee207514e
dispvm: increase log verbosity during domain restore
2014-04-16 16:44:42 +02:00
Marek Marczykowski-Górecki
e2f3446f22
dispvm: do not limit DispVM memory to reported allocated size
...
Apparently it doesn't work with some kernels - saved domain still needs
original memory amount to restore successfully. This happens at least on
3.12.14 kernel.
Because qfile-daemon-dvm always requests 400MB from qmemman, this change
should harm anyone - in any case DispVM needs 400MB free memory to
start.
Note that "xl mem-set" line is still there, which makes savefile somehow
smaller (so faster restore).
2014-04-16 16:44:42 +02:00
Marek Marczykowski-Górecki
f4deddbbdf
core: do not run commands on paused VM
2014-04-16 16:44:42 +02:00
Marek Marczykowski-Górecki
bb9d8bbf78
Remove qubes-dom0-network-via-netvm tool ( #820 )
...
If someone really needs it for debuging he/she should be able to either
do it manually (xl network-attach...) or at worst case retrieve this
tool from git history.
2014-04-16 16:44:41 +02:00