]> xenbits.xensource.com Git - xen.git/log
xen.git
18 years ago[XM-TEST] Increase timeout on hotplug-cpus-down test to 30 seconds.
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 11:00:02 +0000 (12:00 +0100)]
[XM-TEST] Increase timeout on hotplug-cpus-down test to 30 seconds.
This is needed when dom0 has 32 CPUs.
Signed-off-by: Susan Krysan <krysans@unisys.com>
18 years ago[IA64] Re-enable tools/xcutils build on ia64. We now have
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 10:58:17 +0000 (11:58 +0100)]
[IA64] Re-enable tools/xcutils build on ia64.  We now have
save/restore working in the xen-ia64-unstable.hg thanks to some
excellent work by Tristan.  This simply splits the xcutils components
from the x86-ish linux_save/restore files in a way that should be
friendly to powerpc.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years agomerge
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 10:55:34 +0000 (11:55 +0100)]
merge

18 years agoXm-test HVM network testing is broken. The new qemu code doesn't support
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 10:54:10 +0000 (11:54 +0100)]
Xm-test HVM network testing is broken. The new qemu code doesn't support
pcnet32, which is the current default driver loaded onto the disk.img.
This patch changes teh default to the rtl8139, which is xend's default.
This patch also adds a new "--with-network-drv" configuration option so
people can configure different drivers than the default.

Signed-off-by: Daniel Stekloff <dsteklof@us.ibm.com>
18 years ago[PYGRUB] Typo fix in pygrub README
atse@norwich.uk.xensource.com [Fri, 14 Jul 2006 10:49:26 +0000 (11:49 +0100)]
[PYGRUB] Typo fix in pygrub README

Signed-off-by: Alastair Tse <atse@xensource.com>
18 years ago[XEND] Minor readability change
atse@norwich.uk.xensource.com [Fri, 14 Jul 2006 10:49:25 +0000 (11:49 +0100)]
[XEND] Minor readability change

Signed-off-by: Alastair Tse <atse@xensource.com>
18 years ago[XEND] Minor syntax change
atse@norwich.uk.xensource.com [Fri, 14 Jul 2006 10:49:24 +0000 (11:49 +0100)]
[XEND] Minor syntax change

Signed-off-by: Alastair Tse <atse@xensource.com>
18 years ago[TPM] Discard a future response packet after a timeout has occurred instead of
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 10:48:48 +0000 (11:48 +0100)]
[TPM] Discard a future response packet after a timeout has occurred instead of
removing the request right away.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
18 years ago[IA64] Update the defconfigs for ia64 to disable blktap until we have a
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 10:46:57 +0000 (11:46 +0100)]
[IA64] Update the defconfigs for ia64 to disable blktap until we have a
chance to make it work.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years ago[IA64] The blktap driver hardcodes PAGE_SIZE. Change it to use getpagesize(),
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 10:46:28 +0000 (11:46 +0100)]
[IA64] The blktap driver hardcodes PAGE_SIZE. Change it to use getpagesize(),
thereby allowing it to build on ia64.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years ago[IA64] Libaio 0.3.104 in xen-unstable doesn't build on ia64.
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 10:45:15 +0000 (11:45 +0100)]
[IA64] Libaio 0.3.104 in xen-unstable doesn't build on ia64.
This updates to 0.3.106, which does build.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years agoFix typo in description of XEN_BLKDEV_TAP
kfraser@localhost.localdomain [Fri, 14 Jul 2006 10:43:57 +0000 (11:43 +0100)]
Fix typo in description of XEN_BLKDEV_TAP
Signed-off-by: Horms <horms@verge.net.au>
18 years ago[IA64] Fix the ia64 build.
kfraser@localhost.localdomain [Fri, 14 Jul 2006 09:49:05 +0000 (10:49 +0100)]
[IA64] Fix the ia64 build.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years ago[powerpc] Initial checkin of new powerpc files.
kfraser@localhost.localdomain [Fri, 14 Jul 2006 09:47:50 +0000 (10:47 +0100)]
[powerpc] Initial checkin of new powerpc files.
From: Hollis Blanchard et al (IBM)
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoRemove CONFIG_PLAN9. Unused.
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 09:38:25 +0000 (10:38 +0100)]
Remove CONFIG_PLAN9. Unused.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[powerpc] add PowerPC support to libxc
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 09:37:12 +0000 (10:37 +0100)]
[powerpc] add PowerPC support to libxc
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
18 years ago[powerpc] support additional interrupt controller types in xen/arch/x86/irq.c
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 09:31:36 +0000 (10:31 +0100)]
[powerpc] support additional interrupt controller types in xen/arch/x86/irq.c
PowerPC #includes xen/arch/x86/irq.c, so we need to support MPIC interrupt
controllers here.
From: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[powerpc] print page->count_info as unsigned long
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 09:23:52 +0000 (10:23 +0100)]
[powerpc] print page->count_info as unsigned long
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
18 years ago[powerpc] [xend] PPC doesn't support ballooning yet
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 09:23:04 +0000 (10:23 +0100)]
[powerpc] [xend] PPC doesn't support ballooning yet
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
18 years ago[powerpc] add PowerPC support to Makefiles
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 09:22:40 +0000 (10:22 +0100)]
[powerpc] add PowerPC support to Makefiles
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
18 years ago[powerpc] add arch-powerpc.h to xen.h
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 09:21:57 +0000 (10:21 +0100)]
[powerpc] add arch-powerpc.h to xen.h
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
18 years ago[powerpc] add PowerPC files to .hgignore
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 09:21:28 +0000 (10:21 +0100)]
[powerpc] add PowerPC files to .hgignore
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
18 years agoxend save/restore fix, only matches one device type (vbd or tap) on creation of vm.
jchesterfield@wicket.uk.xensource.com [Thu, 13 Jul 2006 14:33:08 +0000 (15:33 +0100)]
xend save/restore fix, only matches one device type (vbd or tap) on creation of vm.

