Marek Marczykowski
847fe81dcd
dom0/qvm-run: do not break --all when run in one VM failed
2012-08-01 01:01:37 +02:00
Marek Marczykowski
e6c8bf81fd
Merge branch 'master' into hvm
...
Conflicts:
version_dom0
2012-08-01 00:55:05 +02:00
Marek Marczykowski
a680976f1e
dom0/updates: show errors from qubes-receive-updates
...
Especially when signature verification failed, show message about it, not
enigmatic "Could not open/read
file:///var/lib/qubes/updates/repodata/repomd.xml"
2012-07-30 23:16:05 +02:00
Marek Marczykowski
c2d4b0de62
dom0/updates: typo fix in qubes-manager statfile handling
2012-07-30 23:16:05 +02:00
Marek Marczykowski
d5dbbd41cb
dom0/qvm-tools: add missing imports
2012-07-20 13:09:07 +02:00
Marek Marczykowski
b321d16336
dom0/qvm-tools: add missing imports
2012-07-18 18:10:08 +02:00
Marek Marczykowski
4b92f6390a
dom0/qvm-core: ignore stderr from VM commands when not needed for sure ( #626 )
...
pam_systemd.so has a bug, which cause spurious '...killed' output on stderr.
2012-07-16 13:36:08 +02:00
Marek Marczykowski
5637793fae
dom0/qvm-core: ignore stderr from VM commands when not needed for sure ( #626 )
...
pam_systemd.so has a bug, which cause spurious '...killed' output on stderr.
2012-07-16 13:31:43 +02:00
Marek Marczykowski
6c74db3aac
dom0/qvm-sync-appmenus: use qubes.GetAppmenus service
2012-07-15 02:41:23 +02:00
Marek Marczykowski
c0ffdd6fa5
dom0/dom0-updates: remove updates-pending flag after update installation
2012-07-15 02:41:23 +02:00
Marek Marczykowski
1009b1a46d
dom0/qvm-sync-appmenus: use qubes.GetAppmenus service
2012-07-15 02:26:17 +02:00
Marek Marczykowski
d156a815d2
dom0/dom0-updates: remove updates-pending flag after update installation
2012-07-14 15:55:46 +02:00
Marek Marczykowski
b42e09e4ba
dom0/qvm-tools: Warn the user when running qvm-tool as root is not recommended ( #612 )
2012-07-12 03:57:22 +02:00
Marek Marczykowski
2c0d0dff8b
dom0/qvm-sync-clock: string '\n' from date output
2012-07-12 03:56:09 +02:00
Marek Marczykowski
ac76b7203f
dom0/qvm-sync-clock: string '\n' from date output
2012-07-12 03:43:57 +02:00
Marek Marczykowski
ba81866b2f
dom0/qvm-tools: Warn the user when running qvm-tool as root is not recommended ( #612 )
2012-07-11 23:53:23 +02:00
Marek Marczykowski
64369bf02a
dom0/qvm-run: Notify qubes-manager about failed VM start ( #615 )
2012-07-05 01:43:32 +02:00
Marek Marczykowski
897f981c8c
dom0/qvm-run: Notify qubes-manager about failed VM start ( #615 )
2012-07-05 01:30:00 +02:00
Marek Marczykowski
2854f08bca
dom0/core: fix the last merge...
...
Remove duplicated lines by faulty conflict resolution.
2012-06-28 12:28:14 +02:00
Marek Marczykowski
44767bea7f
Merge branch 'master' into hvm
...
Conflicts:
dom0/init.d/qubes_core
dom0/qvm-core/qubes.py
dom0/qvm-tools/qvm-prefs
version_dom0
version_vm
2012-06-26 03:49:10 +02:00
Marek Marczykowski
89aaa60753
dom0: use RPC service to sync clock via NTP ( #603 )
2012-06-23 00:37:47 +02:00
Marek Marczykowski
1dad96b0e9
dom0: use RPC service to sync clock via NTP ( #603 )
2012-06-22 22:23:17 +02:00
Marek Marczykowski
0e2aba228f
dom0: minor qvm-sync-clock fix
...
Catch any error in vm.run, to not break clock syncing of all VMs because one
VM.
2012-06-19 00:59:27 +02:00
Marek Marczykowski
ab9c2e503a
dom0: qvm-run --nogui switch
...
Can be used to not start guid.
2012-06-19 00:59:27 +02:00
Marek Marczykowski
06d99b77df
dom0: minor qvm-sync-clock fix
...
Catch any error in vm.run, to not break clock syncing of all VMs because one
VM.
2012-06-15 17:42:14 +02:00
Marek Marczykowski
4dfad5f1ae
dom0: qvm-run --nogui switch
...
Can be used to not start guid.
2012-06-15 17:37:19 +02:00
Marek Marczykowski
8bdc5706f7
dom0/core: allow to change default user for qvm-run ( #577 )
...
This doesn't make all dom0 code VM-username independent, still 'user' is
hardcoded in many places. This only change behavior of qvm-run, especially for use in HVM.
2012-06-13 19:01:32 +02:00
Marek Marczykowski
6bd988bf81
dom0/core: allow to change default user for qvm-run ( #577 )
...
This doesn't make all dom0 code VM-username independent, still 'user' is
hardcoded in many places. This only change behavior of qvm-run, especially for use in HVM.
2012-06-13 17:16:12 +02:00
Marek Marczykowski
e6a75c732e
dom0/core: support for qrexec for Windows HVM
...
Because not every HVM will have qrexec agent installed, introduce VM property
'qrexec_installed'. If it is set, spawn qrexec_daemon at VM startup and allow
use of qvm-run.
2012-06-13 17:14:25 +02:00
Marek Marczykowski
3b8272c1b6
dom0/qvm-ls: replace 'netmask' column with 'ip back' ( #573 )
2012-06-05 21:21:53 +02:00
Marek Marczykowski
2c7227066c
dom0/qvm-ls: replace 'netmask' column with 'ip back' ( #573 )
2012-06-05 19:58:58 +02:00
Marek Marczykowski
65fc62a989
dom0/core: setup yum to use proxy when it have access to it ( #568 )
...
To simplify configuration, automatically enable 'yum-proxy-setup'
pseudo-service when allowing access to the proxy. Also disable this service,
when access is revoked. Thanks to this the user can enable this feature by one
click in firewall settings.
2012-05-31 03:11:44 +02:00
Marek Marczykowski
ec52d15dfe
dom0/qvm-firewall: add support for 'allowYumProxy' setting ( #568 )
2012-05-31 03:11:44 +02:00
Marek Marczykowski
a2b222166a
dom0/qvm-tools: introduce qvm-service tool
...
Allow setting vm services same as in qubes-manager
2012-05-31 03:09:22 +02:00
Marek Marczykowski
39b15033aa
dom0/qvm-ls: add 'kernel' and 'kernelopts' columns
2012-05-31 03:09:22 +02:00
Marek Marczykowski
d89733b517
dom0/core: setup yum to use proxy when it have access to it ( #568 )
...
To simplify configuration, automatically enable 'yum-proxy-setup'
pseudo-service when allowing access to the proxy. Also disable this service,
when access is revoked. Thanks to this the user can enable this feature by one
click in firewall settings.
2012-05-31 03:05:13 +02:00
Marek Marczykowski
c81cc32da2
dom0/qvm-firewall: add support for 'allowYumProxy' setting ( #568 )
2012-05-31 03:05:13 +02:00
Marek Marczykowski
6bc609fbc3
dom0/qvm-tools: introduce qvm-service tool
...
Allow setting vm services same as in qubes-manager
2012-05-30 13:47:25 +02:00
Marek Marczykowski
2e8765e1e1
dom0/qvm-ls: add 'kernel' and 'kernelopts' columns
2012-05-26 12:21:42 +02:00
Marek Marczykowski
a5c80d4015
dom0/qvm-pci: add info about required restart after PCI device add/remove
2012-05-07 15:49:37 +02:00
Marek Marczykowski
7f6a3c665b
dom0/qvm-pci: add info about required restart after PCI device add/remove
2012-05-03 03:54:05 +02:00
Marek Marczykowski
c0f1d3c53b
dom0/qvm-ls: show 'n/a' in disk usage for dom0
2012-04-28 03:26:20 +02:00
Marek Marczykowski
f41f0e965b
dom0/qvm-ls: show 'n/a' in disk usage for dom0
2012-04-28 02:03:43 +02:00
Marek Marczykowski
a96f6a1e81
Revert "dom0/qvm-prefs: remove duplicated set_include_in_backups"
...
This reverts commit aa99c411db
.
This wasn't duplicated...
Conflicts:
dom0/qvm-tools/qvm-prefs
2012-04-24 14:02:00 +02:00
Marek Marczykowski
3aedb8f363
dom0/qvm-prefs: fix 'drive' setting
...
Allow clear the property.
2012-04-24 13:10:25 +02:00
Marek Marczykowski
a43fa8f06b
dom0/qvm-prefs: support for setting timezone ( #1 pro)
2012-04-24 13:10:01 +02:00
Marek Marczykowski
804dc973ed
dom0/qvm-firewall: clarify message ( #24 pro)
2012-04-24 02:14:17 +02:00
Marek Marczykowski
9927244670
dom0/qvm-tools: add GUI (tray balloon) error reporing to qvm-start and extend it in qvm-run ( #534 )
2012-04-24 02:14:17 +02:00
Marek Marczykowski
c35e655d66
dom0/qvm-prefs: relax memory check
...
Allow memory > maxmem, anyway it will be enforced at VM boot. This allows to
set memory and maxmem in any order. Also required to increase memory for HVM.
2012-04-24 02:14:17 +02:00
Marek Marczykowski
2e7eb69c1a
dom0/qvm-firewall: clarify message ( #24 pro)
2012-04-24 02:08:49 +02:00
Marek Marczykowski
7d799e1d12
dom0/qvm-tools: add GUI (tray balloon) error reporing to qvm-start and extend it in qvm-run ( #534 )
2012-04-24 01:40:56 +02:00
Marek Marczykowski
ac804b5c2d
dom0/qvm-prefs: relax memory check
...
Allow memory > maxmem, anyway it will be enforced at VM boot. This allows to
set memory and maxmem in any order. Also required to increase memory for HVM.
2012-04-23 23:20:43 +02:00
Marek Marczykowski
865ea14473
dom0/qvm-start: allow temporally enable debug mode ( #537 )
2012-04-23 12:43:24 +02:00
Marek Marczykowski
e73b13c68d
dom0/core: add 'debug' VM property ( #537 )
2012-04-23 12:43:24 +02:00
Marek Marczykowski
073cce723f
dom0/qvm-start: remove obsolete --console switch
2012-04-23 12:43:11 +02:00
Marek Marczykowski
aa99c411db
dom0/qvm-prefs: remove duplicated set_include_in_backups
2012-04-23 12:42:18 +02:00
Marek Marczykowski
bb30184452
dom0/qvm-prefs: typo fix
2012-04-23 12:42:18 +02:00
Marek Marczykowski
9084548456
dom0/qvm-start: allow temporally enable debug mode ( #537 )
2012-04-23 12:38:55 +02:00
Marek Marczykowski
a38f1b4284
dom0/core: add 'debug' VM property ( #537 )
2012-04-23 12:19:54 +02:00
Marek Marczykowski
c76d2fd864
dom0/qvm-start: remove obsolete --console switch
2012-04-23 12:19:08 +02:00
Marek Marczykowski
f84f2fd762
dom0/qvm-prefs: remove duplicated set_include_in_backups
2012-04-23 12:17:28 +02:00
Marek Marczykowski
c93744d762
dom0/qvm-prefs: typo fix
2012-04-23 12:15:50 +02:00
Marek Marczykowski
07314a5db0
dom0/qvm-start: fix --cdrom support.
2012-04-22 23:56:04 +02:00
Marek Marczykowski
28666c47f5
dom0/core: check if object has attr before using it
2012-04-20 13:33:41 +02:00
Marek Marczykowski
ceeed3bd8b
dom0/qvm-start: fix --no-guid switch ( #528 )
2012-04-18 17:38:38 +02:00
Marek Marczykowski
adec43af85
dom0/qvm-prefs: validate memory parameters ( #497 )
2012-04-18 16:53:50 +02:00
Marek Marczykowski
e844d31ac9
dom0/qvm-prefs: validate memory parameters ( #497 )
2012-04-18 12:31:24 +02:00
Marek Marczykowski
6d52e38874
dom0/qvm-start: fix --no-guid switch ( #528 )
2012-04-17 02:52:26 +02:00
Marek Marczykowski
ce0c20e021
dom0/qvm-block: qvm-block -d <vmname> detaches all devices ( #517 )
...
Exception: if frontend specified, detaches only this one device.
2012-04-13 00:30:13 +02:00
Marek Marczykowski
c970d2dbdf
dom0/qvm-block: qvm-block -d <vmname> detaches all devices ( #517 )
...
Exception: if frontend specified, detaches only this one device.
2012-04-13 00:29:13 +02:00
Marek Marczykowski
1a07bc241d
dom0/qvm-block: handle block-attach errors ( #515 )
2012-04-12 18:04:20 +02:00
Marek Marczykowski
b4d25b1405
dom0/qvm-block: handle block-attach errors ( #515 )
2012-04-12 18:03:40 +02:00
Marek Marczykowski
749b84ec43
dom0/qvm-block: hide system disks by default ( #5 pro)
2012-03-31 19:49:41 +02:00
Marek Marczykowski
f42c39ba21
dom0/qvm-block: one more file-attach fix
2012-03-31 19:22:26 +02:00
Marek Marczykowski
3c59cabee3
dom0/qvm-block: one more file-attach fix
2012-03-31 19:22:07 +02:00
Marek Marczykowski
e5a2209cab
dom0/qvm-block: change order of parameters ( #514 )
2012-03-31 19:05:12 +02:00
Marek Marczykowski
8105fad646
dom0+vm: qvm-block --attach-file
...
Allow to attach disk image from different VM as block device. File attached
with qvm-block -A will be visible as loopX device and as such can be detached.
File path will be in device description.
2012-03-31 19:04:50 +02:00
Marek Marczykowski
e22fc84715
dom0/qvm-block: change order of parameters ( #514 )
2012-03-31 19:01:51 +02:00
Marek Marczykowski
3650ac837e
dom0/core: do not inherit kernel version from template ( #488 )
2012-03-28 00:49:02 +02:00
Marek Marczykowski
f4e9128bc5
dom0/core: do not inherit kernel version from template ( #488 )
2012-03-28 00:35:14 +02:00
Marek Marczykowski
194ac8ddcb
dom0/qvm-block: hide system disks by default ( #5 pro)
2012-03-27 12:59:47 +02:00
Marek Marczykowski
84e6cacec6
dom0+vm: qvm-block --attach-file
...
Allow to attach disk image from different VM as block device. File attached
with qvm-block -A will be visible as loopX device and as such can be detached.
File path will be in device description.
2012-03-26 20:29:49 +02:00
Marek Marczykowski
7d66d7c842
dom0/drive: add "cdrom:" prefix ( #19 )
...
To deal with VM named "hd". Also add --cdrom and --hddisk options to qvm-start.
2012-03-26 20:25:49 +02:00
Marek Marczykowski
049a74d5af
dom0/qvm-start: support for custom Xen config
2012-03-15 20:59:49 +01:00
Marek Marczykowski
edecda6a97
dom0/qvm-start: support for custom Xen config
2012-03-15 20:58:12 +01:00
Marek Marczykowski
32228296ac
dom0/qvm-create: template_vm->template fix
2012-03-14 13:34:01 +01:00
Marek Marczykowski
578ef780c7
dom0/qvm-tools: introduce cmdline firewall editor: qvm-firewall
2012-03-10 03:16:15 +01:00
Marek Marczykowski
e8772352e2
dom0/qvm-tools: introduce cmdline firewall editor: qvm-firewall
2012-03-10 03:16:06 +01:00
Marek Marczykowski
8faed05eba
dom0/qvm-ls: improve performance
...
Do not evaluate each field twice - some of them (eg. disk usage) are expensive.
2012-03-09 17:25:52 +01:00
Marek Marczykowski
8626547544
dom0/qvm-ls: don't crash when multiple options given
2012-03-09 17:25:49 +01:00
Marek Marczykowski
ac246d3d6a
dom0/qvm-ls: improve performance
...
Do not evaluate each field twice - some of them (eg. disk usage) are expensive.
2012-03-09 17:23:41 +01:00
Marek Marczykowski
c7f3b1a685
dom0/qvm-ls: don't crash when multiple options given
2012-03-09 17:06:50 +01:00
Marek Marczykowski
3171cdbdcc
Merge branch 'master' into hvm
...
Conflicts:
dom0/qvm-core/qubes.py
dom0/qvm-tools/qvm-create
dom0/qvm-tools/qvm-prefs
2012-03-09 11:34:13 +01:00
Marek Marczykowski
cdd73f3d14
dom0/core: drop support for non-updateable templates
...
Implement 'updateable' property as 'template is None'
2012-03-09 11:28:06 +01:00
Marek Marczykowski
d7aed8b233
dom0/core: API CHANGE: change 'template_vm' to 'template'
...
Just to match property displayed everywhere, also simplifying tools like
qvm-prefs.
2012-03-09 11:01:20 +01:00
Marek Marczykowski
a58259a171
Merge branch 'master' into hvm
...
Conflicts:
version_dom0
version_vm
2012-03-09 10:19:34 +01:00
Marek Marczykowski
ceed4507eb
dom0/qvm-network: implement dynamic switching in property setter ( #478 )
...
Also add to it missing parts: firewall reload and netid attr set (+perms for it)
2012-03-09 01:52:28 +01:00
Marek Marczykowski
2b94ff10d3
Merge branch 'master' into hvm
...
Conflicts:
dom0/qvm-core/qubes.py
version_dom0
version_vm
2012-03-08 15:03:49 +01:00
Marek Marczykowski
07f560042c
dom0/core: use QubesVm.pause/unpause instead of xl directly
2012-03-08 12:04:47 +01:00
Marek Marczykowski
fc283e22c8
dom0/core: use QubesVm.pause/unpause instead of xl directly
2012-03-08 12:03:49 +01:00