]> xenbits.xensource.com Git - people/vhanquez/xen.git/log
people/vhanquez/xen.git
19 years agoFix injection of guest faults resulting from failed injection of a
kaf24@firebug.cl.cam.ac.uk [Fri, 5 May 2006 13:07:53 +0000 (14:07 +0100)]
Fix injection of guest faults resulting from failed injection of a
previous event. We enter an infinite loop if the original failed
injection cannot be fixed up by Xen (e.g., because it's not a shadow
pagetable issue).

   The RHEL4 HVM guest hang issue was actually a side effect of
change-set 9699. In the rhel4 guest hang rc.sysinit init-script was
calls kmodule program to probe the hardware. The kmodule uses the kudzu
library call probeDevices(). For probing the graphics hardware in the
vbe_get_mode_info() function, sets up the environment and goes into the
vm86 mode to do the int x10 call. For returning back to protected mode
it sets up a int 0xff call. At the time of calling the int 0xff the
guest process pages were not filled up. And it was causing an infinite
loop of vmexits with the IDT_VECTORING_INFO on the int 0xff instruction.

        The reason for the infinite loop is changeset 9699. With that
the guest page fault was always getting overridden by the int 0xff gp
fault coming from the IDT_VECTORING_INFO. With the attached patch if VMM
is injecting exceptions like page faults or gp faults then
IDT_VECTORING_INFO field does not override it, and that breaks the
vmexit infinite loop for the rhel4.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
xen-unstable changeset:   9945:0c586a81d941ab0a18aecca87cffe1500a9185c5
xen-unstable date:        Fri May  5 14:05:31 2006 +0100

19 years agoFix python pciif script to reference correct 2.0 compatibility variable.
kaf24@firebug.cl.cam.ac.uk [Fri, 5 May 2006 13:02:40 +0000 (14:02 +0100)]
Fix python pciif script to reference correct 2.0 compatibility variable.

In the Xen 2.0.x compatibility section of xend (where we try to parse
the s-expressions if they came from an SXP configuration file for Xen
2.0.x), the wrong variable is referenced. This fix corrects the python
script to use the correct variable.

Thanks to Mike Wright for reporting this.

Signed-off-by: Ryan Wilson <hap9@epoch.ncsc.mil>
xen-unstable changeset:   9944:7801e09f518cfdf566a405bce2c3f41553e35218
xen-unstable date:        Fri May  5 14:01:43 2006 +0100

19 years agoSVM patch for 64bit hv, to reset the ss, es, ds host selectors to NULL
kaf24@firebug.cl.cam.ac.uk [Thu, 4 May 2006 20:26:02 +0000 (21:26 +0100)]
SVM patch for 64bit hv, to reset the ss, es, ds host selectors to NULL
during a context switch to the SVM domain's vcpu. This patch also
initializes the tlb_control to 1 for the initial do_launch().
Signed-off-by: Tom Woller <thomas.woller@amd.com>
xen-unstable changeset:   9935:8761333499ae2874647eb5d67d8cb091fbc5b14b
xen-unstable date:        Thu May  4 21:24:39 2006 +0100

19 years agoSVM patch to add add init intercept handler.
kaf24@firebug.cl.cam.ac.uk [Thu, 4 May 2006 16:08:19 +0000 (17:08 +0100)]
SVM patch to add add init intercept handler.
Signed-off-by: Tom Woller <thomas.woller@amd.com>
xen-unstable changeset:   9632:cff23e96eae7af54c7b4e5cae80ed1565d6f4941
xen-unstable date:        Thu Apr 13 11:00:54 2006 +0100

SVM patch to add PAE support.
Signed-off-by: Tom Woller <thomas.woller@amd.com>
xen-unstable changeset:   9633:9849bd4a86dd319d8d791e767e37e0d586459c90
xen-unstable date:        Thu Apr 13 11:06:43 2006 +0100

SVM patch to init rsp properly.
Signed-off-by: Tom Woller <thomas.woller@amd.com>
xen-unstable changeset:   9634:137b60a47d139dfaa7d202edb612bcaa1c595801
xen-unstable date:        Thu Apr 13 11:07:28 2006 +0100

SVM patch to add BP exception intercept support.
Signed-off-by: Tom Woller <thomas.woller@amd.com>
xen-unstable changeset:   9635:b77ebfaa72b200af0cdfc38dd8f7dbe274e5e386
xen-unstable date:        Thu Apr 13 11:08:20 2006 +0100

SVM patch to cleanup the host save area allocation and deallocation,
including removing  memory leaks concerning these areas.  Also fixes
problem where the HSA MSR was not initialized properly for cores>0.
Signed-off-by: Tom Woller <thomas.woller@amd.com>
xen-unstable changeset:   9922:e1a47a2696004087852cb9f2e09fe4eb8ad1b928
xen-unstable date:        Thu May  4 11:14:45 2006 +0100

19 years agoFix xenbus userspace device transaction tracking.
cl349@firebug.cl.cam.ac.uk [Thu, 4 May 2006 09:34:27 +0000 (10:34 +0100)]
Fix xenbus userspace device transaction tracking.
If a transaction end command fails, the semaphore which keeps track
of whether we're in a transaction or not was not getting updated.

Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
xen-unstable changeset: 9921:bbce4d11518910328380f6a3325268acfa5b3aff
xen-unstable date: Thu May  4 10:25:27 2006 +0100

19 years agoBalloon driver should hijack the ->lru list field rather than
kaf24@firebug.cl.cam.ac.uk [Tue, 2 May 2006 16:24:29 +0000 (17:24 +0100)]
Balloon driver should hijack the ->lru list field rather than
adding another list field to every page structure.
Signed-off-by: Keir Fraser <keir@xensource.com>
xen-unstable changeset:   9913:decf309fb47b3f4246540a5e1327663651d266fe
xen-unstable date:        Tue May  2 17:23:21 2006 +0100

