]> xenbits.xensource.com Git - xenclient/toolstack.git/log
xenclient/toolstack.git
15 years agoslightly prettify codegen
Prashanth Mundkur [Fri, 15 May 2009 19:25:23 +0000 (12:25 -0700)]
slightly prettify codegen

15 years agoupdate json_conv tests to also test floats
Prashanth Mundkur [Fri, 15 May 2009 17:11:44 +0000 (10:11 -0700)]
update json_conv tests to also test floats

15 years agofix missing support for floats in json_conv codegen
Prashanth Mundkur [Fri, 15 May 2009 17:07:29 +0000 (10:07 -0700)]
fix missing support for floats in json_conv codegen

15 years agofix missing support for floats in json_conv
Prashanth Mundkur [Fri, 15 May 2009 17:06:41 +0000 (10:06 -0700)]
fix missing support for floats in json_conv

15 years agoMerge branch 'master' into prashanth
Prashanth Mundkur [Fri, 15 May 2009 00:44:27 +0000 (17:44 -0700)]
Merge branch 'master' into prashanth

15 years agoslightly more correct param-less conversion
Prashanth Mundkur [Fri, 15 May 2009 00:38:19 +0000 (17:38 -0700)]
slightly more correct param-less conversion

15 years agotest codegen for param-less rpcs
Prashanth Mundkur [Fri, 15 May 2009 00:31:49 +0000 (17:31 -0700)]
test codegen for param-less rpcs

15 years agoproperly handle rpcs that don't take any params (make them take ():unit)
Prashanth Mundkur [Fri, 15 May 2009 00:31:13 +0000 (17:31 -0700)]
properly handle rpcs that don't take any params (make them take ():unit)

15 years agobetter error handling; clarify a callback name
Prashanth Mundkur [Thu, 14 May 2009 16:20:29 +0000 (09:20 -0700)]
better error handling; clarify a callback name

15 years agoadd substring parsing api to avoid unnecessary string copies
Prashanth Mundkur [Thu, 14 May 2009 06:33:41 +0000 (23:33 -0700)]
add substring parsing api to avoid unnecessary string copies

15 years agoadd Eventloop.t as arg to callbacks
Prashanth Mundkur [Thu, 14 May 2009 03:06:28 +0000 (20:06 -0700)]
add Eventloop.t as arg to callbacks

15 years agoadd eventloop infrastructure
Prashanth Mundkur [Thu, 14 May 2009 02:33:14 +0000 (19:33 -0700)]
add eventloop infrastructure

15 years agoadd a fdset create api
Prashanth Mundkur [Thu, 14 May 2009 02:32:43 +0000 (19:32 -0700)]
add a fdset create api

15 years agofix tracking of maxfd in fdset
Prashanth Mundkur [Thu, 14 May 2009 02:32:09 +0000 (19:32 -0700)]
fix tracking of maxfd in fdset

15 years agowhitespace cleanup
Prashanth Mundkur [Wed, 13 May 2009 17:15:53 +0000 (10:15 -0700)]
whitespace cleanup

15 years agoforce warning about partial application as errors to prevent further problems.
Vincent Hanquez [Wed, 13 May 2009 10:21:58 +0000 (11:21 +0100)]
force warning about partial application as errors to prevent further problems.

15 years agofix partial use of PCI.add related to the msitranslate new option
Vincent Hanquez [Wed, 13 May 2009 09:22:41 +0000 (10:22 +0100)]
fix partial use of PCI.add related to the msitranslate new option

15 years agoMerge commit 'kamalan/master'
Vincent Hanquez [Tue, 12 May 2009 15:16:03 +0000 (16:16 +0100)]
Merge commit 'kamalan/master'

15 years agomove xenvmlib to use jsonrpc instead of text
Vincent Hanquez [Tue, 12 May 2009 15:14:15 +0000 (16:14 +0100)]
move xenvmlib to use jsonrpc instead of text

15 years agoremove legacy socket
Vincent Hanquez [Tue, 12 May 2009 12:48:54 +0000 (13:48 +0100)]
remove legacy socket

15 years agojson: add a helper to escape string. not completed.
Vincent Hanquez [Tue, 12 May 2009 12:42:13 +0000 (13:42 +0100)]
json: add a helper to escape string. not completed.

