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
Marek Marczykowski
9360a18b0c
dom0/QubesVm: add include_in_backups property
2012-03-07 19:16:25 +01:00
Marek Marczykowski
f6c222d957
dom0/QubesVm: add include_in_backups property
2012-03-07 19:15:51 +01:00
Marek Marczykowski
5358795b20
Merge branch 'master' into hvm
2012-03-06 14:47:20 +01:00
Marek Marczykowski
a63e130ffb
dom0/qvm-remove: with --just-db do not remove any files
2012-03-06 14:46:36 +01:00
Marek Marczykowski
a717b3755e
Merge branch 'master' into hvm
...
Conflicts:
dom0/qvm-core/qubes.py
2012-03-06 02:21:52 +01:00
Marek Marczykowski
478b90e720
dom0/qvm-sync-clock: ignore VMs not supporting remote exec ( #467 )
...
Eg HVM
2012-03-05 17:59:23 +01:00
Marek Marczykowski
63b51e41ce
dom0/core: change QubesVm.netvm_vm to QubesVm.netvm
...
To simplify setters and getters.
2012-03-04 22:00:10 +01:00
Marek Marczykowski
7db35b7ce6
dom0/core: change QubesVm.netvm_vm to QubesVm.netvm
...
To simplify setters and getters.
2012-03-04 21:59:02 +01:00
Marek Marczykowski
b4b639cbb3
dom0/core: clone support for HVM
2012-03-02 16:28:15 +01:00
Marek Marczykowski
abb9e64e3f
Merge branch 'master' into hvm
...
Conflicts:
dom0/qvm-core/qubes.py
dom0/qvm-tools/qvm-prefs
2012-03-02 16:21:48 +01:00
Marek Marczykowski
7a3b9d0033
dom0/qvm-prefs: add missing exit(1) on invalid arguments
2012-03-02 16:17:18 +01:00
Marek Marczykowski
5f87303b69
dom0/core: rework of VM clone mechanism
2012-03-02 16:06:26 +01:00
Marek Marczykowski
cec197ac8b
dom0/core: set *_img to None for HVM instead of removing attr
...
There are many places that assume existence of this attributes.
2012-03-02 12:04:57 +01:00
Marek Marczykowski
370c4952ce
Merge branch 'master' into hvm
2012-03-01 23:40:31 +01:00
Marek Marczykowski
dd88e7d72a
dom0: fix qvm-grow-private ( #459 )
2012-02-29 23:12:05 +01:00
Joanna Rutkowska
0e0fe6a3d9
Merge branch 'master' of git://git.qubes-os.org/marmarek/core into hvm
2012-02-27 13:30:14 +01:00
Marek Marczykowski
23adeb8ea4
dom0/qvm-prefs: icon already updated in qvm-core
2012-02-26 00:13:29 +01:00
Marek Marczykowski
f54f851b42
dom0/qvm-prefs: add missing exit(1)
2012-02-26 00:12:54 +01:00
Marek Marczykowski
8f27fd49c7
dom0/qvm-start: starting with drive connected temporarily
2012-02-24 04:25:27 +01:00
Marek Marczykowski
724c032005
dom0/qvm-prefs: support for 'drive' property
2012-02-24 04:25:06 +01:00
Marek Marczykowski
9c2161944b
dom0/qvm-create: support for HVM
2012-02-24 04:24:36 +01:00
Marek Marczykowski
85c5074dbe
dom0/core: check if object has attr before using it
2012-02-24 04:22:14 +01:00
Marek Marczykowski
64e5dc14a1
dom0: intentation fix
2012-02-10 20:50:39 +01:00
Marek Marczykowski
abcdbad209
dom0/qubesutils: move online resize code to QubesVm.resize_private_img() ( #421 )
...
This assume that private.img contains ext2/3/4. For now it is true.
2012-02-10 20:47:21 +01:00
Marek Marczykowski
6b59f5c7c8
dom0/qubesutils: move parse_size() from qvm-grow-private to qubesutils ( #421 )
2012-02-10 20:46:35 +01:00
Marek Marczykowski
f7d84c9a27
dom0/qvm-tools: use vm.run(...) instead of run_in_vm(vm, ...)
2012-02-10 20:45:43 +01:00