Marek Marczykowski-Górecki
3c993c619c
backup: restore: handle VM data with qfile format instead of simple tar
...
This was already partially implemented, but only for backup header
(qubes.xml).
Fix handling of vmproc object (available only when backup in another
VM).
Also fix some race conditions - wait for process termination, not only
check its exit code (which would be None if process still running).
2013-11-09 17:20:18 +01:00
Marek Marczykowski-Górecki
c61a4570e8
backup: use 'dom0' as source domain for RPC calls
2013-11-09 17:12:41 +01:00
Marek Marczykowski-Górecki
661a1ba4af
backup: comment update
2013-11-09 17:12:14 +01:00
Marek Marczykowski-Górecki
54f08e00b9
backup: fix race condition with inner tar process
...
Do not assume that tar will finish quickly - explicitly wait for either
process termination or request for the next archive part.
2013-11-09 17:09:44 +01:00
Marek Marczykowski-Górecki
89b6069bda
backup: whitespace fixes
2013-11-09 17:06:29 +01:00
Marek Marczykowski-Górecki
b84ba998a3
backup: fix misused variables - most likely copy&paste error
2013-11-09 16:56:59 +01:00
Marek Marczykowski-Górecki
5cebff34bd
backup: include qubes.xml
...
It was commented out by mistake.
2013-11-09 16:51:25 +01:00
Marek Marczykowski-Górecki
34b03fe2b3
backup: fix setting backup qubes.xml attributes
...
Cannot compare QubesVm objects, because we have different instances of
QubesVmCollection. So compare QID instead.
2013-11-09 16:46:06 +01:00
Marek Marczykowski-Górecki
a56ceb92c5
backup: update for new API - use system_path hash
...
Instead of a bunch of global variables
2013-11-09 15:55:17 +01:00
Marek Marczykowski-Górecki
a9a8335403
Merge remote-tracking branch 'oliv/master' into new-backups
...
Conflicts:
core/qubesutils.py
dom0/qvm-core/qubes.py
2013-11-07 22:41:16 +01:00
Marek Marczykowski-Górecki
e6012a8fd2
Fix qubes.xml unlock code ( #748 )
...
Do not call explicit lockf(lOCK_UN) to not unlock the file
buffers are flushed. This is simpler than adding flush() call.
2013-10-02 04:54:10 +02:00
Marek Marczykowski-Górecki
76144df2e7
qvm-backup: respect "include in backups by default" setting ( #746 )
2013-10-01 03:31:12 +02:00
Marek Marczykowski
28b8eb0445
Send monitor layout at VM startup.
...
Gui daemon isn't aware of multihead parameters, also gui protocol
doesn't support such information - currently by design it is configured
via Qubes RPC service.
At GUI startup send monitor layout to the VM.
2013-08-11 04:11:34 +02:00
Marek Marczykowski
a84886db07
Move all files one level up
2013-03-16 19:56:51 +01:00