18 years agoUpdate ignores after blktap checkin (-unstable cset 10677:2937703f0ed0)
shand@kneesaa.uk.xensource.com [Thu, 13 Jul 2006 10:05:16 +0000 (11:05 +0100)]
Update ignores after blktap checkin (-unstable cset 10677:2937703f0ed0)

Signed-off-by: Steven Hand <steven@xensource.com>
18 years ago[IOEMU] Enable gui_timer unless the display is exported over VNC.
chris@kneesaa.uk.xensource.com [Thu, 13 Jul 2006 09:27:08 +0000 (10:27 +0100)]
[IOEMU] Enable gui_timer unless the display is exported over VNC.

Based on bug report from: Huang2, Wei <Wei.Huang2@amd.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
18 years agoAdded blktap support. Includes kernel driver (enabled as CONFIG_XEN_BLKDEV_TAP=y...
jchesterfield@dhcp92.uk.xensource.com [Thu, 13 Jul 2006 09:13:26 +0000 (10:13 +0100)]
Added blktap support. Includes kernel driver (enabled as CONFIG_XEN_BLKDEV_TAP=y) and userspace tools. The userspace deamon (blktapctrl) is enabled by default when xend is activated. For further information on using and configuring blktap see tools/blktap/README.

18 years ago[XEN] Clean up page-fault propagation when acessing guest addresses.
kfraser@localhost.localdomain [Thu, 13 Jul 2006 08:55:14 +0000 (09:55 +0100)]
[XEN] Clean up page-fault propagation when acessing guest addresses.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoUpdate xend to support vnc configuration for qemu 0.8.1 based ioemu.
chris@kneesaa.uk.xensource.com [Wed, 12 Jul 2006 18:16:14 +0000 (19:16 +0100)]
Update xend to support vnc configuration for qemu 0.8.1 based ioemu.
Also add vncdisplay= option which allows setting the display number
instead of using the default display number (= domid).

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
18 years agoUpdate xend to support network configuration for qemu 0.8.1 based ioemu.
chris@kneesaa.uk.xensource.com [Wed, 12 Jul 2006 18:16:12 +0000 (19:16 +0100)]
Update xend to support network configuration for qemu 0.8.1 based ioemu.
Remove the ne2000 option, the network device type can now be selected
on a per-device basis by adding a model= property to the device's entry
in the vif list.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
18 years agoAdd qemu 0.8.1 based ioemu.
chris@kneesaa.uk.xensource.com [Wed, 12 Jul 2006 18:16:10 +0000 (19:16 +0100)]
Add qemu 0.8.1 based ioemu.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
18 years agoRemove qemu 0.6.1 based ioemu.
chris@kneesaa.uk.xensource.com [Wed, 12 Jul 2006 18:16:07 +0000 (19:16 +0100)]
Remove qemu 0.6.1 based ioemu.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
18 years agoRevert c/s 10651: "prevent double uuid use". Breaks localhost
kfraser@localhost.localdomain [Wed, 12 Jul 2006 15:34:39 +0000 (16:34 +0100)]
Revert c/s 10651: "prevent double uuid use". Breaks localhost
migration, since old and new domains can coexist at same time
with same uuid.

Possibly this patch could be accepted if xend were to be able to
deal with localhost migration (and save/restore, which can also
occasionally race).

Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoAdd linux config update script and native linux build.
ack@localhost.localdomain [Wed, 12 Jul 2006 10:58:40 +0000 (11:58 +0100)]
Add linux config update script and native linux build.
Update script generates linux config files from others, reducing
the burden of maintaining multiple parallel files.
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
18 years agoIfdef stuff that is XEN specific in patches
ack@localhost.localdomain [Wed, 12 Jul 2006 10:55:10 +0000 (11:55 +0100)]
Ifdef stuff that is XEN specific in patches
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
18 years agoMake ioemu dir configurable and change prefix to /usr (works with old and new ioemu).
chris@kneesaa.uk.xensource.com [Wed, 12 Jul 2006 09:33:37 +0000 (10:33 +0100)]
Make ioemu dir configurable and change prefix to /usr (works with old and new ioemu).

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
18 years ago[VMXASSIST] Include all rodata sections into text section.
chris@kneesaa.uk.xensource.com [Mon, 10 Jul 2006 17:35:07 +0000 (18:35 +0100)]
[VMXASSIST] Include all rodata sections into text section.
Some versions of ld put non-matched sections into random locations otherwise.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
18 years ago[HVM][VMX] Clean up some writes to 64-bit VMCS fields in 32-bit Xen.
kfraser@localhost.localdomain [Mon, 10 Jul 2006 16:47:28 +0000 (17:47 +0100)]
[HVM][VMX] Clean up some writes to 64-bit VMCS fields in 32-bit Xen.
Signed-off-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoCheck attributes of page table level 3 entries for 4 level HVM guest.
kfraser@localhost.localdomain [Mon, 10 Jul 2006 16:40:27 +0000 (17:40 +0100)]
Check attributes of page table level 3 entries for 4 level HVM guest.
Removed aound tailing spaces.
Signed-off-by: Xin Li <xin.b.li@intel.com>
18 years agoShared libs have traditionally been installed as executables due to
kfraser@localhost.localdomain [Mon, 10 Jul 2006 16:38:41 +0000 (17:38 +0100)]
Shared libs have traditionally been installed as executables due to
some
long ago accidents of implementation in historical Unixes.  And there
are various tools which "expect" it (... and this is why they get
created as executable by default by ld).

Switching to INSTALL_LIB here although I think the whole "define all
the
ways you're going to use install" in this makefile a _smidge_ overkill

Signed-off-by: Jeremy Katz <katzj@redhat.com>
18 years agoMove the content of the script file vtpm-addtodb into the
kfraser@localhost.localdomain [Mon, 10 Jul 2006 16:36:41 +0000 (17:36 +0100)]
Move the content of the script file vtpm-addtodb into the
vtpm-common.sh
script. The newly created function 'vtpm_add_and_activate' also
assigns
the instance number to the xenstore entry to activate the backend.
Renaming of isLocalAddress function to vtpm_isLocalAddress.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
18 years ago[LINUX] Define dma_get_cache_alignment even on x86/64.
kfraser@localhost.localdomain [Mon, 10 Jul 2006 16:33:45 +0000 (17:33 +0100)]
[LINUX] Define dma_get_cache_alignment even on x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[XM][ACM] Add xm subcommands to work with security resource labels.
kfraser@localhost.localdomain [Mon, 10 Jul 2006 16:18:07 +0000 (17:18 +0100)]
[XM][ACM] Add xm subcommands to work with security resource labels.

This patch adds new xm subcommands to support working with resource
labels.  The new subcommands are 'xm resources', 'xm rmlabel', 'xm
getlabel' and 'xm dry-run'.  In addition, the 'xm addlabel' subcommand
now uses an updated syntax to support labeling both domains and
resources.  See the xm man page for details on each subcommand.

Beyond the new subcommands, this patch allows users to immediately see
when security checks will fail by pushing some basic security checking
into the beginning of 'xm create' and 'xm block-attach'.  ACM security
attributes for block devices are added to XenStore in order to support
the final security enforcement, which will be performed in the kernel
and included in a separate patch.

Signed-off-by: Bryan D. Payne <bdpayne@us.ibm.com>
Signed-off-by: Reiner Sailer <sailer@us.ibm.com>
18 years ago[XENTRACE] Remember number of lost trace records when
kfraser@localhost.localdomain [Mon, 10 Jul 2006 16:05:44 +0000 (17:05 +0100)]
[XENTRACE] Remember number of lost trace records when
trace buffer is full and write a 'number of lost records'
entry when space becomes available.
From: Rob Gardner <rob.gardner@hp.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoDomain ID/index mapping in xenmon.
kfraser@localhost.localdomain [Mon, 10 Jul 2006 15:09:20 +0000 (16:09 +0100)]
Domain ID/index mapping in xenmon.

This patch addresses the problem of xenbaked/xenmon not dealing with
large domain ID's. Xen Domain ID's increase monotonically as domains
are created; The ID's are not (often) recycled. Xenbaked was using the
domain
ID's as indices to arrays of data, and this scheme blows up as soon as
a domain ID exceeds the array size. Code has been changed in xenbaked
and xenmon to isolate domain id's from array indices, so everything is
indirect. Users should not notice any difference in behavior.

From: Rob Gardner <rob.gardner@hp.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[XENOPROF] Some fixes for xenoprof passive domain support.
kfraser@localhost.localdomain [Mon, 10 Jul 2006 15:05:44 +0000 (16:05 +0100)]
[XENOPROF] Some fixes for xenoprof passive domain support.

Currently, passive domain samples are being assigned to the wrong
kernel functions. This patch fixes this problem. In addition the patch changes the
encoding of domain switch ESCAPE codes (marks used to separate samples
in oprofile  buffers associated with different domains). Instead of
using 2 codes, one  for START and one for END of passive domain
samples, a single escape CODE value is used to indicate a domain switch (no
need for a STOP followed by a START). Finally there some other minor style
fixes.

Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
18 years ago[XEND] Currently a domain's maxmem value is being set with the memory value
kfraser@localhost.localdomain [Mon, 10 Jul 2006 14:57:56 +0000 (15:57 +0100)]
[XEND] Currently a domain's maxmem value is being set with the memory value
even if the user specifies maxmem in config.  This patch uses maxmem
value to set maxmem instead of memory.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
18 years ago[VTPM_Tools] Support for (non-local) Migration added. Local migration
kfraser@localhost.localdomain [Mon, 10 Jul 2006 14:38:49 +0000 (15:38 +0100)]
[VTPM_Tools] Support for (non-local) Migration added. Local migration
works provided that the hotplug scripts deliver the "suspend" before
the "resume," but this is not always true.
Signed-off-by: Vinnie Scarlata <vincent.r.scarlata@intel.com>
18 years ago[NET] net-gso.patch: Fix up GSO packets with broken checksums
kfraser@localhost.localdomain [Mon, 10 Jul 2006 14:36:04 +0000 (15:36 +0100)]
[NET] net-gso.patch: Fix up GSO packets with broken checksums

Here is the original changelog:

   [NET] gso: Fix up GSO packets with broken checksums

   Certain subsystems in the stack (e.g., netfilter) can break the
   partial
   checksum on GSO packets.  Until they're fixed, this patch allows
   this to
   work by recomputing the partial checksums through the GSO
   mechanism.

   Once they've all been converted to update the partial checksum
   instead of
   clearing it, this workaround can be removed.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
18 years ago[XENCONSOLE] reference of tty->count in xencons_close() is racy.
kfraser@localhost.localdomain [Mon, 10 Jul 2006 14:23:15 +0000 (15:23 +0100)]
[XENCONSOLE] reference of tty->count in xencons_close() is racy.
It must be protected by tty_sem semaphore like con_close() in
drivers/char/vt.c. and prevent re-opening this tty.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[XEND] Fix a couple of error-message typos.
kfraser@localhost.localdomain [Mon, 10 Jul 2006 14:18:53 +0000 (15:18 +0100)]
[XEND] Fix a couple of error-message typos.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
18 years ago[XEND] Improve xm pause/unpause error reporting.
kfraser@localhost.localdomain [Mon, 10 Jul 2006 14:18:12 +0000 (15:18 +0100)]
[XEND] Improve xm pause/unpause error reporting.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
18 years ago[XEND] Prevent uuid double use.
kfraser@localhost.localdomain [Mon, 10 Jul 2006 14:10:00 +0000 (15:10 +0100)]
[XEND] Prevent uuid double use.

A check_uuid() in this patch checks on uuid of the
VM configuration definition. If specified uuid is
already used with the others VM, the xm create command
does not create the VM. The xm create command error occurs.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
18 years ago[HVM] Fix "Many lost ticks" warning in ia32e guest
kfraser@localhost.localdomain [Mon, 10 Jul 2006 14:01:49 +0000 (15:01 +0100)]
[HVM] Fix "Many lost ticks" warning in ia32e guest
Signed-off-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
18 years agoUse $(MAKE) instead of make to run sub-makefiles to correcly support -j flag.
kfraser@localhost.localdomain [Mon, 10 Jul 2006 13:58:42 +0000 (14:58 +0100)]
Use $(MAKE) instead of make to run sub-makefiles to correcly support -j flag.
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
18 years ago[BUILD] Fix re-use of existing config files in dist/install/boot.
chris@kneesaa.uk.xensource.com [Sat, 8 Jul 2006 18:22:34 +0000 (19:22 +0100)]
[BUILD] Fix re-use of existing config files in dist/install/boot.
- the name of the config file was computed incorrectly because of the
  linux version number 4th digit being present in both LINUX_VER and
  EXTRAVERSION extracted from the linux Makefile.
- DESTDIR was not set for the prep and config targets.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
18 years ago[XEN] Add CPUID hypervisor-info leaves at index 0x40000000.
kfraser@localhost.localdomain [Wed, 5 Jul 2006 17:48:41 +0000 (18:48 +0100)]
[XEN] Add CPUID hypervisor-info leaves at index 0x40000000.
Currently only a signature leaf is defined ("Xen\0").
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[XEN] getpagframeinfo field name mfn -> gmfn.
kfraser@localhost.localdomain [Wed, 5 Jul 2006 16:37:08 +0000 (17:37 +0100)]
[XEN] getpagframeinfo field name mfn -> gmfn.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[XEN] Hypercall-init dom0_op takes GMFN, not MFN.
kfraser@localhost.localdomain [Wed, 5 Jul 2006 16:16:10 +0000 (17:16 +0100)]
[XEN] Hypercall-init dom0_op takes GMFN, not MFN.
Signed-off-by: Steven Smith <sos22@cl.cam.ac.uk>
18 years ago[HVM][VMX] More descriptive failed vmentry.
kfraser@localhost.localdomain [Wed, 5 Jul 2006 13:31:22 +0000 (14:31 +0100)]
[HVM][VMX] More descriptive failed vmentry.
Signed-off-by: Xin Li <xin.b.li@intel.com>
18 years ago[MINIOS] Mapping page frames on demand added to the memory management.
kfraser@localhost.localdomain [Wed, 5 Jul 2006 13:29:57 +0000 (14:29 +0100)]
[MINIOS] Mapping page frames on demand added to the memory management.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
18 years ago[MINIOS]Mapping page frames on demand added to the memory management.
kfraser@localhost.localdomain [Wed, 5 Jul 2006 13:29:13 +0000 (14:29 +0100)]
[MINIOS]Mapping page frames on demand added to the memory management.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
18 years ago[XEN] Separate domain creation from vcpu creation.
kfraser@localhost.localdomain [Wed, 5 Jul 2006 13:27:27 +0000 (14:27 +0100)]
[XEN] Separate domain creation from vcpu creation.
Creating a domain no longer creates vcpu0 -- that is now
done later.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[XENMON] This patch removes the magic number "31" for readability.
kfraser@localhost.localdomain [Wed, 5 Jul 2006 10:31:33 +0000 (11:31 +0100)]
[XENMON] This patch removes the magic number "31" for readability.
The number "31" means the idle domain ID.

In detail:
- display the idle domain ID with "Idle" instead of "31"
- write to the file "log-idle.log" instead of "log-dom31.log".

Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
18 years ago[HVM] Fix the kernel build failure issue on HVM SMP guests which
kfraser@localhost.localdomain [Wed, 5 Jul 2006 10:30:12 +0000 (11:30 +0100)]
[HVM] Fix the kernel build failure issue on HVM SMP guests which
are using 2M PSE pages. Now we can do kernel build on:
 1) RHEL4 IA32 SMP guest on PAE host.
 2) RHEL4 IA32 SMP guest on IA32e host.
 3) IA32e SMP guest on IA32e host.

Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
Signed-off-by: Xin Li <xin.b.li@intel.com>
18 years ago[MINIOS]Events handling cleaned up. The interface extended to provide
kfraser@localhost.localdomain [Wed, 5 Jul 2006 10:27:58 +0000 (11:27 +0100)]
[MINIOS]Events handling cleaned up. The interface extended to provide
void* pointer to handlers.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
18 years ago[MINIOS] XenBus tests disabled in MiniOS. Xend bug induced
kfraser@localhost.localdomain [Wed, 5 Jul 2006 10:27:25 +0000 (11:27 +0100)]
[MINIOS] XenBus tests disabled in MiniOS. Xend bug induced
by write to device/vif/0.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
18 years ago[MINIOS] Implement XenBus transactions in MiniOS.
kfraser@localhost.localdomain [Wed, 5 Jul 2006 10:26:57 +0000 (11:26 +0100)]
[MINIOS] Implement XenBus transactions in MiniOS.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
18 years ago[XENTOP] Fix Field attributes and width.
kfraser@localhost.localdomain [Wed, 5 Jul 2006 10:24:09 +0000 (11:24 +0100)]
[XENTOP] Fix Field attributes and width.

