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

15 years agoMerge branch 'master' into prashanth
Prashanth Mundkur [Sat, 27 Jun 2009 17:22:45 +0000 (10:22 -0700)]
Merge branch 'master' into prashanth

15 years agoremove dbus dependancy temporarily until it work in the build
Vincent Hanquez [Sat, 27 Jun 2009 12:12:49 +0000 (13:12 +0100)]
remove dbus dependancy temporarily until it work in the build

15 years agoadd dBus library when building xenvm
Vincent Hanquez [Sat, 27 Jun 2009 10:30:27 +0000 (11:30 +0100)]
add dBus library when building xenvm

15 years agoexpose the capabilities in xenops physinfo
Vincent Hanquez [Fri, 26 Jun 2009 10:32:11 +0000 (11:32 +0100)]
expose the capabilities in xenops physinfo

15 years agomissings are the not found, not the found.
Vincent Hanquez [Fri, 26 Jun 2009 10:23:32 +0000 (11:23 +0100)]
missings are the not found, not the found.

15 years agoerror out if config require hvm or directio but they haven't been found on the system
Vincent Hanquez [Fri, 26 Jun 2009 10:09:14 +0000 (11:09 +0100)]
error out if config require hvm or directio but they haven't been found on the system

15 years agopass the capabilities in physinfo
Vincent Hanquez [Fri, 26 Jun 2009 09:57:59 +0000 (10:57 +0100)]
pass the capabilities in physinfo

15 years agoadd a proper exception during pci operations
Vincent Hanquez [Fri, 26 Jun 2009 09:38:32 +0000 (10:38 +0100)]
add a proper exception during pci operations

15 years agoadd a proper pci exception when the devices hasn't been added.
Vincent Hanquez [Fri, 26 Jun 2009 09:33:12 +0000 (10:33 +0100)]
add a proper pci exception when the devices hasn't been added.

15 years agoMerge branch 'master' into prashanth
Prashanth Mundkur [Thu, 25 Jun 2009 16:49:33 +0000 (09:49 -0700)]
Merge branch 'master' into prashanth

15 years agoConfigure and use per-vm alsa pcm device with softvol control
Christian Limpach [Wed, 24 Jun 2009 01:04:00 +0000 (18:04 -0700)]
Configure and use per-vm alsa pcm device with softvol control

15 years ago[http]: check for final in payload callback.
Prashanth Mundkur [Wed, 24 Jun 2009 01:02:10 +0000 (18:02 -0700)]
[http]: check for final in payload callback.

15 years agofix json escape for \
Prashanth Mundkur [Thu, 18 Jun 2009 01:22:07 +0000 (18:22 -0700)]
fix json escape for \

15 years agoadd utilities to make timer handles usable in stdlib datastructures.
Prashanth Mundkur [Tue, 16 Jun 2009 17:12:35 +0000 (10:12 -0700)]
add utilities to make timer handles usable in stdlib datastructures.

15 years agoAvoid putting full path of generator into generated files.
Prashanth Mundkur [Tue, 16 Jun 2009 00:18:20 +0000 (17:18 -0700)]
Avoid putting full path of generator into generated files.

15 years ago[eventloop] Added support for periodic timers
Jean-Sebastien Legare [Sat, 13 Jun 2009 02:15:47 +0000 (19:15 -0700)]
[eventloop] Added support for periodic timers
[eventloop] Removed superfluous Map (keyed by handle).

15 years ago[json-rpc] The json_conv and rpc generator are compiled to bytecode so that
Prashanth Mundkur [Tue, 23 Jun 2009 16:40:50 +0000 (09:40 -0700)]
[json-rpc] The json_conv and rpc generator are compiled to bytecode so that
   they may be invoked in the 2 environments (buildroot + host).
   We could potentially move this to the toolchain directory once
   it stabilizes. For the moment, having everything in toolstack.git
   compiled with the toolchain compiler is perhaps simpler.

[Makefile.rules] The bytecode dependencies have been added as prg_BYTE_LIBS in
 Makefile.rules.

Conflicts:

gen/rpc/Makefile

15 years ago[Makefile.rules] Added an optional variable to contain extra make-clean deps.
Jean-Sebastien Legare [Thu, 11 Jun 2009 02:38:09 +0000 (19:38 -0700)]
[Makefile.rules] Added an optional variable to contain extra make-clean deps.

