Keir Fraser
262b481fdf
xen: Do not BUG_ON page count_info in free_domheap_pages().
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-06 14:34:43 +01:00
Keir Fraser
6a86b08773
x86: Do not print anything when we fail to emulate an
...
instruction. This is causing the logs to get spammed with
uninteresting cases.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-06 11:27:36 +01:00
Keir Fraser
e4daaaabe1
PV-on-HVM: A bit more re-jigging so the build gets further against
...
native Linux 2.6.5. It's not quite there still, but closer.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-06 11:17:08 +01:00
Keir Fraser
a15ec0cdeb
minios: Fix xenbus request-id release.
...
From: Jacob Gorm Hansen <jacobg@diku.dk >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-06 10:15:31 +01:00
Keir Fraser
97c4f107f9
ia64: Fix libxenguest build after save/restore interface changes.
...
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2007-04-06 10:14:02 +01:00
Keir Fraser
14f8dcea98
xen: Make bool_t an arch-dep definition, and define macros
...
specifically for atomic test-and-modify operations on bool_t.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-06 10:10:45 +01:00
Ewan Mellor
8a2926fac2
Serialize string string maps.
...
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-04-05 18:47:04 +01:00
Tim Deegan
0c36a653f2
Merge
2007-04-05 18:12:35 +01:00
Tim Deegan
fdcf726e9d
[HVM] Save/restore: qemu-dm should calculate bitmap size from maximum gpfn
...
like xc_save does.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-04-05 18:12:21 +01:00
Ewan Mellor
5fb2ecad2b
Added copyright statement.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-05 17:26:51 +01:00
Ewan Mellor
970381ebbc
Update the datamodel class diagram, and use neato rather than dot, which gives
...
a much better result.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-05 17:22:22 +01:00
Ian Campbell
d814a69187
merge
2007-04-05 15:47:03 +01:00
Ewan Mellor
4355ccfe18
Update cover text. API version 0.9.0.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-05 15:41:04 +01:00
Ian Campbell
93d1b5695a
LINUX: PVonHVM: Fixes to build with kernels back to 2.6.5.
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-04-05 15:38:09 +01:00
Tim Deegan
b6293b0c3a
Merge
2007-04-05 15:11:49 +01:00
Tim Deegan
538a65bcc3
[HVM] Save/restore: merge xc_linux_restore and xc_hvm_restore
...
into one function (and one file) since they share a lot of code
Signed-off-by: Tim Deegan <Tim.Deegan@øensource.com>
--HG--
rename : tools/libxc/xc_linux_restore.c => tools/libxc/xc_domain_restore.c
2007-04-05 15:11:22 +01:00
kfraser@localhost.localdomain
aeb2e1298b
PV-on-HVM: Add new ioreq 'invalidate' for zapping ioemu-dm mapccahe
...
after balloon operations in an HVM guest.
This removes the I/O port hack from the guest OS, and from ioemu.
Also we flush on reservation *increases* as well as decreases. This is
necessary until qemu-dm can demand-fault page mappings into existing
valid buckets.
Signed-off-by: Steven Hand <steven@xensource.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-05 14:29:18 +01:00
kfraser@localhost.localdomain
d222ec47c3
Update hgignore list for Module.symvers
2007-04-05 14:02:55 +01:00
kfraser@localhost.localdomain
71d28ad3d7
PV-on-HVM: update build config overrides.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-05 13:41:18 +01:00
kfraser@localhost.localdomain
216379bb55
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 13:40:43 +01:00
Ewan Mellor
8f38cefadc
Remove task.error_code -- it's redundant, as we can use the first element of
...
task.error_info instead.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-05 13:35:54 +01:00
kfraser@localhost.localdomain
880b3023d4
Revert 14730:07d3208c0ca3b6e746745d2bc08f7aa12ed39269.
...
Breaks the x86/64 build with (at least) gcc 3.4.4.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-05 11:58:02 +01:00
kfraser@localhost.localdomain
e1290b1524
linux: simplify and perform checking of multicall status
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-04-05 10:43:50 +01:00
Ewan Mellor
c342161cbd
Remove unimplemented host.set_sched_policy.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-04 18:50:11 +01:00
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