Ewan Mellor
5bb62448a5
Fix more enum demarshalling.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-15 11:33:50 +00:00
Ewan Mellor
7bdf0f5b26
Added a test for xen_vm_get_power_state.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-15 11:00:04 +00:00
jfehlig@jfehlig2.provo.novell.com
160ed4756b
Fix VM.get_power_state API. On the xend side an integer representation of the power state was being returned instead of a string representation as specified by the XenAPI spec.
...
On the c-bindings side the marshalling code converts the string representation to an enum value. A subsequent attempt to convert the enum from a string to an enum was causing a seg fault.
Signed-off-by: Jim Fehlig <jfehlig@novell.com >
2006-12-13 18:06:48 -07:00
kfraser@localhost.localdomain
d2cd19a8b2
[XM] Fix network-attach help message.
...
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2006-12-15 09:52:19 +00:00
Ewan Mellor
bb2c5572dc
Fix check_udev in the case where udev is missing -- test's -a does not shortcut.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-15 09:50:33 +00:00
Ewan Mellor
dc1408eb4f
Revert Makefile changes from 13023:70155087efe89 -- they break make dist.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-15 09:39:26 +00:00
kfraser@localhost.localdomain
805c949b34
[NET]: Fix segmentation of linear packets
...
skb_segment fails to segment linear packets correctly because it
tries to write all linear parts of the original skb into each
segment. This will always panic as each segment only contains
enough space for one MSS.
This was not detected earlier because linear packets should be
rare for GSO. In fact it still remains to be seen what exactly
created the linear packets that triggered this bug. Basically
the only time this should happen is if someone enables GSO
emulation on an interface that does not support SG.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-15 09:38:56 +00:00
kfraser@localhost.localdomain
28f48c121e
[XEN] Clean up list.h for Xen formatting rules and add hlist macros
...
from Linux kernel.
Based on a patch from Alex Williamson <alex.williamson@hp.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-15 09:29:15 +00:00
kfraser@localhost.localdomain
d746429dbb
Remove unused function from check script.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-15 09:17:41 +00:00
Ewan Mellor
b5c55da7ce
Replace the error message when invalid xm commands are given.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-15 09:08:41 +00:00
Ewan Mellor
2b0ca176fc
Fix exit status for failed commands, and tidy up the usage display.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-15 02:01:38 +00:00
Ewan Mellor
f455c4c7bd
Fix 64-bit build with a PRIu64.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-15 01:42:31 +00:00
Ewan Mellor
1c253aa41e
Updated test to match new booting arrangement.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-14 18:30:35 +00:00
Steven Hand
58295d5027
Fix exception handling in xend start-of-day.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2006-12-14 20:58:27 +00:00
Julian Chesterfield
a451e41cb7
Add sparseness flag to qcow-create.
...
For environments where space must be guaranteed in advance
use the -p flag to remove sparseness from the qcow file.
Signed-off-by: Julian Chesterfield <julian@xensource.com >
2006-12-14 20:23:07 +00:00
Ewan Mellor
87221c6db2
Remove the boot-type implementation -- now replaced by the HVM and PV boot
...
configuration.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-14 18:24:41 +00:00
Ewan Mellor
184500f7fc
Implement new booting parameters for Xen-API, and backwards compatibility for
...
the old bootloader settings.
We now have two mutually exclusive config groups HVM and PV, with HVM/boot
and PV/{bootloader,kernel,ramdisk,args,bootloader_args}.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-14 18:24:14 +00:00
Ewan Mellor
a7416ebe65
Stub implementations of VM.auto_power_on, VM.consoles.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-14 17:43:41 +00:00
Ewan Mellor
8e5b7018e7
Remove a number of unused configuration dictionaries -- these have all
...
moved into XendConfig now.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-14 17:37:29 +00:00
Ewan Mellor
5d46b4c636
Fix calls to destroyDevice that are missing a force flag.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-14 15:32:44 +00:00
Ewan Mellor
4a5cb14abe
Add some exception logging.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-14 15:10:47 +00:00
Ewan Mellor
e5ec710fa4
Added xm shell command, taken from xapi.py, to make testing the Xen-API calls
...
a little easier.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-14 14:54:24 +00:00
Ewan Mellor
ca636dbc6e
Have a 1GiB disk rather than 1MiB, for a slightly more sensible test.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-14 14:50:35 +00:00
kfraser@localhost.localdomain
89bc2ddec0
Merge with xen-ia64-unstable.hg
2006-12-14 18:22:58 +00:00
Ewan Mellor
2db8f7202c
Tidy up.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-14 17:25:38 +00:00
awilliam@xenbuild2.aw
a3e94225c7
[IA64][HVM] Use vcpu info from getdomaininfo
...
This replaces the get/set_param using HVM_PARAM_VCPUS
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2006-12-14 09:56:41 -07:00
kfraser@localhost.localdomain
0330b1b4b8
[XEN] Provide PV guests with emulated PIT.
...
This is needed for some video-controller BIOSes which use PIT channel
2 for delay loops.
Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com >
2006-12-14 16:27:10 +00:00
kfraser@localhost.localdomain
a0bf728f15
[TOOLS] Fix check-script compatibility with non-bash shells.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-14 16:00:31 +00:00
awilliam@xenbuild2.aw
5a170ea5d6
merge with xen-unstable.hg
2006-12-14 08:57:36 -07:00
awilliam@xenbuild2.aw
318b012682
[IA64][BUILD] XEN_XKBUFF needs to depend on NET
...
Signed-Off-By: Simon Horman <horms@verge.net.au >
2006-12-14 08:54:54 -07:00
kfraser@localhost.localdomain
afd2aabff9
[XEN] Fix memory allocator after recent bootmem change.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-14 15:43:40 +00:00
kfraser@localhost.localdomain
23496e5afb
[TOOLS] A couple of check-script cleanups.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-14 15:12:38 +00:00
kfraser@localhost.localdomain
e93c545c97
[KEXEC] Clean up kexec code and fix panic-induced reboot when
...
kdump is not in use.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-14 15:06:22 +00:00
kfraser@localhost.localdomain
96134532ec
Add another package check (python-xml).
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2006-12-14 14:13:18 +00:00
Steven Hand
265f7f57f6
Fix deadlock when accessing IO memory.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2006-12-14 12:35:23 +00:00
kfraser@localhost.localdomain
65a186bbcb
[NET] front: Fix crashes when xenstore watches fire multiple times.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-14 12:21:28 +00:00
kfraser@localhost.localdomain
9161821234
[XEN] Boot allocator searches from earliest registered
...
memory region instead of 0.
Based on a patch from Jes Sorensen <jes@sgi.com > which
massively improves boot time on SGI Altix systems.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-14 12:02:30 +00:00
kfraser@localhost.localdomain
b1d71c83cc
[XM] Fix typo in 'xm vcpu-list' header.
...
Signed-off-by: Amos Waterland <apw@us.ibm.com >
2006-12-14 11:39:40 +00:00
kfraser@localhost.localdomain
7d613526dc
[XENFB] No need for IRQs to be disabled in critical regions.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-14 11:37:14 +00:00
kfraser@localhost.localdomain
b4439be6e5
[LINUX] Fix seg-fixup warning.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-14 11:09:27 +00:00
kfraser@localhost.localdomain
a2684bbb14
[XEN] Spot incorrect use of lXe_write & Co.
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2006-12-14 10:49:54 +00:00
kfraser@localhost.localdomain
14118bd0a8
[LINUX] Fix build without CONFIG_HOTPLUG_CPU
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2006-12-14 10:32:38 +00:00
Ewan Mellor
62184014df
Set FD_CLOEXEC on the pidfile fd, so that tapdisk does not get it.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-14 10:31:31 +00:00
kfraser@localhost.localdomain
e6be7d74b9
Allow loading of ELF kernel images that support both PAE and non-PAE.
...
Also change the elf loader to not look for a strings section unless it
is needed.
Signed-off-by: Bruce Rogers <brogers@novell.com >
2006-12-14 10:29:44 +00:00
Ewan Mellor
f39983e1f6
Hack xm block-detach to remove tap disks as well as vbds.
...
This isn't very pretty -- a better solution would be nice.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-13 20:43:47 +00:00
kfraser@localhost.localdomain
70efc627d2
[Xend] Add a --force option to detach operations.
...
In some situations triggered by errors found on guest side,
the device will be held forever, due to the online flag being still
on. Detach operations mostly fails from this point on, as the backend
will not see frontend's state change anymore.
Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com >
2006-12-14 10:17:37 +00:00
kfraser@localhost.localdomain
2267ec4e4a
Fix typos in the external-device migrate script.
2006-12-14 10:01:17 +00:00
kfraser@localhost.localdomain
49f6907f34
[XEND] Activate a declared external device migration script for all devices and all save modes.
...
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca >
2006-12-14 10:00:56 +00:00
Emmanuel Ackaouy
c1c2224094
[XEN] Improve scheduler cap mechanism
...
Somewhat unbastardize the scheduler cap mechanism. We now cleanly
pause and unpause running VCPUs of capped out domains instead of
using sub-idle priorities. This also improves the precision of
caps a bit.
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com >
2006-12-13 16:13:26 +00:00
George Dunlap
17465295e1
[XEN] Make TRC_MEM's bits unique.
...
Signed-off-by: George Dunlap <gdunlap@xensource.com >
2006-12-13 10:20:20 -05:00