Commit Graph
14577 Commits
Author SHA1 Message Date
kfraser@localhost.localdomain 2ebb7bdf0d linux: Fix a compiler warning (unused local variable).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-27 11:54:16 +01:00
kfraser@localhost.localdomain cc336e504b hvm svm: Rename svm_do_vmmcall_reset_to_realmode() and some small
cleanups.
Signed-off-by: Mats Petersson <mats.petersson@amd.com>
2007-03-27 11:53:07 +01:00
kfraser@localhost.localdomain 08361fe2b2 [ACM] Check offset to be within the buffer's size
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-03-27 11:50:43 +01:00
kfraser@localhost.localdomain 8c832af369 Fix time reporting to guest.
The recent change to guest time handling dropped a call to
update_vcpu_system_time(), leading to time-went-backwards messages and
guest hangs (the latter were observed only in 2.6.21-rc4 and only when
no serial console was in use).

Debugging the issue also revealed that some commented out debug
printk-s in x86's time handling code didn't compile under x86-64.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-27 11:47:20 +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
kfraser@localhost.localdomain 8f5c223257 Fix push/jmp/call <reg/mem> to check whether the operand is register
or memory when expanding the operand to 8 bytes on x86/64.

Based on original patch by Dexuan Cui <dexuan.cui@intel.com>

Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-27 11:20:55 +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 54a101a7dd Make 06_destroy_dom0_neg pass with xm via XenAPI.
Make check case insensitive.

signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-26 16:18:16 +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 1bf63f099d This patch replaces tab with 4 whitespaces in xensec_gen/main.py.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2007-03-26 14:10:19 +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 f7683bdacd Ignore .pc (quilt patch queues).
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 13:57:43 +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
Tim Deegan 868b41cadf [HVM] Fix comments
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-03-26 09:16:04 +00:00
Tim Deegan 0f9a40c194 [HVM] Intercept ACPI pm-timer registers
Bring the PM1a_STS and PM1a_EN registers into Xen and use them to deliver
SCI to the guest before it sees the MSB of the pm-timer change.
Also correct some of the semantics of the registers.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-03-26 09:13:03 +00:00
Ewan Mellor a166ff93f8 Fix VM.resume/suspend docs.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 01:13:16 +01:00
Ewan Mellor f3e6380659 Mark host. and PIF.metrics fields as ROrun, to match VIF, VM, and VBD.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 01:02:18 +01:00
Ewan Mellor ab49221978 Create the new VM with the default crash behaviour set.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 00:40:34 +01:00
Ewan Mellor 0b438dc835 Replace tabs with spaces.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 00:30:10 +01:00
Ewan Mellor 275caa6d09 Added I/O debugging mode.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 00:17:17 +01:00
Ewan Mellor c664b94562 Fix memory values -- they should be in bytes.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 00:16:40 +01:00
Ewan Mellor 5382908367 Tidy up use of stdout vs stderr.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 00:12:19 +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 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