kfraser@localhost.localdomain
08542da82e
Fix 'xm list' long output to skip legacy 'cpus'.
...
Fixes bugzilla report #935 .
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-03-27 16:45:37 +01:00
Ewan Mellor
4d5a404460
Do not issue a warning on XendDomainInfo.recreate for dom0 -- this is normal
...
on a clean machine.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-27 14:34:34 +01:00
Ewan Mellor
6ed1133818
Fix some fields so that they are declared as read-only (always should have
...
been) and implement {VBD,VIF}_metrics.get_all.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-27 14:22:29 +01:00
Tom Wilkie
95303f6196
Fix typo in VIF_metrics_methods in XenAPI
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-27 13:45:30 +01:00
Ewan Mellor
a4ae757f0f
Fix the default for the is_a_template flag.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-27 11:31:25 +01:00
Tom Wilkie
38ef20418f
Fix xm network-attach via XenAPI re: paused domain state
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-26 17:22:45 +01:00
Tom Wilkie
17a7dd0661
Fix up xm vcpu-pin via XenAPI, change types of new VM Metrics feilds
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-26 16:48:20 +01:00
Tom Wilkie
c549108730
Fix xm info etc since changes to Session in XenAPI
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-26 16:04:24 +01:00
Tom Wilkie
70a47391ce
Add option to xm create to skip DTD checks.
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-26 15:09:24 +01:00
Tom Wilkie
dd6bd5adf4
Add autodetect to xm create for xml files
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-26 14:57:12 +01:00
Ewan Mellor
4d3817aae9
Convert XendPIFMetrics into an autoplug class.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-27 00:54:05 +01:00
Ewan Mellor
4b24edbf8b
Convert XendVMMetrics into an autoplug class. Tidy up our destroy methods
...
on the way -- metrics classes cannot be destroyed.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-27 00:48:46 +01:00
Ewan Mellor
99b271fd7d
Added network.other_config map. To make this easier, add a new automatic
...
plumbing facility from the XendNetwork class into XendAPI (credit to Tom
Wilkie for the idea).
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-27 00:19:20 +01:00
Ewan Mellor
6b8760eaba
Trivial tidyup.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-27 00:15:07 +01:00
Ewan Mellor
c24f98944d
Don't set memory_dynamic_max when xm mem-set is called. Save the VM
...
configuration unconditionally when either the max or the target memory values
are set.
Thanks to Masaki Kanno for pointing out the first problem.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-26 14:09:36 +01:00
Ewan Mellor
c322cc7717
Fix xm mem-set on non-running domains. Closes bug #934 .
...
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-03-26 13:59:36 +01:00
Ewan Mellor
10e9ec0d21
Fix the xm mem-max command. Closes bug #933 .
...
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-03-26 13:50:33 +01:00
Tom Wilkie
09502ab38f
Make 05_block_attach_and_dettach_device_repeatedly_pos pass on xm via XenAPI
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-26 13:46:07 +01:00
Tom Wilkie
6f9deffd5b
Fix vbd_create etc, add devices to paused domains
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-26 13:29:27 +01:00
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
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
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
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
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
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
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
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
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
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
Ewan Mellor
5ce79470d8
Fix xm network-list through the Xen-API for managed domains.
...
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-20 17:34:34 +00:00
Ewan Mellor
f7bff36895
Fix xm block-list through the Xen-API for managed domains.
...
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-20 17:33:35 +00:00
Ewan Mellor
3d9330324c
Make xm trigger talk XenAPI; add send_trigger to VM class.
...
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-20 17:30:52 +00:00
Ewan Mellor
8ed7e86d16
Make xm debug-keys talk XenAPI; Add send_debug_keys to host
...
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-20 17:30:05 +00:00
Ewan Mellor
9aa2765862
Tidy the error message from getDomains when using the Xen-API and no domain
...
is found.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-20 16:55:29 +00:00
Ewan Mellor
f6c7de277c
Fix sxp2xml translation to handle maxmem.
...
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-20 15:15:37 +00:00