Commit Graph

4169 Commits

Author SHA1 Message Date
Marek Marczykowski
629038e76d spec: extract core libs from qubes-core-vm
This libs are required by both dom0 and VM so it's better to have it
separately. Previously in VM it was separate package, but dom0 have them
embedded in qubes-core-dom0, but qubes-core-vm-libs package was used to build
qubes-gui-dom0. Now we do not build all packages for all distros (especially do
not build core-vm package for dom0 distro, so gui-dom0 build fails), so make it
explicit which package is needed by which system.
2012-11-14 13:12:51 +01:00
Marek Marczykowski
bd1e7620d2 makefile: generic rpms-dom0 and rpms-vm targets 2012-11-14 01:41:21 +01:00
Marek Marczykowski
e8e14f3fad dom0/core: API CHANGE: pass username as keyword param to vm.run() (#577)
Get rid of ugly embedding username into commandline. This will make much easier
avoid hardcoding username in dom0 code.
Currently dom0 is free of hardcoded "user" username ("root" still is used).
2012-11-13 04:42:25 +01:00
Marek Marczykowski
69b803f286 dom0/appmenus-receive: use common API for running commands in VM
Do not use qrexec_client directly.
2012-11-13 04:03:30 +01:00
Marek Marczykowski
f47f8e7c8f dom0/dispvm: enable use of default_user setting for DispVM (#577) 2012-11-13 04:02:49 +01:00
Marek Marczykowski
d3f1860bd0 dom0: use default user in "DispVM: Web browser" launcher (#577) 2012-11-13 04:00:51 +01:00
Marek Marczykowski
504b37e378 dom0/spec: remove obsoleted patch_appvm_initramfs.sh
For a long time dracut module is used instead.
2012-11-13 03:45:12 +01:00
Marek Marczykowski
9396c25568 version 2.1.2 2012-11-12 14:08:09 +01:00
Marek Marczykowski
981549fad8 vm/dispvm: use of user-provided DispVM settings (#651)
When /rw/home/user/.qubes-dispvm-customized is present use /rw/home/user
instead of default /etc/dispvm-dotfiles.tbz. Also make sure that /rw will not
remain mounted during DispVM creation.
2012-11-12 13:44:10 +01:00
Alexandre Bezroutchko
8ce7a91649 Merge branch 'master' into pvusb2 2012-11-08 10:51:18 +01:00
Alexandre Bezroutchko
3898b69ac1 Merge branch 'master' of git://git.qubes-os.org/marmarek/core 2012-11-08 10:49:39 +01:00
Alexandre Bezroutchko
d0203af098 dom0+vm/usb: added another bug to readme 2012-11-08 10:44:20 +01:00
Marek Marczykowski
272b6b7e1d dom0/usb: "port" xenstore entry isn't encoded, so don't try to decode it 2012-11-08 03:57:04 +01:00
Marek Marczykowski
14686a0243 dom0/usb: imporove qvm-usb warning message 2012-11-08 03:52:41 +01:00
Alexandre Bezroutchko
42ae001b74 dom0/usb: cosmetic changes to warning messages displayed by qvm-usb tool 2012-11-08 02:59:55 +01:00
Alexandre Bezroutchko
f2b633756e dom0+vm/usb: fixed a bug introduced in eb193fc870 2012-11-08 02:42:09 +01:00
Alexandre Bezroutchko
3f555e75a8 Merge branch 'pvusb2' of github.com:grwl/qubes-core into pvusb2 2012-11-08 01:32:04 +01:00
Alexandre Bezroutchko
5ad7e9622c Merge branch 'master' of git://git.qubes-os.org/marmarek/core into pvusb2 2012-11-08 01:31:07 +01:00
Marek Marczykowski
67e9a785fb spec: fix compilation order 2012-11-08 00:02:13 +01:00
Marek Marczykowski
6219ecd01c dom0/core: increase default SWIOTLB size
Needed by some network devices like Realtek RTL8111DL.
2012-11-07 23:57:05 +01:00
Marek Marczykowski
62732d78b2 dom0/usb: added Big Fat Warning to qvm-usb tool (#664) 2012-11-07 22:02:28 +01:00
Marek Marczykowski
6bbd935df1 Rename build-deps file (#666) 2012-11-07 18:19:07 +01:00
Marek Marczykowski
5f4a1edca4 Add build-deps file (#666) 2012-11-07 18:14:26 +01:00
Marek Marczykowski
f45e6c92c5 spec: add missing 'make' call 2012-11-07 18:05:17 +01:00
Marek Marczykowski
c777f3d30d makefile: split rpms into rpms-vm and rpms-dom0 (#665) 2012-11-07 18:05:17 +01:00
Alexandre Bezroutchko
eb193fc870 dom0+vm/usb: sanitize data (USB device names) read from xenstore before use 2012-11-07 01:33:19 +01:00
Alexandre Bezroutchko
350ff3aaa1 dom0+vm/usb: encode/decode dots in USB device names when writing/reading xenstore 2012-11-07 01:14:12 +01:00
Alexandre Bezroutchko
14a1f9f67f dom0+vm/usb: cosmetic - added comments to usb_find_unused_frontend() 2012-11-07 00:41:13 +01:00
Alexandre Bezroutchko
900e5327d2 dom0+vm/usb: improve error reporting in usb_find_unused_frontend() 2012-11-07 00:37:50 +01:00
Alexandre Bezroutchko
aeac4d20dc dom0+vm/usb: bugfix in usb_find_unused_frontend() 2012-11-07 00:24:05 +01:00
Marek Marczykowski
cb31b333ae vm/spec: fix NotShowIn entries in autostart desktop files 2012-11-03 05:22:03 +01:00
Marek Marczykowski
33cec0defa vm: setup device permission to allow non-root vchan servers
This will allow to start pulseaudio as normal user and get rid of preloaded
library.
2012-11-03 05:22:03 +01:00
Marek Marczykowski
eea3aa3b72 vchan: fix multiple server instances from single process
Use new u2mfn_fd for each ring_init call - each open fd to u2mfn is capable to
do only one u2mfn_alloc_kpage, so it can't be reused at the next ring_init.
2012-11-03 05:22:02 +01:00
Marek Marczykowski
debcf6d24a u2mfn: add API to use specific u2mfn FD
This enable to get multiple pages (via u2mfn_alloc_kpage) - kernel module holds
pointer to it in per-FD struct, so the same FD can't be reused for the next request.

More elegant solution should involve kernel module modification (stored page
list or sth), but it is planed to replace this part of code with libxenvchan
(or even more generic version), so this temporary solution should be enough.
2012-11-03 05:22:01 +01:00
Marek Marczykowski
6b23655fb7 vchan: specify data param of libvchan_write as const
It isn't (and shouldn't) modified by the function so mark it in declaration.
This will also help catching some errors.
2012-11-03 05:22:01 +01:00
Joanna Rutkowska
595696b6f6 version 2.1.1 2012-11-02 14:27:01 +01:00
Alexandre Bezroutchko
bee83bea0d dom0/qvm-create: fixed couple typos 2012-10-28 03:49:53 +01:00
grwl
7366ca00e7 dom0+vm/usb: refactoring 2012-10-28 02:27:06 +01:00
grwl
b93b4f5f35 dom0+vm/usb: refactoring 2012-10-28 02:24:17 +01:00
Alexandre Bezroutchko
073ce8a683 dom0+vm/usb: completed support for usb versions, fixed a bug 2012-10-26 23:30:55 +02:00
Alexandre Bezroutchko
14fff45ddd dom0+vm/usb: add USB version to device list displayed by qvm-usb -l' 2012-10-26 23:09:36 +02:00
Alexandre Bezroutchko
d37efe031e dom0+vm/usb: added USB vesrion support to usb_setup() and usb_find_unused_frontend() 2012-10-24 22:30:42 +02:00
Alexandre Bezroutchko
7a11a8305c dom0+vm/usb: store USB version in XS 2012-10-24 22:05:57 +02:00
Alexandre Bezroutchko
24840b5dac dom0+vm/usb: make original device name available 2012-10-24 22:02:55 +02:00
Alexandre Bezroutchko
2e19ca650f dom0+vm/qvm-usb: store USB version in XS 2012-10-24 22:00:27 +02:00
Marek Marczykowski
7fec0fd6f3 dom0/updates: include pkg groups metadata from Fedora 13
This will allow calls like "qubes-dom0-update @XFCE"
2012-10-23 05:47:09 +02:00
Marek Marczykowski
e9025d3690 dom0/spec: fix file permissions in package 2012-10-23 05:46:25 +02:00
Marek Marczykowski
a432b729fa vm/qvm-usb: include vusb-ctl in VM package 2012-10-23 05:45:47 +02:00
Marek Marczykowski
8fee35f010 dom0+vm/qvm-usb: improve USB hubs detection
This method filter out also "rate matching hub", which is device 2.
2012-10-23 05:44:37 +02:00
Marek Marczykowski
4b44a149c1 dom+vm/qvm-usb: improve handling devices like "2-1.4"
xenstore doesn't allow '.' in key name, so translate it to '_'
2012-10-23 05:42:39 +02:00