Commit Graph

816 Commits

Author SHA1 Message Date
Marek Marczykowski
c5d0b4e5de dom0/core: remove appmenus for HVM on qvm-remove (#23 pro) 2012-04-18 10:24:12 +02:00
Marek Marczykowski
4214572344 dom0/appmenus: remove menu file left by xdg-desktop-menu (#529) 2012-04-18 10:11:45 +02:00
Marek Marczykowski
3f06aca119 dom0/core: If dynamic memory management disabled, set maxmem=mem (#525) 2012-04-17 16:32:31 +02:00
Marek Marczykowski
6d52e38874 dom0/qvm-start: fix --no-guid switch (#528) 2012-04-17 02:52:26 +02:00
Marek Marczykowski
30d9048be0 dom0/core: pass all start() parameters to the base class 2012-04-17 02:43:30 +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
b4d25b1405 dom0/qvm-block: handle block-attach errors (#515) 2012-04-12 18:03:40 +02:00
Marek Marczykowski
0c5640970c dom0/core: do not fail on VM shutdown in QubesWatch 2012-04-12 15:51:10 +02:00
Marek Marczykowski
04d3ef3445 dom0/core: section headers in qubesutils 2012-04-11 01:35:51 +02:00
Marek Marczykowski
711bd24268 dom0/core: watch interface 2012-04-11 01:34:17 +02:00
Marek Marczykowski
96756fa1fa dom0/core: minor netvm switching
Do not fail when setting netvm to none of running VM.
2012-04-07 01:26:34 +02:00
Marek Marczykowski
1e9cad6498 dom0/core: fix create private.img 2012-04-05 23:47:21 +02:00
Marek Marczykowski
f01b480476 dom0/qvm-block: use xenstore transactions (#507) 2012-04-03 02:08:37 +02:00
Marek Marczykowski
3c59cabee3 dom0/qvm-block: one more file-attach fix 2012-03-31 19:22:07 +02:00
Marek Marczykowski
2ee071020b dom0/qvm-tools: fix auto-detach 2012-03-31 19:10:47 +02:00
Marek Marczykowski
e22fc84715 dom0/qvm-block: change order of parameters (#514) 2012-03-31 19:01:51 +02:00
Marek Marczykowski
cebc24b670 dom0/qvm-block: ignore devices with some field missing 2012-03-30 00:19:15 +02:00
Marek Marczykowski
7dafb32ee1 dom0/drive: fix hd: prefix parsing 2012-03-28 11:52:23 +02:00
Marek Marczykowski
9c4c111336 dom0/core: minor HVM creation cleanup
Setting kernel is senseless here - it will be ignored
2012-03-28 00:36:37 +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
2e6e9bfab9 dom0/qmemman: add support for config file 2012-03-28 00:21:01 +02:00
Marek Marczykowski
5924d2fcc3 dom0/utils: minor for for parse_size 2012-03-28 00:20:13 +02:00
Marek Marczykowski
262400c6d8 dom0/core: ensure that vm.services['meminfo-writer'] is present 2012-03-27 13:13:10 +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
5e1a9c203f dom0/drive: allow dashes in VM name (#19 pro) 2012-03-26 20:36:06 +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
1465b8f104 dom0/core: fix clone of HVM (#17) 2012-03-26 11:33:30 +02:00
Marek Marczykowski
a775e60c41 dom0/drive: allow to specify backend domain and force "disk" type 2012-03-20 16:21:03 +01:00
Marek Marczykowski
0e195de5f6 dom0/dispvm: new progress window for DispVM generation (#422) 2012-03-16 12:26:31 +01:00
Marek Marczykowski
edecda6a97 dom0/qvm-start: support for custom Xen config 2012-03-15 20:58:12 +01:00
Marek Marczykowski
616a86d211 dom0/core: one more "nonupdatable template" cleanup 2012-03-15 20:24:56 +01:00
Marek Marczykowski
91b810a035 dom0/qvm-block: add support for d0p1 style names, especially mmcblk* (#489) 2012-03-15 10:58:57 +01:00
Marek Marczykowski
e632c5c3d0 dom0/core: fix typo on creating HVM private.img 2012-03-14 21:39:13 +01:00
Marek Marczykowski
32228296ac dom0/qvm-create: template_vm->template fix 2012-03-14 13:34:01 +01:00
Marek Marczykowski
afe0eee244 dom0/qvm-backup: do not backup volatile.img
It is always cleaned before VM start anyway.
2012-03-12 13:26:07 +01:00
Marek Marczykowski
870a4f452a dom0/core: typo fix 2012-03-12 08:17:22 +01:00
Marek Marczykowski
466eaa02c1 dom0/core: create HVM private.img if it doesn't exists 2012-03-11 13:28:25 +01:00
Marek Marczykowski
6f13ceba0c dom0/vm-config: connect private.img 2012-03-11 00:57:29 +01:00
Marek Marczykowski
b4adf6fdd0 dom0/core: verify files before starting VM 2012-03-11 00:43:11 +01:00
Marek Marczykowski
cd8c64b345 dom0/hvm: detect missing private.img 2012-03-11 00:43:11 +01:00
Marek Marczykowski
1227741e28 dom0/core: disable automatic starting NetVM when trying attach to 2012-03-11 00:43:11 +01:00
Marek Marczykowski
242c074dd0 dom0/hvm: do not inhibit private.img for HVM 2012-03-11 00:42:53 +01:00
Marek Marczykowski
7e317dbf9a dom0/qvm-backup: do not fail on VMs without private.img 2012-03-10 20:57:59 +01:00
Marek Marczykowski
e8772352e2 dom0/qvm-tools: introduce cmdline firewall editor: qvm-firewall 2012-03-10 03:16:06 +01:00
Marek Marczykowski
e7b65b457b dom0/pm-utils: initial clock sync also in ClockVM after resume
When there is no internet connection, clockvm will have no chance to sync clock
itself.
2012-03-09 20:16:55 +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
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
f143b6c1f2 dom0/core: minor error handling fix 2012-03-09 11:02:38 +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
d91bbdb3dd dom0/qvm-block: add support for md devices (#476) 2012-03-09 00:04:36 +01:00
Marek Marczykowski
c174d0c184 dom0/qvm-block: ignore unsupported devices istead of throw exception (#476) 2012-03-09 00:00:20 +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
1d5f54c976 dom0/qvm-firewall: make firewall IP-based, not IF-based
Some VMs (especially HVM) can have more than one vif, so to not dupplicate
rules, make it IP based.
2012-03-08 14:50:46 +01:00
Marek Marczykowski
cae2672171 dom0/qvm-firewall: make firewall IP-based, not IF-based
Some VMs (especially HVM) can have more than one vif, so to not dupplicate
rules, make it IP based.
2012-03-08 14:40:00 +01:00
Marek Marczykowski
8c794d95e2 dom0/core: pause also stubdom when pausing HVM 2012-03-08 12:19:37 +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
fc573d0467 dom0/core: follow new __init__ API in QubesHVm 2012-03-08 11:57:47 +01:00
Marek Marczykowski
567229c104 dom0/core: follow new __init__ api in subclasses 2012-03-08 11:57:11 +01:00
Marek Marczykowski
63e19e1afa dom0/core: follow new __init__ api in subclasses 2012-03-08 11:56:26 +01:00
Marek Marczykowski
de9f952a2e dom0/core: more generic way to specify xen config template 2012-03-08 11:54:27 +01:00
Marek Marczykowski
8433931822 dom0/core: major rework of QubesVm.__init__ and serialization
No more manually set attributes, each in different way. Now there is one dict
with attrs, defaults, used also for object serialization to XML.
2012-03-08 11:27:56 +01:00
Marek Marczykowski
07d7620f23 dom0/core: major rework of QubesVm.__init__ and serialization
No more manually set attributes, each in different way. Now there is one dict
with attrs, defaults, used also for object serialization to XML.
2012-03-08 11:22:46 +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
7d07bc718b dom0/dispvm: clone QubesVmLabel object for DispVM 2012-03-07 19:04:47 +01:00
Marek Marczykowski
b3d0afc360 dom0/dispvm: clone QubesVmLabel object for DispVM 2012-03-07 18:50:56 +01:00
Marek Marczykowski
e2c62b9424 dom0/dispvm: icons for DispVM
Beautiful icons thanks to Agnieszka Kostrzewa!
2012-03-07 17:13:03 +01:00
Marek Marczykowski
8b29a09986 dom0/dispvm: icons for DispVM
Beautiful icons thanks to Agnieszka Kostrzewa!
2012-03-07 17:04:25 +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
55c21b2f9e dom0/hvm-config: add parameters for DHCP server in stubdom
This cannot be done via xenstore, because stubdom is started just after
creating (unlike real VM, which is created paused), so there is no time for
creating xenstore entries.
2012-03-06 04:24:56 +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
1b1c48666f dom0/qvm-core: network parameters for use in Xen config template 2012-03-06 02:20:12 +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
db043c84bc dom0/sysconfig: load and setup cpufreq-xen if present
Required for suspend on Core i5 with pvops kernel.
2012-03-05 12:44:08 +01:00
Marek Marczykowski
a5c69af852 dom0/core: netvm_vm -> netvm - HVM-specific 2012-03-04 22:00:41 +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
c40bb7fd69 Merge branch 'master' into hvm 2012-03-02 16:31:01 +01:00
Marek Marczykowski
b7b5260bd7 dom0/core: preserve MAC setting on clone 2012-03-02 16:29:56 +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
7c9075d09b dom0/qvm-network: allow to set persistent MAC for VM 2012-03-02 16:07:31 +01:00
Marek Marczykowski
5f87303b69 dom0/core: rework of VM clone mechanism 2012-03-02 16:06:26 +01:00
Marek Marczykowski
5191c64b06 dom0/core: more robust XML attrs generation
Still not ideal...
2012-03-02 16:00:55 +01:00
Marek Marczykowski
4d554fd182 dom0/core: set default memory for HVM to 512MB 2012-03-02 14:28:09 +01:00
Marek Marczykowski
1c2311226e dom0/network: use static MAC for VMs 2012-03-02 13:51:20 +01:00
Marek Marczykowski
e4b23f6670 dom0/network: use static MAC for VMs 2012-03-02 13:49:23 +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
a54115f73c dom0/hvm: use stdvga - supports higher resolutions 2012-03-02 11:44:58 +01:00
Marek Marczykowski
d1bd26ebe0 dom0/core: get stubdom xid also for paused domains
Especially during HVM startup.
2012-03-02 02:38:33 +01:00
Marek Marczykowski
287e9f72fe dom0/core: provide vif name also for paused VMs 2012-03-02 02:28:45 +01:00
Marek Marczykowski
a387393b43 dom0/core: provide vif name also for paused HVMs 2012-03-02 02:27:13 +01:00