]> xenbits.xensource.com Git - xenclient/toolstack.git/log
xenclient/toolstack.git
15 years agoMerge branch 'master' of ssh://latara.uk.xensource.com/home/chris/xc/toolstack
Christian Limpach [Thu, 7 Jan 2010 00:16:26 +0000 (00:16 +0000)]
Merge branch 'master' of ssh://latara.uk.xensource.com/home/chris/xc/toolstack

15 years agoEmit a notification when VM wakes from S3
Tomasz Wroblewski [Tue, 5 Jan 2010 14:36:30 +0000 (14:36 +0000)]
Emit a notification when VM wakes from S3

15 years agoCheck PV driver before S3/S4. Handle case when S4 entered instead of S3.
Tomasz Wroblewski [Mon, 21 Dec 2009 11:43:26 +0000 (11:43 +0000)]
Check PV driver before S3/S4. Handle case when S4 entered instead of S3.

15 years agoXC-817 Make startup from disk snapshot work inside xenvm
Tomasz Wroblewski [Thu, 10 Dec 2009 15:45:41 +0000 (15:45 +0000)]
XC-817 Make startup from disk snapshot work inside xenvm

15 years agoXC-817 xenvm - make action after halt/reboot/crash customisable
Tomasz Wroblewski [Thu, 10 Dec 2009 13:39:47 +0000 (13:39 +0000)]
XC-817 xenvm - make action after halt/reboot/crash customisable

15 years agoxenvm: implement nic-list RPC
Tomasz Wroblewski [Wed, 9 Dec 2009 18:02:26 +0000 (18:02 +0000)]
xenvm: implement nic-list RPC

15 years agoFix vhd crypt support:
Christian Limpach [Tue, 8 Dec 2009 20:04:45 +0000 (20:04 +0000)]
Fix vhd crypt support:
- use full path to cryptsetup
- actually use the crypt dev after setting it up
- use the specified key-file name instead of the empty string