15 years agoFix overlooked substring bug in http parser.
Prashanth Mundkur [Wed, 10 Jun 2009 00:44:00 +0000 (17:44 -0700)]
Fix overlooked substring bug in http parser.

15 years agoFixed race in socket removal and event dispatch in eventloop.
Prashanth Mundkur [Tue, 9 Jun 2009 21:38:31 +0000 (14:38 -0700)]
Fixed race in socket removal and event dispatch in eventloop.

15 years agoFixed a couple of bugs in http substring parsing.
Prashanth Mundkur [Tue, 9 Jun 2009 19:51:53 +0000 (12:51 -0700)]
Fixed a couple of bugs in http substring parsing.

15 years agoFix typo.
Prashanth Mundkur [Fri, 5 Jun 2009 02:01:27 +0000 (19:01 -0700)]
Fix typo.

15 years agoAdded utility connection table module.
Prashanth Mundkur [Fri, 5 Jun 2009 01:34:07 +0000 (18:34 -0700)]
Added utility connection table module.

15 years agoAdded core jsonrpc connection eventloop.
Prashanth Mundkur [Fri, 5 Jun 2009 01:31:44 +0000 (18:31 -0700)]
Added core jsonrpc connection eventloop.

15 years agoFixed eventloop.listen, flush debugging output.
Prashanth Mundkur [Fri, 5 Jun 2009 01:24:09 +0000 (18:24 -0700)]
Fixed eventloop.listen, flush debugging output.

15 years agoAdded a getter for number of conns and timers.
Prashanth Mundkur [Thu, 4 Jun 2009 18:44:52 +0000 (11:44 -0700)]
Added a getter for number of conns and timers.

15 years agoAdded a is_jsonrpc_value utility.
Prashanth Mundkur [Thu, 4 Jun 2009 18:43:52 +0000 (11:43 -0700)]
Added a is_jsonrpc_value utility.

15 years agoDelete crucial generated file only in realclean target of standalone build.
Prashanth Mundkur [Thu, 4 Jun 2009 08:43:14 +0000 (01:43 -0700)]
Delete crucial generated file only in realclean target of standalone build.

15 years agoAdded a callback arg to generated server-side dispatchers.
Prashanth Mundkur [Thu, 4 Jun 2009 07:50:07 +0000 (00:50 -0700)]
Added a callback arg to generated server-side dispatchers.

15 years agoAllow eventloop callbacks to be modified; expose a compare function on the handle.
Prashanth Mundkur [Thu, 4 Jun 2009 07:19:41 +0000 (00:19 -0700)]
Allow eventloop callbacks to be modified; expose a compare function on the handle.

15 years agoAdd a jsonrpc classifier for a json value.
Prashanth Mundkur [Thu, 4 Jun 2009 07:18:24 +0000 (00:18 -0700)]
Add a jsonrpc classifier for a json value.

15 years agoFix spacing.
Prashanth Mundkur [Wed, 3 Jun 2009 22:38:27 +0000 (15:38 -0700)]
Fix spacing.

15 years agoAvoid repeating response_handlers that are reused; fix naming of generated response_h...
Prashanth Mundkur [Wed, 3 Jun 2009 22:19:10 +0000 (15:19 -0700)]
Avoid repeating response_handlers that are reused; fix naming of generated response_handlers.

15 years agoAdded response_handling codegen, which needed a slight change in request api. Extend...
Prashanth Mundkur [Wed, 3 Jun 2009 18:58:25 +0000 (11:58 -0700)]
Added response_handling codegen, which needed a slight change in request api.  Extended tests appropriately.

15 years agoRemoved rpc-id generator from jsonrpc api; added some exception error printers.
Prashanth Mundkur [Wed, 3 Jun 2009 18:57:47 +0000 (11:57 -0700)]
Removed rpc-id generator from jsonrpc api; added some exception error printers.

15 years agoAllow the generated server code to optionally filter incoming messages.
Prashanth Mundkur [Tue, 2 Jun 2009 22:27:11 +0000 (15:27 -0700)]
Allow the generated server code to optionally filter incoming messages.

15 years agoAdd realclean target to clean generated files.
Prashanth Mundkur [Mon, 1 Jun 2009 21:50:45 +0000 (14:50 -0700)]
Add realclean target to clean generated files.

15 years agoHandle abstract types (by ignoring them). The user will need to specify converters...
Prashanth Mundkur [Mon, 1 Jun 2009 21:50:07 +0000 (14:50 -0700)]
Handle abstract types (by ignoring them). The user will need to specify converters if they are used.  Also fix handling of module qualified variables in matching.