15 years agoAdd pci-msitranslation option to XC toolstack.
root [Mon, 11 May 2009 19:50:48 +0000 (15:50 -0400)]
Add pci-msitranslation option to XC toolstack.

Unlike OSS, in XC we disables MSI-INTx translation by default due to its
incompatibility with Aero feature within Vista guest.

16 years agoxenops army knife: ignore the device return value with a type, and don't return a...
Vincent Hanquez [Sat, 9 May 2009 08:57:59 +0000 (09:57 +0100)]
xenops army knife: ignore the device return value with a type, and don't return a partially apply function.

16 years agoscsi info: few minors fixes
Vincent Hanquez [Sat, 9 May 2009 08:51:32 +0000 (09:51 +0100)]
scsi info: few minors fixes

- do not create the hierarchy explictly in xenstored. it implicitely done.
- change exception debug into a warn.
- simplify add, and move the mapping into add_disk_info.

16 years agoAdded function in VBD code to pass in the SCSI inquiry information.
Ross Philipson [Fri, 8 May 2009 20:10:39 +0000 (16:10 -0400)]
Added function in VBD code to pass in the SCSI inquiry information.
Also added diskinfo-pt param for the config file and fixed a few
minor bugs in the SCSI lib.

 Changes to be committed:
modified:   libs/scsi/Makefile
modified:   libs/scsi/scsi_inq_stubs.c
modified:   xenops/Makefile
modified:   xenops/device.ml
modified:   xenops/device.mli
modified:   xenvm/Makefile
modified:   xenvm/vmact.ml
modified:   xenvm/vmconfig.ml
modified:   xenvm/xenops.ml
modified:   xenvm/xenvm.readme

16 years agoswitch over to new json parser
Prashanth Mundkur [Fri, 8 May 2009 18:12:24 +0000 (11:12 -0700)]
switch over to new json parser

16 years agouse simplified error handlers
Prashanth Mundkur [Fri, 8 May 2009 18:11:15 +0000 (11:11 -0700)]
use simplified error handlers

16 years agosimplify json_conv error handling
Prashanth Mundkur [Fri, 8 May 2009 18:03:09 +0000 (11:03 -0700)]
simplify json_conv error handling

16 years agosimplify json_parse error handling
Prashanth Mundkur [Fri, 8 May 2009 17:35:40 +0000 (10:35 -0700)]
simplify json_parse error handling

16 years agointegrate http into toolstack build
Prashanth Mundkur [Wed, 6 May 2009 22:46:01 +0000 (15:46 -0700)]
integrate http into toolstack build

16 years agofix type-inference
Prashanth Mundkur [Wed, 6 May 2009 22:02:21 +0000 (15:02 -0700)]
fix type-inference

16 years agotest serialization api
Prashanth Mundkur [Wed, 6 May 2009 22:01:53 +0000 (15:01 -0700)]
test serialization api

16 years agoadd serialization api
Prashanth Mundkur [Wed, 6 May 2009 22:01:30 +0000 (15:01 -0700)]
add serialization api

16 years agosome cleanup of standalone build
Prashanth Mundkur [Wed, 6 May 2009 21:59:31 +0000 (14:59 -0700)]
some cleanup of standalone build

16 years agotest the compact api
Prashanth Mundkur [Wed, 6 May 2009 00:56:38 +0000 (17:56 -0700)]
test the compact api

16 years agoadded a slightly more compact api
Prashanth Mundkur [Wed, 6 May 2009 00:55:57 +0000 (17:55 -0700)]
added a slightly more compact api

16 years agoprint errors in payload parsing; fix recursion in reader
Prashanth Mundkur [Tue, 5 May 2009 23:15:56 +0000 (16:15 -0700)]
print errors in payload parsing; fix recursion in reader

16 years agofix status code handling
Prashanth Mundkur [Tue, 5 May 2009 23:13:59 +0000 (16:13 -0700)]
fix status code handling

16 years agoFixes from testing to request parsing.
Prashanth Mundkur [Tue, 5 May 2009 01:10:59 +0000 (18:10 -0700)]
Fixes from testing to request parsing.

16 years agoadd clean target
Prashanth Mundkur [Tue, 5 May 2009 00:18:36 +0000 (17:18 -0700)]
add clean target

16 years agoadd some debug logging
Prashanth Mundkur [Tue, 5 May 2009 00:18:22 +0000 (17:18 -0700)]
add some debug logging

