]>
xenbits.xensource.com Git - xenclient/toolstack.git/log
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.
Vincent Hanquez [Wed, 22 Jul 2009 10:27:20 +0000 (11:27 +0100)]
add dbus notification option dummy
Vincent Hanquez [Tue, 21 Jul 2009 22:53:07 +0000 (23:53 +0100)]
override the debug when reading the config from disk at beggining.
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.
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.
Vincent Hanquez [Tue, 21 Jul 2009 09:00:09 +0000 (10:00 +0100)]
recognize more value as boolean when doing a set
Vincent Hanquez [Mon, 20 Jul 2009 11:01:08 +0000 (12:01 +0100)]
Merge commit 'prashanthm/master'
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.
Vincent Hanquez [Mon, 20 Jul 2009 09:54:59 +0000 (10:54 +0100)]
allow to set debug with a environment variable
Vincent Hanquez [Mon, 20 Jul 2009 09:54:36 +0000 (10:54 +0100)]
use with_xcs instead of inlining what it does.
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.
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.
Vincent Hanquez [Mon, 20 Jul 2009 08:03:49 +0000 (09:03 +0100)]
add the timeout operation when interpreting a response from xenvm
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
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.
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
Prashanth Mundkur [Thu, 16 Jul 2009 21:45:01 +0000 (14:45 -0700)]
[dbus_conn] fix comparisons of abstract values
Prashanth Mundkur [Thu, 16 Jul 2009 21:17:47 +0000 (14:17 -0700)]
[dbus_conn] async dbus connection
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
Vincent Hanquez [Thu, 16 Jul 2009 09:01:12 +0000 (10:01 +0100)]
move daemonize as a command line argument
Vincent Hanquez [Tue, 14 Jul 2009 15:06:39 +0000 (16:06 +0100)]
add xenvm testsuite.
Vincent Hanquez [Tue, 14 Jul 2009 15:05:57 +0000 (16:05 +0100)]
replace .. with TOPLEVEL in Makefiles
Thomas Horsten [Fri, 10 Jul 2009 10:29:51 +0000 (11:29 +0100)]
Create directory for ifplugd action script
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
Vincent Hanquez [Tue, 7 Jul 2009 21:59:44 +0000 (22:59 +0100)]
Merge commit 'prashanthm/master'
Conflicts:
xenvm/vmact.ml
xenvm/vmconfig.ml
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.
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.
Prashanth Mundkur [Tue, 7 Jul 2009 19:46:48 +0000 (12:46 -0700)]
Merge branch 'fix-event-loop' into prashanth
Prashanth Mundkur [Tue, 7 Jul 2009 19:46:39 +0000 (12:46 -0700)]
Merge branch 'master' into prashanth
Prashanth Mundkur [Fri, 3 Jul 2009 20:04:42 +0000 (13:04 -0700)]
[http] added a generic response builder
Prashanth Mundkur [Tue, 30 Jun 2009 23:23:36 +0000 (16:23 -0700)]
[async_conn] allow access to fd
Prashanth Mundkur [Tue, 30 Jun 2009 22:53:24 +0000 (15:53 -0700)]
[async_conn] remove recv watch and re-use watch from eventloop
Prashanth Mundkur [Tue, 30 Jun 2009 22:38:42 +0000 (15:38 -0700)]
[eventloop] check watches on registration and connection completion.
Prashanth Mundkur [Tue, 30 Jun 2009 21:39:05 +0000 (14:39 -0700)]
[connection_table] remove unneeded utilities.
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.
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.
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.
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 .
Prashanth Mundkur [Sat, 27 Jun 2009 17:22:45 +0000 (10:22 -0700)]
Merge branch 'master' into prashanth
Vincent Hanquez [Sat, 27 Jun 2009 12:12:49 +0000 (13:12 +0100)]
remove dbus dependancy temporarily until it work in the build
Vincent Hanquez [Sat, 27 Jun 2009 10:30:27 +0000 (11:30 +0100)]
add dBus library when building xenvm
Vincent Hanquez [Fri, 26 Jun 2009 10:32:11 +0000 (11:32 +0100)]
expose the capabilities in xenops physinfo
Vincent Hanquez [Fri, 26 Jun 2009 10:23:32 +0000 (11:23 +0100)]
missings are the not found, not the found.
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
Vincent Hanquez [Fri, 26 Jun 2009 09:57:59 +0000 (10:57 +0100)]
pass the capabilities in physinfo
Vincent Hanquez [Fri, 26 Jun 2009 09:38:32 +0000 (10:38 +0100)]
add a proper exception during pci operations
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.
Prashanth Mundkur [Thu, 25 Jun 2009 16:49:33 +0000 (09:49 -0700)]
Merge branch 'master' into prashanth
Christian Limpach [Wed, 24 Jun 2009 01:04:00 +0000 (18:04 -0700)]
Configure and use per-vm alsa pcm device with softvol control
Prashanth Mundkur [Wed, 24 Jun 2009 01:02:10 +0000 (18:02 -0700)]
[http]: check for final in payload callback.
Prashanth Mundkur [Thu, 18 Jun 2009 01:22:07 +0000 (18:22 -0700)]
fix json escape for \
Prashanth Mundkur [Tue, 16 Jun 2009 17:12:35 +0000 (10:12 -0700)]
add utilities to make timer handles usable in stdlib datastructures.
Prashanth Mundkur [Tue, 16 Jun 2009 00:18:20 +0000 (17:18 -0700)]
Avoid putting full path of generator into generated files.
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).
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
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.
Prashanth Mundkur [Wed, 10 Jun 2009 00:44:00 +0000 (17:44 -0700)]
Fix overlooked substring bug in http parser.
Prashanth Mundkur [Tue, 9 Jun 2009 21:38:31 +0000 (14:38 -0700)]
Fixed race in socket removal and event dispatch in eventloop.
Prashanth Mundkur [Tue, 9 Jun 2009 19:51:53 +0000 (12:51 -0700)]
Fixed a couple of bugs in http substring parsing.
Prashanth Mundkur [Fri, 5 Jun 2009 02:01:27 +0000 (19:01 -0700)]
Fix typo.
Prashanth Mundkur [Fri, 5 Jun 2009 01:34:07 +0000 (18:34 -0700)]
Added utility connection table module.
Prashanth Mundkur [Fri, 5 Jun 2009 01:31:44 +0000 (18:31 -0700)]
Added core jsonrpc connection eventloop.
Prashanth Mundkur [Fri, 5 Jun 2009 01:24:09 +0000 (18:24 -0700)]
Fixed eventloop.listen, flush debugging output.
Prashanth Mundkur [Thu, 4 Jun 2009 18:44:52 +0000 (11:44 -0700)]
Added a getter for number of conns and timers.
Prashanth Mundkur [Thu, 4 Jun 2009 18:43:52 +0000 (11:43 -0700)]
Added a is_jsonrpc_value utility.
Prashanth Mundkur [Thu, 4 Jun 2009 08:43:14 +0000 (01:43 -0700)]
Delete crucial generated file only in realclean target of standalone build.
Prashanth Mundkur [Thu, 4 Jun 2009 07:50:07 +0000 (00:50 -0700)]
Added a callback arg to generated server-side dispatchers.
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.
Prashanth Mundkur [Thu, 4 Jun 2009 07:18:24 +0000 (00:18 -0700)]
Add a jsonrpc classifier for a json value.
Prashanth Mundkur [Wed, 3 Jun 2009 22:38:27 +0000 (15:38 -0700)]
Fix spacing.
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.
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.
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.
Prashanth Mundkur [Tue, 2 Jun 2009 22:27:11 +0000 (15:27 -0700)]
Allow the generated server code to optionally filter incoming messages.
Prashanth Mundkur [Mon, 1 Jun 2009 21:50:45 +0000 (14:50 -0700)]
Add realclean target to clean generated files.
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.
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.
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.
Vincent Hanquez [Mon, 15 Jun 2009 17:43:38 +0000 (18:43 +0100)]
remove debug line
Vincent Hanquez [Mon, 15 Jun 2009 17:42:43 +0000 (18:42 +0100)]
partial compilation previously succeed when they were some missing type changes
Vincent Hanquez [Mon, 15 Jun 2009 16:58:49 +0000 (17:58 +0100)]
set shadow allocation only in the case of HVM.
Vincent Hanquez [Mon, 15 Jun 2009 16:55:56 +0000 (17:55 +0100)]
respect the hvm flags instead of creating hvm all the time.
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
Vincent Hanquez [Fri, 12 Jun 2009 17:40:58 +0000 (18:40 +0100)]
temporary fix to disable disk hotplugging altogether
workaround bug in drivers.
Jean Guyader [Fri, 12 Jun 2009 17:26:42 +0000 (18:26 +0100)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Jean Guyader [Fri, 12 Jun 2009 17:22:59 +0000 (18:22 +0100)]
Never remove the device when we receive an unplug request.
Vincent Hanquez [Wed, 10 Jun 2009 21:42:59 +0000 (22:42 +0100)]
reindent couple of options
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.
Vincent Hanquez [Wed, 10 Jun 2009 12:22:47 +0000 (13:22 +0100)]
fix restore that got completly mishandled during the last code refactor
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.
Vincent Hanquez [Wed, 10 Jun 2009 09:07:08 +0000 (10:07 +0100)]
add binding to get the acpi S_STATE of a domain
Vincent Hanquez [Tue, 9 Jun 2009 15:55:50 +0000 (16:55 +0100)]
fix help that was lying.
Vincent Hanquez [Tue, 9 Jun 2009 15:53:28 +0000 (16:53 +0100)]
add a string to liststring allowance for getting params.
Vincent Hanquez [Fri, 5 Jun 2009 14:09:00 +0000 (15:09 +0100)]
json: escape characters when printing
Vincent Hanquez [Wed, 3 Jun 2009 07:39:56 +0000 (08:39 +0100)]
videoram: pass the argument to qemu.
Vincent Hanquez [Tue, 2 Jun 2009 17:14:34 +0000 (18:14 +0100)]
add videoram in the ioemu
Vincent Hanquez [Tue, 2 Jun 2009 17:10:32 +0000 (18:10 +0100)]
xenvm: repair the rpc interface that wasn't accepting anymore message correctly
Vincent Hanquez [Fri, 29 May 2009 15:10:42 +0000 (16:10 +0100)]
build error in xenops
Vincent Hanquez [Fri, 29 May 2009 14:41:04 +0000 (15:41 +0100)]
plumb videoram into the building/restoring.
Prashanth Mundkur [Thu, 28 May 2009 05:46:38 +0000 (22:46 -0700)]
add missing copyright to http.mli, fix year.