15 years agoMerge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Tomasz Wroblewski [Mon, 7 Dec 2009 16:36:52 +0000 (16:36 +0000)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack

15 years agoXenvm was producing 'suspended' status too early - before qemu finished writing memor...
Tomasz Wroblewski [Mon, 7 Dec 2009 16:22:31 +0000 (16:22 +0000)]
Xenvm was producing 'suspended' status too early - before qemu finished writing memory pages

15 years agoXC-745: Force the videoram to be 8M if it's not define in the cfg.
Jean Guyader [Mon, 7 Dec 2009 11:51:44 +0000 (11:51 +0000)]
XC-745: Force the videoram to be 8M if it's not define in the cfg.

15 years agoset default videoram to 8mb
James Mckenzie [Sun, 6 Dec 2009 02:35:24 +0000 (02:35 +0000)]
set default videoram to 8mb

15 years agoFix duplicated pci dev entries when doing pci-list
Tomasz Wroblewski [Fri, 4 Dec 2009 15:50:01 +0000 (15:50 +0000)]
Fix duplicated pci dev entries when doing pci-list

15 years agoAdd pci-list implementation
Tomasz Wroblewski [Fri, 4 Dec 2009 14:30:46 +0000 (14:30 +0000)]
Add pci-list implementation

15 years agoReboots are back to being handled by xenvm. But reread configuration file
Tomasz Wroblewski [Thu, 3 Dec 2009 12:18:34 +0000 (12:18 +0000)]
Reboots are back to being handled by xenvm. But reread configuration file
during reboot.

15 years agoPrevent xenstored death when out-of-disk space
Tomasz Wroblewski [Mon, 30 Nov 2009 18:08:15 +0000 (18:08 +0000)]
Prevent xenstored death when out-of-disk space

15 years agoAdded auto-start parameter to reboot command.
Tomasz Wroblewski [Fri, 27 Nov 2009 15:18:17 +0000 (15:18 +0000)]
Added auto-start parameter to reboot command.

If false, does not restart VM automatically but puts it into Rebooted state

15 years agoMerge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Tomasz Wroblewski [Wed, 25 Nov 2009 18:29:45 +0000 (18:29 +0000)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack

15 years agoDo not auto-restart VM after guest reboot (allows xenmgr to modify configuration...
Tomasz Wroblewski [Wed, 25 Nov 2009 18:09:05 +0000 (18:09 +0000)]
Do not auto-restart VM after guest reboot (allows xenmgr to modify configuration in the meantime)

15 years agoAdd usb support
James Mckenzie [Tue, 24 Nov 2009 00:20:03 +0000 (00:20 +0000)]
Add usb support

15 years agoFixes for local watch event.
Tomasz Wroblewski [Thu, 19 Nov 2009 10:55:03 +0000 (10:55 +0000)]
Fixes for local watch event.

So it does get sent only to VM in which the event occured, not all of them.

15 years agoAdded s4suspend action
Tomasz Wroblewski [Wed, 18 Nov 2009 18:17:49 +0000 (18:17 +0000)]
Added s4suspend action

15 years agoMerge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Tomasz Wroblewski [Mon, 16 Nov 2009 15:50:33 +0000 (15:50 +0000)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack

15 years agoAdded get-acpi-state command
Tomasz Wroblewski [Mon, 16 Nov 2009 15:50:06 +0000 (15:50 +0000)]
Added get-acpi-state command

15 years agoupdate documentation about crypt options
Vincent Hanquez [Mon, 16 Nov 2009 11:42:03 +0000 (11:42 +0000)]
update documentation about crypt options

15 years agoadd a crypto layer on top of vhd.
Vincent Hanquez [Mon, 16 Nov 2009 09:10:04 +0000 (09:10 +0000)]
add a crypto layer on top of vhd.

15 years agoextends disk config to add crypt configuration
Vincent Hanquez [Sun, 15 Nov 2009 22:53:48 +0000 (22:53 +0000)]
extends disk config to add crypt configuration

add support for arbitrary extra k=v arguments in disk config.

15 years agoFix status after invoking "destroy" -> needs to be shutdown
Tomasz Wroblewski [Fri, 13 Nov 2009 18:34:28 +0000 (18:34 +0000)]
Fix status after invoking "destroy" -> needs to be shutdown

15 years agoReturn with error code if caught exception
Tomasz Wroblewski [Fri, 13 Nov 2009 15:30:33 +0000 (15:30 +0000)]
Return with error code if caught exception

15 years agoMerge branch 'tp-rc'
Tomasz Wroblewski [Thu, 12 Nov 2009 15:31:15 +0000 (15:31 +0000)]
Merge branch 'tp-rc'

15 years agoAdd s3suspend command
Tomasz Wroblewski [Thu, 5 Nov 2009 11:12:56 +0000 (11:12 +0000)]
Add s3suspend command

15 years agoSimplify registering signal handlers - use only interface name
Tomasz Wroblewski [Wed, 28 Oct 2009 17:30:02 +0000 (17:30 +0000)]
Simplify registering signal handlers - use only interface name

15 years agoStop raising exception when network commands fail
Tomasz Wroblewski [Fri, 25 Sep 2009 12:58:13 +0000 (12:58 +0000)]
Stop raising exception when network commands fail

XC-362

15 years agoStop raising exception when network commands fail
Tomasz Wroblewski [Fri, 25 Sep 2009 12:58:13 +0000 (12:58 +0000)]
Stop raising exception when network commands fail

XC-362

15 years agoexpose hap as a config option. default to true.
Vincent Hanquez [Mon, 21 Sep 2009 15:25:55 +0000 (16:25 +0100)]
expose hap as a config option. default to true.

15 years agoForce the HYPERVISOR CPUID bit for hvm guest.
Jean Guyader [Tue, 15 Sep 2009 10:18:29 +0000 (11:18 +0100)]
Force the HYPERVISOR CPUID bit for hvm guest.

15 years agoset affinity carefully for each cpus specified after building domain.
Vincent Hanquez [Tue, 8 Sep 2009 14:55:52 +0000 (15:55 +0100)]
set affinity carefully for each cpus specified after building domain.

15 years agoaugment the cpus_affinity config when adding a id:v1,v2,... to cpus-affinity config.
Vincent Hanquez [Tue, 8 Sep 2009 14:50:14 +0000 (15:50 +0100)]
augment the cpus_affinity config when adding a id:v1,v2,... to cpus-affinity config.

15 years agoadd cpu affinity in the config
Vincent Hanquez [Tue, 8 Sep 2009 14:45:20 +0000 (15:45 +0100)]
add cpu affinity in the config

15 years agoMerge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Jean Guyader [Mon, 7 Sep 2009 10:56:29 +0000 (11:56 +0100)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack

15 years agoRemove loud debug message.
Jean Guyader [Mon, 7 Sep 2009 10:55:31 +0000 (11:55 +0100)]
Remove loud debug message.

15 years agoadd xenvm unique identifier (vm's uuid) in log when using syslog
Vincent Hanquez [Mon, 7 Sep 2009 10:46:22 +0000 (11:46 +0100)]
add xenvm unique identifier (vm's uuid) in log when using syslog

15 years agoPassing the bsg device to qemu if we find any cdrom drive.:wq
Alexandre Bique [Tue, 4 Aug 2009 11:50:06 +0000 (11:50 +0000)]
Passing the bsg device to qemu if we find any cdrom drive.:wq

15 years agoqemu-dm-wrapper: Log under syslog
Jean Guyader [Sun, 30 Aug 2009 14:03:10 +0000 (15:03 +0100)]
qemu-dm-wrapper: Log under syslog

15 years agoAdd VmRebooted state
Jean Guyader [Sun, 30 Aug 2009 06:01:54 +0000 (07:01 +0100)]
Add VmRebooted state

15 years agodoflr even if already bound to pciback
Jean Guyader [Sun, 30 Aug 2009 05:47:31 +0000 (06:47 +0100)]
doflr even if already bound to pciback

Do a flr on the device even if is already bound into pciback.

15 years agoPause the vm once is created only if startup = paused.
Jean Guyader [Sun, 30 Aug 2009 00:13:19 +0000 (01:13 +0100)]
Pause the vm once is created only if startup = paused.

15 years agoMove the flr calling script into the do_flr function.
Jean Guyader [Sat, 29 Aug 2009 21:24:37 +0000 (22:24 +0100)]
Move the flr calling script into the do_flr function.
Make the path fixed "/opt/xensource/libexec/pci-flr.

15 years agoadd a script that will trigger (if here) pre and post flr on a PCI device.
Vincent Hanquez [Fri, 28 Aug 2009 14:40:58 +0000 (15:40 +0100)]
add a script that will trigger (if here) pre and post flr on a PCI device.

15 years agoEnable switching of a nic's bridge
Jon Ludlam [Wed, 26 Aug 2009 10:55:09 +0000 (11:55 +0100)]
Enable switching of a nic's bridge

15 years agoMerge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Vincent Hanquez [Wed, 26 Aug 2009 09:43:51 +0000 (10:43 +0100)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack

15 years agoadd an exception handler in the threaded case.
Vincent Hanquez [Wed, 26 Aug 2009 09:41:31 +0000 (10:41 +0100)]
add an exception handler in the threaded case.

make sure an exception in the threaded case received will return an error to the caller.

15 years agoMerge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Jon Ludlam [Tue, 25 Aug 2009 17:21:55 +0000 (18:21 +0100)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack

Conflicts:

xenvm/tasks.ml

15 years agoAdd ability to eject and insert CDs
Jon Ludlam [Tue, 25 Aug 2009 17:18:12 +0000 (18:18 +0100)]
Add ability to eject and insert CDs

15 years agoreplace - by _ in method name when using dbus to transport RPC.
Vincent Hanquez [Tue, 25 Aug 2009 16:55:17 +0000 (17:55 +0100)]
replace - by _ in method name when using dbus to transport RPC.

15 years agoRevert "Replace - with _ in xenvm cmd names as - is illegal in dbus RPC method names"
Vincent Hanquez [Tue, 25 Aug 2009 16:45:49 +0000 (17:45 +0100)]
Revert "Replace - with _ in xenvm cmd names as - is illegal in dbus RPC method names"

This reverts commit daa7f7189ede5e024093bff6f5a1595437a30f1d.

15 years agoMerge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Vincent Hanquez [Tue, 25 Aug 2009 16:45:16 +0000 (17:45 +0100)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack

15 years agoif the lib return a negative value propagate the exception upwards
Vincent Hanquez [Tue, 25 Aug 2009 16:44:37 +0000 (17:44 +0100)]
if the lib return a negative value propagate the exception upwards

15 years agoadd proper error if the hypercall failed to get sstate
Vincent Hanquez [Tue, 25 Aug 2009 16:44:17 +0000 (17:44 +0100)]
add proper error if the hypercall failed to get sstate

15 years agoupdate some cpuid comments and add a couple of values
Vincent Hanquez [Tue, 25 Aug 2009 16:43:38 +0000 (17:43 +0100)]
update some cpuid comments and add a couple of values

15 years agoMerge commit 'origin/master'
Vincent Hanquez [Tue, 25 Aug 2009 13:43:15 +0000 (14:43 +0100)]
Merge commit 'origin/master'

15 years ago"vkbd" is the correct node name for the virtual keyboard. not "vkb".
Vincent Hanquez [Tue, 25 Aug 2009 13:25:20 +0000 (14:25 +0100)]
"vkbd" is the correct node name for the virtual keyboard. not "vkb".

15 years agouse the correct node for the backend of vfb
Vincent Hanquez [Tue, 25 Aug 2009 13:25:12 +0000 (14:25 +0100)]
use the correct node for the backend of vfb

15 years agoReplace - with _ in xenvm cmd names as - is illegal in dbus RPC method names
Jon Ludlam [Tue, 25 Aug 2009 13:21:04 +0000 (14:21 +0100)]
Replace - with _ in xenvm cmd names as - is illegal in dbus RPC method names

15 years agoGenerate MAC/bridge on reading the config file rather than on starting the VM
Jon Ludlam [Tue, 25 Aug 2009 12:24:19 +0000 (13:24 +0100)]
Generate MAC/bridge on reading the config file rather than on starting the VM

15 years agoprepend a uuid_ to bus name uuid part
Vincent Hanquez [Fri, 21 Aug 2009 15:30:00 +0000 (16:30 +0100)]
prepend a uuid_ to bus name uuid part

fix bug when the bus name starts with a digit 0-9 (uuid starts with 0-9) and
elements between should not start with a digit unless the bus name start with a
colon character.

15 years agoxenvm default the monitor on dbus instead of json.
Vincent Hanquez [Thu, 20 Aug 2009 08:29:07 +0000 (09:29 +0100)]
xenvm default the monitor on dbus instead of json.

use "--monitor-dbus false --monitor-json true" in xenvm cmdline to go back to
the previous behaviour.

15 years agoadd pci hotplug capability in xenstore
Vincent Hanquez [Thu, 20 Aug 2009 08:25:21 +0000 (09:25 +0100)]
add pci hotplug capability in xenstore
also use the xenstore signal instead of the unix signal to signal ioemu.
patch from Dave Scott.

15 years agochange name of xenvm-cmd.ml to workaround an ocaml compiler warning about invalid...
Vincent Hanquez [Tue, 18 Aug 2009 17:26:38 +0000 (18:26 +0100)]
change name of xenvm-cmd.ml to workaround an ocaml compiler warning about invalid module name

15 years agoadd an option to xenvm to be able to specify to use the socket monitor
Vincent Hanquez [Tue, 18 Aug 2009 17:24:20 +0000 (18:24 +0100)]
add an option to xenvm to be able to specify to use the socket monitor

15 years agoMerge commit 'origin/master'
Vincent Hanquez [Tue, 18 Aug 2009 16:04:40 +0000 (17:04 +0100)]
Merge commit 'origin/master'

15 years agostate which tasks requires threading and which one doesn't.
Vincent Hanquez [Tue, 18 Aug 2009 15:59:03 +0000 (16:59 +0100)]
state which tasks requires threading and which one doesn't.

15 years ago - Make CFLAGS overwritable
Jean Guyader [Mon, 17 Aug 2009 16:30:01 +0000 (17:30 +0100)]
 - Make CFLAGS overwritable
 - Use LDFLAGS when we link

15 years agoFix the allocation of IDs to NICs. All NICs now have a unique ID allocated on reading...
Jon Ludlam [Thu, 13 Aug 2009 12:24:11 +0000 (13:24 +0100)]
Fix the allocation of IDs to NICs. All NICs now have a unique ID allocated on reading the config file (if one hasn't been specified)

15 years agograb bus name org.xen.vm.%uuid and process message correctly.
Vincent Hanquez [Mon, 17 Aug 2009 12:32:53 +0000 (13:32 +0100)]
grab bus name org.xen.vm.%uuid and process message correctly.

also flush the queue after making the list, instead of queueing them indefinitely.

15 years agoquit if the monitor is quitting
Vincent Hanquez [Mon, 17 Aug 2009 12:12:08 +0000 (13:12 +0100)]
quit if the monitor is quitting

15 years agouse the new check function to check for xenvm
Vincent Hanquez [Mon, 17 Aug 2009 12:11:34 +0000 (13:11 +0100)]
use the new check function to check for xenvm

15 years agoadd a xenvm check function that known how to check on dbus too.
Vincent Hanquez [Mon, 17 Aug 2009 12:11:18 +0000 (13:11 +0100)]
add a xenvm check function that known how to check on dbus too.

15 years agoput parameters in the message with proper signature
Vincent Hanquez [Mon, 17 Aug 2009 12:10:49 +0000 (13:10 +0100)]
put parameters in the message with proper signature

15 years agoremove one xenvmlib
Vincent Hanquez [Mon, 17 Aug 2009 12:07:27 +0000 (13:07 +0100)]
remove one xenvmlib

15 years agoadd support for doing client xenvm queries over dBus
Vincent Hanquez [Mon, 17 Aug 2009 09:51:15 +0000 (10:51 +0100)]
add support for doing client xenvm queries over dBus

15 years agotake the method name from the message itself, not from its argument
Vincent Hanquez [Mon, 17 Aug 2009 09:50:54 +0000 (10:50 +0100)]
take the method name from the message itself, not from its argument

15 years agoadd a caching ability for dbus connection.
Vincent Hanquez [Thu, 13 Aug 2009 10:33:35 +0000 (11:33 +0100)]
add a caching ability for dbus connection.

dbus bus is not reopen at each notification

15 years agoadd ability to start the dbus monitor on session bus instead of system bus
Vincent Hanquez [Thu, 13 Aug 2009 10:06:59 +0000 (11:06 +0100)]
add ability to start the dbus monitor on session bus instead of system bus

15 years agoadd a way to specify which monitor to start. dbus and/or unix_json.
Vincent Hanquez [Thu, 13 Aug 2009 10:00:26 +0000 (11:00 +0100)]
add a way to specify which monitor to start. dbus and/or unix_json.

15 years agoadd ability to receive message from thread with a queue that we actively check.
Vincent Hanquez [Thu, 13 Aug 2009 09:55:04 +0000 (10:55 +0100)]
add ability to receive message from thread with a queue that we actively check.

future work will involve beeing wakeup where there's actual events, instead of checking every 200ms.

15 years agomake the dbus monitor execute tasks
Vincent Hanquez [Wed, 12 Aug 2009 14:56:39 +0000 (15:56 +0100)]
make the dbus monitor execute tasks

note: that until the queue process is done, all actions are executed
in the context of the monitor thread, so will blocks all others operations.

15 years agoadd a need_threading for tasks to represent the tasks that need to be running in...
Vincent Hanquez [Wed, 12 Aug 2009 14:55:16 +0000 (15:55 +0100)]
add a need_threading for tasks to represent the tasks that need to be running in a thread

15 years agoadd a way to specify to use session dbus for testing purpose
Vincent Hanquez [Wed, 12 Aug 2009 14:28:28 +0000 (15:28 +0100)]
add a way to specify to use session dbus for testing purpose

15 years agoadd a main monitor thread that control the quit functionality.
Vincent Hanquez [Wed, 12 Aug 2009 12:53:33 +0000 (13:53 +0100)]
add a main monitor thread that control the quit functionality.

also add the skeleton for starting a dbus monitor where to receive RPCs.

15 years agodocument new display options and remove vnc and vnc keymap
Vincent Hanquez [Tue, 11 Aug 2009 17:15:08 +0000 (18:15 +0100)]
document new display options and remove vnc and vnc keymap

15 years agoadd a rebooting state so that it can be reported and/or acted on.
Vincent Hanquez [Tue, 11 Aug 2009 17:00:31 +0000 (18:00 +0100)]
add a rebooting state so that it can be reported and/or acted on.

15 years agoadd display config option that permit to have vnc or others type of display.
Vincent Hanquez [Tue, 11 Aug 2009 16:09:47 +0000 (17:09 +0100)]
add display config option that permit to have vnc or others type of display.

remove old vnc and vnckeymap config options, since they are superseded by
the display config option. no display imply the same vnc port with en-us keymap
that before this commit

15 years agoupdate readme to have possible config parameters listed in nice tables.
Vincent Hanquez [Tue, 11 Aug 2009 12:42:01 +0000 (13:42 +0100)]
update readme to have possible config parameters listed in nice tables.

15 years agoadd a config option to not start qemu in the pv case. solve the problem on relying...
Vincent Hanquez [Mon, 10 Aug 2009 17:18:12 +0000 (18:18 +0100)]
add a config option to not start qemu in the pv case. solve the problem on relying on vnc
to start qemu or not.

15 years agoadd Vkb module
Vincent Hanquez [Mon, 10 Aug 2009 13:48:31 +0000 (14:48 +0100)]
add Vkb module

15 years agoadd online node into vfb's backend
Vincent Hanquez [Mon, 10 Aug 2009 13:46:49 +0000 (14:46 +0100)]
add online node into vfb's backend

15 years agoadd protocol node into vfb's frontend
Vincent Hanquez [Mon, 10 Aug 2009 13:46:34 +0000 (14:46 +0100)]
add protocol node into vfb's frontend

15 years agofix indentation
Vincent Hanquez [Mon, 10 Aug 2009 13:44:08 +0000 (14:44 +0100)]
fix indentation

15 years agofix Vfb backend to be correctly created in domain 0, not in the domain that we are...
Vincent Hanquez [Mon, 10 Aug 2009 13:43:47 +0000 (14:43 +0100)]
fix Vfb backend to be correctly created in domain 0, not in the domain that we are adding the device to.

15 years ago[dbus_server] support immutable properties
Prashanth Mundkur [Fri, 31 Jul 2009 04:17:05 +0000 (21:17 -0700)]
[dbus_server] support immutable properties