]> xenbits.xen.org Git - xenclient/toolstack.git/log
xenclient/toolstack.git
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

15 years agoAdded SMBIOS pt of table type 2.
Ross Philipson [Tue, 4 Aug 2009 17:19:36 +0000 (13:19 -0400)]
Added SMBIOS pt of table type 2.

 Changes to be committed:
modified:   xenguest/smbios_decode.c

15 years agofill the front and back table with the minimum items when creating the Vfb device...
Vincent Hanquez [Thu, 30 Jul 2009 20:44:13 +0000 (21:44 +0100)]
fill the front and back table with the minimum items when creating the Vfb device in xenstore

15 years agofix vnc specification in qemu call to include the bind address
Vincent Hanquez [Thu, 30 Jul 2009 18:11:53 +0000 (19:11 +0100)]
fix vnc specification in qemu call to include the bind address

15 years agoon dbus notification reply with a path that is valid. replacing - by _ in the uuid.
Vincent Hanquez [Thu, 30 Jul 2009 14:29:39 +0000 (15:29 +0100)]
on dbus notification reply with a path that is valid. replacing - by _ in the uuid.

15 years agoMerge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Vincent Hanquez [Thu, 30 Jul 2009 14:19:19 +0000 (15:19 +0100)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack

15 years agostart device model in pv case to have vfb device
Vincent Hanquez [Thu, 30 Jul 2009 14:17:28 +0000 (15:17 +0100)]
start device model in pv case to have vfb device

15 years agodon't start vncterm anymore in the PV case
Vincent Hanquez [Thu, 30 Jul 2009 14:17:11 +0000 (15:17 +0100)]
don't start vncterm anymore in the PV case

15 years agoadd a vfb device on pv case if vnc has been specified
Vincent Hanquez [Thu, 30 Jul 2009 14:16:36 +0000 (15:16 +0100)]
add a vfb device on pv case if vnc has been specified

15 years agoadd Vfb to the hotplug code
Vincent Hanquez [Thu, 30 Jul 2009 14:15:11 +0000 (15:15 +0100)]
add Vfb to the hotplug code

15 years agoexpose Vfb
Vincent Hanquez [Thu, 30 Jul 2009 14:14:21 +0000 (15:14 +0100)]
expose Vfb

15 years agoadd vfb stuff in the core of xenops.
Vincent Hanquez [Thu, 30 Jul 2009 13:50:20 +0000 (14:50 +0100)]
add vfb stuff in the core of xenops.

15 years agoadd support to start qemu for framebuffer on pv
Vincent Hanquez [Thu, 30 Jul 2009 13:49:06 +0000 (14:49 +0100)]
add support to start qemu for framebuffer on pv

15 years agoremove newline when using debug. otherwise 2 newlines appears in the log
Vincent Hanquez [Thu, 30 Jul 2009 13:41:12 +0000 (14:41 +0100)]
remove newline when using debug. otherwise 2 newlines appears in the log

15 years ago[dbus_server] add validity checks to property setters
Prashanth Mundkur [Thu, 30 Jul 2009 00:29:59 +0000 (17:29 -0700)]
[dbus_server] add validity checks to property setters

15 years ago[dbus_server] restructure properties interface to reduce boilerplate
Prashanth Mundkur [Wed, 29 Jul 2009 22:37:53 +0000 (15:37 -0700)]
[dbus_server] restructure properties interface to reduce boilerplate

15 years agouse debug module that can be dynamically activated and redirected instead of printf.
Vincent Hanquez [Wed, 29 Jul 2009 10:50:45 +0000 (11:50 +0100)]
use debug module that can be dynamically activated and redirected instead of printf.

15 years agofix pci to have the required id
Vincent Hanquez [Wed, 29 Jul 2009 00:46:08 +0000 (01:46 +0100)]
fix pci to have the required id

15 years agoMerge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Vincent Hanquez [Wed, 29 Jul 2009 00:40:41 +0000 (01:40 +0100)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack

15 years agoadd RPC to add disk/nic/pci
Vincent Hanquez [Wed, 29 Jul 2009 00:23:13 +0000 (01:23 +0100)]
add RPC to add disk/nic/pci

15 years ago[common] add dbus_server utility module
Prashanth Mundkur [Tue, 28 Jul 2009 22:10:08 +0000 (15:10 -0700)]
[common] add dbus_server utility module

15 years ago[http uri] Trailing slashes in URIs were being discarded.
Daniel Ferstay [Tue, 28 Jul 2009 02:42:50 +0000 (19:42 -0700)]
[http uri] Trailing slashes in URIs were being discarded.

15 years agoInitialize SMBIOS oem types header whether or not oem types pass through is specified...
Kamala Narasimhan [Tue, 28 Jul 2009 01:31:48 +0000 (21:31 -0400)]
Initialize SMBIOS oem types header whether or not oem types pass through is specified in the config file.

15 years agoupdate a bit the README file.
Vincent Hanquez [Sun, 26 Jul 2009 11:40:05 +0000 (12:40 +0100)]
update a bit the README file.

15 years agowarn is error on partial application
Vincent Hanquez [Sat, 25 Jul 2009 21:21:50 +0000 (22:21 +0100)]
warn is error on partial application

15 years agodon't compile common/test. need fixing.
Vincent Hanquez [Fri, 24 Jul 2009 16:47:19 +0000 (17:47 +0100)]
don't compile common/test. need fixing.

15 years agofind dBus directly in the ocaml path.
Vincent Hanquez [Fri, 24 Jul 2009 16:47:06 +0000 (17:47 +0100)]
find dBus directly in the ocaml path.

15 years ago[whitespace] no line at the end of .gitignore
Jean-Sebastien Legare [Fri, 24 Jul 2009 14:50:36 +0000 (07:50 -0700)]
[whitespace] no line at the end of .gitignore

15 years ago[http] add uri parsing support
Prashanth Mundkur [Thu, 23 Jul 2009 22:03:54 +0000 (15:03 -0700)]
[http] add uri parsing support

15 years ago[eventloop] Added asap events to support delayed callbacks.
Jean-Sebastien Legare [Wed, 22 Jul 2009 09:38:57 +0000 (02:38 -0700)]
[eventloop] Added asap events to support delayed callbacks.

This adds a call "start_timer_asap" which behaves as if a timer had
been added with a trigger time == now.

15 years ago[common/test] Added eventloop dbus tests as part of the build.
Jean-Sebastien Legare [Mon, 20 Jul 2009 13:59:16 +0000 (06:59 -0700)]
[common/test] Added eventloop dbus tests as part of the build.
[ignores] Ignored test binaries and side effect files

15 years agoSMBIOS OEM types pass-through.
Kamala Narasimhan [Thu, 23 Jul 2009 15:45:10 +0000 (11:45 -0400)]
SMBIOS OEM types pass-through.

SMBIOS OEM type numbers to pass-through can be provided through a new config file option -
smbios-oem-types-pt which takes a comma seperated list of OEM type numbers.

15 years agofix the empty string serial argument
Vincent Hanquez [Thu, 23 Jul 2009 13:23:19 +0000 (14:23 +0100)]
fix the empty string serial argument

15 years agouse a specific config reader for memory since the set/get expect a value in kilobytes
Vincent Hanquez [Thu, 23 Jul 2009 13:20:41 +0000 (14:20 +0100)]
use a specific config reader for memory since the set/get expect a value in kilobytes
whereas the config file is in megabytes

15 years agoreorganize notify to send notification more cleanly on failure (fd leaking
Vincent Hanquez [Wed, 22 Jul 2009 16:56:54 +0000 (17:56 +0100)]
reorganize notify to send notification more cleanly on failure (fd leaking
otherwise) and also implement the dbus notification.

15 years agoadd dbus notification option dummy
Vincent Hanquez [Wed, 22 Jul 2009 10:27:20 +0000 (11:27 +0100)]
add dbus notification option dummy

15 years agooverride the debug when reading the config from disk at beggining.
Vincent Hanquez [Tue, 21 Jul 2009 22:53:07 +0000 (23:53 +0100)]
override the debug when reading the config from disk at beggining.

15 years agofix empty kernel issue in hvm mode
Vincent Hanquez [Tue, 21 Jul 2009 22:04:24 +0000 (23:04 +0100)]
fix empty kernel issue in hvm mode

use to be filled in the config reading mechanism. Got lost during the
reorganization of the dynamic argument setting.

15 years agoadd support for optional argument.
Vincent Hanquez [Tue, 21 Jul 2009 09:00:32 +0000 (10:00 +0100)]
add support for optional argument.

live, delete, forced will have a default value now.

15 years agorecognize more value as boolean when doing a set
Vincent Hanquez [Tue, 21 Jul 2009 09:00:09 +0000 (10:00 +0100)]
recognize more value as boolean when doing a set

15 years agoMerge commit 'prashanthm/master'
Vincent Hanquez [Mon, 20 Jul 2009 11:01:08 +0000 (12:01 +0100)]
Merge commit 'prashanthm/master'

15 years agoallow some operations (help, get-*) to be done without any xc and xs interfaces avail...
Vincent Hanquez [Mon, 20 Jul 2009 10:59:28 +0000 (11:59 +0100)]
allow some operations (help, get-*) to be done without any xc and xs interfaces available.

also fix leak of xc and xs interfaces at every commands.

15 years agoallow to set debug with a environment variable
Vincent Hanquez [Mon, 20 Jul 2009 09:54:59 +0000 (10:54 +0100)]
allow to set debug with a environment variable

15 years agouse with_xcs instead of inlining what it does.
Vincent Hanquez [Mon, 20 Jul 2009 09:54:36 +0000 (10:54 +0100)]
use with_xcs instead of inlining what it does.

15 years agodefault to not start the VM if we don't have a config file.
Vincent Hanquez [Mon, 20 Jul 2009 08:07:19 +0000 (09:07 +0100)]
default to not start the VM if we don't have a config file.

15 years agoallow to override the socket path so that xenvm can be run as a normal user.
Vincent Hanquez [Mon, 20 Jul 2009 08:04:23 +0000 (09:04 +0100)]
allow to override the socket path so that xenvm can be run as a normal user.

15 years agoadd the timeout operation when interpreting a response from xenvm
Vincent Hanquez [Mon, 20 Jul 2009 08:03:49 +0000 (09:03 +0100)]
add the timeout operation when interpreting a response from xenvm

15 years agoignore exception when checking domain directly.
Vincent Hanquez [Mon, 20 Jul 2009 07:57:00 +0000 (08:57 +0100)]
ignore exception when checking domain directly.

if we don't have a xc interface we assume the domain is not running

15 years agoxenvm: move generation out of config. use dynamic accessor for extensibility later.
Vincent Hanquez [Fri, 17 Jul 2009 09:47:20 +0000 (10:47 +0100)]
xenvm: move generation out of config. use dynamic accessor for extensibility later.

lots of small others change.

15 years ago[dbus_conn] extend test with filters to make it work like dbus-monitor
Prashanth Mundkur [Thu, 16 Jul 2009 22:47:59 +0000 (15:47 -0700)]
[dbus_conn] extend test with filters to make it work like dbus-monitor

15 years ago[dbus_conn] fix comparisons of abstract values
Prashanth Mundkur [Thu, 16 Jul 2009 21:45:01 +0000 (14:45 -0700)]
[dbus_conn] fix comparisons of abstract values

15 years ago[dbus_conn] async dbus connection
Prashanth Mundkur [Thu, 16 Jul 2009 21:17:47 +0000 (14:17 -0700)]
[dbus_conn]  async dbus connection

15 years agoxenvm: switch the uuid into state instead of config.
Vincent Hanquez [Thu, 16 Jul 2009 20:42:44 +0000 (21:42 +0100)]
xenvm: switch the uuid into state instead of config.

allow xenvm to be start without config but a uuid, so that
we can start and fill the config through the interface with get/set calls.

lots of other small cleanups/changes

15 years agomove daemonize as a command line argument
Vincent Hanquez [Thu, 16 Jul 2009 09:01:12 +0000 (10:01 +0100)]
move daemonize as a command line argument

15 years agoadd xenvm testsuite.
Vincent Hanquez [Tue, 14 Jul 2009 15:06:39 +0000 (16:06 +0100)]
add xenvm testsuite.

15 years agoreplace .. with TOPLEVEL in Makefiles
Vincent Hanquez [Tue, 14 Jul 2009 15:05:57 +0000 (16:05 +0100)]
replace .. with TOPLEVEL in Makefiles

15 years agoCreate directory for ifplugd action script
Thomas Horsten [Fri, 10 Jul 2009 10:29:51 +0000 (11:29 +0100)]
Create directory for ifplugd action script

15 years ago[packages/xenclient-toolstack] Add action script for ifplugd to propagate eth0 link...
Thomas Horsten [Fri, 10 Jul 2009 10:25:02 +0000 (11:25 +0100)]
[packages/xenclient-toolstack] Add action script for ifplugd to propagate eth0 link status to xenbr0

15 years agoMerge commit 'prashanthm/master'
Vincent Hanquez [Tue, 7 Jul 2009 21:59:44 +0000 (22:59 +0100)]
Merge commit 'prashanthm/master'

Conflicts:
xenvm/vmact.ml
xenvm/vmconfig.ml

15 years agouse per device msitranslate if it's set otherwise use the global one.
Vincent Hanquez [Tue, 7 Jul 2009 21:54:38 +0000 (22:54 +0100)]
use per device msitranslate if it's set otherwise use the global one.

15 years agoadd a way to specify power_mgmt and msitranslate per pci device.
Vincent Hanquez [Tue, 7 Jul 2009 21:49:09 +0000 (22:49 +0100)]
add a way to specify power_mgmt and msitranslate per pci device.

rename pci_msitranslate into global_pci_msitranslate.

15 years agoMerge branch 'fix-event-loop' into prashanth
Prashanth Mundkur [Tue, 7 Jul 2009 19:46:48 +0000 (12:46 -0700)]
Merge branch 'fix-event-loop' into prashanth

15 years agoMerge branch 'master' into prashanth
Prashanth Mundkur [Tue, 7 Jul 2009 19:46:39 +0000 (12:46 -0700)]
Merge branch 'master' into prashanth

15 years ago[http] added a generic response builder
Prashanth Mundkur [Fri, 3 Jul 2009 20:04:42 +0000 (13:04 -0700)]
[http] added a generic response builder

15 years ago[async_conn] allow access to fd
Prashanth Mundkur [Tue, 30 Jun 2009 23:23:36 +0000 (16:23 -0700)]
[async_conn] allow access to fd

15 years ago[async_conn] remove recv watch and re-use watch from eventloop
Prashanth Mundkur [Tue, 30 Jun 2009 22:53:24 +0000 (15:53 -0700)]
[async_conn] remove recv watch and re-use watch from eventloop

15 years ago[eventloop] check watches on registration and connection completion.
Prashanth Mundkur [Tue, 30 Jun 2009 22:38:42 +0000 (15:38 -0700)]
[eventloop] check watches on registration and connection completion.

15 years ago[connection_table] remove unneeded utilities.
Prashanth Mundkur [Tue, 30 Jun 2009 21:39:05 +0000 (14:39 -0700)]
[connection_table] remove unneeded utilities.

15 years ago[eventloop,async_conn] restore the higher-level API in a separate async_conn module.
Prashanth Mundkur [Tue, 30 Jun 2009 19:48:41 +0000 (12:48 -0700)]
[eventloop,async_conn] restore the higher-level API in a separate async_conn module.

15 years ago[eventloop] expose a lower-level API to allow integration with D-Bus and SSL connections.
Prashanth Mundkur [Tue, 30 Jun 2009 19:47:26 +0000 (12:47 -0700)]
[eventloop] expose a lower-level API to allow integration with D-Bus and SSL connections.

15 years agoAdd pci-power-management option to enable Dx power management for pass-through devices.
Kamala Narasimhan [Mon, 29 Jun 2009 16:55:06 +0000 (12:55 -0400)]
Add pci-power-management option to enable Dx power management for pass-through devices.

Note: This takes care of global Dx power management for devices passed-through to a vm.  Per device
Dx option will also be added.

15 years agoRevert "remove dbus dependancy temporarily until it work in the build"
Jean Guyader [Sun, 28 Jun 2009 17:40:00 +0000 (18:40 +0100)]
Revert "remove dbus dependancy temporarily until it work in the build"

This reverts commit aeb19365968444c3dd77541f6869bb8105071378.