Commit Graph

106 Commits

Author SHA1 Message Date
Rafal Wojtczuk
cdc5756f79 Scan filecopy sppool properly. 2011-03-16 10:14:39 +01:00
Rafal Wojtczuk
f370fdab66 Build filecopy tools with -g. 2011-03-16 10:11:55 +01:00
Rafal Wojtczuk
31c7a7a1c9 Added qfile-unpacker and qfile-daemon 2011-03-15 16:43:43 +01:00
Rafal Wojtczuk
17fb4614e7 Added qfile-agent 2011-03-15 16:07:00 +01:00
Rafal Wojtczuk
29ffbfd474 Use gui_fatal in qfile-agent-dvm.c 2011-03-15 13:12:21 +01:00
Rafal Wojtczuk
c52d8b54d5 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
f075e66a87 Added qfile-agent-dvm.c
Nations, rejoice.
2011-03-11 12:44:19 +01:00
Rafal Wojtczuk
9d8e066a7f 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
dd014e4cab Changed copy_all signature. 2011-03-11 11:54:39 +01:00
Rafal Wojtczuk
a750229be6 Make dvm_file_editor use ioall.c 2011-03-11 11:50:52 +01:00
Rafal Wojtczuk
74967c717c Added DVM_SPOOL definition to dvm2.h 2011-03-11 11:34:07 +01:00
Marek Marczykowski
4c0849890c NetVM, AppVM, ProxyVM from single template - VM side (missing files...) 2011-03-11 01:42:42 +01:00
Marek Marczykowski
c87b15ba2a 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
7342404846 Added dvm_file_editor.
It works with qrexec - reads/writes data from stdin/stdout.
2011-03-10 16:50:40 +01:00
Marek Marczykowski
f5e526f2c3 .gitignore 2011-03-10 16:23:45 +01:00
Marek Marczykowski
382b90c543 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
e686391de1 Added AppVM version of xenstore-watch. 2011-03-09 17:51:05 +01:00
Marek Marczykowski
45f70b4e02 gitignore files - add build products 2011-03-06 14:06:24 +01:00
Rafal Wojtczuk
0f655f9344 Start qrexec daemon and agent 2011-03-04 17:19:51 +01:00
Joanna Rutkowska
04885a8bd8 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
07fe7804d7 Allow numbers in vmname in qubes_penctl. 2010-09-27 17:52:10 +02:00
Joanna Rutkowska
c44f58f180 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
2a6356a6dd Merge branch 'qmemman' of git://qubes-os.org/rafal/core 2010-09-13 15:05:13 +02:00
Rafal Wojtczuk
555be9b857 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
81a57ec32b Use vif-route-qubes. 2010-09-06 17:24:12 +02:00
Rafal Wojtczuk
ebbefaabc2 Fix restore completion detection in appvm/qubes_core 2010-08-30 11:43:30 +02:00
Rafal Wojtczuk
ea58a5e299 Memory management across VMs, first release 2010-08-30 11:40:19 +02:00
Rafal Wojtczuk
938dc071e4 Added comments to nonobvious code fragments 2010-08-03 07:12:59 +02:00
Joanna Rutkowska
02276c2157 appvm/qubes_add_pendrive_script: set HOME, and pass -M to mimeopen 2010-07-30 16:01:58 +02:00
Joanna Rutkowska
d60bcd1786 appvm/qubes_core: do not set hostname for DispVM 2010-07-30 16:01:15 +02:00
Joanna Rutkowska
d7efc76dcc appvm/init.d/qubes_core: a few more comments and cleanup 2010-07-27 12:52:26 +02:00
Joanna Rutkowska
3e7de18f9e appvm/init.d/qubes_core: make /home avilable for DispVM template 2010-07-27 12:51:54 +02:00
Rafal Wojtczuk
cc7f78a423 appvm/xorg-preload-apps.conf was missing 2010-07-21 13:21:00 +02:00
Rafal Wojtczuk
a646ad46b1 Pathnames cleanup
Move internal scripts to /usr/lib/qubes plus a couple of similar.
2010-07-21 12:57:02 +02:00
Rafal Wojtczuk
c518538f59 DVM: execute user script before save
qubes_prepare_saved_domain.sh now takes optional second argument, the
filename. The content of the file will be copied (via xenstore) to DVM
and executed just before save. This makes it possible to preload memory
with useful apps.
2010-07-21 12:57:02 +02:00
Rafal Wojtczuk
89c09816b4 dvm: dont send back the file if not modified 2010-07-21 12:57:02 +02:00
Rafal Wojtczuk
71e3d61bc3 dvm: graceful exit from add_pendrive on error
If something goes wrong, tell qfileexchgd to kill us, instead of
plain exiting. Works with dropped privs, and lets qfileexchgd
use dvm-debug switch to delay dvm kill.
2010-07-21 12:57:02 +02:00
Rafal Wojtczuk
2b9c4b875f dvm: notify user when opening a document in dvm failed 2010-07-21 12:57:02 +02:00
Rafal Wojtczuk
a3400522f7 Allow to call "umount" via qubes_penctl 2010-07-21 12:57:02 +02:00
Rafal Wojtczuk
63561346b3 Always detach xvdh, even on error 2010-07-21 12:57:02 +02:00
Rafal Wojtczuk
ea9f0f12f9 qvm-dvm.desktop entry 2010-07-21 12:57:01 +02:00
Rafal Wojtczuk
db8962f748 dvm: appvm side code 2010-07-21 12:56:43 +02:00
Rafal Wojtczuk
ede7fff0fd touch /etc/this_is_dvm 2010-07-21 12:56:43 +02:00
Rafal Wojtczuk
9a479f81f6 penctl: 3rd arg is seq 2010-07-21 12:56:43 +02:00
Rafal Wojtczuk
0a11679afb Quick VM restore support 2010-07-21 12:56:21 +02:00
Joanna Rutkowska
fbe4783e60 Make qubes-testing repos disabled by default 2010-07-06 16:35:10 +02:00
Joanna Rutkowska
e50aaa36cf appvm: create /rw/home on virgin boot 2010-06-18 16:21:04 +02:00
Joanna Rutkowska
5b5de14bc0 Make dom0, appvm, netvm use different qubes.repo 2010-06-18 01:41:10 +02:00
Joanna Rutkowska
9bfaccc6d3 appvm qubes_core: remove too strict checking of vm type 2010-06-11 18:32:23 +02:00
Rafal Wojtczuk
034e654268 Removed old unused code from appvm/qubes_core. 2010-05-30 15:45:40 +02:00
Rafal Wojtczuk
1b59b440e4 Make /usr/local a symlink to /rw/usrlocal. 2010-05-30 15:45:40 +02:00
Rafal Wojtczuk
952d2f1d8e Get rid of dnsmasq in netvm.
qubes_setup_dnat_to_ns script sets up DNAT rules for DNS traffic; it is
triggered by dhclient or NetworkManager, and manually (in case there is
a static resolv.conf).

Put IP-dependent rules in qubes-core, after local ip is known. It could be
further improved by introducing custom chains, to enable iptables save.

Restrict FORWARD.
2010-05-30 15:45:35 +02:00
Rafal Wojtczuk
dec27591b6 Use "auto" fstype for /mnt/removable; it will allow to mount any fs type
on /mnt/removable.
2010-05-13 15:54:24 +02:00
Rafal Wojtczuk
87d0f3a481 In qvm-copy-to-vm{kde}, handle files with spaces correctly (ticket #2). 2010-05-13 15:41:55 +02:00
Rafal Wojtczuk
e1efcf60b3 Allow user in VM to mount /dev/xvdi; so that we can do
...block-attach... something vfat-formatted...xvdi
in dom0.
2010-05-13 15:23:31 +02:00
Joanna Rutkowska
349a2d0c15 Initial public commit.
(c) 2010 Invisible Things Lab

Authors:
=========
Joanna Rutkowska <joanna@invisiblethingslab.com>
Rafal Wojtczuk  <rafal@invisiblethingslab.com>
2010-04-05 20:58:57 +02:00