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

16 years agouse a build function to factor the restore code.
Vincent Hanquez [Tue, 21 Apr 2009 13:41:53 +0000 (14:41 +0100)]
use a build function to factor the restore code.

16 years agouse the structure instead of taking all arguments inline in restore now.
Vincent Hanquez [Tue, 21 Apr 2009 12:01:45 +0000 (13:01 +0100)]
use the structure instead of taking all arguments inline in restore now.

16 years agouse the structure instead of taking all arguments inline
Vincent Hanquez [Tue, 21 Apr 2009 11:59:22 +0000 (12:59 +0100)]
use the structure instead of taking all arguments inline

16 years agoadd a function to create a build info out of a xenvm config
Vincent Hanquez [Tue, 21 Apr 2009 11:57:04 +0000 (12:57 +0100)]
add a function to create a build info out of a xenvm config

16 years agoadd a restore function similar to the build function with structure calling.
Vincent Hanquez [Tue, 21 Apr 2009 11:46:30 +0000 (12:46 +0100)]
add a restore function similar to the build function with structure calling.

16 years agofix start failure to reset the domid instead of keeping an old domid.
Vincent Hanquez [Tue, 21 Apr 2009 11:36:37 +0000 (12:36 +0100)]
fix start failure to reset the domid instead of keeping an old domid.

also refactor the code to be reusable in restore

16 years agochange restore to pv_restore
Vincent Hanquez [Tue, 21 Apr 2009 11:36:18 +0000 (12:36 +0100)]
change restore to pv_restore

16 years agonull rpc responses are valid, and not errors
Prashanth Mundkur [Tue, 21 Apr 2009 00:42:53 +0000 (17:42 -0700)]
null rpc responses are valid, and not errors

16 years agoadded some rpc tests
Prashanth Mundkur [Tue, 21 Apr 2009 00:41:54 +0000 (17:41 -0700)]
added some rpc tests

16 years agoProperly handle multiple servers
Prashanth Mundkur [Mon, 20 Apr 2009 21:50:19 +0000 (14:50 -0700)]
Properly handle multiple servers

16 years agoupdate README
Prashanth Mundkur [Mon, 20 Apr 2009 21:48:09 +0000 (14:48 -0700)]
update README

16 years agoxenvm: plumb through xenops the timeoffset if it exists
Vincent Hanquez [Mon, 20 Apr 2009 16:44:53 +0000 (17:44 +0100)]
xenvm: plumb through xenops the timeoffset if it exists

16 years agoxenvm: add the timeoffset config option to the readme
Vincent Hanquez [Mon, 20 Apr 2009 16:44:36 +0000 (17:44 +0100)]
xenvm: add the timeoffset config option to the readme

16 years agoxenvm: add a way to specify time offset.
Vincent Hanquez [Mon, 20 Apr 2009 16:40:56 +0000 (17:40 +0100)]
xenvm: add a way to specify time offset.

16 years agoxenvm: add a way to notify higher layer that we want to store something.
Vincent Hanquez [Mon, 20 Apr 2009 16:31:23 +0000 (17:31 +0100)]
xenvm: add a way to notify higher layer that we want to store something.

propagate the changeRtc call to higherlayer.

16 years agoadd an option to remove the restore file at startup
Vincent Hanquez [Sat, 18 Apr 2009 15:54:05 +0000 (16:54 +0100)]
add an option to remove the restore file at startup

16 years agoVIO: add reade_eof
Vincent Hanquez [Sat, 18 Apr 2009 15:48:46 +0000 (16:48 +0100)]
VIO: add reade_eof

16 years agoclarify client naming
Prashanth Mundkur [Fri, 17 Apr 2009 23:16:43 +0000 (16:16 -0700)]
clarify client naming

16 years agocleanup of unused code
Prashanth Mundkur [Fri, 17 Apr 2009 22:22:47 +0000 (15:22 -0700)]
cleanup of unused code