19 years agoFix perfc array range on reset.
kaf24@firebug.cl.cam.ac.uk [Tue, 2 May 2006 14:25:22 +0000 (15:25 +0100)]
Fix perfc array range on reset.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   9908:7af8039b3c571af038277ab6d7d288d1f2a7acf6
xen-unstable date:        Tue May  2 15:21:19 2006 +0100

19 years agoFix Xen's interrupt acknowledgement routines on certain
kaf24@firebug.cl.cam.ac.uk [Fri, 28 Apr 2006 13:06:33 +0000 (14:06 +0100)]
Fix Xen's interrupt acknowledgement routines on certain
(apparently broken) IO-APIC hardware:
 1. Do not mask/unmask the IO-APIC pin during normal ISR
    processing. This seems to have really bizarre side effects
    on some chipsets.
 2. Since we instead tickle the local APIC in the ->end
    irq hook function, it *must* run on the CPU that
    received the interrupt. Therefore we track which CPUs
    need to do final acknowledgement and IPI them if
    necessary to do so.

Signed-off-by: Keir Fraser <keir@xensource.com>
xen-unstable changeset: 9644:bb0dc0ae23bb1fe49c197f38951fc424eef2905e
xen-unstable date: Fri Apr 14 12:01:15 2006 +0100

New IO-APIC ACK method seems to cause problems on some systems
(e.g., Dell 1850). Disable it by default for now, but allow the
new mwethod to be tested by passing boot parameter 'new_ack'
to Xen.

You can tell which ACK method you are using because Xen prints
out "Using old ACK method" or "Using new ACK method" during boot.

This workaround can be removed if/when the problems with the new
ACK method are flushed out.

Signed-off-by: Keir Fraser <keir@xensource.com>
xen-unstable changeset: 9645:9a273aabb839dff897be39a581d716dfed952c79
xen-unstable date: Fri Apr 14 14:14:24 2006 +0100

Big fixes for the new IO-APIC acknowledging method. The problems
were:
 1. Some critical Xen interrupts could get blocked behind
    unacknowledged guest interrupts. This is avoided by making
    all Xen-bound interrrupts strictly higher priority.
 2. Interrupts must not only be EOIed on the CPU that received
    them, but also in reverse order when interrupts are nested.
    A whole load of logic has been added to ensure this.

There are two boot parameters relating to all this:
 'ioapic_ack=old' -- use the old IO-APIC ACK method
 'ioapic_ack=new' -- use the new IO-APIC ACK method (default)
 'force_intack'   -- periodically force acknowledgement of
                     interrupts (default is no; useful for debugging)

Signed-off-by: Keir Fraser <keir@xensource.com>
xen-unstable changeset: 9664:b39365343de08af6c76fa3492b2cffb436470b3f
xen-unstable date: Sat Apr 15 18:09:52 2006 +0100

Clean up new EOI ack method some more and fix unbinding
IRQ from guest (penidng EOIs must be forcibly flushed).

Signed-off-by: Keir Fraser <keir@xensource.com>
xen-unstable changeset: 9667:3c1cd09801c047008e529aa03b56059e00c1f4f2
xen-unstable date: Sun Apr 16 15:04:21 2006 +0100

This patch defines a test_and_clear bitop for cpumask_t pointers.
Also fixes "wrong pointer type" for type specific bitops by using
&foo[0] instead of &foo.

Signed-off-by: Jimi Xenidis <jimix@us.ibm.com>
xen-unstable changeset: 9670:b550a93c6459c4f0f2a86b61a08768d040482d88
xen-unstable date: Wed Apr 19 18:24:49 2006 +0100

Replace &foo[0] with foo where the latter seems cleaner
(which is usually, and particularly when its an argument
to one of the bitops functions).

Signed-off-by: Keir Fraser <keir@xensource.com>
xen-unstable changeset: 9671:72f9c751d3ea1f17ff513cd7fc2cbe671a9af7c9
xen-unstable date: Wed Apr 19 18:32:20 2006 +0100

19 years agoTurn pirq_mask into a generic bitmap type.
kaf24@firebug.cl.cam.ac.uk [Fri, 28 Apr 2006 13:04:56 +0000 (14:04 +0100)]
Turn pirq_mask into a generic bitmap type.

Signed-off-by: Keir Fraser <keir@xensource.com>
xen-unstable changeset: 9583:3b0d07af46cb0c456912b287a0365172746ae9e0
xen-unstable date: Fri Apr  7 14:27:46 2006 +0100

Fix my slightly broken change to pirq_mask logic -- we must
pass the last seen bit *plus 1* to find_next_bit().

Signed-off-by: Keir Fraser <keir@xensource.com>
xen-unstable changeset: 9585:05db1d61e031d2fb48e561b185fa42981547db9a
xen-unstable date: Fri Apr  7 16:15:44 2006 +0100

19 years agoAdd bounds check to get_mfn_from_gpfn().
kaf24@firebug.cl.cam.ac.uk [Thu, 27 Apr 2006 13:14:26 +0000 (14:14 +0100)]
Add bounds check to get_mfn_from_gpfn().
From: Jan Beulich
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoOccasionally large smp machines fail to reboot properly and die under
kaf24@firebug.cl.cam.ac.uk [Thu, 27 Apr 2006 08:58:50 +0000 (09:58 +0100)]
Occasionally large smp machines fail to reboot properly and die under
an IPI storm of smp_call_function() to machine_reboot.  Only the boot
processor needs to run machine_restart, so send an IPI to CPU0.

Original patch by: Ryan Harper <ryanh@us.ibm.com>

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoCheck a write() return value in xenbaked.
kaf24@firebug.cl.cam.ac.uk [Thu, 27 Apr 2006 08:47:42 +0000 (09:47 +0100)]
Check a write() return value in xenbaked.

From: Jeremy Katz

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoJust allocate unbound irq only from dynirq range, since
kaf24@firebug.cl.cam.ac.uk [Thu, 27 Apr 2006 08:44:28 +0000 (09:44 +0100)]
Just allocate unbound irq only from dynirq range, since
pirq range is reserved for physical devices. This saves
unnecessary checks on pirq range.

Signed-off-by Kevin Tian <kevin.tian@intel.com>