It miss that set the FIELD attribute and width for VBD
information in xentop.c.

Signed-off-by  Satoshi UCHIDA <s-uchida@ap.jp.nec.com>

18 years ago[HVM][VMX] Move vmcs and I/O bitmap allocation into
kfraser@localhost.localdomain [Wed, 5 Jul 2006 10:21:19 +0000 (11:21 +0100)]
[HVM][VMX] Move vmcs and I/O bitmap allocation into
vmx_initialise_guest_resources().

Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoUpdate xen caps to indicate that HVM IA32 PAE guest on PAE host is available.
kfraser@localhost.localdomain [Wed, 5 Jul 2006 09:32:33 +0000 (10:32 +0100)]
Update xen caps to indicate that HVM IA32 PAE guest on PAE host is available.
Signed-off-by: Xin Li <xin.b.li@intel.com>
18 years ago[HVM][VMX] expose PSE feature to HVM guests if PAE is turned on in
kfraser@localhost.localdomain [Wed, 5 Jul 2006 09:32:08 +0000 (10:32 +0100)]
[HVM][VMX] expose PSE feature to HVM guests if PAE is turned on in
config file, with this change, RHEL4 IA32 SMP guest can boot.
But because we don't support 4Mbytes PSE pages, so x86_32 HVM guest
can NOT use PSE feature. However user may have "pae=1" in config file,
which causes PSE feature seen by x86_32 HVM guest, and it will then use
4Mbytes PSE pages. In this case, we will have to crash x86_32 HVM.
So when running x86_32 HVM guest, user need pay attention not to have
"pae=1" in config file.

Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
18 years ago[HVM] Disable pmtimer in qemu acpi device model. Needs fixing
kfraser@dhcp93.uk.xensource.com [Mon, 3 Jul 2006 15:07:20 +0000 (16:07 +0100)]
[HVM] Disable pmtimer in qemu acpi device model. Needs fixing
to not burn ~25% of a 3GHz CPU.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[NET]: Rename feature-tso to feature-gso-tcpv4
kaf24@firebug.cl.cam.ac.uk [Mon, 3 Jul 2006 08:07:33 +0000 (09:07 +0100)]
[NET]: Rename feature-tso to feature-gso-tcpv4

