Marek Marczykowski
7d07a6cf50
move dom0 files to dom0 subdirectory
...
Those files are actually common for dom0 and VM, but as we splitted the repos,
move them accordingly.
2013-03-06 18:37:58 +01:00
Marek Marczykowski
71f17cf0d0
vm/fstab: enable "discard" option for /rw
...
This, in conjunction with support in xen-blkfront/back, shrinks private.img in
dom0 with every removed file in VM. So no longer manual cleaning unused space
with some dd + cp trickery.
2013-03-03 21:20:09 +01:00
Marek Marczykowski
e8468928fe
vm/fstab: remove comment about anaconda
2013-03-03 21:19:54 +01:00
Marek Marczykowski
d12e532fc2
vm: Use nautilus-actions to provide "Copy to other AppVM" etc nautilus commands
...
No more ugly symlink creation at VM startup, nautilus-actions have system-wide
dir (in opposite to nautilus-scripts).
Currently old symlinks are not cleaned up. Maybe it should, but leaving them
have one advantage: will not break existing users behavior.
2013-02-21 16:44:16 +01:00
Marek Marczykowski
af8cb473b2
dom0+vm/udev: force QUBES_EXPOSED variable available to block_add_change script
2013-02-19 04:59:27 +01:00
Marek Marczykowski
2316d0be96
dom0: make block-snapshot more robust about finding the right loop dev
...
Use losetup -j to find already assigned loop device, instead of manually
parsing losetup -a output (which have changed between fc13 and fc18).
2013-02-12 01:38:30 +01:00
Marek Marczykowski
1579340802
vm: move polkit configs from qubes-gui-vm package
2013-02-12 01:38:29 +01:00
Marek Marczykowski
fb36ce40d6
dom0/udev: allow only one xenstore-write at the time
...
This apparently causes deadlocks when many xenstore-write (one for each block
device) called at the same time.
2013-01-27 00:02:30 +01:00
Marek Marczykowski
19983edc3c
vm: setup /dev/xen/evtchn permissions using udev rule
...
This works also when the device is recreated, which is the case in DispVM
(during xl restore).
2012-11-22 00:51:18 +01:00
Marek Marczykowski
3a3e265d1d
vm: load dummy-hcd module to suppress libusb bug
...
libusb crashes when no USB controller is present, load dummy-hcd as workaround.
2012-11-19 17:52:16 +01:00
Marek Marczykowski
2c9fe0803d
vm/core: use mount --bind instead of symlink for /home
...
Many applications doesn't like /home as symlink ($HOME differs from real
location).
2012-11-16 14:03:36 +01:00
Marek Marczykowski
05222c165b
vm: release 2 yum repository and verification keys ( #671 )
2012-11-15 20:35:29 +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
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
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
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
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
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
Alexandre Bezroutchko
5d4cf00899
dvp/qvm-usb: converted installer scripts into RPM
2012-10-21 15:10:40 +02:00
Alexandre Bezroutchko
9d77b3dd3c
dom0/qvm-usb: detach operation appears to work
2012-10-21 14:59:39 +02:00
Alexandre Bezroutchko
ff1a368dc4
dom0/qvm-usb: now use vm.run() to call vusb-ctl bind/unbind
2012-10-21 14:59:38 +02:00
Alexandre Bezroutchko
d613d6a04d
dom0/qvm-usb: attach works again for dom0 backend
2012-10-21 14:59:38 +02:00
Alexandre Bezroutchko
db4d49b19c
dom0+vm/qvm-usb: intermediate
2012-10-21 14:59:38 +02:00
Alexandre Bezroutchko
a3170492b0
dom0+vm/qvm-usb: added vusb helper script to usbvm
2012-10-21 14:59:38 +02:00
Alexandre Bezroutchko
81ca750403
dom0+vm/qvm-usb: cosmetic: removed debugging code, adjusted fixmes
2012-10-21 14:59:36 +02:00
Alexandre Bezroutchko
0b462bfbed
dvp/qvm-usb: implemented usb_check_attached method, now "qvm-usb -l" indicate attachments
2012-10-21 14:59:36 +02:00
Alexandre Bezroutchko
c856928314
dom0+vm/qvm-usb: changed XS path naming scheme again
2012-10-21 14:59:35 +02:00
Alexandre Bezroutchko
876924f233
dom0+vm/qvm-usb: adjust usb_remove to the new XS naming scheme
2012-10-21 14:59:35 +02:00
Alexandre Bezroutchko
d6426e3564
dom0+vm/qvm-usb: changed the structure of XS pathes
2012-10-21 14:59:35 +02:00
Alexandre Bezroutchko
b0a68d287e
dvp/qvm-usb: Added some debugging code.
2012-10-21 14:59:34 +02:00
Alexandre Bezroutchko
fe4c9e7018
dom0+vm/qvm-usb: cosmetic
2012-10-21 14:59:34 +02:00
Alexandre Bezroutchko
0bbbb39eab
dom0+vm/qvm-usb: autoload pvusb backend driver
2012-10-21 14:59:34 +02:00
Alexandre Bezroutchko
c1785f79dd
dom0+vm/qvm-usb: First implementation of udev rules and supporting scripts.
2012-10-21 14:59:34 +02:00
Marek Marczykowski
5ea32bd11b
dom0/meminfo-writer: fork into background after first info sent to qmemman ( #635 )
2012-07-20 16:42:12 +02:00
Marek Marczykowski
06ba3f6e49
vm: implement qubes.GetAppmenus to reduce code duplication
...
As one-liner services are now real one-line, just do it.
2012-07-15 02:41:23 +02:00
Marek Marczykowski
718f5c2bdb
vm: provide dispvm-dotfiles and dispvm-prerun.sh in rpm package ( #620 )
2012-07-12 14:22:44 +02:00
Marek Marczykowski
e2a0c22299
vm/qubes-dom0-update: rebuild dom0 rpmdb before touching it with yum
...
Dom0 can have different (older) rpmdb version than VM. Starting from FC17 yum
refuses to work without rebuild.
2012-06-13 04:56:11 +02:00
Marek Marczykowski
9d10d6c668
vm: fix yum-qubes-hooks
...
Program must be given as full path to qrexec_client_vm - it is passed directly
to execv.
2012-06-11 22:35:44 +02:00
Marek Marczykowski
288dcc562e
vm: enable yum-qubes-hooks plugin ( #592 )
2012-06-11 22:35:44 +02:00
Marek Marczykowski
b1cbd0d8c1
vm: disable gnome update plugin, not only unattended installation
2012-06-11 22:35:44 +02:00
Marek Marczykowski
b1ec6a6248
dom0+vm/qvm-block: speed up udev block handler ( #560 )
...
xenstore is very slow, so don't bother it when unneeded. Namely do not try to
remove entries, which haven't even created.
2012-06-11 22:35:44 +02:00
Marek Marczykowski
79f13d6c66
vm: yum plugin to notify dom0 about installed updates ( #592 )
2012-06-05 21:21:53 +02:00
Marek Marczykowski
ebe74d1661
vm: include /proc/xen in fstab ( #466 )
2012-05-02 00:09:00 +02:00
Marek Marczykowski
07e1ca35e7
dom0+vm/hotplug-script: improve error checking, log only important messages ( #477 )
2012-04-25 23:43:50 +02:00
Marek Marczykowski
87d4e1586d
vm/qubes-dom0-update: display info when no updates available
2012-04-25 23:43:50 +02:00
Joanna Rutkowska
30c744a716
Merge branch 'master' of git.qubes-os.org:/var/lib/qubes/git/marmarek/core
2012-04-15 16:21:50 +02:00