19 years agoThis patch addresses CVE-2006-1056 (information leak from
kaf24@firebug.cl.cam.ac.uk [Thu, 27 Apr 2006 08:39:14 +0000 (09:39 +0100)]
This patch addresses CVE-2006-1056 (information leak from
fxsave/fxrstor on AMD CPUs) and also adjusts 64-bit handling so that
full 64-bit RIP/RDP values get saved/restored. More fine-grained
handling may be needed if 32-bit processes are expected to properly
see their selectors (native Linux doesn't currently do that either,
but there is a patch to adjust it there).

Original patch: Jan Beulich (based on Linux original by Andi Kleen)

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoMake xen_features and force_evtchn_callback() non-GPL
kaf24@firebug.cl.cam.ac.uk [Wed, 26 Apr 2006 16:44:46 +0000 (17:44 +0100)]
Make xen_features and force_evtchn_callback() non-GPL
symbols as they are used in a variety of ubiquitous
kernel macros.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoWhile other aspects of the system configuration may still be
kaf24@firebug.cl.cam.ac.uk [Tue, 25 Apr 2006 13:51:10 +0000 (14:51 +0100)]
While other aspects of the system configuration may still be
controlled by the outcome of the table scan, if apic= was given on the
command line its effect should not be overridden here.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agoChange the xenbus_map_ring_valloc() interface and implementation so
kaf24@firebug.cl.cam.ac.uk [Tue, 25 Apr 2006 13:30:16 +0000 (14:30 +0100)]
Change the xenbus_map_ring_valloc() interface and implementation so
that it is buildable as a module.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agoFix build.
cl349@firebug.cl.cam.ac.uk [Mon, 24 Apr 2006 19:29:36 +0000 (20:29 +0100)]
Fix build.

Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
19 years agoRemove \r characters.
cl349@firebug.cl.cam.ac.uk [Mon, 24 Apr 2006 17:08:24 +0000 (18:08 +0100)]
Remove \r characters.

Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
xen-unstable changeset: 9735:a5fcffc826f3c77a8b28a78fbf099fde7ea27f0b
xen-unstable date: Mon Apr 24 18:07:27 2006 +0100

19 years agoDo not create blkback vbd kernel thread until fully connected
cl349@firebug.cl.cam.ac.uk [Mon, 24 Apr 2006 17:06:10 +0000 (18:06 +0100)]
Do not create blkback vbd kernel thread until fully connected
to frontend driver. Otherwise the kernel thread may crash trying
to access the non-existent shared ring.

Replaces xen-3.0-testing cset: 9595:32b22f5286beba94318e60704a8058ac3833d502

Signed-off-by: Keir Fraser <keir@xensource.com>
xen-unstable changeset: 9571:24d25894f071bed67d5547c1790a075271ab1174
xen-unstable date: Thu Apr  6 18:39:00 2006 +0100

19 years agoThe Xen checksum offload feature attempts to insert a TCP/UDP
kaf24@firebug.cl.cam.ac.uk [Sat, 22 Apr 2006 09:42:34 +0000 (10:42 +0100)]
The Xen checksum offload feature attempts to insert a TCP/UDP
checksums into already encrypted packets (esp4) in dom0.  Obviously,
it is not possible to insert a checksum into an already encrypted
packet, so this patch inserts the checksum prior to encrypting
packets in net/ipv4/xfrm4_output.c.

To do this cleanly, the TCP/UDP header pointers need to be pointed to
the correct spot, so this functionality has been abstracted into a new
function.

This patch fixes bug 143 (verified by Jim Dykman).  Earlier version
verified by Jon McCune.

Signed-off-by: James Dykman <dykman@us.ibm.com>
Signed-off-by: Jon Mason <jdmason@us.ibm.com>
19 years agoAvoid spurious timer activations in migrate_timer().
kaf24@firebug.cl.cam.ac.uk [Sat, 22 Apr 2006 09:38:27 +0000 (10:38 +0100)]
Avoid spurious timer activations in migrate_timer().

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoRemove update_vcpu_system_time() call from the per-VCPU timer
kaf24@firebug.cl.cam.ac.uk [Sat, 22 Apr 2006 09:29:27 +0000 (10:29 +0100)]
Remove update_vcpu_system_time() call from the per-VCPU timer
callback function. It's unnecessary and in fact may occasionally
even run on the wrong CPU.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix command-line parsing in a few respects -- be more
kaf24@firebug.cl.cam.ac.uk [Fri, 21 Apr 2006 17:10:13 +0000 (18:10 +0100)]
Fix command-line parsing in a few respects -- be more
generous about what we accept, avoid stack overflow, and
print the command line during boot (rather useful!).

This should fix the 'lapic' and 'nolapic' boot options.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoDemote scary IO-APIC REGSEL message to DPRINTK.
kaf24@firebug.cl.cam.ac.uk [Fri, 21 Apr 2006 16:52:59 +0000 (17:52 +0100)]
Demote scary IO-APIC REGSEL message to DPRINTK.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix inverted BUG_ON().
kaf24@firebug.cl.cam.ac.uk [Fri, 21 Apr 2006 13:04:01 +0000 (14:04 +0100)]
Fix inverted BUG_ON().

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoPropagate information about bad (or good) REGSEL register
kaf24@firebug.cl.cam.ac.uk [Fri, 21 Apr 2006 09:45:31 +0000 (10:45 +0100)]
Propagate information about bad (or good) REGSEL register
of chipset IO-APICs to Xen. If REGSEL is bad (some old SiS
chipsets) then we have a slower read-modify-write routine.
Loosely based on an original patch from Jan Beulich.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix the "hda lost interrupt" issue when creating a VMX guest on a PAE
kaf24@firebug.cl.cam.ac.uk [Fri, 21 Apr 2006 09:11:37 +0000 (10:11 +0100)]
Fix the "hda lost interrupt" issue when creating a VMX guest on a PAE
host.

Occasionally when injecting an IDE DMA interrupt into the guest, a
page fault occurs (e.g., because the IDT mapping is not present in
shadow pagetables).  This causes an immediate vmexit and, because it
occurred during event delivery, the original VM_ENTRY_INTR_INFO_FIELD
is kept in IDT_VECTORING_INFO_FIELD.

The current code copies IDT_VECTORING_INFO_FIELD back to
VM_ENTRY_INTR_INFO_FIELD, intending that the interrupt will be
injected again on next vmresume.

However, there is a corner case: if, before the next vmresume, a timer
interrupt happened then vmx_intr_assist may overwrite the information
on VM_ENTRY_INTR_INFO_FIELD, and the IDE DMA interrupt is effectively
lost.

This patch checks the IDT_VECTORING_INFO_FIELD in vmx_intr_assist and,
if it is set, copies it to VM_ENTRY_INTR_INFO_FIELD and returns.

Signed-off-by: Yunhong Jiang <Yunhong.jiang@intel.com>
Signed-off-by: Eddie Dong <eddie.dong@intel.com>
19 years agoThere are instances where we DO NOT want an hvm guest to run an
kaf24@firebug.cl.cam.ac.uk [Fri, 21 Apr 2006 08:57:29 +0000 (09:57 +0100)]
There are instances where we DO NOT want an hvm guest to run an
MP enabled kernel.  In such situations we should have a workaround to
guarantee hvm guests will not detect MP.

For example, in the absence of ACPI and MPS the installation code in some
linux distributions key off the presence of cpuid edx/HTT bit (indicating
the presence of Hyper-Threading Technology) to determine if another
logical processor is present and if so load an MP enabled kernel instead
of a uniprocessor kernel.  SMBIOS is also looked at for the same purpose
and presents a potential problem as well.  While both approaches for
selecting an MP kernel are debatable (since using MPS or ACPI have long
been the standard for MP detection), these approaches are something we
have to live and work around with because making a change in the fully
virtualized guest is not an option.

To solve the problem we need to hide all secondary processors from the hvm
guest.  Since the hvm does not surface MPS tables, we only need to deal
with ACPI, cpuid HTT, and possibly SMBIOS.   (I did not have time right
now to look closely at the hvm BIOS to know if SMBIOS is also going to be
a problem.)

Also fixes a logic problem the code path where apic=0 was not
being handled correctly (vmx path only).

Signed-off-by: Clyde Griffin <cgriffin@novell.com>
19 years agoPAE pgd construction code should use clone_pgd_range().
kaf24@firebug.cl.cam.ac.uk [Fri, 21 Apr 2006 08:38:20 +0000 (09:38 +0100)]
PAE pgd construction code should use clone_pgd_range().
Also fix the loop that allocates users pmds.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix python installation on sles10. Install prefix is being
kaf24@firebug.cl.cam.ac.uk [Fri, 21 Apr 2006 08:14:47 +0000 (09:14 +0100)]
Fix python installation on sles10. Install prefix is being
passed along for some reason, so we explicitly redefine it
to nothing.

Signed-off-by: Ryan Grimm <grimm@us.ibm.com>
19 years agoMinor comment fix.
kaf24@firebug.cl.cam.ac.uk [Fri, 21 Apr 2006 08:11:54 +0000 (09:11 +0100)]
Minor comment fix.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix user manual regarding trace buffers.
kaf24@firebug.cl.cam.ac.uk [Fri, 21 Apr 2006 08:08:55 +0000 (09:08 +0100)]
Fix user manual regarding trace buffers.
 1. debug building is not needed for tracing buffer...
 2. ...but trace buffer default size is 0

Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
19 years agox86/64 e820-parse-and-map code should skip low 1GB now as that
kaf24@firebug.cl.cam.ac.uk [Thu, 20 Apr 2006 16:11:12 +0000 (17:11 +0100)]
x86/64 e820-parse-and-map code should skip low 1GB now as that
is mapped by the boot code.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoIncrease size of level-2 initial PDE identity map from first 64MB of
kaf24@firebug.cl.cam.ac.uk [Thu, 20 Apr 2006 16:10:51 +0000 (17:10 +0100)]
Increase size of level-2 initial PDE identity map from first 64MB of
physical RAM to first 1GB of physical RAM. This allows x86_64 xen to boot
larger dom0 images. Without this changes large dom0 images fail to
boot with "Unknown interrupt" on xen console and wedge.

Signed-off-by: Todd Clayton <todd.clayton@sun.com>
19 years agoSVM patch to ensure that PAE bit is set for 32bit guests on 32bit PAE,
kaf24@firebug.cl.cam.ac.uk [Thu, 20 Apr 2006 16:04:58 +0000 (17:04 +0100)]
SVM patch to ensure that PAE bit is set for 32bit guests on 32bit PAE,
by using paging levels>=3 rather than ifdef i386.  This patch fixes
the "black screen" hang issue when building w/XEN_TARGET_X86_PAE=y on
32bit.

Tested linux debian and win2003EE guests with pae=1.  The linux
guest boots without error, while the windows guest sometimes hits a
bug() in shadow.c.  Both VT and SVM encounter the same bug.

Signed-off-by: Tom Woller <thomas.woller@amd.com>
19 years agoCompile md-mod into the -xen linux kernel rather than as a module as otherwise s...
iap10@freefall.cl.cam.ac.uk [Thu, 20 Apr 2006 12:42:31 +0000 (13:42 +0100)]
Compile md-mod into the -xen linux kernel rather than as a module as otherwise s/w raid autodetect doesn't work.
Signed-off-by: ian@xensource.com
19 years agoOnly BSP can really do clear_all_shadow_status.
kaf24@firebug.cl.cam.ac.uk [Sun, 16 Apr 2006 14:45:57 +0000 (15:45 +0100)]
Only BSP can really do clear_all_shadow_status.
This fixes SMP IA32 VMX guest booting on IA32 xen.

Signed-off-by: Xin Li <xin.b.li@intel.com>
19 years agoRead the message type out of the message before sending it to xenstored, and
kaf24@firebug.cl.cam.ac.uk [Sat, 15 Apr 2006 21:48:08 +0000 (22:48 +0100)]
Read the message type out of the message before sending it to xenstored, and
use that saved value when handling the reply.  Xenstored will leave the
message type intact, _except_ when returning an error, in which case it will
change the type to XS_ERROR.  This meant that we failed to remove a
transaction from our internal list if xenstored returned EAGAIN, as we did not
realise that the message was XS_TRANSACTION_END.  This manifested itself as
the intended behaviour until the connection was closed, at which point all of
those failed transactions would erroneously be aborted.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoRemove bogus extern declaration.
kaf24@firebug.cl.cam.ac.uk [Sat, 15 Apr 2006 14:54:35 +0000 (15:54 +0100)]
Remove bogus extern declaration.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoTouch softlockup watchdog while warning user about use of
kaf24@firebug.cl.cam.ac.uk [Sat, 15 Apr 2006 09:17:20 +0000 (10:17 +0100)]
Touch softlockup watchdog while warning user about use of
tls libraries.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoAllow cpus parameter to xm create to accept a range string by removing the
kaf24@firebug.cl.cam.ac.uk [Sat, 15 Apr 2006 09:16:48 +0000 (10:16 +0100)]
Allow cpus parameter to xm create to accept a range string by removing the
restriction of cpus accepting only integers.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
19 years agoFix SETMAXMEM dom0_op with proper locking.
kaf24@firebug.cl.cam.ac.uk [Sat, 15 Apr 2006 08:53:52 +0000 (09:53 +0100)]
Fix SETMAXMEM dom0_op with proper locking.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoCurrently, it is possible to set the mem-max value to value lower than
kaf24@firebug.cl.cam.ac.uk [Sat, 15 Apr 2006 08:53:27 +0000 (09:53 +0100)]
Currently, it is possible to set the mem-max value to value lower than
what has been currently allocated to the domain causing the kernel to
crash. This patch validates the value passed in and prevents setting the
value below the current allocation level.

Signed-off-by: ksrinivasan@novell.com
19 years agoSince we don't reset the proto_csum_blank flag in the skb, the
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Apr 2006 13:24:38 +0000 (14:24 +0100)]
Since we don't reset the proto_csum_blank flag in the skb, the
checksum calculation gets done twice, which is not twice as good as
once.

