xen.git
20 years agoCross-compilation fixes.
kaf24@firebug.cl.cam.ac.uk [Tue, 30 Aug 2005 13:15:20 +0000 (13:15 +0000)]
Cross-compilation fixes.
Signed-off-by: Michal Ostrowski <mostrows@watson.ibm.com>
20 years agoMake mbootpack work on big-endian systems.
kaf24@firebug.cl.cam.ac.uk [Tue, 30 Aug 2005 13:12:47 +0000 (13:12 +0000)]
Make mbootpack work on big-endian systems.
Signed-off-by: Michal Ostrowski <mostrows@watson.ibm.com>
20 years agoReplace dom_mem_op hypercall with memory_op hypercall with
kaf24@firebug.cl.cam.ac.uk [Tue, 30 Aug 2005 11:53:47 +0000 (11:53 +0000)]
Replace dom_mem_op hypercall with memory_op hypercall with
better interface. Fix "mem=" parameter on x86/64 boot.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoThis patch export symbols in xenbus that is used by netfront
kaf24@firebug.cl.cam.ac.uk [Tue, 30 Aug 2005 09:46:33 +0000 (09:46 +0000)]
This patch export symbols in xenbus that is used by netfront
and blkfront so that vbd and vnif can be made to modules.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
20 years agoAdd CONFIG_BLK_DEV_UB as unconfigured item to x86/64 dom0
kaf24@firebug.cl.cam.ac.uk [Tue, 30 Aug 2005 08:47:51 +0000 (08:47 +0000)]
Add CONFIG_BLK_DEV_UB as unconfigured item to x86/64 dom0
defconfig file. Spotted by Yongkang You at Intel.

20 years agoFix save/restore (for SMP guests in particularl); the blkfront suspend code
shand@ubuntu.eng.hq.xensource.com [Tue, 30 Aug 2005 03:20:55 +0000 (19:20 -0800)]
Fix save/restore (for SMP guests in particularl);  the blkfront suspend code
was failing to unbind its irq handler correctly which (on SMP) caused the
guest to BUG() on resume when trying to request its callfunc_irq. Plus a
few small cosmetic changes.

Signed-off-by: Steven Hand <steven@xensource.com>
/bin/bash: :x: command not found

20 years agoSimplify and fix SMP irq and ipi teardown/setup on suspend/resume.
cl349@firebug.cl.cam.ac.uk [Mon, 29 Aug 2005 17:40:47 +0000 (17:40 +0000)]
Simplify and fix SMP irq and ipi teardown/setup on suspend/resume.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoUpdate suspend/resume functions for xenbus.
cl349@firebug.cl.cam.ac.uk [Mon, 29 Aug 2005 17:15:56 +0000 (17:15 +0000)]
Update suspend/resume functions for xenbus.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoOnly hotplug cpus and save/restore vcpu context on SMP builds.
cl349@firebug.cl.cam.ac.uk [Mon, 29 Aug 2005 17:14:08 +0000 (17:14 +0000)]
Only hotplug cpus and save/restore vcpu context on SMP builds.
The for_each_cpu_mask macro has a slightly odd behaviour in the
non-CONFIG_SMP case, making the code unexpectedly incorrect.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix page_is_ram() start-of-day checks, and the watch routine
kaf24@firebug.cl.cam.ac.uk [Mon, 29 Aug 2005 14:53:38 +0000 (14:53 +0000)]
Fix page_is_ram() start-of-day checks, and the watch routine
inside balloon driver.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoFix "bogus" check by moving it inside the length check.
cl349@firebug.cl.cam.ac.uk [Mon, 29 Aug 2005 13:58:46 +0000 (13:58 +0000)]
Fix "bogus" check by moving it inside the length check.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAllocate a request-id space per vbd in blkfront.
kaf24@firebug.cl.cam.ac.uk [Mon, 29 Aug 2005 13:56:53 +0000 (13:56 +0000)]
Allocate a request-id space per vbd in blkfront.
This should fix the assertions people have been seeing
in domU blkfront where we run out of IDs (because they
were being shared by multiple vbds).

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoMinor (partial) build fix for 2.4.
shand@ubuntu.eng.hq.xensource.com [Mon, 29 Aug 2005 05:50:04 +0000 (21:50 -0800)]
Minor (partial) build fix for 2.4.

