Commit Graph
14568 Commits
Author SHA1 Message Date
Alex Williamson c845f0bec3 [IA64] Trigger memory scrub
Continuous domain creation can sometimes fail by running out of
scrubbed pages.  Trigger it similar to x86.

Signed-off-by: Zhang xiantao <xiantao.zhang@intel.com>
2007-03-30 10:25:16 -06:00
Alex Williamson f8d6ae67d5 [IA64] Cleanup vcpu *d
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
2007-03-30 10:21:17 -06:00
awilliam@xenbuild2.aw 9f1f36509c merge with xen-unstable.hg 2007-03-27 12:21:48 -06:00
awilliam@xenbuild2.aw a9e94e0692 [IA64] Remove debugger calls from panic_domain()
These hang when compiled with crash_debug=y

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
2007-03-27 09:07:51 -06:00
awilliam@xenbuild2.aw 9b895b20a2 merge with xen-unstable.hg 2007-03-26 10:10:31 -06:00
awilliam@xenbuild2.aw 5b73247b5a [IA64] Remove P2M workaround
The ia64 p2m semantic is now fixed. remove unnecessary work around patch.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-03-26 09:17:25 -06:00
awilliam@xenbuild2.aw 774e007a1c [IA64] Make P2M semantics match x86
So far the ia64 p2m has the semantic similar to
(the x86 p2m) + (page reference count).
But the differece from the x86 p2m have caused the breakage and work around.
This patch make the ia64 p2m semantic same as x86 to solve it.
- get_page() only for grant table page mapping and foreign domain page
  mapping.
- put_page() only for those pages.
- guest_physmap_remove_page() doesn't touch PGC_allocated bit.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-03-26 09:15:17 -06: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
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