16 years agoHook http into standalone build.
Prashanth Mundkur [Mon, 4 May 2009 23:55:10 +0000 (16:55 -0700)]
Hook http into standalone build.

16 years agofix usage printing
Prashanth Mundkur [Mon, 4 May 2009 23:53:55 +0000 (16:53 -0700)]
fix usage printing

16 years agoAdded a tester program.
Prashanth Mundkur [Mon, 4 May 2009 23:53:09 +0000 (16:53 -0700)]
Added a tester program.

16 years agoMore complete http API.
Prashanth Mundkur [Mon, 4 May 2009 23:50:18 +0000 (16:50 -0700)]
More complete http API.

16 years agoAdded http api interface.
Prashanth Mundkur [Mon, 4 May 2009 23:40:14 +0000 (16:40 -0700)]
Added http api interface.

16 years agoRound out http API; improve handling of 0.9 protocol
Prashanth Mundkur [Mon, 4 May 2009 17:16:32 +0000 (10:16 -0700)]
Round out http API; improve handling of 0.9 protocol

16 years agostart on incremental parser for HTTP/1.1
Prashanth Mundkur [Mon, 4 May 2009 02:17:31 +0000 (19:17 -0700)]
start on incremental parser for HTTP/1.1

16 years agofix indentation
Prashanth Mundkur [Mon, 4 May 2009 02:17:04 +0000 (19:17 -0700)]
fix indentation