Signed-off-by: Steven Hand <steven@xensource.com>
20 years agoFix nasty tools race between barking xu_autoreap() and xpopen3.wait() -
shand@ubuntu.eng.hq.xensource.com [Mon, 29 Aug 2005 05:40:36 +0000 (21:40 -0800)]
Fix nasty tools race between barking xu_autoreap() and xpopen3.wait() -
save/restore now seems more robust from a tools pov at least.

Signed-off-by: Steven Hand <steven@xensource.com>
20 years agoblkfront cleanup and retab.
kaf24@firebug.cl.cam.ac.uk [Sun, 28 Aug 2005 14:21:08 +0000 (14:21 +0000)]
blkfront cleanup and retab.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoCONFIG_X86_PM_TIMER is a no-op option when building Linux
kaf24@firebug.cl.cam.ac.uk [Sat, 27 Aug 2005 11:49:35 +0000 (11:49 +0000)]
CONFIG_X86_PM_TIMER is a no-op option when building Linux
for Xen, but make sure it doesn't break the build.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoDon't build pcbios.c for xen/i386. No good can come of it.
kaf24@firebug.cl.cam.ac.uk [Sat, 27 Aug 2005 09:15:17 +0000 (09:15 +0000)]
Don't build pcbios.c for xen/i386. No good can come of it.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoRefactor sync_lazy_execstate_cpu() into the more sensible
kaf24@firebug.cl.cam.ac.uk [Fri, 26 Aug 2005 17:57:09 +0000 (17:57 +0000)]
Refactor sync_lazy_execstate_cpu() into the more sensible
sync_vcpu_execstate().

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoClean up and fix hypercall macros in XenLinux: we must assume that
kaf24@firebug.cl.cam.ac.uk [Fri, 26 Aug 2005 17:42:34 +0000 (17:42 +0000)]
Clean up and fix hypercall macros in XenLinux: we must assume that
all register parameters are clobbered on return. Furthermore,
multicall arrays are clobbered on return from a multicall (only the
result field can be trusted!).

These restrictions are enforced by debug builds of Xen in the
following ways:
 1. On completion of a multicall, the call array is overwritten
    with garbage before writing in the result fields.
 2. On completion of a hypercall, all parameter registers are
    overwritten with garbage.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoRemove the unused ia64 patch directory.
kaf24@firebug.cl.cam.ac.uk [Fri, 26 Aug 2005 13:06:49 +0000 (13:06 +0000)]
Remove the unused ia64 patch directory.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoThe patched attached enables x86_64 xenlinux with "late pin, early
kaf24@firebug.cl.cam.ac.uk [Fri, 26 Aug 2005 11:02:14 +0000 (11:02 +0000)]
The patched attached enables x86_64 xenlinux with "late pin, early
unpin", which is already implemented for x86_32. Since we now only pin
the root rather than any of the other levels, the overall performance
became better especially with workloads that require heavy memory
management operations.

On 8-way x86_64 xenlinux (dom0) the kernel build was improved by about
10% (using make -j32). Even a small setup like a UP HT system, I see
about 3% performance gain with kernel build (make -j4).

Lmbench also shows improvements in fork/exec/sh:
Processor, Processes - times in microseconds - smaller is better
--------------------------------------------------------------------
Host    OS  Mhz   null null      open slct sig  sig  fork exec sh =20
                  call  I/O stat clos TCP  inst hndl proc proc proc
--------- ------------- ---- ---- ---- ---- ---- ---- ---- ---- ----=20
Linux 2.6.12- 3786 1.13 1.36 3.93 6.04 10.5 1.43 4.33 536. 1446 3614
Linux 2.6.12- 3786 1.13 1.36 3.91 6.03 10.4 1.44 4.38 346. 1050 2831

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
20 years agoFix GDT allocation for SMP guests.
kaf24@firebug.cl.cam.ac.uk [Fri, 26 Aug 2005 11:00:14 +0000 (11:00 +0000)]
Fix GDT allocation for SMP guests.

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
20 years agoVnet update.
cl349@firebug.cl.cam.ac.uk [Fri, 26 Aug 2005 10:52:53 +0000 (10:52 +0000)]
Vnet update.
Fix the tools/vnet makefiles so that vnets will compile
and includes updates to the vnet implementation.
Vnet ids are increased to 128 bits. The vnet module will
insmod whether xen-br0 exists or not.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix vnets in xm.
cl349@firebug.cl.cam.ac.uk [Fri, 26 Aug 2005 10:51:10 +0000 (10:51 +0000)]
Fix vnets in xm.
The removal of 'xm call' to call a xend interface function directly
made the xend vnet functions inaccessible. This patch adds those functions
to xm and fixes the persistence in XmVnet to use xenstore.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoThe patch removes broken, and very complicated malloc in
kaf24@firebug.cl.cam.ac.uk [Fri, 26 Aug 2005 10:35:36 +0000 (10:35 +0000)]
The patch removes broken, and very complicated malloc in
favour of much simpler (and working) Xen's allocator
(xmalloc by Rusty).

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
20 years agoClean up and fix domain_pause and friends. Synchronous
kaf24@firebug.cl.cam.ac.uk [Fri, 26 Aug 2005 09:29:54 +0000 (09:29 +0000)]
Clean up and fix domain_pause and friends. Synchronous
pause should not only wait for the running flag to clear,
but also for the scheduler lock to be released. Also get
rid of some unused sync_lazy_execstate functions.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agomerge?
kaf24@firebug.cl.cam.ac.uk [Fri, 26 Aug 2005 09:05:43 +0000 (09:05 +0000)]
merge?

