Ewan Mellor
618ef9cd1c
Fix error logging when we get a 500 response.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-14 23:14:19 +00:00
Ewan Mellor
4438f722ec
Improve the performance of the Xend trace facility, and exclude XendMonitor
...
and XendLogging from those classes that are traced.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-14 23:13:37 +00:00
Ewan Mellor
3c924c8c4c
Trap bad return values from Xen-API method handlers, and return an internal
...
error.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-14 23:12:59 +00:00
Ewan Mellor
47123a3638
Fix typo.
...
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-14 21:34:43 +00:00
Ewan Mellor
b0c9363ed8
Added VM_metrics.get_all.
...
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-14 21:04:04 +00:00
Ewan Mellor
eacb86fc1b
Added Xen-API features needed to implement xm info: host.sched_policy
...
(replacing VM.VCPUs_policy, which never made sense), and
host.cpu_configuration. Add other details into either host.software_version
or host.other_config as appropriate.
Implement xm info and the scheduler-detection check using this.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-14 21:02:58 +00:00
Ewan Mellor
ae6780b241
Implement VM_metrics Xen-API class.
...
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-14 20:41:56 +00:00
Ewan Mellor
42b966d15c
Added Xen-API support to xm shutdown.
...
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-14 20:27:57 +00:00
Ewan Mellor
11392ee1b0
Implement VM.{add_to,remove_from}_VCPUs_params.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-13 22:13:40 +00:00
Ewan Mellor
1a2d69b084
In xm shell, add a space to the function names when tab-completing.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-13 22:12:18 +00:00
Tim Deegan
0bf25ed4be
[XEND] Mark save record fd close-on-exec after calling xc_restore
...
so that qemu doesn't end up with an open fd on it
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-03-14 12:49:40 +00:00
Tim Deegan
bf8fc36917
[HVM] Save/restore: more state propagation in xend
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-03-13 15:55:37 +00:00
kfraser@localhost.localdomain
60cf5b7783
xm: Allow vcpu-pin to specify 'all' for CPU list.
...
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-03-13 14:56:03 +00:00
Tim Deegan
cdc548f90c
[HVM] Save/restore: update HVM detection in save/restore code in xend.
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-03-12 18:04:04 +00:00
Ewan Mellor
1ad66bcd45
Fix typo in cset 14341:0affe03ee985 that broke migration.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-11 22:42:22 +00:00
Ewan Mellor
2cb49001bc
Added an VM_HVM_REQUIRED error code, and use it on VM.start.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-10 23:22:00 +00:00
Ewan Mellor
abc324d48f
Replace VM.platform_{std_VGA,serial,localtime,clock_offset,enable_audio} with
...
a single VM.platform String -> String Map.
Propogate this change through to XendDomainInfo and image so that the
backwards compatibility is handled by XendConfig.
Make PCI_bus a read-write field.
Added C bindings for these changes also.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-10 21:48:22 +00:00
Ewan Mellor
f7f8f5e39d
Remove obsolete tpm_backend entry.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-10 21:43:07 +00:00
Ewan Mellor
9b9c64266b
Fix VM.set_actions_after_{reboot,shutdown}.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-10 21:41:58 +00:00
Ewan Mellor
e8943dc06d
Fix "no such domain" error message from domain_lookup.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-10 20:20:24 +00:00
Ewan Mellor
0549b00834
Remove some excessive debug logging.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-10 20:18:17 +00:00
Ewan Mellor
6c6d5f75de
Don't show the usage message for "domain does not exist" errors.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-10 19:57:35 +00:00
Ewan Mellor
e07fd1a3da
Improve xm shell tab completion.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-10 16:38:18 +00:00
kfraser@localhost.localdomain
e1bc13a960
xm: New command 'debug-keys' to inject debug-key events into Xen.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-09 11:11:59 +00:00
Ewan Mellor
81c452f998
Make the VTPM.destroy method return 'void' upon success and adapt the
...
test case to reflect that.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-03-09 02:32:52 +00:00
Ewan Mellor
99598dfc8a
Improve error message.
...
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-09 01:59:59 +00:00
Ewan Mellor
d0a005909a
Remove VDI.set_SR -- this was always unimplemented, and pretty mad.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-09 01:25:43 +00:00
Ewan Mellor
45e2bb215f
Fix duplicate consts around xc_error declarations.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-08 22:33:47 +00:00
Tim Deegan
8ae71c0646
[HVM] Save/restore: tidy PFN handling in the tools.
...
Make the differences clearer between the number of frames, the max PFN
and the size of the pfn array, and handle te framebuffer more cleanly.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-03-08 16:40:35 +00:00
kfraser@localhost.localdomain
c53fa753e2
xend: Platform feature 'multiprocessor suspend' is x86-only for now.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-08 14:57:33 +00:00
kfraser@localhost.localdomain
88d253f238
xend: more flexibility in gathering data from /proc/cpuinfo
...
Add ia64 mapping for cpuinfo data and make the case where #vcpu !=
#pcpu more flexible (don't rely on cpu0 existing).
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2007-03-06 11:53:37 +00:00
Christian Limpach
85afb99cda
[tools] Import ptsname from its new location (after cset 14259:7f0d8e3c538e).
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-03-05 22:42:13 +00:00
kfraser@localhost.localdomain
d7ee1f5383
Move ptsname module under tools/python.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-05 18:54:26 +00:00
Christian Limpach
98b8fba136
[tools] Use auxbin.py to determine libpath at build time.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-03-05 16:43:12 +00:00
kfraser@localhost.localdomain
b3abd36a51
VM.actions_after_[shutdown|reboot|suspend|crash] were not set properly
...
in VM record returned via Xen API.
This patch fixes typos in key name for these fields.
Signed-off-by: Jim Fehlig <jfehlig@novell.com >
2007-03-05 13:18:28 +00:00
kfraser@localhost.localdomain
47a066703b
xend: Fix startup when dom0 does not see all physical cpus.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-02 15:08:26 +00:00
kfraser@localhost.localdomain
573e20d4bc
xend: Catch VmError exception when creating a domain and do
...
appropriate cleanup.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-03-02 14:57:18 +00:00
kfraser@localhost.localdomain
a7c824cbf1
tools: Advertise save/restore multiple VCPU contexts capability.
...
This capability means that save/restore will remember contexts of all
online VCPUs at the time of final guest suspend. Any initialised but
offline VCPUs will not be saved!
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-02 12:11:10 +00:00
kfraser@localhost.localdomain
279a6c16e6
Fix Xend domain_lookup error report when looking up an invalid
...
domain: raise the correct error code (XendInvalidDomain instead of
XendError). Also remove redundance exception code that is handled by
domain_lookup.
Signed-off-by: Yung Giang <ygiang@gmail.com >
2007-03-01 13:48:31 +00:00
kfraser@localhost.localdomain
c70b3e5890
More PV save/restore fixes.
...
Related changesets:
14148:b67c253d1cdb4f502dec2
13519:b4a8000e76db6b4b27341
These three changesets must be applied as a set!
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-28 14:13:09 +00:00
kfraser@localhost.localdomain
72e4f39c3f
Loop on actual elfnote array size rather than depending on ELFNOTE_MAX
...
macro.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-28 09:44:59 +00:00
kfraser@localhost.localdomain
1066e48e86
Add xm save -c/--checkpoint option
...
xm save --checkpoint leaves the domain running after creating the
snapshot.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca >
2007-02-28 09:39:23 +00:00
kfraser@localhost.localdomain
e5d4e1285c
Let xend choose to do hard or soft domain resumption depending on
...
whether the domain advertises support for soft resumption in its
elfnotes.
Signed-off-by: Brendan Cully <brendan@kublai.com >
2007-02-28 09:39:03 +00:00
kfraser@localhost.localdomain
5f7ac4f0bc
Fix off-by-one preventing the last elfnote from being read in xc.c.
...
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca >
2007-02-28 09:38:14 +00:00
kfraser@localhost.localdomain
e60659a59b
Accelerate IDE PIO on HVM/IA64 [2/3]
...
Add one more page to the guest for IDE PIO.
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com >
2007-02-27 15:34:24 +00:00
Ewan Mellor
9b981ee160
Fix exception handling to cope with exceptions that do not have a string as
...
the first argument.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-27 11:19:25 +00:00
Ewan Mellor
6bd6a1390e
Fix missing bits of the docs from cset 14020, and match that change by removing
...
the similar fields on host_metrics, PIF_metrics, and VM_guest_metrics.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-27 01:52:27 +00:00
Ewan Mellor
b33bb1e4d9
Implementation of host_metrics.get_all, PIF_metrics.get_all, and docs and
...
bindings for many of the get_all methods elsewhere that Xend already
implemented.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-27 01:05:32 +00:00
Ewan Mellor
d8309d27a1
Added some more fields to host_cpu.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-27 00:37:27 +00:00
Ewan Mellor
9923350256
Add argument check for xm network-attach command
...
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-02-26 15:50:50 +00:00