Ewan Mellor
fccf5da0dd
Expose the method-listing call as host.list_methods.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-04 18:42:20 +01:00
Ewan Mellor
3a7400aa86
Remove docs and bindings for unimplemented VDI.resize and VDI.snapshot.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-04 15:00:57 +01:00
Ewan Mellor
f521621420
Send INTERNAL_ERROR rather than ERROR_TODO if device creation fails.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-04 14:53:52 +01:00
Ewan Mellor
5adf114d68
Remove docs and bindings for unimplemented SR.{create,destroy,clone}.
...
Implement PBD class, matching existing docs and bindings.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-04 14:49:38 +01:00
kfraser@localhost.localdomain
6b5e36a305
linux: improve x86 page table handling performance
...
Where possible,
- use hypercalls instead of writing to read-only pages
- fold TLB flushes into page table update hypercalls
- on PAE, use single-access updates instead of two-access ones
The single change to PAE pte_clear() yields a 25-30% boost for kernel
builds on a 4x2x2 CPUs, 8Gb box; the other changes together yield
improvements of 2-5%.
Also, adjust backward compatibility handling in a few more places.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-04-05 09:10:33 +01:00
kfraser@localhost.localdomain
c937f696d7
linux/x86-64: fix unwind information
...
Mostly adjusting mis-merges dating back to the 2.6.14 merge.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-04-05 08:59:12 +01:00
kfraser@localhost.localdomain
c93368e0fb
linux: make compatibility config options more scalable
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-04-05 08:58:32 +01:00
kfraser@localhost.localdomain
94dbe171ab
hvm: MMIO decoder rename local variable 'diff' to 'result'.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-05 08:46:54 +01:00
kfraser@localhost.localdomain
85996f3ad2
hvm: Fix EFLAGS setting in MMIO decoder/emulator.
...
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com >
2007-04-05 08:44:55 +01:00
kfraser@localhost.localdomain
196c25ad4d
xen: No use of packed attribute in public headers.
...
Signed-off-by: Jerone Young <jyoung5@us.ibm.com >
2007-04-05 08:43:21 +01:00
kfraser@localhost.localdomain
345eaaaa9e
xen: Fix typo in ns16550 driver.
...
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com >
2007-04-05 08:42:34 +01:00
Steven Hand
1b46e1faf3
Fix hvm balloon driver; missed this hunk in last checkin.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2007-04-05 08:24:56 +01:00
Steven Hand
af6b4b22c2
Fix comment.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2007-04-05 06:51:53 +01:00
Keir Fraser
7ae14cd969
xen: No need for shadow_drop_references() in remove_page().
...
Because:
guest_physmap_remove_page()
-> p2m_remove_page()
-> set_p2m_entry()
-> paging_write_p2m_entry()
-> shadow_write_p2m_entry()
And shadow_write_p2m_entry() calls sh_remove_all_*() fns.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-04 22:47:20 +01:00
Keir Fraser
ed34f48aa8
Various cleanups and fixes for PV-on-HVM drivers.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-04 21:49:04 +01:00
Steven Hand
1d3e27e802
Initial check-in to support PV balloon driver within HVM guests.
...
Still todo:
- fix mapcache invalidation (should happen in Xen)
- support 32-on-64 mode correctly
Signed-off-by: Steven Hand <steven@xensource.com >
2007-04-04 19:59:10 +01:00
kfraser@localhost.localdomain
79f84ceeb5
hvm: local_events_need_delivery() should take notice of EFLAGS.IF.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-04 19:17:39 +01:00
kfraser@localhost.localdomain
5967572aab
hvm: x86 ioemu-dm does not need a memory-size parameter on the command line.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-04 18:41:42 +01:00
kfraser@localhost.localdomain
6b2fe8aecf
hvm ioemu x86: Avoid assumptions about memory map.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-04 17:58:06 +01:00
kfraser@localhost.localdomain
d5f5ff766f
Clean up save/restore state record handling. No need for Python to
...
read out the 'p2m size' field. Also that field is not needed at all
for HVM guests.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-04 16:34:56 +01:00
kfraser@localhost.localdomain
087d43326a
hvm: Lazy memory allocation during HVM restore. General cleanup and
...
reduce gross assumptions about memory-map layout.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-04 16:18:28 +01:00
Ian Campbell
76de76e0f3
RFLAGS is in a known good state at start of day so no need to explicitly initialize.
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-04-04 15:57:49 +01:00
kfraser@localhost.localdomain
8a54eb9690
hvm svm: Avoid intercepts when accessing a number of architectural MSRs.
...
1. Removes intercept of guest-specific MSRs
MSR_IA32_SYSENTER_{CS,ESP,EIP}, MSR_{L,C,}STAR, MSR_SYSCALL_MASK,
MSR_SHADOW_GS_BASE.
2. Removes code to deal with those intercepts, as well as the
FS/GS-base. Since long_mode_do_msr_read now became essentially a
switch of a single case + default, I removed the entire function and
inlined the remaining single case-statement into the original
MSR-access function.
Signed-off-by: Mats Petersson <mats.petersson@amd.com >
2007-04-04 11:57:28 +01:00
kfraser@localhost.localdomain
0031651ad1
Merge with xen-ia64-unstable.hg
2007-04-04 11:49:37 +01:00
kfraser@localhost.localdomain
f9a4c3e319
hvm: hvm_io_assist() doesn't preoperly make use of its vcpu
...
parameter. Remove it to make it obvious that it can only be called for
the currently-executing vcpu.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-04 11:16:13 +01:00
kfraser@localhost.localdomain
2f0d5385de
xen: Disable foreign-header size check if cross compiling.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-04 11:13:20 +01:00
kfraser@localhost.localdomain
4edabeff5a
Remove hvm_drain_io() hypercall, simplify qemu main loop and do not
...
pause the domain on reboot (not necessary and defeats new deferred
shutdown logic).
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-04 10:42:58 +01:00
Alex Williamson
b5c89a14c0
merge with xen-unstable.hg
2007-04-03 13:04:51 -06:00
Christian Limpach
2bdbd3e193
[hvm] Keep track of time offset between domain time and dom0 time.
...
On each rtc time update from the hvm domain, we send an ioreq request
to qemu which then updates the time offset xenstore entry. The time
offset is preserved across reboot and can be set on domain creation
by setting the rtc_timeoffset variable in a config file.
From: Andrei Petrov <andrei.petrov@xensource.com >
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-04-03 13:22:37 +01:00
Ewan Mellor
9423a78d7f
Added section on Xend's runtime dependencies.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-03 12:22:10 +01:00
kfraser@localhost.localdomain
a9344ed582
xen: Allow vcpus to defer a shutdown request across critical
...
asynchronous operations (in particular, hvm ioreq requests).
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-03 11:44:10 +01:00
Ewan Mellor
9123bf1da6
Remove unused import.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-03 10:36:31 +01:00
kfraser@localhost.localdomain
9bea671737
Fix "xm migrate" hang on failure.
...
If a domain fails to restore, report back an error and close the
connection. This still leaves a confusing error from 'xm migrate' in
many cases, but it's much better than just sitting there.
Signed-off-by: John Levon <john.levon@sun.com >
2007-04-03 09:03:51 +01:00
kfraser@localhost.localdomain
ebecb5a9d3
Fix the ia64 build after save/restore cleanups.
...
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2007-04-03 09:03:03 +01:00
kfraser@localhost.localdomain
f884964985
xend: Map re.compile on hosts_allow for XMLRPCServer.
...
Changeset 14601 removed a re.compile() map on hosts_allow,
hence breaking the tcp xmlrpc api ('str' has no attribute match
in xend-debug.log).
From: Pascal Bouchareine <pascal@gandi.net >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-02 17:34:00 +01:00
kfraser@localhost.localdomain
30afd785f0
hvm vmx: VMX MSR bitmap format and size is VMX-specific, so move its
...
allocation and initialisation into VMX-specific code.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-02 16:59:00 +01:00
kfraser@localhost.localdomain
8a3970eca4
hvm svm: Clear FS/GS base MSR intercepts.
...
Signed-off-by: Mats Petersson <mats.petersson@amd.com >
2007-04-02 16:51:52 +01:00
Steven Hand
e2a44bc7a4
Some save/restore cleanups.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2007-04-02 16:46:52 +01:00
kfraser@localhost.localdomain
970ce2580b
xen: Remove two incorrect assertions.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-02 16:26:23 +01:00
kfraser@localhost.localdomain
f4169cc8d9
xen: Fix x86/64 build.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-02 15:29:42 +01:00
kfraser@localhost.localdomain
eeafc64a2a
xentop: Fix memory leak.
...
Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com >
2007-04-02 13:08:05 +01:00
kfraser@localhost.localdomain
c6c944eabd
hvm hap: Add hap option to user's manual.
...
Signed-off-by: Wei Huang <wei.huang2@amd.com >
2007-04-02 13:06:48 +01:00
kfraser@localhost.localdomain
cabcde1f1c
hvm hap: P2M page table cleanup and bug fix.
...
Force P2M top-level page table to be allocated below 4GB
memory space when Xen is running under PAE mode. Also remove
hap.p2m_freelists because hap mode does not have P2M batch
allocation. The backpointer parameter of hap_alloc() function is
removed since this parameter is unused.
Signed-off-by: Wei Huang <wei.huang2@amd.com >
2007-04-02 13:05:59 +01:00
kfraser@localhost.localdomain
011623229a
xen: Extra %esp tracing on double fault.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-02 11:50:06 +01:00
Keir Fraser
75ba97629b
linux: Remove a few redundant config options. Build util.c for ia64
...
and ifdef out a couple of functions that are not yet fully generic.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-31 19:02:09 +01:00
Keir Fraser
f24c3877e5
linux: Avoid use of ptep_get_and_clear_full name as it's a macro on
...
some architectures.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-31 17:22:46 +01:00
Keir Fraser
3e2ea003c4
libxc: Fix the build with some versions of gcc.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-31 16:52:36 +01:00
Keir Fraser
c15c303a40
linux gntdev: Mark x86-specific code as such with ifdef.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-31 16:39:14 +01:00
Keir Fraser
2746bed0cd
xen x86: Fix double-fault handler stack overflow.
...
1. Shrink stack frame for __print_symbol() by introducing a lock and
making the big arrays static.
2. Double the size of the double-fault stack.
Also fix the show_stack_overflow function.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-31 16:35:02 +01:00
Keir Fraser
6fb7ede847
xend: Implement auto-ballooning for Solaris.
...
/proc/xen/balloon is Linux-specific. Implement a Solaris backend
too. Also fix the FMRI for xend.
Signed-off-by: Ryan Scott <ryan.scott@sun.com >
2007-03-31 14:05:57 +01:00