Keir Fraser
e6cbaaddae
xend: Fix getStubdomDomid function
...
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2010-05-15 08:31:42 +01:00
Keir Fraser
865f566d8c
xentrace: install scripts with python install wrapper
...
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com >
2010-05-15 08:29:21 +01:00
Keir Fraser
1efc662aba
libxl: Add missing start_time entry when create and restore VMs.
...
Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com >
2010-05-15 08:27:22 +01:00
Keir Fraser
e1e86ff4a2
xl: Add include-only-once checks to xl_cmd{impl,table}.h
...
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2010-05-14 08:05:05 +01:00
Keir Fraser
9fa16606cb
xl: Add "xl uptime" command, a clone of "xm uptime".
...
Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com >
2010-05-14 08:01:51 +01:00
Keir Fraser
102f8460ca
xl: Check invalid domid in find_domain()
...
If domain id is invalid, find_domain should return error because
the specified domain does not exist.
Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com >
2010-05-14 07:56:43 +01:00
Keir Fraser
1803120b06
libxl: Fix missing memory/target xenstore entry on domain creation
...
There was a simple bug in stuffing the initial setup array.
Signed-off-by: Yu Zhiguo <yuzg@cn.fujitsu.com >
2010-05-14 07:55:14 +01:00
Keir Fraser
3921297ea2
libxl: Adjustments to memset/memmax handling
...
I think xl memset should change the memory currently used by the guest
and xl memmax should change the size of the guest's address space and
not the population. For this reason libxl_set_memory_target should
provide a way to enforce the memory target, calling
xc_domain_setmaxmem. On the other hand xl memmax shouldn't call
xc_domain_setmaxmem because that is the upper bound of the memory
reservation, it should just change static-max, that at the moment
wouldn't do much, but we can imagine that in the future could trigger
something useful in the guest.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com >
Acked-by: Jonathan Knowles <Jonathan.Knowles@eu.citrix.com >=20
2010-05-14 07:53:16 +01:00
Keir Fraser
b4dee233da
xenstore: Fix cleanup_pop() definition for some (buggy) pthread.h headers.
...
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2010-05-13 12:21:16 +01:00
Keir Fraser
eac0f64d80
libxl: Check return codes of write/asprintf/daemon consistently.
...
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2010-05-13 09:35:05 +01:00
Keir Fraser
f4de8d0315
xl: Implement block-detach command
...
Signed-off-by: Eric Chanudet <eric.chanudet@citrix.com >
2010-05-13 08:52:47 +01:00
Keir Fraser
a9733d50ff
xl: Implement block-list command
...
Signed-off-by: Eric Chanudet <eric.chanudet@citrix.com >
2010-05-13 08:51:50 +01:00
Keir Fraser
2b579c5add
xl: Implement block-attach command
...
Signed-off-by: Eric Chanudet <eric.chanudet@citrix.com >
2010-05-13 08:50:54 +01:00
Keir Fraser
d32239ba6e
xl: Implement network-detach command
...
Signed-off-by: Eric Chanudet <eric.chanudet@citrix.com >
2010-05-13 08:49:41 +01:00
Keir Fraser
742c6e551a
xl: Implement network-list command
...
Signed-off-by: Eric Chanudet <eric.chanudet@citrix.com >
2010-05-13 08:48:35 +01:00
Keir Fraser
1a043dad2a
xl: Implement network-attach
...
Signed-off-by: Eric Chanudet <eric.chanudet@citrix.com >
2010-05-13 08:46:57 +01:00
Keir Fraser
c0910cbc5b
xl: Add check for command 'xl mem-set'
...
Get max memory from /local/domain/$domid/memory/static-max, and then
do value check. The value larger than static-max is invalid.
Signed-off-by: Yu Zhiguo <yuzg@cn.fujitsu.com >
2010-05-12 08:53:27 +01:00
Keir Fraser
bf4215becc
xl: Add command 'xl mem-max'
...
Add subcommand 'xl mem-max', can be used to set static max memory
Signed-off-by: Yu Zhiguo <yuzg@cn.fujitsu.com >
2010-05-12 08:52:59 +01:00
Keir Fraser
59e0af401a
xl: Add "xl top" command, a clone of "xm top".
...
Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com >
2010-05-12 08:52:30 +01:00
Keir Fraser
c614ef19d3
xl: Add "xl sysrq" command, a clone of "xm sysrq".
...
Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com >
2010-05-12 08:52:07 +01:00
Keir Fraser
990e331218
xs: avoid pthread_join deadlock in xs_daemon_close
...
Doing a pthread_cancel and join on the reader thread while holding all
the request/reply/watch mutexes can deadlock if the thread needs to
take any of those mutexes to exit. Kill off the reader thread before
taking any mutexes (which should be redundant if we're
single-threaded at that point).
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com >
2010-05-12 08:49:13 +01:00
Keir Fraser
20a817b0a7
xs: make sure mutexes are cleaned up and memory freed if the read thread is cancelled
...
If the read thread is terminated with pthread cancel, it must make
sure all memory is freed and mutexes are unlocked.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com >
2010-05-12 08:48:14 +01:00
Keir Fraser
7fa5e3ae97
xl: use help table to describe command help information
...
This patch generate a help table to describe command help
information.
Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com >
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com >
2010-05-11 12:37:26 +01:00
Keir Fraser
1e560df12f
xl: Add "xl trigger" command, a clone of "xm trigger".
...
Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com >
2010-05-11 11:23:54 +01:00
Keir Fraser
0e13089b14
libxl: More cpupool fixes.
...
Signed-off-by: Juergen Gross <juergen.gross@ts.fujitsu.com >
2010-05-11 08:39:01 +01:00
Keir Fraser
c3cd270e0f
xl: "vncunused" is documented to default to 1.
...
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com >
2010-05-11 08:37:25 +01:00
Keir Fraser
dc21ec2b12
xm: explicitly differentiate between tap and tap2 in config parsing.
...
From: Jim Fehlig <jfehlig@novell.com >
Signed-off-by: Keir Fraser <Keir.Fraser@eu.citrix.com >
2010-05-11 08:31:16 +01:00
Keir Fraser
e0d20ed4b7
xl: Remove transaction handle in "xl rename"
...
Thanks Stefano for pointing out that transaction handle in libxl
clients is not needed.
Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com >
2010-05-10 09:27:17 +01:00
Keir Fraser
5659b2e667
xl: add missing migrate commands to command table
...
Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com >
2010-05-10 09:26:29 +01:00
Keir Fraser
62dcdb74d8
Remus: fix missing import in device.py
...
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca >
2010-05-10 09:25:46 +01:00
Keir Fraser
2582117ae8
libxl: Check cpupool parameter during domain creation.
...
Signed-off-by: Jergen Gross <juergen.gross@ts.fujitsu.com >
2010-05-10 09:25:11 +01:00
Keir Fraser
dd41a2dae2
xl: ignore opengl unless sdl is enabled
...
The "opengl" setting is documented as having no effect unless "sdl" is
set. Make sure this is honoured.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com >
2010-05-10 09:21:58 +01:00
Keir Fraser
9f92203e2c
libxl: fix paths for non-standard installations
...
Attached patch removes hardcoded pathes and corrects wrong path to
qemu-dm.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com >
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com >
2010-05-07 19:16:40 +01:00
Keir Fraser
eb8d759136
ocaml: NetBSD support and general CFLAGS cleanup
...
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com >
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2010-05-07 19:08:55 +01:00
Keir Fraser
b87c206038
xl: Update memory info in xenstore when use 'xl mem-set'
...
'xl mem-set' should update memory info in xenstore's vm info.
Signed-off-by: Yu Zhiguo <yuzg@cn.fujitsu.com >
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com >
2010-05-07 18:57:30 +01:00
Keir Fraser
99462ede4c
xenstored: Always build and install.
...
It coexists quite happily with oxenstored.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2010-05-07 11:45:18 +01:00
Keir Fraser
e926e7d1a9
xenpm: remove wrong and pointless "current" indicator
...
Using the CPU number to compare with an index into an array containing
only a subset of CPUs isn't valid. And indicator isn't necessary here
at all since the CPU number being dealt with gets printed right before
this line.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2010-05-07 09:50:17 +01:00
Keir Fraser
c4826676c4
libxl: Support cpupools
...
Signed-off-by: Juergen Gross <juergen.gross@ts.fujitsu.com >
2010-05-07 09:36:58 +01:00
Keir Fraser
cd62ba5322
xl: Add "xl rename" command, a clone of "xm rename".
...
Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com >
2010-05-07 09:31:38 +01:00
Keir Fraser
526bdf67f5
xl: Add "xl domname" command, a clone of "xm domname".
...
Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com >
2010-05-07 09:31:21 +01:00
Keir Fraser
8a3067e096
xl: Add "xl domid" command, a clone of "xm domid".
...
Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com >
2010-05-07 09:30:56 +01:00
Keir Fraser
ac56b9955e
xend: support blktap2 in xend blkif utils
...
Support tap2 device type in xend blkif utils parse method.
Signed-off-by: Jim Fehlig <jfehlig@novell.com >
2010-05-07 09:27:40 +01:00
Keir Fraser
5c0704bc6f
libxl: support vncpassword in device-model specification
...
From: Gihan Munasinghe <GMunasinghe@flexiant.com >
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2010-05-07 09:26:49 +01:00
Keir Fraser
0cb7b470ae
xl: Start enumerating vifs from 0.
...
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com >
2010-05-07 09:15:19 +01:00
Keir Fraser
80e279223b
ocaml: Add -Werror to CFLAGS and fix resulting errors.
...
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2010-05-07 09:13:59 +01:00
Keir Fraser
53f89553da
ocam: add missing files that got lost in the v2 shuffle
...
Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com >
2010-05-07 08:46:51 +01:00
Keir Fraser
abe6f86669
ocaml: Fix C include paths in Makefile
...
Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com >
2010-05-07 08:46:07 +01:00
Keir Fraser
12d39540c8
ocaml: Fix Makefile for parallel build.
...
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com >
2010-05-07 08:43:51 +01:00
Keir Fraser
08bbf1f316
xl: fix printf format specifier for 64-bit arguments
...
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com >
2010-05-06 16:01:49 +01:00
Keir Fraser
c871af7f4d
libxl: make use of libxl path functions
...
Make use of the new libxl_*_path functions to specify the correct
absolute path of qemu-dm, hvmloader and ioemu-stubdom.gz.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com >
2010-05-06 15:59:35 +01:00