Rafal Wojtczuk
fab96d2225
qvm-copy-to-vm2.kde: calculate size of sparse files correctly
2011-03-30 10:30:27 +02:00
Rafal Wojtczuk
7ac754eb63
qvm-copy-to-vm2.kde: prepare for a race in PROGRESS_FILE creation
...
Apparently a tight race may happen when PROGRESS_FILE has been created,
but not yet written to by qfile-agent. Check if its content are
sane before use.
2011-03-30 10:28:25 +02:00
Rafal Wojtczuk
93e5b749fd
qfile-copy: try to produce only one error message
2011-03-29 13:05:57 +02:00
Marek Marczykowski
d87265851c
Merge branch 'spring-merge' of ssh://git.qubes-os.org/var/lib/qubes/git/rafal/core
2011-03-24 16:43:13 -04:00
Rafal Wojtczuk
769213e019
Removed obsolete code, in appvm.
2011-03-24 17:13:21 +01:00
Rafal Wojtczuk
68ebe12cb1
dvm_file_editor: correctly nuke children's stdin/out/err
2011-03-24 14:33:43 +01:00
Marek Marczykowski
14e50e983d
gitignores
2011-03-23 19:57:48 -04:00
Rafal Wojtczuk
dd9f1a6f7f
Move execution of qrexec_agent to qubes_core
...
Previously it was in both qubes_core_appvm and qubes_core_netvm;
somehow counterintuitively, qubes_core_netvm executes on appvm, too. So
move it to a common place.
2011-03-23 11:34:01 +01:00
Rafal Wojtczuk
488eda21d9
Merge branch 'blockless' into spring-merge
...
Conflicts:
appvm/Makefile
appvm/qubes_core
netvm/qubes_core
rpm_spec/core-appvm.spec
rpm_spec/core-netvm.spec
2011-03-21 13:54:35 +01:00
Rafal Wojtczuk
a195f436b7
In qfile-unpacker, set perms on the directory only on second pass.
...
It solves problem with transferring r.x directory. Originally, it
would fail when creating files in the directory (as it is not
writable). Now, we will create it rwx, create files in it, and fix
perms and utimes on the second pass.
[user@devel fcopy]$ ls -ald /boot
dr-xr-xr-x 4 root root 4096 Sep 1 2010 /boot
2011-03-16 12:48:29 +01:00
Rafal Wojtczuk
821f707053
Added qvm-copy-to-vm2.kde
2011-03-16 12:00:22 +01:00
Marek Marczykowski
1c505589c1
Move xenstore-watch for VM from AppVM to common. Add to core-common.spec
2011-03-16 11:41:18 +01:00
Rafal Wojtczuk
2938ee5356
removed set -x from qvm-copy-to-vm2
2011-03-16 11:07:27 +01:00
Rafal Wojtczuk
ecf007b3a2
qfile-agent writes DONE to the status file at the end of work.
2011-03-16 11:06:27 +01:00
Rafal Wojtczuk
b01464670b
New qvm-copy-to-vm, aka qvm-copy-to-vm2
2011-03-16 10:50:11 +01:00
Rafal Wojtczuk
5230c12934
qfile-agent: Handle filenames with trailing slash properly.
2011-03-16 10:48:27 +01:00
Rafal Wojtczuk
e6da61cb5e
Scan filecopy sppool properly.
2011-03-16 10:14:39 +01:00
Rafal Wojtczuk
2ea7a0e77a
Build filecopy tools with -g.
2011-03-16 10:11:55 +01:00
Rafal Wojtczuk
84b1a186ff
Added qfile-unpacker and qfile-daemon
2011-03-15 16:43:43 +01:00
Rafal Wojtczuk
b8d983cfa9
Added qfile-agent
2011-03-15 16:07:00 +01:00
Rafal Wojtczuk
66bf0abb53
Use gui_fatal in qfile-agent-dvm.c
2011-03-15 13:12:21 +01:00
Rafal Wojtczuk
6b6e6b7520
Added new qvm-open-in-dvm, aka qvm-open-in-dvm2
...
Small, childless bash script.
2011-03-14 11:25:18 +01:00
Rafal Wojtczuk
04da9b62a7
Added qfile-agent-dvm.c
...
Nations, rejoice.
2011-03-11 12:44:19 +01:00
Rafal Wojtczuk
bd89fa0631
Move copy_all_fd from dvm_file_editor.c to ioall.c
...
It is useful in e.g. qfile-agent-dvm.
2011-03-11 11:57:16 +01:00
Rafal Wojtczuk
64bce77ef7
Changed copy_all signature.
2011-03-11 11:54:39 +01:00
Rafal Wojtczuk
19943f093c
Make dvm_file_editor use ioall.c
2011-03-11 11:50:52 +01:00
Rafal Wojtczuk
9a4d53fc3b
Added DVM_SPOOL definition to dvm2.h
2011-03-11 11:34:07 +01:00
Marek Marczykowski
08b4490b91
NetVM, AppVM, ProxyVM from single template - VM side (missing files...)
2011-03-11 01:42:42 +01:00
Marek Marczykowski
c7a832a279
NetVM, AppVM, ProxyVM from single template - VM side
...
Modify VM packages to:
- do not conflicts
- starts services if its VM type need it
Added core-proxyvm (firewall) and core-commonvm (common parts) packages.
2011-03-11 01:38:04 +01:00
Rafal Wojtczuk
c2214e854c
Added dvm_file_editor.
...
It works with qrexec - reads/writes data from stdin/stdout.
2011-03-10 16:50:40 +01:00
Marek Marczykowski
980efbc6c6
.gitignore
2011-03-10 16:23:45 +01:00
Marek Marczykowski
a21e0d37c6
Merge branch 'master' of ssh://git.qubes-os.org/var/lib/qubes/git/smoku/core
...
Conflicts:
dom0/qvm-core/qubes.py
2011-03-10 16:05:48 +01:00
Tomasz Sterna
f05c244321
Added AppVM version of xenstore-watch.
2011-03-09 17:51:05 +01:00
Marek Marczykowski
24c0778154
gitignore files - add build products
2011-03-06 14:06:24 +01:00
Rafal Wojtczuk
d6f327492d
Start qrexec daemon and agent
2011-03-04 17:19:51 +01:00
Joanna Rutkowska
8ec8567727
Fixed the logic for /home and /usr/local linking/copying for AppVMs
...
We assume that the template's root fs already has the following symlinks:
/home -> /rw/home
/usr/local -> /rw/usrlocal
2010-10-04 19:36:54 +02:00
Rafal Wojtczuk
a4585f1369
Allow numbers in vmname in qubes_penctl.
2010-09-27 17:52:10 +02:00
Joanna Rutkowska
0f1700ef3d
Merge branch 'comment1' of git://qubes-os.org/rafal/core
...
Conflicts:
dom0/restore/qubes_restore.c
2010-09-16 15:55:35 +02:00
Joanna Rutkowska
9b8c018bc2
Merge branch 'qmemman' of git://qubes-os.org/rafal/core
2010-09-13 15:05:13 +02:00
Rafal Wojtczuk
f6e3607d2d
qmemman: offload some processing to meminfo-writer
...
Make meminfo-writer compute used memory, and report to qmemman only if
it has changed significantly enough. As it is written in C, its code is
much faster that qmemman-server; also in the idle case, it saves on xenstore
communication overhead. Allows to send updates up to 10 times per second,
with CPU load on the VM below 0.1%.
2010-09-09 17:51:53 +02:00
Rafal Wojtczuk
a013973806
Use vif-route-qubes.
2010-09-06 17:24:12 +02:00
Rafal Wojtczuk
f3561b7aad
Fix restore completion detection in appvm/qubes_core
2010-08-30 11:43:30 +02:00
Rafal Wojtczuk
62487c0f1e
Memory management across VMs, first release
2010-08-30 11:40:19 +02:00
Rafal Wojtczuk
cee9d6b4d6
Added comments to nonobvious code fragments
2010-08-03 07:12:59 +02:00
Joanna Rutkowska
8317c2ca18
appvm/qubes_add_pendrive_script: set HOME, and pass -M to mimeopen
2010-07-30 16:01:58 +02:00
Joanna Rutkowska
f4198057f8
appvm/qubes_core: do not set hostname for DispVM
2010-07-30 16:01:15 +02:00
Joanna Rutkowska
68903cd9d4
appvm/init.d/qubes_core: a few more comments and cleanup
2010-07-27 12:52:26 +02:00
Joanna Rutkowska
c6cd630acf
appvm/init.d/qubes_core: make /home avilable for DispVM template
2010-07-27 12:51:54 +02:00
Rafal Wojtczuk
b81983f1dc
appvm/xorg-preload-apps.conf was missing
2010-07-21 13:21:00 +02:00
Rafal Wojtczuk
d46bf2a270
Pathnames cleanup
...
Move internal scripts to /usr/lib/qubes plus a couple of similar.
2010-07-21 12:57:02 +02:00