20 years agoUpdate xentop to use new name for Xen version function.
cl349@firebug.cl.cam.ac.uk [Fri, 26 Aug 2005 08:50:31 +0000 (08:50 +0000)]
Update xentop to use new name for Xen version function.
Signed-off-by: Josh Triplett <josht@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoChanged xentop.c to include version in the summary.
cl349@firebug.cl.cam.ac.uk [Fri, 26 Aug 2005 08:50:02 +0000 (08:50 +0000)]
Changed xentop.c to include version in the summary.
Signed-off-by: Judy Fischbach <jfisch@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoBugfix: xenstat_collect_networks now returns the correct error code.
cl349@firebug.cl.cam.ac.uk [Fri, 26 Aug 2005 08:49:31 +0000 (08:49 +0000)]
Bugfix: xenstat_collect_networks now returns the correct error code.
Signed-off-by: Josh Triplett <josht@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoCache the Xen version in the xenstat_handle, since it should never change.
cl349@firebug.cl.cam.ac.uk [Fri, 26 Aug 2005 08:48:59 +0000 (08:48 +0000)]
Cache the Xen version in the xenstat_handle, since it should never change.
Use a collector and new flag for Xen version information, to avoid the
extra hypercall if the caller does not want the information.
Reference the xenstat_handle in the xenstat_node for ease of access
later, and update collectors accordingly.
Signed-off-by: Josh Triplett <josht@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFormatting fixes for xenstat and xentop.
cl349@firebug.cl.cam.ac.uk [Fri, 26 Aug 2005 08:47:49 +0000 (08:47 +0000)]
Formatting fixes for xenstat and xentop.
Signed-off-by: Josh Triplett <josht@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAdd file missed in c51562192ef6b1d94f6de7aba1daafe8353064a8 changeset.
cl349@firebug.cl.cam.ac.uk [Fri, 26 Aug 2005 08:46:28 +0000 (08:46 +0000)]
Add file missed in c51562192ef6b1d94f6de7aba1daafe8353064a8 changeset.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoMerge with -unstable
djm@kirby.fc.hp.com [Thu, 25 Aug 2005 22:53:20 +0000 (15:53 -0700)]
Merge with -unstable

20 years agoMinor cleanups.
cl349@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 18:49:48 +0000 (18:49 +0000)]
Minor cleanups.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 17:27:49 +0000 (17:27 +0000)]
merge?

20 years agoAdd hotplug script to run vif-bridge up script when a backend vif starts up.
cl349@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 17:27:31 +0000 (17:27 +0000)]
Add hotplug script to run vif-bridge up script when a backend vif starts up.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix MPT mapping for x86/64. Also i386 no longer needs
kaf24@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 17:15:41 +0000 (17:15 +0000)]
Fix MPT mapping for x86/64. Also i386 no longer needs
4MB mapping for PAE, as xenlinux can handle faults when
accessing unmapped sections of the table.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 16:27:04 +0000 (16:27 +0000)]
merge?

20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 16:26:30 +0000 (16:26 +0000)]
merge?

20 years agoMemory management fixes. Page tables are created, buddy allocator now
kaf24@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 16:25:26 +0000 (16:25 +0000)]
Memory management fixes. Page tables are created, buddy allocator now
has ability to free memory (as well as allocate it).

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
20 years agoCleanup unused code.
cl349@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 16:24:51 +0000 (16:24 +0000)]
Cleanup unused code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoThis patch fixes Bugzilla #169. (It should fix #187 too -- Keir).
kaf24@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 16:21:19 +0000 (16:21 +0000)]
This patch fixes Bugzilla #169. (It should fix #187 too -- Keir).