With this patch, TCP/UDP checksum errors from dom0 are fixed, and
domUs can use TCP/UDP without turning off TX checksum offload.  Normal
non-VLAN bridged configs still work fine, tested with xm-test.

Signed-off-by: Jim Dykman <dykman@us.ibm.com>
19 years agoTrivial patch to fix x86_64 builds in which XEN_TARGET_ARCH
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Apr 2006 13:19:05 +0000 (14:19 +0100)]
Trivial patch to fix x86_64 builds in which XEN_TARGET_ARCH
is specified on the make command line, e.g.:
     make XEN_TARGET_ARCH=x86_64

This busted the vmxassist and hvmloader builds, which must
be done -m32.  Using "override" in the vmxassist/hvmloader
Makefiles fixes the problem by not allowing this to be
overridden from the command line.

Signed-off-by: Dave Lively <dlively@virtualiron.com>
19 years agoCall move_irq() during evtchn ->ack irq hook functions. This
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Apr 2006 11:05:03 +0000 (12:05 +0100)]
Call move_irq() during evtchn ->ack irq hook functions. This
triggers SMP affinity work.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoMust use __copy_to_user_inatomic() in swiotlb's sync_single()
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Apr 2006 11:04:41 +0000 (12:04 +0100)]
Must use __copy_to_user_inatomic() in swiotlb's sync_single()
function, as we cannot sleep there.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix stack corruption in the libxs python interface. domid_t is a short;
kaf24@firebug.cl.cam.ac.uk [Thu, 13 Apr 2006 18:14:46 +0000 (19:14 +0100)]
Fix stack corruption in the libxs python interface. domid_t is a short;
instead use uint32_t like we do in xc.c.

