Marek Marczykowski-Górecki
fc7d686b2e
qvm-tools/qvm-shutdown: do not kill already dead VM
...
When VM stop just when the timeout expires, qvm-shutdown should not try
to kill it - this would result in QubesException("VM already stopped!").
2014-09-25 05:47:35 +02:00
Marek Marczykowski-Górecki
ec45308f1c
backups: better handle quiet mode (for tests)
2014-09-25 05:47:35 +02:00
Marek Marczykowski-Górecki
e36488e8ec
tests: add initial backup test
2014-09-25 05:47:35 +02:00
Marek Marczykowski-Górecki
715963c7c9
version 2.1.63
2014-09-19 11:01:07 +02:00
Victor Lopez
99315fd02c
support partitions on loop devices
...
loop device parsing should have "dXpY_style = True" in order to
correctly parse partitions on loop devices.
Reasoning:
==========
Using losetup to create a virtual SD card disk into a loop device and
creating partitions for it results in new devices within an AppVM that
look like: /dev/loop0p1 /dev/loop0p2 and so on.
However as soon as they are created, Qubes Manager rises an exception
and becomes blocked with the following message (redacted):
"QubesException: Invalid device name: loop0p1
at line 639 of file /usr/lib64/python2.7/site-
packages/qubesmanager/main.py
Details:
line: raise QubesException....
func: block_name_to_majorminor
line no.: 181
file: ....../qubes/qubesutils.py
2014-09-19 11:00:56 +02:00
Marek Marczykowski-Górecki
9515300544
version 2.1.62
2014-09-18 08:36:03 +02:00
Marek Marczykowski-Górecki
dba6798a60
backups: change default HMAC algorithm to SHA512
...
Backups should be safe also for long-term, so change HMAC to SHA512,
which should be usable much longer than SHA1.
See this thread for discussion:
https://groups.google.com/d/msg/qubes-devel/5X-WjdP9VqQ/4zI8-QWd0S4J
Additionally save guessed HMAC in artificial header data (when no real
header exists).
2014-09-18 08:35:09 +02:00
Marek Marczykowski-Górecki
603384b4c6
tests: add initial backup test
2014-09-18 08:25:56 +02:00
Marek Marczykowski-Górecki
a12cf158da
backups: handle empty tar output
2014-09-18 07:39:19 +02:00
Marek Marczykowski-Górecki
a40e946a3f
backups: add qvm-backup-restore --debug option
2014-09-17 23:12:27 +02:00
Marek Marczykowski-Górecki
b506a0cc15
backups: make the restore more defensive
...
Continue restore even if some fails failed to extract
2014-09-17 23:12:27 +02:00
Marek Marczykowski-Górecki
2c7fbd88e2
backups: include tar error message when reporting problem with inner tar archive
...
Previously this message goes to /dev/null (unless BACKUP_DEBUG enabled),
so the user got cryptic "Restore failed" message without any clue about
the cause.
2014-09-17 23:12:27 +02:00
Marek Marczykowski-Górecki
ec74ebdc32
backups: fix handling of unicode in error messages, clean up "ERROR:" prefix usage
...
When non-english language is set, some processes can output non-ASCII
characters in error messages. Handle them nicely.
Also make error messages more consistent about "ERROR:" prefix. Do not
use this prefix in QubesException message, add it just before showing
the message to the user.
2014-09-17 23:12:19 +02:00
Marek Marczykowski-Górecki
228ae07543
backups: improve errors handling
...
Report nice error message (not a traceback), interrupt the process on
non-recoverable error (when extraction process is already dead).
2014-09-17 14:43:41 +02:00
Marek Marczykowski-Górecki
f0bbb28398
backups: implement verify-only option ( #863 )
2014-09-17 14:43:27 +02:00
Marek Marczykowski-Górecki
9ad4e15c66
core: inherit default_user from template
2014-09-16 01:46:41 +02:00
Marek Marczykowski-Górecki
17cf9f7a9b
Remove duplicated line
2014-09-16 01:33:40 +02:00
Marek Marczykowski-Górecki
591826daa2
qvm-tools: fix error message for setting vcpus using qvm-prefs
...
Simple typo, but results in exception.
2014-09-16 01:21:21 +02:00
Marek Marczykowski-Górecki
4913fc4fbc
qvm-tools: improve messages for qvm-create --root-{move,copy}
...
There was no separate message, so it looked like registering appmenus
takes a long time.
2014-09-16 01:20:06 +02:00
Marek Marczykowski-Górecki
355ed640b2
hvm: reserve memory for stubdom
...
Previously it was allocated from 50MB memory margin left by qmemman.
Which wasn't reliable enough.
2014-09-16 01:18:55 +02:00
Marek Marczykowski-Górecki
7b8e6283d5
version 2.1.61
2014-09-09 22:28:42 +02:00
Marek Marczykowski-Górecki
cd0118f7a6
Merge branch 'master' of http://git.woju.eu/qubes/core-admin
2014-09-09 22:27:58 +02:00
Marek Marczykowski-Górecki
6dbaede3d0
qvm-tools/qubes-prefs: report empty setting as empty string instead of "none" ( #894 )
2014-09-04 23:58:32 +02:00
Hakisho Nukama
be8d807624
removed duplicated comment tag
2014-09-04 23:31:38 +02:00
Marek Marczykowski-Górecki
d23f79d693
doc: update qvm-create man page
2014-08-12 00:17:45 +02:00
Wojciech Zygmunt Porczyk
d7958625c6
core+modules: provide meaingful repr()s for some classes
2014-08-11 16:34:33 +02:00
Marek Marczykowski-Górecki
76a82a7d47
doc: update qvm-ls man page
2014-08-02 23:22:34 +02:00
Marek Marczykowski-Górecki
5f92b0c86b
version 2.1.60
2014-07-31 01:39:17 +02:00
Marek Marczykowski-Górecki
279dc78a02
core: do not reject already existing VMs with invalid name
...
It would break the system when the rules for names change. Warn instead.
2014-07-28 01:07:02 +02:00
Marek Marczykowski-Górecki
98540ac513
core: reject VM names longer than 31 chars
2014-07-28 01:00:51 +02:00
Marek Marczykowski-Górecki
7a5fc1357b
version 2.1.59
2014-07-22 20:43:06 +02:00
Marek Marczykowski-Górecki
2f9247c39d
notify: missing import
2014-07-20 13:39:02 +02:00
Marek Marczykowski-Górecki
b6b9f9d2f9
version 2.1.58
2014-07-17 11:39:25 +02:00
Marek Marczykowski-Górecki
913dac7b09
core: change default icon size
...
GUI daemon accepts up to 128x128 icons, so use that size by default.
2014-07-16 02:55:42 +02:00
Joanna Rutkowska
48bab870f6
version 2.1.57
2014-07-12 14:01:02 +02:00
Joanna Rutkowska
461c496833
Merge branch 'master' of http://git.woju.eu/qubes/core-admin
2014-07-12 13:59:52 +02:00
Wojciech Zygmunt Porczyk
f55fc1655d
core/qubes.py: migrate to new label icons
2014-07-10 16:17:58 +02:00
Joanna Rutkowska
881c250bac
version 2.1.56
2014-07-06 13:44:23 +02:00
Marek Marczykowski-Górecki
c10909e9f9
dispvm: use tray notification for "Updating default DispVM savefile" msg ( #877 )
2014-07-04 04:33:16 +02:00
Marek Marczykowski-Górecki
6ce4028033
dispvm: use tray notify for no-memory error ( #877 )
2014-07-03 04:09:17 +02:00
Marek Marczykowski-Górecki
e5a6f58851
dispvm: by default use default dispvm-prerun script
...
Assume "--default-script" when no second argument given.
2014-07-02 02:31:22 +02:00
Marek Marczykowski-Górecki
b81ecc4fba
dispvm: fix tray notifications ( #874 )
2014-07-02 02:31:05 +02:00
Marek Marczykowski-Górecki
8457c93ab2
version 2.1.55
2014-06-27 17:31:57 +02:00
Marek Marczykowski-Górecki
c9ff9c2258
Revert "dispvm: use < 3.12 kernel if possible ( #868 )"
...
This reverts commit 7ce6601853
.
3.12+ kernel fixed, so no longer needed.
2014-06-27 17:31:32 +02:00
Marek Marczykowski-Górecki
7ce6601853
dispvm: use < 3.12 kernel if possible ( #868 )
...
3.12+ is known to have broken balloon driver after save+restore.
2014-06-27 03:24:41 +02:00
Marek Marczykowski-Górecki
5443826fff
Fix block hotplug script locking
...
Do not let hotplug script inherit lock FD - if it starts some long
running process (like xenstore-watch), it will hold the lock and block other scripts.
2014-06-27 00:08:30 +02:00
Wojciech Zygmunt Porczyk
b2162b1af9
Forbid renaming of RPM-borne VMs (mainly templates) ( #839 )
...
User can still clone VM and remove old via rpm/yum.
2014-06-26 13:55:35 +02:00
Wojciech Zygmunt Porczyk
8ff423dc9a
Fix ignore-username-mismatch ( #859 )
2014-06-25 16:00:32 +02:00
Zrubi
dcba6b930a
qubes-hcl-report: collect and print RAM and HDD info.
2014-06-25 14:06:19 +02:00
Marek Marczykowski-Górecki
39db783f11
version 2.1.54
2014-06-10 20:13:58 +02:00