The root cause of bug 169 is, machine_to_phys_mapping, starting from
0xffff800000000000, is mapped using 2M pages.  When the system has RAM
no more than 2G, only one 2M page is allocated and only one PDE entry is
created correspondingly, so calling mfn_to_pfn with mfn > 0x80000 will
overflow this 2M page and cause a unable handled kernel paging request.
The mfn > 0x80000 comes from PCI device I/O memory, here from AGP
display card when booting X server.  Jun suggested to use something like
get_user() when accessing machine_to_phys_mapping.

Signed-off-by: Xin Li <xin.b.li@intel.com>
20 years agoThe mpt entry is 4 bytes even on x86_64, so we use 4 when
kaf24@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 15:53:03 +0000 (15:53 +0000)]
The mpt entry is 4 bytes even on x86_64, so we use 4 when
calculating mpt size.

Signed-off-by: Xin Li <xin.b.li@intel.com>
20 years ago1. Remove workaround patch
kaf24@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 15:51:30 +0000 (15:51 +0000)]
1. Remove workaround patch
2. Update scripts/vif-bridge to not call 'brctl delif'

When a domU is shutdown/destroyed and the netif is destroyed, the
notify_call_chain triggered from unregister_netdevice() will trigger the
bridge event handler and which will call the proper code to remove the
device from the bridge.

I can't see any reason why brtcl delif should be called when taking out
a domain if the call chain will delete the interface from the bridge
when the vif is destroyed automatically.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
20 years agoRemove broken patch preventing net device unregister.
cl349@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 15:46:23 +0000 (15:46 +0000)]
Remove broken patch preventing net device unregister.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoCleanup vif entries in store when domain goes away.
cl349@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 15:45:39 +0000 (15:45 +0000)]
Cleanup vif entries in store when domain goes away.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix device destruction.
cl349@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 15:45:19 +0000 (15:45 +0000)]
Fix device destruction.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoStore correct rx ring handle in netback driver.
kaf24@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 14:58:20 +0000 (14:58 +0000)]
Store correct rx ring handle in netback driver.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 14:41:52 +0000 (14:41 +0000)]
merge?

20 years agog/c Linux 2.4 netback support.
cl349@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 14:41:06 +0000 (14:41 +0000)]
g/c Linux 2.4 netback support.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoMore cleanups and g/c of unused code.
cl349@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 14:40:15 +0000 (14:40 +0000)]
More cleanups and g/c of unused code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix grant-ref allocation in netfront.
kaf24@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 14:30:06 +0000 (14:30 +0000)]
Fix grant-ref allocation in netfront.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 14:16:38 +0000 (14:16 +0000)]
merge?

20 years agog/c unused code.
cl349@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 14:16:23 +0000 (14:16 +0000)]
g/c unused code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix SMP booting: x86/64 startup initialisation fixes and so on.
kaf24@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 13:27:10 +0000 (13:27 +0000)]
Fix SMP booting: x86/64 startup initialisation fixes and so on.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoFix install of xenctrl.h.
kaf24@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 13:26:37 +0000 (13:26 +0000)]
Fix install of xenctrl.h.

20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 10:09:39 +0000 (10:09 +0000)]
merge?

20 years agoFix the exception thrown when doing, for example, "xm domid" on a non-existent domain.
cl349@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 09:55:12 +0000 (09:55 +0000)]
Fix the exception thrown when doing, for example, "xm domid" on a non-existent domain.
Signed-off-by: Dan Smith <danms@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 09:50:30 +0000 (09:50 +0000)]
merge?

20 years agoUpdated to reflect new tools added here.
cl349@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 09:50:20 +0000 (09:50 +0000)]
Updated to reflect new tools added here.
Signed-off-by: Judy Fischbach <jfisch@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoEnsure explicit asm statememt goes in the correct section.
kaf24@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 08:39:50 +0000 (08:39 +0000)]
Ensure explicit asm statememt goes in the correct section.

20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 00:55:20 +0000 (00:55 +0000)]
merge?

20 years agoBreak the building/save/restore code out into a separate library libxenguest.
cl349@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 00:51:20 +0000 (00:51 +0000)]
Break the building/save/restore code out into a separate library libxenguest.
Also update the tools accordingly.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoRename libxc => libxenctrl and xc.h => xen/xenctrl.h
cl349@firebug.cl.cam.ac.uk [Wed, 24 Aug 2005 23:07:29 +0000 (23:07 +0000)]
Rename libxc => libxenctrl and xc.h => xen/xenctrl.h
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
--HG--
rename : tools/libxc/xc.h => tools/libxc/xenctrl.h