This patch renames the name feature-tso to feature-gso-tcpv4 for future
expansion.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
18 years ago[NET] front: Zero negotiated bits in xen_set_features
kaf24@firebug.cl.cam.ac.uk [Mon, 3 Jul 2006 08:06:59 +0000 (09:06 +0100)]
[NET] front: Zero negotiated bits in xen_set_features

When we reconnect to the backend we need to first zero all negotiated
bits as the functions xen_set_sg and xen_set_tso do not (and are not
supposed to) zero bits when they fail to set them.

This patch also permanently enables the NETIF_F_GSO_ROBUST bit as we
never parse any GSO fields ourselves (even if we did the backend could
not trust us so it's wasted effort).

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
18 years ago[NET] back: Add GSO features field and check gso_size
kaf24@firebug.cl.cam.ac.uk [Mon, 3 Jul 2006 08:05:18 +0000 (09:05 +0100)]
[NET] back: Add GSO features field and check gso_size

This patch adds the as-yet unused GSO features which will contain
protocol-independent bits such as the ECN marker.

It also makes the backend check gso_size to ensure that it is non-zero.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
18 years ago[NET] back: Fix off-by-one error in netbk_tx_err
kaf24@firebug.cl.cam.ac.uk [Mon, 3 Jul 2006 07:57:15 +0000 (08:57 +0100)]
[NET] back: Fix off-by-one error in netbk_tx_err

The generalised extra request info patch introduced a bug with the use
of netbk_tx_err since it advanced the req_cons pointer by one.  This
patch fixes thing by delaying the increment in netbk_tx_err.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
18 years ago[BUILD] Miscellaneous build-system fixes and tweaks.
kaf24@firebug.cl.cam.ac.uk [Mon, 3 Jul 2006 07:56:29 +0000 (08:56 +0100)]
[BUILD] Miscellaneous build-system fixes and tweaks.

* Don't delete non-existent %.tar.bz2 in buildconfigs/Rules.mk's %-mrproper
* Add a mrpropper target to buildconfigs/mk.linux-2.6-xen, and
  have this delete the local tarball
  - This should also delete the local patch, if there is one, but I am not
    sure how to do this with the current incarntation of the code, and I
    will post a subsequent patch which makes this easier and effects this
    chang. As there currently is no local patch this is not a big deal at
    this moment. (Horms)
* Stop kclean from erroring out if the kernel directory doesn't exist
* Remove patches/*/.makedep in top level Makefile rather than in
  buildconfigs/Rules.mk, as calling rules in the latter causes
  patches/*/.make to be created (Magnus)

Signed-Off-By: Magnus Damm <magnus@valinux.co.jp>
Signed-Off-By: Horms <horms@verge.net.au>
18 years ago[DOC] Add descriptions on mouse handling and how to use the USB
kaf24@firebug.cl.cam.ac.uk [Mon, 3 Jul 2006 07:55:08 +0000 (08:55 +0100)]
[DOC] Add descriptions on mouse handling and how to use the USB
support that is now in the HVM device model.

Signed-off-by: Don Dugger <donald.d.dugger@intel.com>
18 years ago[LINUX] Fix booting with e.g. xencons=tty3, so that tty1/tty2 are valid (dummy) devices.
kfraser@dhcp93.uk.xensource.com [Mon, 3 Jul 2006 07:52:27 +0000 (08:52 +0100)]
[LINUX] Fix booting with e.g. xencons=tty3, so that tty1/tty2 are valid (dummy) devices.

Attached patch makes it always create valid devices on tty1-tty63, but
all but the one specified by xencons are dummy devices.

From: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoMerge with xen-ia64-unstable.hg
kaf24@firebug.cl.cam.ac.uk [Mon, 3 Jul 2006 07:35:12 +0000 (08:35 +0100)]
Merge with xen-ia64-unstable.hg

18 years ago[HVM][VMX] Fixes to VMCS create/destroy.
kaf24@firebug.cl.cam.ac.uk [Mon, 3 Jul 2006 07:27:50 +0000 (08:27 +0100)]
[HVM][VMX] Fixes to VMCS create/destroy.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[LIBXC] Fix the 64-bit build.
kaf24@firebug.cl.cam.ac.uk [Sat, 1 Jul 2006 08:37:24 +0000 (09:37 +0100)]
[LIBXC] Fix the 64-bit build.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[XEN] Sync Elf parsing with libxc parser.
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 21:23:21 +0000 (22:23 +0100)]
[XEN] Sync Elf parsing with libxc parser.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoProvide more specific and helpful error messages during ELF loading.
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 21:19:08 +0000 (22:19 +0100)]
Provide more specific and helpful error messages during ELF loading.

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
18 years agoAllow 32-bit libxc to load 64-bit ELF files.
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 21:18:01 +0000 (22:18 +0100)]
Allow 32-bit libxc to load 64-bit ELF files.
- use 64-bit integral types for addresses in struct domain_start_info
- use stroull() to parse 64-bit values
- remove redundant _p(a) definition and add a comment
- printf format changes for the new types

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
18 years ago[XEN] Mark two more opcodes (C6 and C7) as Mov instructions.
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 21:02:58 +0000 (22:02 +0100)]
[XEN] Mark two more opcodes (C6 and C7) as Mov instructions.
From: Mats Petersson <Mats.Petersson@amd.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[XENBUS] Another simplification -- bus_for_each_dev() better than bus_find_device().
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 21:02:18 +0000 (22:02 +0100)]
[XENBUS] Another simplification -- bus_for_each_dev() better than bus_find_device().
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[XENBUS] Another fix to the wait-for-device-connection code.
kfraser@dhcp93.uk.xensource.com [Fri, 30 Jun 2006 17:14:57 +0000 (18:14 +0100)]
[XENBUS] Another fix to the wait-for-device-connection code.
The new method for printing unconnected device status is arguably
cleaner and also does not screw up reference counts (previous code
called bus_find_device() with no put_device() on the result.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[XENBUS] Do not wait for devices with no driver to connect.
kfraser@dhcp93.uk.xensource.com [Fri, 30 Jun 2006 16:53:52 +0000 (17:53 +0100)]
[XENBUS] Do not wait for devices with no driver to connect.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoMerge
ack@localhost.localdomain [Fri, 30 Jun 2006 16:12:31 +0000 (17:12 +0100)]
Merge

18 years agoDon't modify global active weight when changing weight of inactive domain.
ack@localhost.localdomain [Fri, 30 Jun 2006 16:12:05 +0000 (17:12 +0100)]
Don't modify global active weight when changing weight of inactive domain.
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
18 years ago[XENBUS] Improve the code for waiting for devices to connect. Provide
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 16:02:22 +0000 (17:02 +0100)]
[XENBUS] Improve the code for waiting for devices to connect. Provide
a more useful error when devices fail to connect.
From: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[NET]: Update net-gso.patch. Remove net-tso.patch.
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 13:41:13 +0000 (14:41 +0100)]
[NET]: Update net-gso.patch. Remove net-tso.patch.