15 years agoXC-66: Default vm mac address generation to be deterministic; add a random option...
Prashanth Mundkur [Sat, 20 Jun 2009 02:58:58 +0000 (19:58 -0700)]
XC-66: Default vm mac address generation to be deterministic; add a random option to get random addresses.

15 years agoEnsure generated ethernet addresses are unicast and locally-administered. Fix from...
Prashanth Mundkur [Sat, 20 Jun 2009 00:02:40 +0000 (17:02 -0700)]
Ensure generated ethernet addresses are unicast and locally-administered.  Fix from Christian Limpach.

15 years agoremove debug line
Vincent Hanquez [Mon, 15 Jun 2009 17:43:38 +0000 (18:43 +0100)]
remove debug line

15 years agopartial compilation previously succeed when they were some missing type changes
Vincent Hanquez [Mon, 15 Jun 2009 17:42:43 +0000 (18:42 +0100)]
partial compilation previously succeed when they were some missing type changes

15 years agoset shadow allocation only in the case of HVM.
Vincent Hanquez [Mon, 15 Jun 2009 16:58:49 +0000 (17:58 +0100)]
set shadow allocation only in the case of HVM.

15 years agorespect the hvm flags instead of creating hvm all the time.
Vincent Hanquez [Mon, 15 Jun 2009 16:55:56 +0000 (17:55 +0100)]
respect the hvm flags instead of creating hvm all the time.

15 years agoMerge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Vincent Hanquez [Fri, 12 Jun 2009 17:51:40 +0000 (18:51 +0100)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack

Conflicts:
xenvm/xenvm.ml

15 years agotemporary fix to disable disk hotplugging altogether
Vincent Hanquez [Fri, 12 Jun 2009 17:40:58 +0000 (18:40 +0100)]
temporary fix to disable disk hotplugging altogether

workaround bug in drivers.

15 years agoMerge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Jean Guyader [Fri, 12 Jun 2009 17:26:42 +0000 (18:26 +0100)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack

15 years agoNever remove the device when we receive an unplug request.
Jean Guyader [Fri, 12 Jun 2009 17:22:59 +0000 (18:22 +0100)]
Never remove the device when we receive an unplug request.

15 years agoreindent couple of options
Vincent Hanquez [Wed, 10 Jun 2009 21:42:59 +0000 (22:42 +0100)]
reindent couple of options

15 years agoAdd inject-sci config option.
Kamala Narasimhan [Wed, 10 Jun 2009 20:29:26 +0000 (16:29 -0400)]
Add inject-sci config option.

Moving forward, by default lid close, power/sleep button events will be controlled by xenmgr.  But when this config option is set (and it is not set by default), we will inject lid, power/sleep button SCIs into guest space.

15 years agofix restore that got completly mishandled during the last code refactor
Vincent Hanquez [Wed, 10 Jun 2009 12:22:47 +0000 (13:22 +0100)]
fix restore that got completly mishandled during the last code refactor

15 years agorefactor shutdown to work regardless of acpi_s_state
Vincent Hanquez [Wed, 10 Jun 2009 09:28:06 +0000 (10:28 +0100)]
refactor shutdown to work regardless of acpi_s_state

shutdown is now handling the difference between (different flavor of) hvm and pv,
instead of having shutdown completly useless in some case of hvm.
shutdown_ack now just call shutdown and wait the node to be remove for a PV domain.

15 years agoadd binding to get the acpi S_STATE of a domain
Vincent Hanquez [Wed, 10 Jun 2009 09:07:08 +0000 (10:07 +0100)]
add binding to get the acpi S_STATE of a domain

15 years agofix help that was lying.
Vincent Hanquez [Tue, 9 Jun 2009 15:55:50 +0000 (16:55 +0100)]
fix help that was lying.

15 years agoadd a string to liststring allowance for getting params.
Vincent Hanquez [Tue, 9 Jun 2009 15:53:28 +0000 (16:53 +0100)]
add a string to liststring allowance for getting params.

15 years agojson: escape characters when printing
Vincent Hanquez [Fri, 5 Jun 2009 14:09:00 +0000 (15:09 +0100)]
json: escape characters when printing

15 years agovideoram: pass the argument to qemu.
Vincent Hanquez [Wed, 3 Jun 2009 07:39:56 +0000 (08:39 +0100)]
videoram: pass the argument to qemu.