16 years agoclient-side rpc code generation
Prashanth Mundkur [Fri, 17 Apr 2009 22:11:23 +0000 (15:11 -0700)]
client-side rpc code generation

16 years agocreate all generated files as read-only
Prashanth Mundkur [Fri, 17 Apr 2009 20:38:09 +0000 (13:38 -0700)]
create all generated files as read-only

16 years agoadd some test files for the rpc code-generator
Prashanth Mundkur [Fri, 17 Apr 2009 20:23:47 +0000 (13:23 -0700)]
add some test files for the rpc code-generator

16 years agofixes to get generated server code to compile
Prashanth Mundkur [Fri, 17 Apr 2009 20:15:43 +0000 (13:15 -0700)]
fixes to get generated server code to compile

16 years agoadd type annotation for dispatch struct
Prashanth Mundkur [Fri, 17 Apr 2009 19:36:55 +0000 (12:36 -0700)]
add type annotation for dispatch struct

16 years agogenerate dispatch structure as well
Prashanth Mundkur [Fri, 17 Apr 2009 19:34:48 +0000 (12:34 -0700)]
generate dispatch structure as well

16 years agofinish server side generation; add syntax for open modules
Prashanth Mundkur [Fri, 17 Apr 2009 17:59:07 +0000 (10:59 -0700)]
finish server side generation; add syntax for open modules

16 years agoVIO: add read_line
Vincent Hanquez [Fri, 17 Apr 2009 15:12:25 +0000 (16:12 +0100)]
VIO: add read_line

16 years agoadded server-side notification handling
Prashanth Mundkur [Fri, 17 Apr 2009 02:23:23 +0000 (19:23 -0700)]
added server-side notification handling

16 years agoadded missing omakefiles
Prashanth Mundkur [Fri, 17 Apr 2009 02:09:59 +0000 (19:09 -0700)]
added missing omakefiles

16 years agostart on server-side code-generation
Prashanth Mundkur [Fri, 17 Apr 2009 02:09:40 +0000 (19:09 -0700)]
start on server-side code-generation

16 years agonotifications don't have an id
Prashanth Mundkur [Fri, 17 Apr 2009 02:08:50 +0000 (19:08 -0700)]
notifications don't have an id

16 years agoadded some utilities for generated rpc code
Prashanth Mundkur [Thu, 16 Apr 2009 21:32:59 +0000 (14:32 -0700)]
added some utilities for generated rpc code

16 years agofix decl ordering; use separate files for client/server output
Prashanth Mundkur [Thu, 16 Apr 2009 19:51:28 +0000 (12:51 -0700)]
fix decl ordering; use separate files for client/server output

16 years agoadded a simple spec checker
Prashanth Mundkur [Thu, 16 Apr 2009 01:25:14 +0000 (18:25 -0700)]
added a simple spec checker

16 years agoreworked spec types; added to omake build
Prashanth Mundkur [Wed, 15 Apr 2009 23:53:11 +0000 (16:53 -0700)]
reworked spec types; added to omake build

16 years agoshell for rpc generator; needs code-generator
Prashanth Mundkur [Wed, 15 Apr 2009 21:04:43 +0000 (14:04 -0700)]
shell for rpc generator; needs code-generator

16 years agoadded some helper utilities
Prashanth Mundkur [Tue, 14 Apr 2009 18:03:04 +0000 (11:03 -0700)]
added some helper utilities

16 years agohandle optional record fields specially, allowing them to be omitted
Prashanth Mundkur [Mon, 13 Apr 2009 21:32:11 +0000 (14:32 -0700)]
handle optional record fields specially, allowing them to be omitted

16 years agoadd option to print values
Prashanth Mundkur [Mon, 13 Apr 2009 21:30:44 +0000 (14:30 -0700)]
add option to print values

16 years agoadd line numbers to error locations
Prashanth Mundkur [Mon, 13 Apr 2009 21:28:24 +0000 (14:28 -0700)]
add line numbers to error locations

