Commit Graph
11091 Commits
Author SHA1 Message Date
kfraser@localhost.localdomain b76fbc3cc5 [LIBXC] Remove unused xc_evtchn_status().
Signed-off-by: John Levon <john.levon@sun.com>
2006-08-14 16:39:35 +01:00
kfraser@localhost.localdomain 4d6a4b8c4d [LINUX] Mark /dev/mem regions as VM_PFNMAP.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-14 16:35:49 +01:00
kfraser@localhost.localdomain 20e8909335 [LINUX] Oney 'nosmp' and 'max_cpus=' command line options.
Based on a patch from Jan Beulich.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-14 16:12:43 +01:00
kfraser@localhost.localdomain ff843ce876 [NET] back: Fix an __init that should be an __exit in loopback driver.
This was pointed out by the newer build system used in 2.6.18-rc4.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2006-08-14 15:26:37 +01:00
kfraser@localhost.localdomain 3ef9a82056 [LINUX][ Fix x86/64 entry.S to use paravirtualized sti/cli properly.
This fixes
- one instance of using XEN_BLOCK_EVENTS where XEN_UNBLOCK_EVENTS was
  meant
- four instances of left-over cli-s that should have been replaced
  with XEN_BLOCK_EVENTS
- one instance of slightly wrong placement (without resulting in ill
  behavior, but needlessly making the diff to native more complex)

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2006-08-14 15:24:59 +01:00
kfraser@localhost.localdomain 775d564bde [XEN] grant tables: update pair of entries using a union to ensure endian neutrality.
The first two members of a grant entry are updated as a combined pair.
The following patch uses a union so updates can happen in an endian neutral fashion.

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
2006-08-14 15:17:42 +01:00
kfraser@localhost.localdomain 2b88d7ed5f [LINUX] Provide a handy macro for detrmining if we are domain0.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-14 14:44:31 +01:00
kfraser@localhost.localdomain daff910c6c [XENBUS] Avoid direct use of xen_start_info. It's unevailable when
building as a separate driver for an HVM guest.
Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-14 14:17:26 +01:00
kfraser@localhost.localdomain dd3a7bc404 [NET] linux: Kill the WARN_ON() calls for checksum fixups.
This changeset is from upstream Linux.  We need it so Xen users
using NAT are not unnecessarily alarmed by these WARN_ON errors
especially since they're not in a position to do anything about
it.  Original changelog:

        [NET]: Kill the WARN_ON() calls for checksum fixups.

        We have a more complete solution in the works, involving
        the seperation of CHECKSUM_HW on input vs. output, and
        having netfilter properly do incremental checksums.

        But that is a very involved patch and is thus 2.6.19
        material.

        What we have now is infinitely better than the past,
        wherein all TSO packets were dropped due to corrupt
        checksums as soon at the NAT module was loaded.  At
        least now, the checksums do get fixed up, it just
        isn't the cleanest nor most optimal solution.

        Signed-off-by: David S. Miller <davem@davemloft.net>

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2006-08-14 13:55:17 +01:00
kfraser@localhost.localdomain 30b586b9fb [LINUX] Split useful bits of page.h into new header maddr.h.
Split the bits of page.h which are needed by PV-on-HVM drivers out
into a separate header file, so that it's a bit easier to get the xenolinux
machine address functions when compiled against a native kernel.

Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-14 13:54:10 +01:00
kfraser@localhost.localdomain c9edca86f1 [HVM][LINUX] Add a header file with wrappers for hvm_op hypercall.
Signed-off-by: Steven Smith <ssmith@xensource.com>
2006-08-14 11:35:57 +01:00
kfraser@localhost.localdomain 13fbff7760 [HVM] Add stubs to Linux for the new hvm_op hypercall.
Signed-off-by: Steven Smith <ssmith@xensource.com>
2006-08-14 11:33:50 +01:00
kfraser@localhost.localdomain 3847c96fcf [NET] back: Tidy up and remove communications via references to global structures.
Signed-off-by: Steven Smith <ssmith@xensource.com>
2006-08-14 11:32:24 +01:00
kfraser@localhost.localdomain f49361ae78 [HVM] More info when failing to emulate instruction group 1.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-14 11:18:37 +01:00
kfraser@localhost.localdomain 3d43eba941 [XEN] Remove sync_pagetable_state(). No longer needed.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-14 10:58:02 +01:00
ssmith@weybridge.uk.xensource.com 674ab75fb3 [XEN] Add some missing put_page()s to __gnttab_copy.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-08-14 10:47:59 +01:00
ssmith@weybridge.uk.xensource.com 55939a45fa [XEN] Add a missing access check to __gnttab_copy.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-08-14 10:45:45 +01:00
kaf24@localhost.localdomain ce95c3ccfe [XEN] Explicitly include domain_page.h for map_domain_page() and fix a
warning about arithmetic on 'void *' pointers.
Based on a patch from Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-13 19:10:57 +01:00
kaf24@localhost.localdomain 54f3c52a11 [XEN] Use gnttab_clear_flag() in new grant-table copy operation.
From: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-13 19:00:19 +01:00
kaf24@localhost.localdomain 848ded1e09 [XEN] Clean up e820 definitions. Define shared set in hvm public dir.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-13 17:47:59 +01:00
kaf24@firebug.cl.cam.ac.uk c730da041b [HVM] HVMOP_get_param return parameter value within the provided parameter struct,
not as a direct return value.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-13 09:44:07 +01:00
kaf24@localhost.localdomain 3321c3c8e9 [XEN] Add a warning about changeable size of shared_info structure.
sizeof(shared_info_t) can change even in compatible hypervisor
versions.
Add a clear warning about this, and fix the few places relying on it.
In addition, add some padding to arch_shared_info, to allow future
additions to the structure without breaking known offsets of members
following it in the shared info.

Signed-off-by: John Levon <john.levon@sun.com>
2006-08-12 16:18:08 +01:00
kaf24@localhost.localdomain ec0ebb15e5 [XM-TEST] Fix network tests for -route and -nat
vif-nat and vif-route need to know domU ethX IP addresses in order to set
up the appropriate routes.The new network test infrastructure is not
providing the IP address on the vif line in /tmp/xm-test.conf; adding
it turns out to be a one-liner.

Tested with xm-test running with -bridge, -route, and -nat network
scripts.

Signed-off-by: Jim Dykman <dykman@us.ibm.com>
2006-08-12 15:58:52 +01:00
kaf24@localhost.localdomain d086c32a4a [NET] front: Restore 16 bytes of reservation
By replacing dev_alloc_skb with alloc_skb we need to do the 16-byte
reservation ourselves.  Also, it's unnecessary to align the size
when calling alloc_skb since the alignment is an implementation
detail of alloc_skb and it already takes care of it for us.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2006-08-12 15:56:00 +01:00
kaf24@localhost.localdomain 5940b606ba [LINUX][XENBUS] Wait for devices to connect when frontend driver is loaded as a module.
Thsi fixes problems where a driver is loaded from a script, and the
following parts of the script depend on devices having connected
by the time the modprobe/insmod returns.

Based on a tested patch from Rik van Riel at Red Hat.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-12 15:50:25 +01:00
emellor@leeni.uk.xensource.com 7857edbe76 New xm uptime command.
From Alex Brett <alex.brett@xensource.com>

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-08-12 12:25:42 +01:00
kfraser@localhost.localdomain 4db258f902 [IA64] Add two extra empty files and add a comment to every empty
source file so that they can be handled by patch/diff.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-11 18:09:13 +01:00
kfraser@localhost.localdomain 228f081e08 [XEN] Remove batched writable pagetable logic.
Benchmarks show it provides little or no benefit (except
on synthetic benchmarks). Also it is complicated and
likely to hinder efforts to reduce lockign granularity.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-11 16:07:22 +01:00
kfraser@localhost.localdomain bc5688b66a [NET] front: Do not allocate unnecessary page-sized main data area
for receive skbuffs. The bulk data is stored in fragments.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-11 14:22:54 +01:00
kfraser@localhost.localdomain f35ae276e2 [XEN] Fix bug in spurious pagefault detection which could
be exploited by unprivileged guests. Thanks to Matt Yourst
for finding this and providing the patch.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-10 15:51:38 +01:00
kfraser@localhost.localdomain 84b9298c75 [HVM] Remove unused apic_enabled field from hvm_info_table.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-10 15:45:47 +01:00
emellor@leeni.uk.xensource.com 49849e9c0c Revert inadvertent code change from "replace tabs with spaces" changeset.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-08-10 14:29:04 +01:00
kfraser@localhost.localdomain b8b9cf77b2 [XEN] Add a new type of grant copy operation.
Based on an original patch from Rolf Neugebauer at Intel.
Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-10 11:54:15 +01:00
kfraser@localhost.localdomain 418c5e099c Add support for sending event channel interrupts to HVM guests.
Signed-off-by: Steven Smith <ssmith@xensource.com>
2006-08-10 11:36:27 +01:00
kfraser@localhost.localdomain 1e664a670c [LIBXC] clean specified files instead of wildcarding
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-08-10 10:55:54 +01:00
kfraser@localhost.localdomain 6c892c42ad [LIBXC] replace tabs with spaces
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-08-10 10:52:46 +01:00
kfraser@localhost.localdomain 69f646a61b [HVM] Fix some IOAPIC and LAPIC device model bugs.
Fix some boundary checking errors.
Fix the confusion using variables 'level' and 'trig_mode'.
Also fix some other misc mistakes and do some cleanup.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2006-08-10 10:47:37 +01:00
kfraser@localhost.localdomain f5cbcc33d2 [HVM] Rmove unused field pae_enabled from hvm_info_table.
Signed-off-by: Xin Li <xin.b.li@intel.com>
2006-08-10 10:45:10 +01:00
kfraser@localhost.localdomain 6b11879d81 [MINIOS] A first step to re-architecture mini-os for a port to ia64.
Create architecture specific directories below mini-os for sources
and below mini-os/include for headers.

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
2006-08-10 10:43:20 +01:00
kfraser@localhost.localdomain 3f31a200de [CONSOLE] Always specify CON_ENABLED in Linux ocnsole driver.
I cannot think of any circumstance that the Xen console device would
not have CON_ENABLED.  With out this, DomUs that panic() before the
init process has started (and maybe even after) do not get output hi
priority log_levels (like panic()) from LOG_BUF().

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
2006-08-10 10:39:58 +01:00
kfraser@localhost.localdomain 2dcebc270e Fix 2 issues when creating HVM guests:
1) xend can't start due to xend-config.sxp
 2) qemu dm option vncunused should be effective only
    when vnc is turned on.