20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Wed, 24 Aug 2005 22:24:10 +0000 (22:24 +0000)]
merge?

20 years agoSwitch network setup over to xenbus.
cl349@firebug.cl.cam.ac.uk [Wed, 24 Aug 2005 22:22:11 +0000 (22:22 +0000)]
Switch network setup over to xenbus.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoUpdate error message.
cl349@firebug.cl.cam.ac.uk [Wed, 24 Aug 2005 22:21:24 +0000 (22:21 +0000)]
Update error message.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoRename grant-id to ring-ref.
cl349@firebug.cl.cam.ac.uk [Wed, 24 Aug 2005 21:50:52 +0000 (21:50 +0000)]
Rename grant-id to ring-ref.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoWatch may fire before we've allocated the interface structure.
cl349@firebug.cl.cam.ac.uk [Wed, 24 Aug 2005 20:43:16 +0000 (20:43 +0000)]
Watch may fire before we've allocated the interface structure.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoUnregister watch in error path.
cl349@firebug.cl.cam.ac.uk [Wed, 24 Aug 2005 20:29:42 +0000 (20:29 +0000)]
Unregister watch in error path.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAvoid calling device_unregister from device_register callback.
cl349@firebug.cl.cam.ac.uk [Wed, 24 Aug 2005 20:11:07 +0000 (20:11 +0000)]
Avoid calling device_unregister from device_register callback.
Also simplify code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoDisable debug output again.
cl349@firebug.cl.cam.ac.uk [Wed, 24 Aug 2005 20:10:12 +0000 (20:10 +0000)]
Disable debug output again.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoPrint status of Flush Filter on AMD64 processors during
kaf24@firebug.cl.cam.ac.uk [Wed, 24 Aug 2005 16:15:42 +0000 (16:15 +0000)]
Print status of Flush Filter on AMD64 processors during
Xen boot. Also provide a new boot parameter:
 amd_flush_filter=on  : Forcibly enable the Filter
 amd_flush_filter=off : Forcibly disable the Filter

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Wed, 24 Aug 2005 15:49:27 +0000 (15:49 +0000)]
merge?

20 years agoAlways free the lowest 1MB of pseudo-physical memory when booting
kaf24@firebug.cl.cam.ac.uk [Wed, 24 Aug 2005 15:46:33 +0000 (15:46 +0000)]
Always free the lowest 1MB of pseudo-physical memory when booting
a guest.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoRevert changeset a3822cb3b2b3c24e6b46c1fed3e6c366817f52ad.
cl349@firebug.cl.cam.ac.uk [Wed, 24 Aug 2005 15:46:32 +0000 (15:46 +0000)]
Revert changeset a3822cb3b2b3c24e6b46c1fed3e6c366817f52ad.
With this changeset the error message is incorrect.
Revert: Fix the exception thrown when doing, for example,
        "xm domid" on a non-existent domain.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix x86/64 pagetable initialisation so that only things that
kaf24@firebug.cl.cam.ac.uk [Wed, 24 Aug 2005 15:22:44 +0000 (15:22 +0000)]
Fix x86/64 pagetable initialisation so that only things that
need to be are mapped read-only.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoAdd EXT3 as built-in filesystem for x86/64 domU.
kaf24@firebug.cl.cam.ac.uk [Wed, 24 Aug 2005 15:21:48 +0000 (15:21 +0000)]
Add EXT3 as built-in filesystem for x86/64 domU.