Signed-off-by: John Levon <john.levon@sun.com>
19 years agoAllow PCI-E and PCMCIA config on 64-bit Xenlinux.
kaf24@firebug.cl.cam.ac.uk [Thu, 13 Apr 2006 14:18:37 +0000 (15:18 +0100)]
Allow PCI-E and PCMCIA config on 64-bit Xenlinux.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoAdded tag RELEASE-3.0.2-2 for changeset bb864e228d5566a34be91987c8be59af8dcb708d
jrb44@swoop.cl.cam.ac.uk [Thu, 13 Apr 2006 13:28:41 +0000 (14:28 +0100)]
Added tag RELEASE-3.0.2-2 for changeset bb864e228d5566a34be91987c8be59af8dcb708d

19 years agoBump extra version for 3.0.2-2 RELEASE-3.0.2-2
jrb44@swoop.cl.cam.ac.uk [Thu, 13 Apr 2006 13:28:30 +0000 (14:28 +0100)]
Bump extra version for 3.0.2-2

Signed-off-by: James Bulpin <james@xensource.com>
19 years agoMerged.
emellor@leeni.uk.xensource.com [Wed, 12 Apr 2006 17:54:35 +0000 (18:54 +0100)]
Merged.

19 years agoReset the cached state to XenbusStateInitialising on resume -- we're connecting
emellor@leeni.uk.xensource.com [Wed, 12 Apr 2006 17:54:27 +0000 (18:54 +0100)]
Reset the cached state to XenbusStateInitialising on resume -- we're connecting
to a new backend, so the state value needs to be reset.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoAdded tag RELEASE-3.0.2-1 for changeset 9133a9c39a18e748928c31aa9aee4cf008c9877f
jrb44@swoop.cl.cam.ac.uk [Tue, 11 Apr 2006 21:14:24 +0000 (22:14 +0100)]
Added tag RELEASE-3.0.2-1 for changeset 9133a9c39a18e748928c31aa9aee4cf008c9877f

19 years agoUpdate version for 3.0.2-1 RELEASE-3.0.2-1
jrb44@swoop.cl.cam.ac.uk [Tue, 11 Apr 2006 21:13:44 +0000 (22:13 +0100)]
Update version for 3.0.2-1