16 years agocomment parsing needs to be ocaml-style, not C style
Prashanth Mundkur [Mon, 13 Apr 2009 18:20:43 +0000 (11:20 -0700)]
comment parsing needs to be ocaml-style, not C style

16 years agoMinor fixes to parser tests, and avoid using an ocaml keyword in generated conv code.
Prashanth Mundkur [Mon, 13 Apr 2009 17:42:53 +0000 (10:42 -0700)]
Minor fixes to parser tests, and avoid using an ocaml keyword in generated conv code.

16 years agoDirectory re-org to put json conversion generator into its own subdirectory.
Prashanth Mundkur [Mon, 13 Apr 2009 17:18:24 +0000 (10:18 -0700)]
Directory re-org to put json conversion generator into its own subdirectory.

16 years agoMerge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Prashanth Mundkur [Thu, 9 Apr 2009 17:35:59 +0000 (10:35 -0700)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack

16 years agouse the device.PCI.reset function in domain.destroy
Vincent Hanquez [Thu, 9 Apr 2009 12:13:45 +0000 (13:13 +0100)]
use the device.PCI.reset function in domain.destroy

16 years agoadd a reset pci device function
Vincent Hanquez [Thu, 9 Apr 2009 12:13:35 +0000 (13:13 +0100)]
add a reset pci device function

16 years agomove write_string_to_file outside so that it can be use outside bind
Vincent Hanquez [Thu, 9 Apr 2009 11:56:51 +0000 (12:56 +0100)]
move write_string_to_file outside so that it can be use outside bind

16 years agoMerge commit 'ross/master'
Vincent Hanquez [Thu, 9 Apr 2009 11:56:08 +0000 (12:56 +0100)]
Merge commit 'ross/master'

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

16 years agoremove omake cache file
Prashanth Mundkur [Wed, 8 Apr 2009 20:28:56 +0000 (13:28 -0700)]
remove omake cache file

16 years agobasic conv test suite
Prashanth Mundkur [Wed, 8 Apr 2009 20:07:51 +0000 (13:07 -0700)]
basic conv test suite

16 years agofix option_of_json; some cleanup
Prashanth Mundkur [Wed, 8 Apr 2009 19:14:23 +0000 (12:14 -0700)]
fix option_of_json; some cleanup

16 years agofix tuple parsing, and a formatting bug
Prashanth Mundkur [Wed, 8 Apr 2009 18:32:48 +0000 (11:32 -0700)]
fix tuple parsing, and a formatting bug

16 years agoremove hard coded type constructors
Prashanth Mundkur [Wed, 8 Apr 2009 17:56:48 +0000 (10:56 -0700)]
remove hard coded type constructors

16 years agoCatch unknown base types.
Prashanth Mundkur [Wed, 8 Apr 2009 16:57:55 +0000 (09:57 -0700)]
Catch unknown base types.

16 years agomake sure we don't do process event for others VMs' devices.
Vincent Hanquez [Wed, 8 Apr 2009 11:58:09 +0000 (12:58 +0100)]
make sure we don't do process event for others VMs' devices.

16 years agoadd a debug message when receiving callback for devices
Vincent Hanquez [Wed, 8 Apr 2009 11:47:09 +0000 (12:47 +0100)]
add a debug message when receiving callback for devices

16 years ago[json] add auto-generated message; minor cleanups
Prashanth Mundkur [Tue, 7 Apr 2009 21:03:19 +0000 (14:03 -0700)]
[json] add auto-generated message; minor cleanups

16 years ago[json] finish json<->ocaml converter (modulo testing)
Prashanth Mundkur [Tue, 7 Apr 2009 19:27:25 +0000 (12:27 -0700)]
[json] finish json<->ocaml converter (modulo testing)

16 years agocompleted json_to_<ocaml> code gen
Prashanth Mundkur [Tue, 7 Apr 2009 19:05:15 +0000 (12:05 -0700)]
completed json_to_<ocaml> code gen

16 years agoAdded FLR step when devices are being bound by the toolstack.
Ross Philipson [Tue, 7 Apr 2009 14:45:39 +0000 (10:45 -0400)]
Added FLR step when devices are being bound by the toolstack.

 Changes to be committed:
modified:   xenops/device.ml

16 years agoMerge commit 'kamalan/master'
Vincent Hanquez [Tue, 7 Apr 2009 11:49:39 +0000 (12:49 +0100)]
Merge commit 'kamalan/master'

16 years agoxenstored: add a disable socket option.
Vincent Hanquez [Tue, 7 Apr 2009 11:21:56 +0000 (12:21 +0100)]
xenstored: add a disable socket option.

16 years ago[json] half-done json<->ocaml conv generator
Prashanth Mundkur [Mon, 6 Apr 2009 21:41:29 +0000 (14:41 -0700)]
[json] half-done json<->ocaml conv generator
    <ocaml>_to_json should be basically done; json_to_<ocaml> remains.
    Made a minor directory reorg, and added an omakefile to ease standalone builds.

16 years agofix record handling, and other minor fixes
Prashanth Mundkur [Mon, 6 Apr 2009 21:06:17 +0000 (14:06 -0700)]
fix record handling, and other minor fixes

16 years agosome fixes from testing
Prashanth Mundkur [Mon, 6 Apr 2009 20:38:18 +0000 (13:38 -0700)]
some fixes from testing

16 years agoDo not initialize hvm info table for xen 3.4. It gets done in libxc.
Kamala Narasimhan [Mon, 6 Apr 2009 20:04:59 +0000 (16:04 -0400)]
Do not initialize hvm info table for xen 3.4.  It gets done in libxc.

Reinitializing hvm info table wipes out some of the values set by libxc causing triple fault within guest.

16 years agofirst cut at codegen of _to_json
Prashanth Mundkur [Mon, 6 Apr 2009 18:43:15 +0000 (11:43 -0700)]
first cut at codegen of _to_json

16 years agorename _prod to _tuple
Prashanth Mundkur [Mon, 6 Apr 2009 18:42:07 +0000 (11:42 -0700)]
rename _prod to _tuple

16 years ago[json] Add omakefile for standalone builds
Prashanth Mundkur [Fri, 3 Apr 2009 05:26:56 +0000 (22:26 -0700)]
[json] Add omakefile for standalone builds

16 years ago[json] in-progress code-generation
Prashanth Mundkur [Fri, 3 Apr 2009 05:26:09 +0000 (22:26 -0700)]
[json] in-progress code-generation

16 years ago[json] add conversions for base_types
Prashanth Mundkur [Thu, 2 Apr 2009 19:16:30 +0000 (12:16 -0700)]
[json] add conversions for base_types

16 years ago[json] add files for json<->ocaml converter
Prashanth Mundkur [Thu, 2 Apr 2009 18:31:49 +0000 (11:31 -0700)]
[json] add files for json<->ocaml converter

16 years ago[json] minor directory reorg
Prashanth Mundkur [Thu, 2 Apr 2009 18:27:18 +0000 (11:27 -0700)]
[json] minor directory reorg

16 years agoFix a typo that caused pci bind errors. Did pci bind even work before this?
Prashanth Mundkur [Fri, 27 Mar 2009 02:03:22 +0000 (19:03 -0700)]
Fix a typo that caused pci bind errors.  Did pci bind even work before this?

16 years agoMerge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Prashanth Mundkur [Thu, 26 Mar 2009 18:24:43 +0000 (11:24 -0700)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack

16 years agoCheck whether or not exposing extended power management to guest would make sense...
Kamala Narasimhan [Tue, 24 Mar 2009 02:48:18 +0000 (22:48 -0400)]
Check whether or not exposing extended power management to guest would make sense for the current environment.

For example, for non-mobile environment with no underlying battery device, it doesn't make sense to expose battery in vACPI
layer as the power meter information which is provided by the underlying firmware through dom0 driver will simply not be available.

16 years agoSend startup and other errors on notification channel.
Prashanth Mundkur [Tue, 24 Mar 2009 23:55:16 +0000 (16:55 -0700)]
Send startup and other errors on notification channel.

16 years agoLog notifications.
Prashanth Mundkur [Tue, 24 Mar 2009 23:54:40 +0000 (16:54 -0700)]
Log notifications.

16 years agoUse notification codes instead of constants.
Prashanth Mundkur [Tue, 24 Mar 2009 23:01:07 +0000 (16:01 -0700)]
Use notification codes instead of constants.

16 years agoUse a string option helper.
Prashanth Mundkur [Tue, 24 Mar 2009 23:00:33 +0000 (16:00 -0700)]
Use a string option helper.

16 years ago[json] differentiate internal errors in test script
Prashanth Mundkur [Fri, 20 Mar 2009 23:27:58 +0000 (16:27 -0700)]
[json] differentiate internal errors in test script

16 years ago[json] properly print leading zero error in parse tester.
Prashanth Mundkur [Fri, 20 Mar 2009 23:13:29 +0000 (16:13 -0700)]
[json] properly print leading zero error in parse tester.

16 years ago[json] fix typo in exception
Prashanth Mundkur [Fri, 20 Mar 2009 23:05:02 +0000 (16:05 -0700)]
[json] fix typo in exception

16 years ago[json] reject leading zeros in numbers according to spec
Prashanth Mundkur [Fri, 20 Mar 2009 22:43:02 +0000 (15:43 -0700)]
[json] reject leading zeros in numbers according to spec

16 years ago[json] add parsing test suite from JSON_checker project.
Prashanth Mundkur [Fri, 20 Mar 2009 22:09:45 +0000 (15:09 -0700)]
[json] add parsing test suite from JSON_checker project.

16 years ago[json] make parse_test more unit-test friendly
Prashanth Mundkur [Fri, 20 Mar 2009 22:03:17 +0000 (15:03 -0700)]
[json] make parse_test more unit-test friendly

16 years ago[json] Generate errors for trailing comma in array, and for unterminated values.
Prashanth Mundkur [Fri, 20 Mar 2009 22:01:37 +0000 (15:01 -0700)]
[json] Generate errors for trailing comma in array, and for unterminated values.

16 years ago[json] keep count of parsed chars
Prashanth Mundkur [Thu, 19 Mar 2009 23:12:35 +0000 (16:12 -0700)]
[json] keep count of parsed chars

16 years agoMerge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Prashanth Mundkur [Thu, 19 Mar 2009 18:42:10 +0000 (11:42 -0700)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack

16 years agoxenvm: add restore-no-del to be able to restore without deleting the suspend image.
Vincent Hanquez [Thu, 19 Mar 2009 16:20:07 +0000 (16:20 +0000)]
xenvm: add restore-no-del to be able to restore without deleting the suspend image.

16 years agoxenvm: auto bind PCI if it's specified "bind" in the pci's config description.
Vincent Hanquez [Thu, 19 Mar 2009 07:46:31 +0000 (07:46 +0000)]
xenvm: auto bind PCI if it's specified "bind" in the pci's config description.

16 years agoxenvm: generate a mac from some VM identification if mac=vm
Vincent Hanquez [Thu, 19 Mar 2009 07:36:09 +0000 (07:36 +0000)]
xenvm: generate a mac from some VM identification if mac=vm

16 years agoxenvm: move a bit the MAC random generation so that we can have later a more predicta...
Vincent Hanquez [Thu, 19 Mar 2009 06:56:36 +0000 (06:56 +0000)]
xenvm: move a bit the MAC random generation so that we can have later a more predictable to generate one MAC.