Keir Fraser
0ccfc15fae
ioemu: Better fix for SB16 infinite looping.
...
Qemu upstream solves "Fix an infinite loop in the emulated SB16
device" issue differently as stated in [2]
[1] http://xenbits.xensource.com/xen-3.1-testing.hg?rev/4b22d472bda6
[2] http://lists.gnu.org/archive/html/qemu-devel/2008-01/msg00709.html
Signed-off-by: S. Caglar Onur <caglar@pardus.org.tr >
2008-01-30 09:33:26 +00:00
Keir Fraser
4607daebbb
vtpm: Small makefile fix.
...
Signed-off-by: Jason Andryuk <the_deuce@yahoo.com >
2008-01-30 09:31:35 +00:00
Keir Fraser
7b12579460
minios: Fix bug when blkfront reading into zero-mapped buffer
...
by just poking the page.
No need to use virtual_to_mfn() for the ring since that is a real page.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com >
2008-01-29 15:18:27 +00:00
Keir Fraser
34d2cb5d8d
xend: Fix building PV guests after introducing new HVM-HAP config option.
...
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2008-01-29 15:16:35 +00:00
Keir Fraser
1ab2675b0c
xend: Obey localtime config option for HVM guests as well as PV guests.
...
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2008-01-29 15:15:51 +00:00
Keir Fraser
e0979793ea
x86, hvm: Add a per-domain parameter to specify shadow or hap.
...
Signed-off-by: Xu Dongxiao <dongxiao.xu@intel.com >
2008-01-29 13:46:16 +00:00
Keir Fraser
53a11bbde4
x86: Fix shadow pinning logic (for PV live relo).
...
From: Tim Deegan <Tim.Deegan@citrix.com >
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2008-01-29 11:50:30 +00:00
Keir Fraser
c8e525b16b
x86: Fix HVM hypercall preemption causing guest crash.
...
Signed-off-by: Yu Zhao <yu.zhao@intel.com >
2008-01-29 11:47:42 +00:00
Keir Fraser
68bd84ba36
ioemu: Add support for e100 nic save/restore.
...
Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com >
2008-01-29 11:45:15 +00:00
Keir Fraser
0e51074c4b
x86: Fix XENPF_change_freq hypercall to not dereference a non-existent
...
stack variable. Also sanity check (slightly) the frequency argument to
cpu_frequency_change().
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2008-01-29 11:19:04 +00:00
Keir Fraser
72dc889885
x86: Fix 16889:60bb765b25b5 in a couple of respects:
...
1. Leave bottom-most 1MB permanently mapped.
2. ACPI-table mapping code shoudl be aware that mappings above 1MB of
non-RAM are not permanent.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2008-01-29 09:36:37 +00:00
Keir Fraser
eac4b98d11
minios: Fix ia64 build.
...
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com >
2008-01-28 12:58:57 +00:00
Keir Fraser
47b4b84737
Update hgignore list now that tools/libxc/xen/ no longer exists.
2008-01-28 12:04:38 +00:00
Keir Fraser
b816828e04
firmware: Use new path to xen public headers.
...
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2008-01-28 12:03:02 +00:00
Keir Fraser
79902f7c4f
vmx realmode: Multiple I/O reads to qemu in an instruction is not
...
allowed. But we do allow, for example, a read followed by a write
(e.g., MOVS within video RAM).
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2008-01-28 11:28:55 +00:00
Keir Fraser
4376c05c31
x86-64: use 1GB pages in 1:1 mapping if available
...
At once adjust the 2/4Mb page handling slightly in a few places (to
match the newly added code):
- when re-creating a large page mapping after finding that all small
page mappings in the respective area are using identical flags and
suitable MFNs, the virtual address was already incremented pas the
area to be dealt with, which needs to be accounted for in the
invocation of flush_area() in that path
- don't or-in/and-out _PAGE_PSE on non-present pages
- when comparing flags, try minimse the number of l1f_to_lNf()/
lNf_to_l1f() instances used
- instead of skipping a single page when encountering a big page
mapping equalling to what a small page mapping would establish, skip
to the next larger page boundary
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2008-01-28 10:17:05 +00:00
Keir Fraser
b124770528
Make check-libext2fs cross-friendly
...
check-libext2fs was calling host gcc; pass $CC from Makefile
so it can call the cross-compiler instead.
Signed-off-by: Aron Griffis <aron@hp.com >
2008-01-28 09:33:57 +00:00
Keir Fraser
21ffff5e7f
Move remaining xen/include/public/foreign files to tools/include/xen-foreign
...
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
--HG--
rename : xen/include/public/foreign/mkchecker.py => tools/include/xen-foreign/mkchecker.py
rename : xen/include/public/foreign/mkheader.py => tools/include/xen-foreign/mkheader.py
rename : xen/include/public/foreign/reference.size => tools/include/xen-foreign/reference.size
rename : xen/include/public/foreign/structs.py => tools/include/xen-foreign/structs.py
2008-01-27 17:25:56 +00:00
Keir Fraser
db52d0daeb
Remove machine setting from HOSTCFLAGS.
...
The host compiler must know how to produce runnable binaries without
special settings.
Signed-off-by: Bastian Blank <waldi@debian.org >
2008-01-27 17:05:47 +00:00
Keir Fraser
be2423d575
xenstore headers also need public includes.
...
Signed-off-by: Bastian Blank <waldi@debian.org >
2008-01-27 17:05:05 +00:00
Keir Fraser
aa0833890b
libxc: Push parallel build of libraries down to a new phony target, as
...
'build' is already loaded with library dependencies on ia64.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2008-01-27 17:03:35 +00:00
Keir Fraser
ef3d5e2dfa
Fix ia64 public headers installation typo.
...
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2008-01-27 16:44:04 +00:00
Keir Fraser
29588460f3
Do not special-case native architecture in mkchecker.py.
...
From: Bastian Blank <waldi@debian.org >
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2008-01-27 13:03:10 +00:00
Keir Fraser
0814322de3
Update hgignore for tools/include/xen/*
2008-01-27 12:59:30 +00:00
Keir Fraser
3faece79e4
Define CFLAGS and LDFLAGS for libxenstore.
...
Signed-off-by: Bastian Blank <waldi@debian.org >
2008-01-27 12:58:15 +00:00
Keir Fraser
7308e97492
Define CFLAGS and LDFLAGS for libxenguest.
...
Signed-off-by: Bastian Blank <waldi@debian.org >
2008-01-27 12:58:02 +00:00
Keir Fraser
ad44c013ec
Define CFLAGS and LDFLAGS for libxenctrl.
...
Signed-off-by: Bastian Blank <waldi@debian.org >
2008-01-27 12:57:14 +00:00
Keir Fraser
9f602ddea9
libxc: Remove duplicate zlib check.
...
It is already checked in tools/check/check_zlib.
Signed-off-by: Bastian Blank <waldi@debian.org >
2008-01-27 12:53:56 +00:00
Keir Fraser
c9e44046d7
tools: Merge clean and distclean target.
...
Signed-off-by: Bastian Blank <waldi@debian.org >
2008-01-27 12:53:35 +00:00
Keir Fraser
8b3a267f87
Hypervisor build subsystem does not need COMPILE_ARCH/COMPILE_SUBARCH.
...
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2008-01-27 12:49:42 +00:00
Keir Fraser
429841cd51
Add check to subdirs.
...
Also make sure that the install target doesn't call the install check.
Signed-off-by: Bastian Blank <waldi@debian.org >
2008-01-26 15:27:18 +00:00
Keir Fraser
9b74c5ff1c
Add ioemu to subdirs.
...
ioemu is handled different because of the configure setup.
Signed-off-by: Bastian Blank <waldi@debian.org >
2008-01-26 15:26:55 +00:00
Keir Fraser
edd7911723
Call makefile recursively for subdirs.
...
This makes it possible to handle subdirs differently.
Signed-off-by: Bastian Blank <waldi@debian.org >
2008-01-26 15:26:41 +00:00
Keir Fraser
64ab2aa0f8
Remove tools/guest-headers; no longer needed.
...
Signed-off-by: Bastian Blank <waldi@debian.org >
2008-01-26 15:26:15 +00:00
Keir Fraser
e0db36bcdd
Move xen/foreign build out of tree setup.
...
Signed-off-by: Bastian Blank <waldi@debian.org >
2008-01-26 14:44:30 +00:00
Keir Fraser
18b04c04ee
Use real source files for xen/foreign build.
...
Signed-off-by: Bastian Blank <waldi@debian.org >
2008-01-26 14:43:47 +00:00
Keir Fraser
34673e4986
Move xen/sys parts down to tools/include/xen-sys.
...
Signed-off-by: Bastian Blank <waldi@debian.org >
2008-01-26 14:42:55 +00:00
Keir Fraser
73de243b92
Add PRIVATE_BINDIR. Use it.
...
Signed-off-by: Bastian Blank <waldi@debian.org >
2008-01-26 14:42:03 +00:00
Keir Fraser
41a5d4c1fe
Also install xen/sys into headers.
...
Signed-off-by: Bastian Blank <waldi@debian.org >
2008-01-26 14:41:39 +00:00
Keir Fraser
c22615b9ae
x86: When Xen is notified that CPU frequency has changed, do not trust
...
the current TSC-extrapolated time when we re-sync.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2008-01-26 11:29:29 +00:00
Keir Fraser
b9b6a9658d
Inroduce new vcpu_lock_affinity() and vcpu_unlock_affinity() helper
...
functions for use by x86's continue_hypercall_on_cpu().
This has two advantages:
1. We can lock out ordinary vcpu_set_affinity() commands from dom0.
2. We avoid the (in this case bogus) check for dom0_vcpus_pin.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2008-01-26 11:25:48 +00:00
Keir Fraser
03bb50b276
Remove commented-out dropping from previous changeset.
...
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2008-01-26 10:39:58 +00:00
Keir Fraser
be5fbf9a7f
Move generation of public header hierarchy into the tools.
...
This patch merges the two versions of public header generation
currently used in the build into one.
Signed-off-by: Bastian Blank <waldi@debian.org >
2008-01-26 10:38:44 +00:00
Keir Fraser
bc4a5b7bf5
blktap: Clean up makefile and linked libs.
...
Signed-off-by: Bastian Blank <waldi@debian.org >
2008-01-26 10:17:33 +00:00
Keir Fraser
22d4eec911
Changeset 16771 introduced a new file called tools/check/funcs.sh. This
...
file needs to be installed into distdir together with the check scripts.
Signed-off-by: Frank Arnold <frank.arnold@amd.com >
2008-01-26 10:16:21 +00:00
Keir Fraser
111eac9793
Use VPATH instead of symlinks for libelf inclusion into libxenctrl.
...
Signed-off-by: Bastian Blank <waldi@debian.org >
2008-01-26 10:15:38 +00:00
Keir Fraser
13ac8fbdc8
Update XenAPI version number, changelog, and cover sheet.
...
Signed-off-by: Jim Fehlig <jfehlig@novell.com >
2008-01-25 16:30:34 +00:00
Keir Fraser
e4dd91ea85
x86: Ensure RAM holes really are not mapped in Xen's ongoing 1:1 physmap.
...
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2008-01-25 16:26:31 +00:00
Keir Fraser
c642b86f9b
x86: First 1MB of memory should be mapped with 4kB mappings to avoid
...
conflict with fixed-range MTRRs. While there, we now map the VGA hole
as uncacheable.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2008-01-25 16:02:20 +00:00
Keir Fraser
4eb25830f3
x86: Clarify early_page_fault() handler intent, and improve debug tracing.
...
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2008-01-25 13:42:36 +00:00