New changeset merged upstream:

    [TCP]: Reset gso_segs if packet is dodgy

    I wasn't paranoid enough in verifying GSO information.  A bogus gso_segs
    could upset drivers as much as a bogus header would.  Let's reset it in
    the per-protocol gso_segment functions.

    I didn't verify gso_size because that can be verified by the source of
    the dodgy packets.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
18 years ago[BLK] back: Only remove sysfs attributes if they were previously
kfraser@dhcp93.uk.xensource.com [Fri, 30 Jun 2006 13:30:43 +0000 (14:30 +0100)]
[BLK] back: Only remove sysfs attributes if they were previously
added. Also check for errors during attribute creation.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoRemove use of unlikely -- it's not defined on all systems.
chris@kneesaa.uk.xensource.com [Fri, 30 Jun 2006 13:15:12 +0000 (14:15 +0100)]
Remove use of unlikely -- it's not defined on all systems.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
18 years agoRevert 10521, 10526 and 10527. This completes reversion of ACM modifications to xm.
kfraser@dhcp93.uk.xensource.com [Fri, 30 Jun 2006 12:33:20 +0000 (13:33 +0100)]
Revert 10521, 10526 and 10527. This completes reversion of ACM modifications to xm.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[XEN] Various softirq cleanups. Main one is to always
kfraser@dhcp93.uk.xensource.com [Fri, 30 Jun 2006 12:25:43 +0000 (13:25 +0100)]
[XEN] Various softirq cleanups. Main one is to always
call smp_processor_id() after any softirq, as rescheduling
may cause us to move to another processor on ia64
(spotted by Isaku Yamahata). Also get rid of many direct
callers of do_softirq() by creating new function
process_pending_timers().
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[LINUX] Replace pagetable walks by simple address calculation.
kfraser@dhcp93.uk.xensource.com [Fri, 30 Jun 2006 09:35:54 +0000 (10:35 +0100)]
[LINUX] Replace pagetable walks by simple address calculation.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
18 years ago[LINUX] A few clean ups and a fix to an error path in xen_create/destroy_contiguous_r...
kfraser@dhcp93.uk.xensource.com [Fri, 30 Jun 2006 09:24:14 +0000 (10:24 +0100)]
[LINUX] A few clean ups and a fix to an error path in xen_create/destroy_contiguous_region.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[TPM] Adds a script for virtual TPM support.
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 09:16:12 +0000 (10:16 +0100)]
[TPM] Adds a script for virtual TPM support.

It also removes a consistency check from the vtpm-common script file.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>