20 years agoCopy correct number of bytes for xen_start_info in x86_64
kaf24@firebug.cl.cam.ac.uk [Wed, 24 Aug 2005 13:17:12 +0000 (13:17 +0000)]
Copy correct number of bytes for xen_start_info in x86_64
head.S.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoInitialise syscall32 vsyscall page early, as it may be needed
kaf24@firebug.cl.cam.ac.uk [Wed, 24 Aug 2005 10:48:24 +0000 (10:48 +0000)]
Initialise syscall32 vsyscall page early, as it may be needed
for some initcalls (e.g., if initrd /bin/hotplug is an i386
binary).

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoUpdate comment.
cl349@firebug.cl.cam.ac.uk [Wed, 24 Aug 2005 09:44:03 +0000 (09:44 +0000)]
Update comment.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoDon't use the grant pre-allocation system for the ring grants.
cl349@firebug.cl.cam.ac.uk [Wed, 24 Aug 2005 09:31:52 +0000 (09:31 +0000)]
Don't use the grant pre-allocation system for the ring grants.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAdd some additional error nodes when block device setup fails.
cl349@firebug.cl.cam.ac.uk [Wed, 24 Aug 2005 08:55:14 +0000 (08:55 +0000)]
Add some additional error nodes when block device setup fails.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix the exception thrown when doing, for example, "xm domid" on a non-existent domain.
cl349@firebug.cl.cam.ac.uk [Wed, 24 Aug 2005 08:28:50 +0000 (08:28 +0000)]
Fix the exception thrown when doing, for example, "xm domid" on a non-existent domain.
Signed-off-by: Dan Smith <danms@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoEnsure percpu data area not used before the TR is set.
fred@xuni-t01.sc.intel.com [Wed, 24 Aug 2005 02:43:18 +0000 (18:43 -0800)]
Ensure percpu data area not used before the TR is set.

20 years agoXenstore testsuite robustness: save output rather than rerun on failure.
cl349@firebug.cl.cam.ac.uk [Tue, 23 Aug 2005 19:58:59 +0000 (19:58 +0000)]
Xenstore testsuite robustness: save output rather than rerun on failure.
"make check" reruns a test which fails with more verbosity.  If the test
fails intermittently, that doesn't work well: save the output and simply
dump it if the test fails.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix xenstore testsuite for valgrind 3.0 and latest Debian glibc.
cl349@firebug.cl.cam.ac.uk [Tue, 23 Aug 2005 19:57:32 +0000 (19:57 +0000)]
Fix xenstore testsuite for valgrind 3.0 and latest Debian glibc.
Debian upgrade revealed two problems: glibc spits out a warning on every
binary, and valgrind 3.0 gratuitously changed --logfile-fd to --log-fd,
so don't use it.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoMake directories implicitly for mkdir and write.
cl349@firebug.cl.cam.ac.uk [Tue, 23 Aug 2005 19:52:13 +0000 (19:52 +0000)]
Make directories implicitly for mkdir and write.
Change directory code: make then move (safer than delete-if-fail).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agog/c extra test.
cl349@firebug.cl.cam.ac.uk [Tue, 23 Aug 2005 19:48:28 +0000 (19:48 +0000)]
g/c extra test.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoPut the call to notifier_call_chain() back in do_xenbus_probe().
cl349@firebug.cl.cam.ac.uk [Tue, 23 Aug 2005 19:17:46 +0000 (19:17 +0000)]
Put the call to notifier_call_chain() back in do_xenbus_probe().
This fixes some dom0 activities, such as ballooning, sysrqing,
and cpu hotplugging.
Signed-off-by: Dan Smith <danms@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Tue, 23 Aug 2005 18:27:22 +0000 (18:27 +0000)]
merge?

20 years agoxenstat/xentop merge.
cl349@firebug.cl.cam.ac.uk [Tue, 23 Aug 2005 18:25:51 +0000 (18:25 +0000)]
xenstat/xentop merge.

20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Tue, 23 Aug 2005 18:10:21 +0000 (18:10 +0000)]
merge?

20 years agog/c vbd active.
cl349@firebug.cl.cam.ac.uk [Tue, 23 Aug 2005 18:09:54 +0000 (18:09 +0000)]
g/c vbd active.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix non-hotplug i386 build. Spotted by Rik van Riel.
kaf24@firebug.cl.cam.ac.uk [Tue, 23 Aug 2005 17:54:38 +0000 (17:54 +0000)]
Fix non-hotplug i386 build. Spotted by Rik van Riel.

20 years agoRemove blkback 2.4 support since we don't support 2.4 dom0 anymore.
cl349@firebug.cl.cam.ac.uk [Tue, 23 Aug 2005 17:51:57 +0000 (17:51 +0000)]
Remove blkback 2.4 support since we don't support 2.4 dom0 anymore.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Tue, 23 Aug 2005 17:33:11 +0000 (17:33 +0000)]
merge?

20 years agoMinor cleanup.
cl349@firebug.cl.cam.ac.uk [Tue, 23 Aug 2005 17:32:44 +0000 (17:32 +0000)]
Minor cleanup.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoBuild topology.c into x86/64 xenlinux kernel. This omission
kaf24@firebug.cl.cam.ac.uk [Tue, 23 Aug 2005 17:30:34 +0000 (17:30 +0000)]
Build topology.c into x86/64 xenlinux kernel. This omission
spotted by Ryan Harper at IBM.