Commit Graph

112 Commits

Author SHA1 Message Date
Marek Marczykowski
52dbedaac2 dom0/backup-restore: chown dom0 home after restore
It can happen that backup was done as different user (in terms of UID) than on
restore system. Correct this by chown.

Especially this is the case when backup was done on Qubes R1 and restore on
Qubes R2.
2013-02-27 05:34:53 +01:00
Marek Marczykowski
82f3092803 dom0/qvm-backup-restore: adjust for new QubesVmCollection API 2013-01-22 00:34:13 +01:00
Alexandre Bezroutchko
e58b432d09 dom0/pvusb: fix a typo in usb_find_unused_frontend() 2012-11-17 03:25:22 +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
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
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
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
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
743d93d8f0 dom0/qvm-usb: bugfix 2012-10-21 14:59:39 +02:00
Alexandre Bezroutchko
9d77b3dd3c dom0/qvm-usb: detach operation appears to work 2012-10-21 14:59:39 +02:00
Alexandre Bezroutchko
b72db5cad8 dvp/qvm-usb: not going to implement explicit specification of USB frontend device/port 2012-10-21 14:59:39 +02:00
Alexandre Bezroutchko
4bb1182228 dom0/qvm-usb: implemented automatic frontend/backend initialization on attach 2012-10-21 14:59:39 +02:00
Alexandre Bezroutchko
a85d34a8b3 dom0/qvm-usb: partly implement usb_find_unused_frontend() 2012-10-21 14:59:39 +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
72fba0ac1b dom0/qvm-usb: added usb_setup() 2012-10-21 14:59:37 +02:00
Alexandre Bezroutchko
17263c96b8 dom0/qvm-usb: fixed missing input validation 2012-10-21 14:59:37 +02:00
Alexandre Bezroutchko
b9b2077062 dom0/qvm-usb: display proper name of vm a device is attached to 2012-10-21 14:59:37 +02:00
Alexandre Bezroutchko
c8cb9d00ce dom0/qvm-usb: use xs transaction 2012-10-21 14:59:36 +02:00
Alexandre Bezroutchko
0ef88be16d dom0/qvm-usb: added description to usb_list() and usb_check_attached() methods 2012-10-21 14:59:36 +02:00
Alexandre Bezroutchko
caf27cb936 dom0+vm/qvm-usb: use transaction in usb_check_attached() 2012-10-21 14:59:36 +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
b962debfad dom0/qvm-usb: implemented usb_check_attached method, now "qvm-usb -l" indicate attachments 2012-10-21 14:59:36 +02:00
Alexandre Bezroutchko
988d37fcb2 dom0/qvm-usb: qvm-usb is hopefully complete, stubs for all remaining usb_* methods implemented 2012-10-21 14:59:36 +02:00
Alexandre Bezroutchko
fc74c6a85b dom0/qvm-usb: first implementation of qvm-usb 2012-10-21 14:59:35 +02:00
Marek Marczykowski
3e90174910 Merge branch 'hvm-for-master'
Conflicts:
	dom0/qvm-core/qubes.py
	dom0/qvm-tools/qvm-sync-clock
	version_dom0
	vm-systemd/qubes-sysinit.sh
2012-10-17 21:41:03 +02:00
Bruce A Downs
6304155990 dom0/core: minor spell check fixes
* happend
* avilable
* skiping
2012-10-09 01:23:54 +02:00
Bruce A Downs
05f7bfc9c1 dom0/core: Code cleanup of qubesutils.py
* Took out unreferenced restore_vm_file function
* removed unused imports
* renamed interpreter from python2 to python
2012-10-09 01:23:45 +02:00
Marek Marczykowski
081cfab559 dom0/core: do not leak xs transaction and use it in all xs calls 2012-10-08 01:26:07 +02:00
Alexandre Bezroutchko
f4ef1adcdd dom0/qvm-core: start XS transaction before getting the list of domains 2012-10-08 01:23:52 +02:00
Marek Marczykowski
3b320878ac dom0/qvm-block: rework device name parsing to better support c0p1 name style 2012-08-26 14:42:32 +02:00
Marek Marczykowski
6305e6cbe1 dom0/qvm-block: rework device name parsing to better support c0p1 name style 2012-08-26 14:41:35 +02:00
Marek Marczykowski
e6c8bf81fd Merge branch 'master' into hvm
Conflicts:
	version_dom0
2012-08-01 00:55:05 +02:00
Marek Marczykowski
4ffe3e0391 dom0/qvm-block: fix error handler 2012-07-30 23:16:05 +02:00
Marek Marczykowski
d1b827e1bd Merge branch 'master' into hvm
Conflicts:
	dom0/init.d/qubes_core
	rpm_spec/core-dom0.spec
	version_dom0
2012-07-25 02:52:00 +02:00
Marek Marczykowski
6da61af323 dom0/backup-restore: fix netvm field in summary 2012-07-21 00:12:18 +02:00
Marek Marczykowski
dc95349145 dom0/backup-restore: fix verification of VMs in backup 2012-07-20 22:55:28 +02:00
Marek Marczykowski
7f9d77b27e dom0/backup-restore: fix verification of VMs in backup 2012-07-20 22:54:12 +02:00
Marek Marczykowski
ee3cf6b583 dom0/qvm-block: fix error handling (#614) 2012-07-05 01:49:41 +02:00
Marek Marczykowski
11ab37b9ff dom0/qvm-block: fix error handling (#614) 2012-06-30 00:58:06 +02:00
Marek Marczykowski
b771cb9f90 dom0/qvm-backup: chown user dir before backup (#492) 2012-05-02 00:09:00 +02:00
Marek Marczykowski
99e784bfc0 dom0/qvm-backup: chown user dir before backup (#492) 2012-05-01 02:22:36 +02:00
Marek Marczykowski
798e3d8c96 dom0/backup-restore: set network dependencies when all VMs are restored
To avoid complex restore order resolution.
2012-04-20 03:14:09 +02:00