Signed-off-by: James Bulpin <james@xensource.com>
19 years agoFix KERNELS example, mkinitrd example.
emellor@leeni.uk.xensource.com [Tue, 11 Apr 2006 11:50:56 +0000 (12:50 +0100)]
Fix KERNELS example, mkinitrd example.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoUpdated to reflect new KERNELS defaults, and properly describe make install and
emellor@leeni.uk.xensource.com [Tue, 11 Apr 2006 11:50:46 +0000 (12:50 +0100)]
Updated to reflect new KERNELS defaults, and properly describe make install and
make dist.

19 years agoMerged.
emellor@leeni.uk.xensource.com [Tue, 11 Apr 2006 11:42:28 +0000 (12:42 +0100)]
Merged.

19 years agoThe maximum instruction length for both x86-32 and
kaf24@firebug.cl.cam.ac.uk [Tue, 11 Apr 2006 09:44:58 +0000 (10:44 +0100)]
The maximum instruction length for both x86-32 and
x86-64 is 15 bytes (including all prefixes, opcode,
ModRM, SIB, displacement, and immediate bytes).
This patch adjusts the MAX_INST_LEN to the correct
value.  This should reduce the size of some variables
in the hypervisor code.  This patch also does some
minor code clean-up in the vm exit handler for VMX.

