Ewan Mellor
d4eac439d5
Fix the VM.is_a_template flag for domain 0.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-26 00:09:00 +01:00
Ewan Mellor
9c052c30d6
Implement session.last_active, session.this_host, session.get_record,
...
session.get_uuid.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-26 00:08:13 +01:00
Ewan Mellor
231f7bf638
Added C bindings and docs for recent addition VM.set_VCPUs_number_live.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-25 22:17:30 +01:00
Ewan Mellor
669b95b0a5
Remove stillborn DTD section, in favour of an upcoming new doc for the xm
...
create DTD.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-25 16:47:18 +01:00
Ewan Mellor
7984b6bc71
Workaround buggy GCCs wrt strftime.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-23 17:51:24 +00:00
Ewan Mellor
7beb8f32c1
Don't use the client-side shortcut for get_uuid calls -- we need to keep
...
handles and UUIDs conceptually separate.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-23 17:50:18 +00:00
Ewan Mellor
d043ecebc5
Ignore exceptions in the get_all_methods call.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-23 17:42:08 +00:00
Ewan Mellor
23feb407a1
Add VM.set_memory_dynamic_*_live methods, and use those in xm mem-set.
...
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-23 17:14:22 +00:00
Ewan Mellor
31ec6ab111
Release the domains_lock properly when get_dev_property_by_uuid fails.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-23 16:54:34 +00:00
Tom Wilkie
ea178f69d5
Fix rebooting domains problem with new internal memory storage
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-23 15:10:46 +00:00
Ewan Mellor
f38e3b431b
Add a last_updated field to every metrics class.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-23 13:27:29 +00:00
Ewan Mellor
6dcfe86140
Implement parsing of datetimes.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-23 13:26:08 +00:00
Ewan Mellor
07b55ea54a
Return an error when a schedule-setting call fails.
...
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-03-23 11:52:09 +00:00
Ewan Mellor
96e8ce6655
Since CPP is being used with CFLAGS, it should be in lock-step with CC,
...
to avoid having to specify both CC and CPP for the build.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-03-23 11:32:32 +00:00
Ewan Mellor
a48a059e84
Fix typos.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-23 11:12:25 +00:00
Ewan Mellor
69869aa632
Replace tabs with spaces.
...
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-03-23 11:11:41 +00:00
Ewan Mellor
761bc92430
Fix state in xm list; add state to VM_metrics class.
...
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-23 11:04:51 +00:00
Ewan Mellor
a24516689f
Fix xenapi_create re: Multiple VIFs for test 04_restore_withdevices_pos
...
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-23 11:00:08 +00:00
Ewan Mellor
a28f499e56
Make xm save / restore talk XenAPI; add save / restore to VM class.
...
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-23 10:59:49 +00:00
Tim Deegan
7133144e3a
Remove xc_shadow tool
...
It predates the current shadow architecture and only performs an explicitly
invalid shadow operation (on itself).
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-03-23 10:46:39 +00:00
kfraser@localhost.localdomain
0224747e51
Merge with xen-ia64-unstable.hg
2007-03-23 10:11:58 +00:00
Ewan Mellor
c375307638
Implemented host.get_PIFs.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-22 19:04:45 +00:00
Ewan Mellor
607c0a827e
Fix the parsing of the is_a_template and auto_power_on flags. Don't try to
...
read the disk size on create -- just pass -1 instead -- as the filename may
be munged on the server-side.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-22 18:41:15 +00:00
Ewan Mellor
1d005ae159
Fix the handling of the transient flag.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-22 18:40:20 +00:00
Ewan Mellor
828004d171
Remove duplicate memory values from the SXP.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-22 18:37:37 +00:00
Ewan Mellor
9a0b8303dc
Fix VM.is_a_template.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-22 18:36:53 +00:00
Ewan Mellor
657d3fa3dd
Match the name change for the QCoW SR.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-22 17:04:55 +00:00
Ewan Mellor
5feb9722db
Fixes to XendQCoWStorageRepo to match recent API changes, and fix the refreshing
...
after a VDI is deleted.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-22 17:02:02 +00:00
Ewan Mellor
7af644b697
Add VM_metrics.start_time, and use this to implement xm uptime through the
...
Xen-API.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-22 16:32:18 +00:00
awilliam@xenbuild2.aw
5ea306faca
merge with xen-unstable.hg
2007-03-22 09:30:54 -06:00
awilliam@xenbuild2.aw
664ebb9efc
[IA64] Improve error message when HVM domain creation failed
...
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-03-22 09:28:05 -06:00
Ewan Mellor
93fdf19076
Update VM's VCPU handling to match the documentation wrt VCPUs_max and
...
VCPUs_at_startup. Add VM.set_VCPUs_number_live, VM.add_to_VCPUs_params_live,
VM_metrics.VCPUs_{CPU,flags,params}.
Use these new calls to implement xm vcpu-list and xm sched-credit through
the Xen-API. Mark a number of other calls as unimplemented through that API.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-22 14:31:03 +00:00
Ewan Mellor
830355957c
Fix marshalling of Xen-API maps with non-string keys.
...
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-22 14:27:05 +00:00
Ian Campbell
630a9be9d0
[TOOLS] libxc: Fix x86 build.
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-03-22 12:22:16 +00:00
kfraser@localhost.localdomain
33ca4e4b54
Merge with xenppc-unstable-merge.hg
2007-03-21 23:59:03 +00:00
Hollis Blanchard
001e8c5cd8
Merge with xen-unstable.hg.
...
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com >
2007-03-21 18:08:31 -05:00
Hollis Blanchard
a7706a8de0
[LIBXC][POWERPC] Use new domain builder.
...
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com >
2007-03-21 17:03:00 -05:00
Hollis Blanchard
cb8cdc98fd
[POWERPC][LIBXC] Remove Prose builder.
...
It is no longer being maintained and probably shouldn't have existed in the
first place, since it was almost identical to xc_linux_build.c.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com >
2007-03-21 17:03:00 -05:00
Hollis Blanchard
ba5aedc193
[LIBXC] Allocate memory and populate p2m in arch-specific code.
...
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com >
2007-03-21 17:02:59 -05:00
Hollis Blanchard
06aaae8408
[LIBXC] Move domain builder hooks into arch-specific files and remove ifdefs.
...
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com >
2007-03-21 17:02:59 -05:00
Hollis Blanchard
b09b06b6de
[POWERPC][XEN] Fix "xc_core" build break. Untested but might work.
...
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com >
2007-03-21 17:02:59 -05:00
Hollis Blanchard
0a27cae221
[POWERPC][XEN] Implement arch_get_xen_caps().
...
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com >
2007-03-21 17:02:59 -05:00
Hollis Blanchard
4b770b7bed
[POWERPC][XEN] Use correct register set in dump_execution_state().
...
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com >
2007-03-21 17:02:59 -05:00
Hollis Blanchard
79bbad27d3
[POWERPC][XEN] Quiet timebase synchronization at boot.
...
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com >
2007-03-21 17:02:59 -05:00
Hollis Blanchard
48fd46e71f
[POWERPC][XEN] Clear the RMA flag on freed pages.
...
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com >
2007-03-21 17:02:59 -05:00
Tim Deegan
2ccced7b73
[XEN] Shadow: check the _PAGE_PRESENT bit in fast-path MMIO shadow ptes
...
otherwise the fast-path code is not safe against some kinds of
concurrent shadow updates.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-03-21 17:17:08 +00:00
Ewan Mellor
9639f3da4f
Change xm dmesg -c so that it prints out the current buffer as well as clearing
...
it. This avoids a race so that you don't lose messages, matches the behaviour
of the hypercall, and the Unix dmesg command.
Change the Xen-API binding to use a separate function host.dmesg_clear rather
than a flag on host.dmesg.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-21 12:03:42 +00:00
Ian Campbell
27c451323a
LINUX: x86_64: start_pfn should be initialised even when XENFEAT_auto_translated_physmap is set.
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-03-21 08:51:51 +00:00
awilliam@xenbuild2.aw
ebdb5845be
merge with xen-unstable.hg
2007-03-20 15:19:38 -06:00
Ewan Mellor
5b3327347f
Raise an exception in xm_block_detach if using Xen-API and it fails -- this
...
ensures that the exit status properly set.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-20 17:36:18 +00:00