]> xenbits.xensource.com Git - xenclient/toolstack.git/log
xenclient/toolstack.git
15 years agoMove the flr calling script into the do_flr function.
Jean Guyader [Sat, 29 Aug 2009 21:24:37 +0000 (22:24 +0100)]
Move the flr calling script into the do_flr function.
Make the path fixed "/opt/xensource/libexec/pci-flr.

15 years agoadd a script that will trigger (if here) pre and post flr on a PCI device.
Vincent Hanquez [Fri, 28 Aug 2009 14:40:58 +0000 (15:40 +0100)]
add a script that will trigger (if here) pre and post flr on a PCI device.

15 years agoEnable switching of a nic's bridge
Jon Ludlam [Wed, 26 Aug 2009 10:55:09 +0000 (11:55 +0100)]
Enable switching of a nic's bridge

15 years agoMerge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Vincent Hanquez [Wed, 26 Aug 2009 09:43:51 +0000 (10:43 +0100)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack

15 years agoadd an exception handler in the threaded case.
Vincent Hanquez [Wed, 26 Aug 2009 09:41:31 +0000 (10:41 +0100)]
add an exception handler in the threaded case.

make sure an exception in the threaded case received will return an error to the caller.

15 years agoMerge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Jon Ludlam [Tue, 25 Aug 2009 17:21:55 +0000 (18:21 +0100)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack

Conflicts:

xenvm/tasks.ml

15 years agoAdd ability to eject and insert CDs
Jon Ludlam [Tue, 25 Aug 2009 17:18:12 +0000 (18:18 +0100)]
Add ability to eject and insert CDs

15 years agoreplace - by _ in method name when using dbus to transport RPC.
Vincent Hanquez [Tue, 25 Aug 2009 16:55:17 +0000 (17:55 +0100)]
replace - by _ in method name when using dbus to transport RPC.

15 years agoRevert "Replace - with _ in xenvm cmd names as - is illegal in dbus RPC method names"
Vincent Hanquez [Tue, 25 Aug 2009 16:45:49 +0000 (17:45 +0100)]
Revert "Replace - with _ in xenvm cmd names as - is illegal in dbus RPC method names"

This reverts commit daa7f7189ede5e024093bff6f5a1595437a30f1d.

15 years agoMerge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack
Vincent Hanquez [Tue, 25 Aug 2009 16:45:16 +0000 (17:45 +0100)]
Merge branch 'master' of git://git.uk.xensource.com/xenclient/toolstack

15 years agoif the lib return a negative value propagate the exception upwards
Vincent Hanquez [Tue, 25 Aug 2009 16:44:37 +0000 (17:44 +0100)]
if the lib return a negative value propagate the exception upwards

15 years agoadd proper error if the hypercall failed to get sstate
Vincent Hanquez [Tue, 25 Aug 2009 16:44:17 +0000 (17:44 +0100)]
add proper error if the hypercall failed to get sstate

15 years agoupdate some cpuid comments and add a couple of values
Vincent Hanquez [Tue, 25 Aug 2009 16:43:38 +0000 (17:43 +0100)]
update some cpuid comments and add a couple of values

15 years agoMerge commit 'origin/master'
Vincent Hanquez [Tue, 25 Aug 2009 13:43:15 +0000 (14:43 +0100)]
Merge commit 'origin/master'

15 years ago"vkbd" is the correct node name for the virtual keyboard. not "vkb".
Vincent Hanquez [Tue, 25 Aug 2009 13:25:20 +0000 (14:25 +0100)]
"vkbd" is the correct node name for the virtual keyboard. not "vkb".

15 years agouse the correct node for the backend of vfb
Vincent Hanquez [Tue, 25 Aug 2009 13:25:12 +0000 (14:25 +0100)]
use the correct node for the backend of vfb

15 years agoReplace - with _ in xenvm cmd names as - is illegal in dbus RPC method names
Jon Ludlam [Tue, 25 Aug 2009 13:21:04 +0000 (14:21 +0100)]
Replace - with _ in xenvm cmd names as - is illegal in dbus RPC method names

15 years agoGenerate MAC/bridge on reading the config file rather than on starting the VM
Jon Ludlam [Tue, 25 Aug 2009 12:24:19 +0000 (13:24 +0100)]
Generate MAC/bridge on reading the config file rather than on starting the VM

15 years agoprepend a uuid_ to bus name uuid part
Vincent Hanquez [Fri, 21 Aug 2009 15:30:00 +0000 (16:30 +0100)]
prepend a uuid_ to bus name uuid part

fix bug when the bus name starts with a digit 0-9 (uuid starts with 0-9) and
elements between should not start with a digit unless the bus name start with a
colon character.

15 years agoxenvm default the monitor on dbus instead of json.
Vincent Hanquez [Thu, 20 Aug 2009 08:29:07 +0000 (09:29 +0100)]
xenvm default the monitor on dbus instead of json.

use "--monitor-dbus false --monitor-json true" in xenvm cmdline to go back to
the previous behaviour.

15 years agoadd pci hotplug capability in xenstore
Vincent Hanquez [Thu, 20 Aug 2009 08:25:21 +0000 (09:25 +0100)]
add pci hotplug capability in xenstore
also use the xenstore signal instead of the unix signal to signal ioemu.
patch from Dave Scott.

15 years agochange name of xenvm-cmd.ml to workaround an ocaml compiler warning about invalid...
Vincent Hanquez [Tue, 18 Aug 2009 17:26:38 +0000 (18:26 +0100)]
change name of xenvm-cmd.ml to workaround an ocaml compiler warning about invalid module name

15 years agoadd an option to xenvm to be able to specify to use the socket monitor
Vincent Hanquez [Tue, 18 Aug 2009 17:24:20 +0000 (18:24 +0100)]
add an option to xenvm to be able to specify to use the socket monitor

15 years agoMerge commit 'origin/master'
Vincent Hanquez [Tue, 18 Aug 2009 16:04:40 +0000 (17:04 +0100)]
Merge commit 'origin/master'

15 years agostate which tasks requires threading and which one doesn't.
Vincent Hanquez [Tue, 18 Aug 2009 15:59:03 +0000 (16:59 +0100)]
state which tasks requires threading and which one doesn't.

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