Signed-off-by: Khoa Huynh <khoa@us.ibm.com>
19 years agoWhen running test 5 in Memtest86+ v1.65, I got a "this opcode is not
kaf24@firebug.cl.cam.ac.uk [Tue, 11 Apr 2006 09:42:38 +0000 (10:42 +0100)]
When running test 5 in Memtest86+ v1.65, I got a "this opcode is not
supported", so I decided to add it. It's a compare operation, and it's
just the opposite of the already supported one (opcode 0x39), so it's
nothing spectacular. Why there's a page-fault when this instruction gets
executed, I haven't got a clue, but I have a feeling that Memtest86 is
doing something wrong :-( However, this fix may help some other code to
run too...

With this, Test 5 passes all the way through without crashing. I did see
some occassional memory errors in some other tests, and I'm not 100%
sure whether those are caused by the system or they are "real" memory
errors. At some time in the future I may get round to memory testing my
target system...

Signed off by: Mats Petersson (mats.petersson@amd.com)

19 years agoFix the test inside all_devices_ready, and move it from xenbus_probe (a
kaf24@firebug.cl.cam.ac.uk [Mon, 10 Apr 2006 17:57:58 +0000 (18:57 +0100)]
Fix the test inside all_devices_ready, and move it from xenbus_probe (a
postcore_initcall) to a new late_initcall, so that it happens after the
drivers have initialised.

Fixes the reopened bug #549 (I hope).

Signed-off-by: Ewan Mellor <ewan@xensource.com>
Netfront must switch state using xenbus_switch_state() or this
is not picked up by the waiting code in xenbus_probe.c.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoAdd a new config option for all backend drivers. This has two benefits:
kaf24@firebug.cl.cam.ac.uk [Mon, 10 Apr 2006 17:33:04 +0000 (18:33 +0100)]
Add a new config option for all backend drivers. This has two benefits:
 1. All backend drivers can be disabled or modularised via
    one config option.
 2. Backend helper routines that are not specific to any particular driver
    can be disabled or modularised based on this config option. In
    particular this may allow backend drivers plus the service module
    to be upgraded separate from the kernel core as and when the backend
    interfaces change (and they will).

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix push/pop usage in tools/ioemu for x86/64.
kaf24@firebug.cl.cam.ac.uk [Mon, 10 Apr 2006 16:27:07 +0000 (17:27 +0100)]
Fix push/pop usage in tools/ioemu for x86/64.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoIf the 'cdrom=' option is specified in the definition file but media is
kaf24@firebug.cl.cam.ac.uk [Mon, 10 Apr 2006 16:17:07 +0000 (17:17 +0100)]
If the 'cdrom=' option is specified in the definition file but media is
not found in the CD drive then main() in vl.c exits and the guest appears
to hang.  This patch modifies vl.c slightly to check for the presents of
media.  If the cdrom cannot be opened then the cd entry is removed from
hd_filename[] and bs_table[] allowing the guest to continue initializing.
If the guest requires the CD media then the guest should report, gracefully
or otherwise, that it's missing.

From: Ross Maxfield <rmaxfiel@novell.com>

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agofix bug #609 - error: PIC register `bx' clobbered in `asm'
kaf24@firebug.cl.cam.ac.uk [Mon, 10 Apr 2006 16:14:36 +0000 (17:14 +0100)]
fix bug #609 - error: PIC register `bx' clobbered in `asm'

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
19 years ago'make mkpatches' diffs against pristine tree rather than
kaf24@firebug.cl.cam.ac.uk [Mon, 10 Apr 2006 16:14:15 +0000 (17:14 +0100)]
'make mkpatches' diffs against pristine tree rather than
ref tree, so it includes extra patches under patches/ subdirectory.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFurther workarounds for the broken string marshalling in xmlrpclib. Regardless
emellor@leeni.uk.xensource.com [Mon, 10 Apr 2006 15:38:48 +0000 (16:38 +0100)]
Further workarounds for the broken string marshalling in xmlrpclib.  Regardless
of the encoding used, one still may not include non-printable characters in an
XML document.  When a dmesg contains a ^D character, something seen on one of
our test machines, an invalid XML document is generated.

Use a trick by David Mertz to work around this -- escape the string using
Python's repr function.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoIO-APIC update hypercall fixes. These are known to fix issues with
kaf24@firebug.cl.cam.ac.uk [Sat, 8 Apr 2006 11:14:27 +0000 (12:14 +0100)]
IO-APIC update hypercall fixes. These are known to fix issues with
'pnpacpi' in domain 0.  Incorporates the following three changesets
from xen-unstable.hg:
 9589:e36892ad41444b5d2deb2fbea6b4ee2e52b7edac
 "Clean up IO-APIC update tracing and demote to DPRINTK()."
 9588:70837ac15cadf83e1fda27ae8468317afeb88ab0
 "Fix remove_pin_at_irq()."
 9586:f84a333d8aa6e1a25e2b73b07610e95007267f6a
 "Robustify and add tracing to the IO-APIC update hypercall."

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoPower down an x86 system directly within domain0 rather than
kaf24@firebug.cl.cam.ac.uk [Sat, 8 Apr 2006 08:07:54 +0000 (09:07 +0100)]
Power down an x86 system directly within domain0 rather than
executing a shutdown hypercall. Domain0 is able to execute
ACPI power-off code.

Signed-off-by: Harry Butterworth <butterwo@uk.ibm.com>
19 years agoAdditional sanity / compatability checks during guest build.
kaf24@firebug.cl.cam.ac.uk [Fri, 7 Apr 2006 17:33:36 +0000 (18:33 +0100)]
Additional sanity / compatability checks during guest build.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years agoFix another blkback kernel thread I introduced. :-( The kernel thread
kaf24@firebug.cl.cam.ac.uk [Thu, 6 Apr 2006 17:34:32 +0000 (18:34 +0100)]
Fix another blkback kernel thread I introduced. :-( The kernel thread
is created before we are fully connected to the front end, so before
entering the main loop we must make sure that the shared ring is
mapped, otherwise we can fault.

This patch is an essential companion to the other two blkback
patches I committed earlier today. Hopefully this ends the saga.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoMake root page table sanity check on restore more generic.
kaf24@firebug.cl.cam.ac.uk [Thu, 6 Apr 2006 16:51:14 +0000 (17:51 +0100)]
Make root page table sanity check on restore more generic.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years agoFix long-standing save/restore bug on x86-64.
kaf24@firebug.cl.cam.ac.uk [Thu, 6 Apr 2006 15:17:24 +0000 (16:17 +0100)]
Fix long-standing save/restore bug on x86-64.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years agoSaner error handling in iret hypercall (x86/64).
kaf24@firebug.cl.cam.ac.uk [Thu, 6 Apr 2006 14:57:51 +0000 (15:57 +0100)]
Saner error handling in iret hypercall (x86/64).

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix the example xend init.d script so it correctly detects when it is running
apeace@paploo.uk.xensource.com [Thu, 6 Apr 2006 13:59:23 +0000 (14:59 +0100)]
Fix the example xend init.d script so it correctly detects when it is running
in a guest.

Signed-off by: Andrew Peace <andrew@xensource.com>

19 years agoStupidly forgot there is a separate waitqueue for free pending request
kaf24@firebug.cl.cam.ac.uk [Thu, 6 Apr 2006 10:14:06 +0000 (11:14 +0100)]
Stupidly forgot there is a separate waitqueue for free pending request
structures in blkback. Fix my changes to blkif_schedule().

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoAdded tag RELEASE-3.0.2 for changeset a1e562ceaf15da0a2ce284dff827c8bebf508fc1
kaf24@firebug.cl.cam.ac.uk [Thu, 6 Apr 2006 09:32:27 +0000 (10:32 +0100)]
Added tag RELEASE-3.0.2 for changeset a1e562ceaf15da0a2ce284dff827c8bebf508fc1

19 years agoAdded tag RELEASE-3.0.2-0 for changeset a1e562ceaf15da0a2ce284dff827c8bebf508fc1
kaf24@firebug.cl.cam.ac.uk [Thu, 6 Apr 2006 09:32:07 +0000 (10:32 +0100)]
Added tag RELEASE-3.0.2-0 for changeset a1e562ceaf15da0a2ce284dff827c8bebf508fc1

19 years agoFix the blkif_schedule() kthread loop. Much simpler; much more correct.
kaf24@firebug.cl.cam.ac.uk [Thu, 6 Apr 2006 09:21:04 +0000 (10:21 +0100)]
Fix the blkif_schedule() kthread loop. Much simpler; much more correct.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoAllow CONFIG_DEBUG_INFO to be specified when building
kaf24@firebug.cl.cam.ac.uk [Thu, 6 Apr 2006 08:48:51 +0000 (09:48 +0100)]
Allow CONFIG_DEBUG_INFO to be specified when building
x86/64 XenLinux. Builds and boots fine. Leave the option
disabled by default, as with all other defconfigs.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoUpdate the user manual appendix to describe bow to get a mouse working
kaf24@firebug.cl.cam.ac.uk [Thu, 6 Apr 2006 08:37:32 +0000 (09:37 +0100)]
Update the user manual appendix to describe bow to get a mouse working
properly in a VNC window. Also add 'pae' configuration introduction for
HVM guests.

Signed-off-by: You, Yongkang <yongkang.you@intel.com>
Signed-off-by: Dugger, Donald D <donald.d.dugger@intel.com>
19 years agoRemove unused teardown_irq() definition. Removes two files from sparse tree.
kaf24@firebug.cl.cam.ac.uk [Thu, 6 Apr 2006 08:28:45 +0000 (09:28 +0100)]
Remove unused teardown_irq() definition. Removes two files from sparse tree.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoAdd support for XCHG instruction accessing LAPIC device model. RELEASE-3.0.2 RELEASE-3.0.2-0
kaf24@firebug.cl.cam.ac.uk [Wed, 5 Apr 2006 14:42:41 +0000 (15:42 +0100)]
Add support for XCHG instruction accessing LAPIC device model.

Signed-off-by: Boris Ostrovsky <bostrovsky@virtualiron.com>
19 years agoExtend the 'badpage' boot option to parse inclusive
kaf24@firebug.cl.cam.ac.uk [Wed, 5 Apr 2006 12:39:37 +0000 (13:39 +0100)]
Extend the 'badpage' boot option to parse inclusive
ranges of bad panges '<start_page>-<end_page>'.

Signed-off-by: Erik Bosman <ebosman@gmail.com>
19 years agoThere are a couple of bugs with the current handling of reads and writes
kaf24@firebug.cl.cam.ac.uk [Wed, 5 Apr 2006 09:52:28 +0000 (10:52 +0100)]
There are a couple of bugs with the current handling of reads and writes
in the configuration space overlay functions. The wrong offset is passed
to the virtual field handlers. This patch uses the variable which
contains the correct offset. This patch also fixes the logic which
generates the actual value to write to a given virtual configuration
space field.

Signed-off-by: Ryan Wilson <hap9@epoch.ncsc.mil>
19 years agoDefine Xen interface version for tools build.
kaf24@firebug.cl.cam.ac.uk [Wed, 5 Apr 2006 09:41:51 +0000 (10:41 +0100)]
Define Xen interface version for tools build.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix checksum-offload problems introduced in c/s 9514, due to
kaf24@firebug.cl.cam.ac.uk [Wed, 5 Apr 2006 09:39:13 +0000 (10:39 +0100)]
Fix checksum-offload problems introduced in c/s 9514, due to
data_validated flag not being properly specified on the
device channel.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoMoved RELEASE-3.0.2 tag forward.
emellor@leeni.uk.xensource.com [Tue, 4 Apr 2006 10:30:20 +0000 (11:30 +0100)]
Moved RELEASE-3.0.2 tag forward.

Changeset 9575:9825f96f996ad9f287672ceb10b28186abc63e65 was not released as
3.0.2 due to regressions.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoWorkaround bug in xmlrpclib's string escaping. That library outputs invalid
emellor@leeni.uk.xensource.com [Tue, 4 Apr 2006 10:19:52 +0000 (11:19 +0100)]
Workaround bug in xmlrpclib's string escaping.  That library outputs invalid
UTF-8 if given a string containing high-bit characters, so instead pass in
Unicode strings, for which the escaping is correct.

This fixes a bug seen when the dmesg of a machine contains high bit characters,
but I'm sure there are other ways in which it might be triggered.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoBuild a few more common network options into the i386 -xen kernel.
kaf24@firebug.cl.cam.ac.uk [Tue, 4 Apr 2006 10:19:39 +0000 (11:19 +0100)]
Build a few more common network options into the i386 -xen kernel.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoAdded tag RELEASE-3.0.2 for changeset 43165eb782b51f713a5757646c0b981a7e620e08
kaf24@firebug.cl.cam.ac.uk [Mon, 3 Apr 2006 14:56:10 +0000 (15:56 +0100)]
Added tag RELEASE-3.0.2 for changeset 43165eb782b51f713a5757646c0b981a7e620e08

19 years agoUpdate version to 3.0.2.
kaf24@firebug.cl.cam.ac.uk [Mon, 3 Apr 2006 14:55:58 +0000 (15:55 +0100)]
Update version to 3.0.2.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoAdded tag 3.0.2-branched for changeset d0d3fef37685be264a7f52201f8ef44c030daad3
kaf24@firebug.cl.cam.ac.uk [Mon, 3 Apr 2006 14:52:58 +0000 (15:52 +0100)]
Added tag 3.0.2-branched for changeset d0d3fef37685be264a7f52201f8ef44c030daad3

19 years agoHandle failure to register the xen store event channel instead of 3.0.2-branched
Ian.Campbell@xensource.com [Mon, 3 Apr 2006 13:34:20 +0000 (14:34 +0100)]
Handle failure to register the xen store event channel instead of
just not initialising xenbus/store when the supervisor_mode_kernel
feature flag is enabled.

When initialising grant tables only -ENOSYS is a valid reason
to fail so BUG_ON anything else like we did prior to changeset
9498.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years agoMake checksum handling in the virtual network drivers more robust.
kaf24@firebug.cl.cam.ac.uk [Sun, 2 Apr 2006 15:16:53 +0000 (16:16 +0100)]
Make checksum handling in the virtual network drivers more robust.
Largely this involves making the logic symmetrical: for example,
not only should netfront be able to tell netback that a packet has
an empty protocol checksum field, but the reverse must also be true.

Another change is that the drivers only advertise IP checksum
offload functionality. There is currently no information
propagated across the device channel about the offset of the
protocol-specific checksum field. Therefore it is not safe to
defer checksum calculation for protocols the remote end may not
understand -- it will end up dropping having to drop the packet.

Yet another change is to allow netback to disable tx checksum
offload, just as we already could for netfront. Currently there is
no support for disabling rx checksum offload -- that would seem
to require some way of propagating the checksum-offload advertisement
(or lack of it) across the device channel, as it really ought to be
the transmitter that acts on it.

Thanks to Ian Jackson for pointing out some of the problems with
our checksum-offload handling. Several of the changes here are
due to his comments.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoEnable HYPERVISOR_sched_op() and HYPERVISOR_sched_opt_compat() for ia64.
kaf24@firebug.cl.cam.ac.uk [Sun, 2 Apr 2006 08:49:17 +0000 (09:49 +0100)]
Enable HYPERVISOR_sched_op() and HYPERVISOR_sched_opt_compat() for ia64.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years agoDefine __XEN_INTERFACE_VERSION__ when building Xen.
kaf24@firebug.cl.cam.ac.uk [Sun, 2 Apr 2006 08:48:04 +0000 (09:48 +0100)]
Define __XEN_INTERFACE_VERSION__ when building Xen.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoThis patch fixes several issues related to vmxassist:
kaf24@firebug.cl.cam.ac.uk [Sat, 1 Apr 2006 13:59:12 +0000 (14:59 +0100)]
This patch fixes several issues related to vmxassist:
1) AP bring up;
2) RHEL4 IA32e installation;
3) SLES10 IA32e installation;

Signed-off-by: Xin Li <xin.b.li@intel.com>
19 years agoRename sched_op->sched_op_compat and sched_op_new->sched_op
kaf24@firebug.cl.cam.ac.uk [Sat, 1 Apr 2006 10:08:50 +0000 (11:08 +0100)]
Rename sched_op->sched_op_compat and sched_op_new->sched_op
after Christian's interface cleanup.

Signed-off-by: Keir Fraser <keir@xensource.com>