Signed-off-by: Xin Li <xin.b.li@intel.com>
2006-08-10 10:37:15 +01:00
chris@kneesaa.uk.xensource.com 37337d1d6d [qemu patches] Update patches for changeset 11048:27bef4f3c1d3.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-09 21:34:27 +01:00
chris@kneesaa.uk.xensource.com c6d786bfd0 [qemu] Move acpi to devfn 2, so that it matches the fadt.
Based on feedback from: Wang, Winston L <winston.l.wang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-09 21:33:59 +01:00
chris@kneesaa.uk.xensource.com 0f1f2f4e7d [qemu patches] Update patches for changesets 11045:bd11c4855c5d and 11046:8a615d28759e.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-09 20:08:20 +01:00
chris@kneesaa.uk.xensource.com 54ec6e3d26 [qemu] HVM acpi port init update.
Removed the acpi port depency on USB exist.

Based on a patch from: Winston Wang <winston.l.wang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-09 20:07:01 +01:00
chris@kneesaa.uk.xensource.com 559b3dff6d [qemu] Disable qemu's acpi support.
Based on a patch from: Wang, Winston L <winston.l.wang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-09 19:57:03 +01:00
kfraser@localhost.localdomain 5714e01bac Merge with xen-ia64-unstable. 2006-08-09 18:15:27 +01:00
kfraser@localhost.localdomain 25929fb317 Merge with xenppc-unstable. 2006-08-09 18:04:20 +01:00
awilliam@xenbuild.aw 879f62cd48 merge with xen-unstable.hg 2006-08-09 10:32:23 -06:00
awilliam@xenbuild.aw 773aa14ec3 [IA64] catch up new hypercall HYPERVISR_hvm_op for IPF (libxc)
append xc_set_hvm_param for IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
2006-08-09 10:04:43 -06:00