16 years agoMerge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Prashanth Mundkur [Mon, 4 May 2009 17:56:05 +0000 (10:56 -0700)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack

16 years agoadd support for receiving/sending jsonrpc
Vincent Hanquez [Sun, 3 May 2009 23:30:28 +0000 (00:30 +0100)]
add support for receiving/sending jsonrpc

16 years agoxenvm: open jsonrpc socket along with the legacy socket
Vincent Hanquez [Sun, 3 May 2009 19:08:22 +0000 (20:08 +0100)]
xenvm: open jsonrpc socket along with the legacy socket

16 years agoxenvm: rename socket into legacy_socket
Vincent Hanquez [Sun, 3 May 2009 18:44:21 +0000 (19:44 +0100)]
xenvm: rename socket into legacy_socket

16 years agoxenvm: add support for legacy vs new connection. all legacy for now
Vincent Hanquez [Sun, 3 May 2009 18:40:49 +0000 (19:40 +0100)]
xenvm: add support for legacy vs new connection. all legacy for now

16 years agomove the task handler out of the monitor_rpc
Vincent Hanquez [Sun, 3 May 2009 17:23:26 +0000 (18:23 +0100)]
move the task handler out of the monitor_rpc

16 years agoxenvm: split the monitor thread for vm event from the rpc monitor
Vincent Hanquez [Sun, 3 May 2009 09:35:21 +0000 (10:35 +0100)]
xenvm: split the monitor thread for vm event from the rpc monitor

16 years agoFixes to use dlerror() to test dlsym() calls and fixed possible
Ross Philipson [Fri, 1 May 2009 14:47:39 +0000 (14:47 +0000)]
Fixes to use dlerror() to test dlsym() calls and fixed possible
realloc() leak.

 Committer: Ross Philipson <rossp@naboo.uk.xensource.com>
  Changes to be committed:
modified:   libs/scsi/scsi_inq_stubs.c

16 years agoAdded SCSI inquiry helper library for disk info pt.
Ross Philipson [Thu, 30 Apr 2009 19:42:02 +0000 (19:42 +0000)]
Added SCSI inquiry helper library for disk info pt.

 Committer: Ross Philipson <rossp@naboo.uk.xensource.com>

 Changes to be committed:
modified:   Makefile
new file:   libs/scsi/META.in
new file:   libs/scsi/Makefile
new file:   libs/scsi/scsi.ml
new file:   libs/scsi/scsi.mli
new file:   libs/scsi/scsi_inq_stubs.c
modified:   xenops/Makefile
modified:   xenvm/Makefile

16 years agoMerge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Prashanth Mundkur [Wed, 29 Apr 2009 21:57:30 +0000 (14:57 -0700)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack

16 years agoimplement the record trimming pragma
Prashanth Mundkur [Wed, 29 Apr 2009 21:52:01 +0000 (14:52 -0700)]
implement the record trimming pragma

16 years agoAdded support for pragma directives to json codegen; added a pragma to trim verbose...
Prashanth Mundkur [Wed, 29 Apr 2009 17:10:56 +0000 (10:10 -0700)]
Added support for pragma directives to json codegen; added a pragma to trim verbose ocaml record fields.

16 years agoxenvm: plumb the new extra watches to xal.
Vincent Hanquez [Wed, 29 Apr 2009 15:12:59 +0000 (16:12 +0100)]
xenvm: plumb the new extra watches to xal.

16 years agoadd extra watches on keys extra-vm-watch and extra-local-watch in config file
Vincent Hanquez [Wed, 29 Apr 2009 15:09:46 +0000 (16:09 +0100)]
add extra watches on keys extra-vm-watch and extra-local-watch in config file

16 years agoMakefile: use TOPLEVEL instead of hardcoding ..
Vincent Hanquez [Wed, 29 Apr 2009 14:14:41 +0000 (15:14 +0100)]
Makefile: use TOPLEVEL instead of hardcoding ..

16 years agoadd extra watches config
Vincent Hanquez [Wed, 29 Apr 2009 14:12:26 +0000 (15:12 +0100)]
add extra watches config

16 years agoadd base64 lib
Vincent Hanquez [Wed, 29 Apr 2009 13:39:49 +0000 (14:39 +0100)]
add base64 lib

16 years agoxenvm: send notification for extra events
Vincent Hanquez [Wed, 29 Apr 2009 11:58:10 +0000 (12:58 +0100)]
xenvm: send notification for extra events

16 years agoxenvm: fix ignored message for changertc since we include the uuid instead of uuid.
Vincent Hanquez [Wed, 29 Apr 2009 11:45:56 +0000 (12:45 +0100)]
xenvm: fix ignored message for changertc since we include the uuid instead of uuid.

16 years agoxal: add ability to listen to arbitrary watches
Vincent Hanquez [Wed, 29 Apr 2009 11:39:11 +0000 (12:39 +0100)]
xal: add ability to listen to arbitrary watches

this features permits to put watches in /local/domain/<domid>
and /vm/<uuid>, and then notify the module user when it triggers.

16 years agoAdd json encoding equations to README.
Prashanth Mundkur [Tue, 28 Apr 2009 16:54:31 +0000 (09:54 -0700)]
Add json encoding equations to README.

16 years agoFix rpc code-gen for api cleanups.
Prashanth Mundkur [Mon, 27 Apr 2009 22:34:23 +0000 (15:34 -0700)]
Fix rpc code-gen for api cleanups.

16 years agoMerge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Prashanth Mundkur [Mon, 27 Apr 2009 20:45:58 +0000 (13:45 -0700)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack

16 years agojson: fix Null _ that newer ocaml compiler doesn't spot as errors.
Vincent Hanquez [Mon, 27 Apr 2009 11:38:47 +0000 (12:38 +0100)]
json: fix Null _ that newer ocaml compiler doesn't spot as errors.

Null doesn't take any arguments, so is that a new compiler bug ?

16 years agojsonrpc: some change in the API.
Vincent Hanquez [Mon, 27 Apr 2009 11:37:24 +0000 (12:37 +0100)]
jsonrpc: some change in the API.

- add a couple of helpers
- reorg structure a bit

16 years agoUpdate json/README.
Prashanth Mundkur [Fri, 24 Apr 2009 18:12:19 +0000 (11:12 -0700)]
Update json/README.

16 years agoJsonrpc: couple of rename and add some string<->jsonrpc helper
Vincent Hanquez [Fri, 24 Apr 2009 14:02:22 +0000 (15:02 +0100)]
Jsonrpc: couple of rename and add some string<->jsonrpc helper

16 years agoremove the JSONRPC prefix from exceptions
Vincent Hanquez [Fri, 24 Apr 2009 12:12:41 +0000 (13:12 +0100)]
remove the JSONRPC prefix from exceptions

16 years agocompile json and jsonrpc before xen libraries.
Vincent Hanquez [Fri, 24 Apr 2009 11:13:17 +0000 (12:13 +0100)]
compile json and jsonrpc before xen libraries.

16 years agoFix code-generators and standalone build after integration re-org and renaming
Prashanth Mundkur [Thu, 23 Apr 2009 21:12:43 +0000 (14:12 -0700)]
Fix code-generators and standalone build after integration re-org and renaming

16 years agoexpose unexpected_char exception
Vincent Hanquez [Thu, 23 Apr 2009 14:11:32 +0000 (15:11 +0100)]
expose unexpected_char exception

16 years agoMerge branch 'integrate-json-and-rpc'
Vincent Hanquez [Thu, 23 Apr 2009 14:07:11 +0000 (15:07 +0100)]
Merge branch 'integrate-json-and-rpc'

16 years agoadd jsonrpc Makefile
Vincent Hanquez [Thu, 23 Apr 2009 14:06:30 +0000 (15:06 +0100)]
add jsonrpc Makefile

16 years agomove jsonrpc into its own library
Vincent Hanquez [Thu, 23 Apr 2009 14:06:12 +0000 (15:06 +0100)]
move jsonrpc into its own library

16 years agomove generators into a gen directory
Vincent Hanquez [Thu, 23 Apr 2009 13:27:14 +0000 (14:27 +0100)]
move generators into a gen directory

16 years agoexpose undefined
Vincent Hanquez [Thu, 23 Apr 2009 13:16:07 +0000 (14:16 +0100)]
expose undefined

16 years agoadd the undefined value define in the old implementation.
Vincent Hanquez [Thu, 23 Apr 2009 13:15:26 +0000 (14:15 +0100)]
add the undefined value define in the old implementation.

it probably need to go away at some point.

16 years agoadd the simple "parser" from the old implementation for direct compatibility
Vincent Hanquez [Thu, 23 Apr 2009 13:13:21 +0000 (14:13 +0100)]
add the simple "parser" from the old implementation for direct compatibility

16 years agosimplify json_conv to use more function from the json module
Vincent Hanquez [Thu, 23 Apr 2009 13:10:12 +0000 (14:10 +0100)]
simplify json_conv to use more function from the json module

16 years agoexport string_of_type
Vincent Hanquez [Thu, 23 Apr 2009 13:10:02 +0000 (14:10 +0100)]
export string_of_type

16 years agoadd a string_of_type function for easier debugging and better error reporting
Vincent Hanquez [Thu, 23 Apr 2009 13:04:19 +0000 (14:04 +0100)]
add a string_of_type function for easier debugging and better error reporting

16 years agomerge function with another implemention of json
Vincent Hanquez [Thu, 23 Apr 2009 13:03:03 +0000 (14:03 +0100)]
merge function with another implemention of json

16 years agoadd my name to the json library
Vincent Hanquez [Thu, 23 Apr 2009 13:01:22 +0000 (14:01 +0100)]
add my name to the json library

16 years agopart of another json library into the new json library
Vincent Hanquez [Thu, 23 Apr 2009 12:53:10 +0000 (13:53 +0100)]
part of another json library into the new json library

16 years agoVIO: add a way to disable the cache, lots of modifications around cache handling...
Vincent Hanquez [Thu, 23 Apr 2009 11:11:18 +0000 (12:11 +0100)]
VIO: add a way to disable the cache, lots of modifications around cache handling in write.

16 years agoMerge branch 'integrated-build' into devel
Prashanth Mundkur [Wed, 22 Apr 2009 17:47:32 +0000 (10:47 -0700)]
Merge branch 'integrated-build' into devel

16 years agohook new json tools into toolstack build.
Prashanth Mundkur [Tue, 21 Apr 2009 23:20:20 +0000 (16:20 -0700)]
hook new json tools into toolstack build.

Since we can't run cross-compiled binaries as part of the build,
this checkin includes a tool-generated file in json/gen_rpc/gen_rpc.

16 years agoMerge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Prashanth Mundkur [Wed, 22 Apr 2009 16:38:13 +0000 (09:38 -0700)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack

16 years agowrite the multiprocessor suspend flag in xenstore
Vincent Hanquez [Wed, 22 Apr 2009 11:01:28 +0000 (12:01 +0100)]
write the multiprocessor suspend flag in xenstore

16 years agoadd mli for json_rpc
Prashanth Mundkur [Tue, 21 Apr 2009 23:14:12 +0000 (16:14 -0700)]
add mli for json_rpc

16 years agoMerge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Prashanth Mundkur [Tue, 21 Apr 2009 21:12:43 +0000 (14:12 -0700)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack