kfraser@localhost.localdomain
cf1aa17df0
Remove ERR() macro from libxc. Use ERROR/PERROR as appropriate.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-17 18:05:42 +01:00
kfraser@localhost.localdomain
2373f1b10e
Remove non-existent xc_ptrace_core() from xenctrl.h.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-17 18:00:51 +01:00
kfraser@localhost.localdomain
c0fd920e98
[SOLARIS] Don't build ptrace code on Solaris.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-17 17:59:32 +01:00
kfraser@localhost.localdomain
a36c8be096
[SOLARIS] On sysv platforms, gas defaults '/' to a comment
...
character. Pass in the right option to disable this behaviour, so
Xen's semantics of "divide" apply.
Signed-off-by: John Levon <john.levon@sun.com >
2006-10-17 17:29:19 +01:00
kfraser@localhost.localdomain
37dbdb0a00
[SOLARIS] Fix Xen build. ACPI headers aren't Linux-specific.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-17 17:27:11 +01:00
kfraser@localhost.localdomain
3c498d8230
[SOLARIS] Some makefile fragments expect a better shell than Solaris's /bin/sh,
...
so force bash usage.
Signed-off-by: John Levon <john.levon@sun.com >
2006-10-17 17:19:31 +01:00
kfraser@localhost.localdomain
d61113c5c7
[SOLARIS] On Solaris, GCC is configured to use Sun's LD. Fix the build to use
...
the correct flags, and link against libsocket where necessary.
Signed-off-by: John Levon <john.levon@sun.com >
2006-10-17 17:17:57 +01:00
kfraser@localhost.localdomain
7ffd47fbf6
[SOLARIS] Use GNU grep on Solaris.
...
Signed-off-by: John Levon <john.levon@sun.com >
2006-10-17 16:53:39 +01:00
kfraser@localhost.localdomain
2023a310ed
[SOLARIS] A couple of small fixes to the Makefiles for the kernel tool headers.
...
Signed-off-by: John Levon <john.levon@sun.com >
2006-10-17 16:51:09 +01:00
kfraser@localhost.localdomain
a278bc0ea1
Introduce Makefile config fragments for OS-specific differences.
...
Signed-off-by: John Levon <john.levon@sun.com >
2006-10-17 16:48:05 +01:00
kfraser@localhost.localdomain
6f007b178f
Remove obsolete tool 'mbootpack'. SYSLINUX now supports Multiboot format.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-17 16:13:13 +01:00
kfraser@localhost.localdomain
6794b71355
Ignore tags and cscope from different tools versions, plus .config.
...
Signed-off-by: John Levon <john.levon@sun.com >
2006-10-17 16:10:09 +01:00
kfraser@localhost.localdomain
6311dc03da
Clean up duplication of 'install' macros in the Makefiles.
...
Signed-off-by: John Levon <john.levon@sun.com >
2006-10-17 15:57:05 +01:00
kfraser@localhost.localdomain
fdd8e50cfe
Define -m32/-m64 in LDFLAGS for x86 builds.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-17 15:54:06 +01:00
kfraser@localhost.localdomain
b11b29890d
Don't use -Wunused-value. It's too aggressive with GCC4.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-17 15:53:42 +01:00
kfraser@localhost.localdomain
fb7382a4d9
Added tag 3.0.3-branched for changeset 6ed4368b4a9e1924c983774c4b1a2b6baf8e98a6
2006-10-17 09:59:11 +01:00
kfraser@localhost.localdomain
6c167ac0db
[XENOPROF] Add a lock around the xenoprof hypercall. It mutates global state.
...
Signed-off-by: Markus Armbruster <armbru@redhat.com >
3.0.3-branched
2006-10-15 09:53:20 +01:00
kfraser@localhost.localdomain
3d7a1b3149
[XENOPROF] Fix limit-check overflow.
...
Fix code limiting XENOPROF_get_buffer and XENOPROF_set_passive
argument max_samples so that no more than MAX_OPROF_SHARED_PAGES are
used.
Signed-off-by: Markus Armbruster <armbru@redhat.com >
2006-10-15 09:52:33 +01:00
kfraser@localhost.localdomain
bb4aa56a71
[SHADOW] Trivial whitespace fix to a couple of printf format strings.
...
From: Brendan Cully <brendan@cs.ubc.ca >
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-15 09:21:49 +01:00
kfraser@localhost.localdomain
dae75267fd
[XEND] Check for and fail on non-existent floppy-drive file when starting HVM guest.
...
The qemu device model hangs when a non-existent floppy file is passed
via 'fda' or 'fdb'. The attached patch checks whether the floppy file
exists and raises an error if it does not.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2006-10-15 09:19:26 +01:00
kfraser@localhost.localdomain
b2e0105ec9
[HVM] Fix PIC IO intercept: addresses are physical, not virtual.
...
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com >
Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com >
Signed-off-by: Xin Li <xin.b.li@intel.com >
2006-10-15 09:15:51 +01:00
kfraser@localhost.localdomain
ad5b45d12e
[NET] front: Do not read features from backend until it enters InitWait.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-13 18:04:33 +01:00
kfraser@localhost.localdomain
f5698223fb
[NET] back: Simplify probing of new interfaces. There's no need
...
to watch for creation of the handle node in xenstore, as it is
written by xend when creating the backend directory as part of
the same transaction.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-13 17:10:27 +01:00
kfraser@localhost.localdomain
9606cd400d
[NET] front: No need to read handle field from xenstore. It's not used.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-13 17:07:39 +01:00
kaf24@localhost.localdomain
acc67059cb
[IOEMU] Fix argument to parse_host().
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-13 10:58:29 +01:00
kfraser@localhost.localdomain
6ed92e6110
[HVM][SVM] Use proper name for the K8 VM_CR MSR.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-12 17:53:51 +01:00
kfraser@localhost.localdomain
b3ec0ca6b6
[HVM][SVM] Check if SVM is disabled by the BIOS before enabling it.
...
Newer BIOS implementations will be able to disable the SVM feature,
although an additional test of an MSR (VMCR 0xC0010114 bit 4) is
necessary (set equals disabled). Bit 4 of MSR 0xc0010114 returns 0
(SVM enabled) on machines with older BIOS' without the SVM disable
feature support.
Signed-off-by: Wei Huang <wei.huang2@amd.com >=20
Signed-off-by: Tom Woller <thomas.woller@amd.com >=20
2006-10-12 16:12:10 +01:00
kfraser@localhost.localdomain
e402c82996
[NET] back: Copy tx_ring data before verification
...
We need to make a copy of data from tx_ring before
verifying them as otherwise what we end up using may
be different from what was verified.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au >
2006-10-12 16:09:15 +01:00
kfraser@localhost.localdomain
01c26778f4
[HVM] Fix resource leak in error path of AP bringup.
...
Based on a patch from Kouya Shimura.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-12 14:28:59 +01:00
kfraser@localhost.localdomain
e5b046d973
[XEN] Fix booting with dom0_mem specifying 4GB or more.
...
Signed-off-by: Charles Coffing <ccoffing@novell.com >
2006-10-12 14:27:20 +01:00
kfraser@localhost.localdomain
8b17a36d17
Fix privcmd mmap() on 64b architectures for regions larger than 2GB.
...
Signed-off-by: Xin Li <xin.b.li@intel.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-12 14:25:51 +01:00
kfraser@localhost.localdomain
0491bf8d2c
Include resources for PV xen-platform device in ACPI DSDT.
...
From: Qing He <qing.he@intel.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-12 14:14:58 +01:00
kfraser@localhost.localdomain
bfebdba8ee
[HVMLOADER] Remove an unused variable from an SMBIOS function.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-12 14:14:12 +01:00
kfraser@localhost.localdomain
6329cf0815
[IA64] Add support for enforcing singleshot mmap() semantics at the
...
privcmd interface.
From: Isaku Yamahata <yamahata@valinux.co.jp >
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-12 13:55:03 +01:00
kfraser@localhost.localdomain
b73d95b84d
[PRIVCMD] Fix ia64 domain creation by abstracting the singleshot mapping check.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-12 11:44:53 +01:00
Christian Limpach
5292dab2f0
[xenstore] Don't create a transaction for singleton read/write operations.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2006-10-12 11:26:07 +01:00
Christian Limpach
88bea76202
[xenstore] Don't limit the number of concurrent transactions for domain0 connections
...
since both xend and the xenstore-* utilities used in the hotplug
scripts can easily reach the limit and we trust them anyway.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2006-10-12 11:25:32 +01:00
Tim Deegan
917f2a4a47
[XEN] Fix race in shadow invlpg
...
This fixes a crash under mmstress in SMP linux guests, where one vcpu
could remove shadow entries when another was reading them for invlpg.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2006-10-12 11:08:48 +01:00
kfraser@localhost.localdomain
5358257c6f
[NET] back: Fix inter-domain networking when using rx-copy path.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-12 10:56:41 +01:00
kfraser@localhost.localdomain
503bcd598c
[NET] front: Fix error handling to correctly skip bogus frags.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-12 10:38:45 +01:00
kaf24@localhost.localdomain
83a53cd75c
Revert 11728:30f13007be. Breaks Solaris guests.
...
Will need a new method for handling padded gzip files.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-10 22:04:01 +01:00
kfraser@localhost.localdomain
741fad235c
[XEND] Add missing line from changeset 11653:3b7e11cbeb940
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-10 16:02:30 +01:00
Christian Limpach
15a8e33ac2
[xend/hotplug] Remove happy gun logging.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2006-10-10 13:48:34 +01:00
kfraser@localhost.localdomain
2c48ac78fe
[NET] back: Fix netif rate limiting.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-10 13:47:09 +01:00
Ian Campbell
9fd20b0666
Correct check for extended-cr3 support in __xen_guest fallback code.
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-10-10 10:06:56 +01:00
kaf24@localhost.localdomain
09635b3848
[TOOLS] Fixes to miniterm serial terminal utility.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-09 23:34:00 +01:00
kfraser@localhost.localdomain
d55292850a
[NET] back: Refcount fixes to vif rate-limiting code.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-09 17:08:18 +01:00
Tim Deegan
f6d4816473
[XEN] Zero PAE shadow l3es when destroying subshadows.
...
Normally, we can leave the contents of shadows in place when we destroy
them, but this is not the case for l3 subshadows, since they do not get
zeroed on reallocation unless the entire l3 page is unshadowed.
This fixes several crashes seen with SMP PAE HVM RHEL4.2 guests.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2006-10-09 16:43:09 +01:00
kfraser@localhost.localdomain
5000a6a1e0
[XEND] No need to decompress the initrd when building a domain.
...
The guest OS should be capable of parsing an image file in
whatever format was produced by that OS's tools. Furthermore,
we have seen initrd images with trailing garbage. This causes
us to calculate the wrong size for the uncompressed data and hence
fail to build the guest.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-09 13:50:00 +01:00
kfraser@localhost.localdomain
7dae06e0f3
[PRIVCMD] Fix trivial bug introduced in IOCTL_PRIVCMD_MMAP.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-09 13:46:34 +01:00